Derivatives: rules and functions

Second derivative

The second derivative f′′(x)f''(x) is what you get by differentiating the derivative f′(x)f'(x) once more.

f′′(x)={f′(x)}′f''(x)=\{f'(x)\}'

Differentiate f(x)f(x) once to get f′(x)f'(x), then differentiate that to get f′′(x)f''(x). It is also written y′′y'' or d2ydx2\frac{d^2y}{dx^2}.

f(x)=x3−2x2 → f′(x)=3x2−4x → f′′(x)=6x−4\begin{gathered} f(x)=x^3-2x^2\ \to\ f'(x) \\[4pt] =3x^2-4x\ \to\ f''(x) \\[4pt] =6x-4 \end{gathered}

Differentiate one step at a time and write out f′(x)f'(x) along the way; this keeps coefficients from getting mixed up. The sign of f′′(x)f''(x) is used later to study concavity.

Examples

  1. 01What is f''(x)?f(x)=x3\displaystyle f(x)=x^3AnswerHide
    Answer6x\displaystyle 6x

    Steps

    1. Differentiate once
    2. ddx x3\displaystyle \frac{d}{dx}\,x^{3}=3x2\displaystyle = 3x^{2}
    3. Differentiate the result again
    4. ddx 3x2\displaystyle \frac{d}{dx}\,3x^{2}=6x\displaystyle = 6x
  2. 02What is f''(x)?f(x)=x3−2x2\displaystyle f(x)=x^3-2x^2AnswerHide
    Answer6x−4\displaystyle 6x-4

    Steps

    1. Differentiate once
    2. ddx (x3−2x2)\displaystyle \frac{d}{dx}\,(x^{3}-2x^2)=3x2−4x\displaystyle = 3x^{2}-4x
    3. Differentiate the result again
    4. ddx (3x2−4x)\displaystyle \frac{d}{dx}\,(3x^{2}-4x)=6x−4\displaystyle = 6x-4
  3. 03What is f''(x)?f(x)=x4\displaystyle f(x)=x^4AnswerHide
    Answer12x2\displaystyle 12x^2

    Steps

    1. Differentiate once
    2. ddx x4\displaystyle \frac{d}{dx}\,x^{4}=4x3\displaystyle = 4x^{3}
    3. Differentiate the result again
    4. ddx 4x3\displaystyle \frac{d}{dx}\,4x^{3}=12x2\displaystyle = 12x^{2}
  4. 04What is f''(x)?f(x)=x3+3x2\displaystyle f(x)=x^3+3x^2AnswerHide
    Answer6x+6\displaystyle 6x+6

    Steps

    1. Differentiate once
    2. ddx (x3+3x2)\displaystyle \frac{d}{dx}\,(x^{3}+3x^2)=3x2+6x\displaystyle = 3x^{2}+6x
    3. Differentiate the result again
    4. ddx (3x2+6x)\displaystyle \frac{d}{dx}\,(3x^{2}+6x)=6x+6\displaystyle = 6x+6
  5. 05What is f''(x)?f(x)=x3−3x2\displaystyle f(x)=x^3-3x^2AnswerHide
    Answer6x−6\displaystyle 6x-6

    Steps

    1. Differentiate once
    2. ddx (x3−3x2)\displaystyle \frac{d}{dx}\,(x^{3}-3x^2)=3x2−6x\displaystyle = 3x^{2}-6x
    3. Differentiate the result again
    4. ddx (3x2−6x)\displaystyle \frac{d}{dx}\,(3x^{2}-6x)=6x−6\displaystyle = 6x-6
  6. 06What is f''(x)?f(x)=x3+2x2\displaystyle f(x)=x^3+2x^2AnswerHide
    Answer6x+4\displaystyle 6x+4

    Steps

    1. Differentiate once
    2. ddx (x3+2x2)\displaystyle \frac{d}{dx}\,(x^{3}+2x^2)=3x2+4x\displaystyle = 3x^{2}+4x
    3. Differentiate the result again
    4. ddx (3x2+4x)\displaystyle \frac{d}{dx}\,(3x^{2}+4x)=6x+4\displaystyle = 6x+4

FAQ

Q1What do you get when you differentiate xnx^n twice?AnswerHide
A
Apply (xn)′=nxn−1(x^n)'=nx^{n-1} twice: (xn)′′=n(n−1)xn−2(x^n)''=n(n-1)x^{n-2}. For x4x^4 that is 4⋅3x2=12x24\cdot3x^2=12x^2; x2x^2 gives the constant 22, and terms of degree 1 or less become 00.

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