Second Derivatives 2D   3D   Parametric Equations  Contents

The second derivative of a function is the derivative of the derivative.

Figure1

[D]


Exercises

  • 1. Find the second derivative for each of the following functions, and check using the demo:
    • f(x) = 0
    • f(x) = 1
    • f(x) = x
    • f(x) = x + 5
    • f(x) = x2
    • f(x) = x2 + 2x + 3
    • f(x) = sin(x)
    • f(x) = cos(2x)
  • 2. Try various polynomial functions for f(x). How do the degrees of f'(x) and f''(x) relate to the degree of f(x)?

  • Convexity and Concavity 2D  Top of Page  Contents
    (Corresponds to Hessian in 2D)

    The second derivative of a function is the derivative of the first derivative.

    Figure3

    [D]

    Exercises

  • 1. Using the demo, investigate the concavity of the following functions. For which intervals is the graph concave upward? For which intervals is it concave downward? For which intervals is there no concavity?:
    • f(x) = x + 0.3
    • f(x) = x2
    • f(x) = x2 + x + 1
    • f(x) = -3x2
    • f(x) = x3 + 3x2 + 3x + 1
    • f(x) = cos(x)
  • 2. Describe the concavity of any function of the form f (x) = ax + b.
  • 3. Now consider a function of the form f(x) = ax2 + bx + c. How do the values of a, b, and c affect the concavity of f(x)?



  • Derivative Test

    The sign of the second derivative can help determine whether a critical point is a maximum or a minimum.

    Figure4

    [D]

    Exercises

  • 1. Use the second derivative test to determine whether each of the following critical points is a maximum or a minimum, and check using the demo:
    • f(x) = x2, x = 0
    • f(x) = x2 - x4, x = 0
    • f(x) = x3 - 3x, x = 1
    • f(x) = ex - x, x = 0
    • f(x) = 1/x2 + x, x = 21/4
  • 2. Describe what the graphs of the function, derivative, and second derivative look like at local maxima. What about local minima?


  • Taylor Series 2D   3D  Top of Page  Contents

    Taylor series are polynomials that approximate functions. 

    If we know up to the nth derivative of f(x) as well as the function value at x0, then we can construct a Taylor polynomial of degree n.

    Figure5

    [D]

    Exercises

  • 1. For a polynomial function of degree n, what condition is needed for a Taylor approximation to be exactly the same as the function itself?
  • 2. Describe the behavior of the second order Taylor approximation for the function f(x) = |x2 - 1|.


  • Constrained Maxima & Minima 2D   3D  Top of Page  Contents

    Suppose we want to find the maximum and minimum values of some function f(x) that satisfy the condition that some function g(x) is equal to c.

    If g(x) is only equal to c for a finite number of x values (which is true except for a few special cases, such as g(x) being a constant function equal to c), then the solution is simply to see which of these values of x yields the maximum and minimum values of f(x).

    Figure6

    [D]

    Exercises

  • 1. Find the constrained maxima and minima in each of the following situations:
    • f(x) = x, g(x) = 2x, c = 1
    • f(x) = x, g(x) = x3 - x, c = 0
    • f(x) = sin(x), g(x) = x2, c = π2/16
  • 2. The demo begins with the example g(x) = √(x2 + f(x)2). What is the geometrical significance of g(x)?