Go to CCP Homepage Go to Materials
		Page Go to Multivariable
		Calculus Materials Go to Table of
		Contents
Go Back One Page Go Forward One
		Page

Maple Tutor

Part 8: Differentiation


  1. Define g to be the function given by

    g(x) = x2cos x.

    Check your work by evaluating g(
    π). You should obtain -π2. If you have trouble, look at Part 6 again.

  2. Now enter
    g(x)
    Use your mouse to highlight this expression, click the right mouse button, and select "Differentiate"  > "x" from the popup menus.  Maple should make an arrow pointing to the desired output. (In Maple versions 11 and higher the arrow has a label. Can you guess what "w.r.t" stands for?)

    Highlight the answer and
    select "Differentiate"  > "x" from the popup menus again. What do you get?  How would you calculate the third derivative?

  3. If you want to calculate the derivative of an expression that you have not yet entered, just replace g(x) by the expression. For example, enter
    x^3 - x^2 + 2
    and use the popup menus to differentate it with respect to x.  Now insert a literal constant in the expression: Enter
    x^3 - a*x^2 + 2
    Notice that the popup menu gives you a choice of differentating with respect to x or with respect to a.  Try it both ways.  Are the answers what you expect?

  4. Now suppose you want the function dg/dx, that is, g'(x). If necessary, restore the definition of g by entering
    g := x -> x2 * cos(x)
    Then enter
    g'(x)
    Then
    g''(x)
    Evaluate the second derivative of g at 2 by entering
    g''(2)
    and using the popup menus to get a decimal approximation.  Check your understanding so far by using Maple to calculate the second derivative of tan(x6 - 3x + 5) at 3/2. (The value is approximately -4521.)

Go to CCP Homepage Go to Materials
		Page Go to Multivariable
		Calculus Materials Go to Table of
		Contents
Go Back One Page Go Forward One
		Page


modules at math.duke.edu Copyright CCP and the author(s), 1998, 1999, 2007