Calculus with Mathematica

Mathematica will help you learn the subject with prepared NoteBooks and extend your computational power with simple commands that you can use to do complicated computations.

Suppose we solve the Ideal Gas Law [Graphics:../Images/index_gr_104.gif]  for pressure, [Graphics:../Images/index_gr_105.gif].  If we only vary one quantity on the right side, you can differentiate the expression.  The following commands show how Mathematica finds these "partial derivatives."

[Graphics:../Images/ANhtmlTOUR_gr_148.gif]
[Graphics:../Images/ANhtmlTOUR_gr_149.gif]
[Graphics:../Images/ANhtmlTOUR_gr_150.gif]
[Graphics:../Images/ANhtmlTOUR_gr_151.gif]
[Graphics:../Images/ANhtmlTOUR_gr_152.gif]
[Graphics:../Images/ANhtmlTOUR_gr_153.gif]
[Graphics:../Images/ANhtmlTOUR_gr_154.gif]
[Graphics:../Images/ANhtmlTOUR_gr_155.gif]
[Graphics:../Images/ANhtmlTOUR_gr_156.gif]
Notice that the derivative [Graphics:../Images/ANhtmlTOUR_gr_157.gif]  asks for the derivative of [Graphics:../Images/ANhtmlTOUR_gr_158.gif]  with respect to [Graphics:../Images/ANhtmlTOUR_gr_159.gif], where the constant [Graphics:../Images/ANhtmlTOUR_gr_160.gif]  when [Graphics:../Images/ANhtmlTOUR_gr_161.gif][Graphics:../Images/ANhtmlTOUR_gr_162.gif], and [Graphics:../Images/ANhtmlTOUR_gr_163.gif]  are constant.  You know the rule

[Graphics:../Images/ANhtmlTOUR_gr_164.gif][Graphics:../Images/ANhtmlTOUR_gr_165.gif]

from beginning calculus.  (It is just a different letter from the rule [Graphics:../Images/ANhtmlTOUR_gr_166.gif].)  This part shouldn't seem strange except for the D[.,.]-notation.

We will put all the derivatives together in a total differential as follows:

[Graphics:../Images/ANhtmlTOUR_gr_167.gif][Graphics:../Images/ANhtmlTOUR_gr_168.gif]
[Graphics:../Images/ANhtmlTOUR_gr_169.gif]
[Graphics:../Images/ANhtmlTOUR_gr_170.gif]
Extend your computational power
Mathematica can help you differentiate and integrate more complicated functions like the "covariance" function next (that arises in probability and quantum mechanics.)
[Graphics:../Images/ANhtmlTOUR_gr_171.gif]
[Graphics:../Images/ANhtmlTOUR_gr_172.gif]
[Graphics:../Images/ANhtmlTOUR_gr_173.gif]
[Graphics:../Images/ANhtmlTOUR_gr_174.gif]

Converted by Mathematica      May 7, 2001