Derivatives: the basics

Sketching the graph of a cubic

To sketch a cubic, find where its local maximum and minimum occur and their values from a sign chart, then use the sign of the x3x^3 coefficient for the ends of the graph.

sign of f′: +→− ⇒ local max,−→+ ⇒ local min\begin{gathered} \text{sign of } f':\ +\to-\ \Rightarrow\ \text{local max}, \\[4pt] -\to+\ \Rightarrow\ \text{local min} \end{gathered}

If f′(x)f'(x) changes from ++ to −- around a point where f′(x)=0f'(x)=0, there is a local maximum; from −- to ++, a local minimum. Substitute into the original function to get the value. For example, y=x3−12xy=x^3-12x has y′=3x2−12=3(x+2)(x−2)y'=3x^2-12=3(x+2)(x-2), so it has a local maximum 1616 at x=−2x=-2 and a local minimum −16-16 at x=2x=2.

As xx grows without bound, the behavior of yy depends on the coefficient of x3x^3. If it is positive, yy grows without bound; if negative, yy decreases without bound.

If f′(x)f'(x) never changes sign, there is no local extremum. f′(x)=3x2+4f'(x)=3x^2+4 is always positive, so f(x)f(x) keeps increasing and has no local extremum.

Examples

  1. 01For which f′(x)f'(x) below does f(x)f(x) have no local extremum?\displaystyle A3x2−3x\displaystyle 3x^{2}-3xB3x2−1\displaystyle 3x^{2}-1C3x2−3\displaystyle 3x^{2}-3D3x2+4\displaystyle 3x^{2}+4AnswerHide
    Answer3x2+4\displaystyle 3x^{2}+4

    Steps

    1. 3x2\displaystyle 3x^2≥0\displaystyle \ge 0
    2. Adding a positive constant
    3. 3x2+4\displaystyle 3x^2+4≥4>0\displaystyle \ge 4 > 0
  2. 02This cubic has a local maximum at x=-2. What is the local maximum value?y=x3−12x\displaystyle y=x^3-12xAnswerHide
    Answer16\displaystyle 16

    Steps

    1. (−2)3−12⋅(−2)\displaystyle (-2)^3 - 12 \cdot (-2)=−8+24\displaystyle = -8 + 24=16\displaystyle = 16
  3. 03This cubic has a local minimum at x=3. What is the local minimum value?y=x3−27x\displaystyle y=x^3-27xAnswerHide
    Answer−54\displaystyle -54

    Steps

    1. (3)3−27⋅3\displaystyle (3)^3 - 27 \cdot 3=27−81\displaystyle = 27 - 81=−54\displaystyle = -54
  4. 04This cubic has a local maximum at x=-1. What is the local maximum value?y=x3−3x\displaystyle y=x^3-3xAnswerHide
    Answer2\displaystyle 2

    Steps

    1. (−1)3−3⋅(−1)\displaystyle (-1)^3 - 3 \cdot (-1)=−1+3\displaystyle = -1 + 3=2\displaystyle = 2

FAQ

Q1If f′(x)=0f'(x)=0 somewhere, does ff have a local extremum there?AnswerHide
A
Not necessarily. For f(x)=x3f(x)=x^3, f′(0)=0f'(0)=0, but f′(x)=3x2≥0f'(x)=3x^2\ge 0 never changes sign, so there is no extremum. A cubic has local extrema exactly when the quadratic f′(x)f'(x) has a positive discriminant, so that f′(x)=0f'(x)=0 has two distinct real solutions.
Q2For y=−x3+6xy=-x^3+6x, what happens to yy as xx grows?AnswerHide
A
It decreases without bound. Writing −x3+6x=x3(−1+6x2)-x^3+6x=x^3\left(-1+\frac{6}{x^2}\right), the factor in parentheses approaches −1-1, so yy becomes a larger and larger negative number.

Published 2026-10-14 · Updated 2026-10-14