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
for pressure,
.
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]](ANhtmlTOUR_gr_148.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_149.gif]](ANhtmlTOUR_gr_149.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_150.gif]](ANhtmlTOUR_gr_150.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_151.gif]](ANhtmlTOUR_gr_151.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_152.gif]](ANhtmlTOUR_gr_152.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_153.gif]](ANhtmlTOUR_gr_153.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_154.gif]](ANhtmlTOUR_gr_154.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_155.gif]](ANhtmlTOUR_gr_155.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_156.gif]](ANhtmlTOUR_gr_156.gif)
Notice that the derivative
asks for the derivative of
with respect to
,
where the constant
when
,
,
and
are constant. You know the rule
![[Graphics:../Images/ANhtmlTOUR_gr_164.gif]](ANhtmlTOUR_gr_164.gif)
from beginning calculus. (It is just a different letter from the
rule
.)
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]](ANhtmlTOUR_gr_167.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_168.gif]](ANhtmlTOUR_gr_168.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_169.gif]](ANhtmlTOUR_gr_169.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_170.gif]](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]](ANhtmlTOUR_gr_171.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_172.gif]](ANhtmlTOUR_gr_172.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_173.gif]](ANhtmlTOUR_gr_173.gif)
![[Graphics:../Images/ANhtmlTOUR_gr_174.gif]](ANhtmlTOUR_gr_174.gif)
Converted by Mathematica
May 7, 2001