Home » Blog » Use derivatives to sketch the graph of a function

Use derivatives to sketch the graph of a function

Let

    \[ f(x) = x + \cos x. \]

  1. Find all points such that f'(x) = 0;
  2. Determine the intervals on which f is monotonic by examining the sign of f';
  3. Determine the intervals on which f' is monotonic by examining the sign of f'';
  4. Sketch the graph of f.

  1. We take the derivative,

        \[ f'(x) = 1 - \sin x. \]

    Thus,

        \[ f'(x) = 0 \quad \implies \quad 1 - \sin x = 0 \quad \implies \quad x = \left(2n + \frac{1}{2}\right) \pi. \]

  2. f is increasing for all x since 1 - \sin x \geq 0 for all x.
  3. Taking the second derivative,

        \[ f''(x) = - \cos x. \]

    Thus, f' is increasing if \left( 2n + \frac{1}{2} \right) \pi < x < \left( 2n + \frac{3}{2} \right) \pi and is decreasing if \left( 2n - \frac{1}{2} \right) \pi < x < \left( 2n + \frac{1}{2} \right) \pi.

  4. We sketch the curve,

    Rendered by QuickLaTeX.com

Point out an error, ask a question, offer an alternative solution (to use Latex type [latexpage] at the top of your comment):