The Central Idea
Suppose
\[ y=f(x). \]Its first derivative,
\[ f'(x), \]describes the local rate of change of the original function. If that derivative is differentiable, we can differentiate it again:
\[ \boxed{f''(x)=\frac{d}{dx}\left[f'(x)\right]}. \]The second derivative therefore measures how the first derivative changes. The process can continue whenever each new derivative exists.
From First Derivative to Second Derivative
Consider
\[ f(x)=x^3. \]The first derivative is
\[ f'(x)=3x^2. \]Differentiate again:
\[ f''(x)=6x. \]The value of the function changes according to its first derivative, and the first derivative changes according to its second derivative.
Second-Derivative Notation
Several common notations represent the second derivative:
\[ f''(x), \qquad y'', \qquad \frac{d^2y}{dx^2}. \]The Leibniz form
\[ \frac{d^2y}{dx^2} \]means that differentiation with respect to \(x\) has been performed twice. It should be read as one higher-derivative symbol rather than as an ordinary fraction whose exponents can be manipulated independently.
The Third Derivative
If the second derivative is differentiable, differentiate once more:
\[ \boxed{f'''(x)=\frac{d}{dx}\left[f''(x)\right]}. \]Equivalent notation includes
\[ f'''(x), \qquad y''', \qquad \frac{d^3y}{dx^3}. \]For \(f(x)=x^3\),
\[ f'''(x)=6. \]The Fourth Derivative and Beyond
Prime notation becomes increasingly difficult to read after a few derivatives. Parenthesized superscripts are therefore commonly used:
\[ f^{(4)}(x), \qquad f^{(5)}(x), \qquad \ldots \]The \(n\)th derivative is written
\[ \boxed{f^{(n)}(x)} \]or, in Leibniz notation,
\[ \boxed{\frac{d^n y}{dx^n}}. \]Higher-Derivative Notation Is Not Exponentiation
In
\[ f^{(4)}(x), \]the \(4\) indicates the order of differentiation. It does not mean
\[ [f(x)]^4. \]Likewise, \(f''(x)\) is the second derivative, not the square of \(f'(x)\). Keeping derivative order separate from ordinary powers is essential.
A Reliable Repeated-Differentiation Process
- Differentiate the original function to obtain the first derivative.
- Simplify the result when doing so makes the next derivative easier.
- Differentiate the first derivative to obtain the second derivative.
- Repeat as many times as the problem requires.
- Label each derivative clearly so its order remains visible.
- Check the domain at each stage.
Example: Repeated Differentiation of a Polynomial
Let
\[ f(x)=2x^5-3x^4+7x^2-9. \]Differentiate once:
\[ f'(x)=10x^4-12x^3+14x. \]Differentiate again:
\[ f''(x)=40x^3-36x^2+14. \]The third derivative is
\[ f'''(x)=120x^2-72x, \]and the fourth derivative is
\[ \boxed{f^{(4)}(x)=240x-72}. \]Polynomial Degree Drops with Each Derivative
Differentiating a nonconstant polynomial reduces the degree by one. Therefore, repeated differentiation of a degree-\(m\) polynomial eventually produces a constant and then zero.
For example,
\[ f(x)=x^4 \]gives
\[ f'(x)=4x^3, \] \[ f''(x)=12x^2, \] \[ f'''(x)=24x, \] \[ f^{(4)}(x)=24, \]and then
\[ \boxed{f^{(5)}(x)=0}. \]Higher Derivatives of a Power
For a positive integer power \(x^m\), repeated use of the power rule gives
\[ \frac{d}{dx}x^m=mx^{m-1}, \] \[ \frac{d^2}{dx^2}x^m=m(m-1)x^{m-2}, \]and, more generally,
\[ \boxed{ \frac{d^n}{dx^n}x^m =m(m-1)(m-2)\cdots(m-n+1)x^{m-n} } \]as long as \(n\le m\).
What Happens When the Derivative Order Exceeds the Polynomial Degree?
If \(m\) is a nonnegative integer, the \(m\)th derivative of \(x^m\) is
\[ m!, \]and every derivative after that is zero:
\[ \boxed{ \frac{d^n}{dx^n}x^m=0 \quad\text{for}\quad n>m }. \]This is one reason higher derivatives of polynomials are especially predictable.
Constant, Linear, and Quadratic Functions
The order at which derivatives become zero reflects polynomial degree.
If \(f(x)=C\), then
\[ f'(x)=0. \]If \(f(x)=mx+b\), then
\[ f'(x)=m, \qquad f''(x)=0. \]If \(f(x)=ax^2+bx+c\), then
\[ f''(x)=2a, \qquad f'''(x)=0. \]Each differentiation removes one layer of polynomial variation.
The First Derivative Measures Change
The first derivative tells us how quickly the original function changes with respect to its input.
If
\[ y=f(x), \]then
\[ f'(x) \]is the instantaneous rate of change of \(y\) with respect to \(x\).
The Second Derivative Measures Change in the Rate
The second derivative tells us how the first derivative changes.
If \(f'(x)\) is increasing, then the second derivative is typically positive where the relevant derivatives exist. If \(f'(x)\) is decreasing, the second derivative is typically negative.
This idea will later support a systematic study of concavity and curve shape.
Second Derivative and Concavity
A positive second derivative indicates that tangent slopes are increasing:
\[ f''(x)>0. \]This is associated with a graph that is concave up on an interval.
A negative second derivative indicates that tangent slopes are decreasing:
\[ f''(x)<0, \]which is associated with concave down behavior.
Later lessons will examine the qualifications and interval analysis needed to use these ideas carefully.
Example: Interpreting a Second Derivative
Let
\[ f(x)=x^3-3x^2+2. \]Then
\[ f'(x)=3x^2-6x \]and
\[ f''(x)=6x-6. \]At \(x=0\),
\[ f''(0)=-6, \]so the slope function is decreasing there. At \(x=2\),
\[ f''(2)=6, \]so the slope function is increasing there.
Motion: Position, Velocity, and Acceleration
Higher derivatives have a direct physical interpretation in motion. If position is
\[ s=s(t), \]then velocity is the first derivative:
\[ \boxed{v(t)=s'(t)}. \]Acceleration is the derivative of velocity, so it is the second derivative of position:
\[ \boxed{a(t)=v'(t)=s''(t)}. \]Example: Position, Velocity, and Acceleration
Suppose
\[ s(t)=t^3-6t^2+9t+4. \]Velocity is
\[ v(t)=s'(t)=3t^2-12t+9. \]Acceleration is
\[ \boxed{a(t)=s''(t)=6t-12}. \]Thus the position, its rate of change, and the rate of change of that rate are all encoded by successive derivatives.
The Third Derivative of Position: Jerk
In mechanics, the derivative of acceleration is often called jerk:
\[ \boxed{j(t)=a'(t)=s'''(t)}. \]For
\[ s(t)=t^3-6t^2+9t+4, \]we have
\[ j(t)=6. \]The constant value means the acceleration changes at a constant rate.
Units of Higher Derivatives
Units change with each differentiation. If position is measured in meters and time in seconds, then
\[ s(t)\colon \text{meters}, \] \[ s'(t)\colon \frac{\text{meters}}{\text{second}}, \] \[ s''(t)\colon \frac{\text{meters}}{\text{second}^2}, \]and
\[ s'''(t)\colon \frac{\text{meters}}{\text{second}^3}. \]Each derivative introduces another division by the input unit.
Higher Derivatives Can Be Evaluated at a Point
A higher derivative is a function and can be evaluated just like the original function.
If
\[ f(x)=x^4-2x^3, \]then
\[ f''(x)=12x^2-12x. \]At \(x=2\),
\[ \boxed{f''(2)=24}. \]This value describes the instantaneous rate of change of the slope at that input.
Differentiate First, Then Evaluate
When asked for a higher derivative at a point, it is usually safest to find the required derivative formula first and substitute the input afterward.
For example, to find \(f'''(1)\), first calculate \(f'''(x)\), then set \(x=1\).
Substituting too early can destroy the variable dependence needed for later differentiation.
Higher Derivatives of Products and Compositions
The derivative rules learned earlier continue to apply at every stage. After finding a first derivative, inspect its structure again before taking the second derivative.
A first derivative may itself contain products, quotients, or composite functions, so the appropriate rule must be selected anew.
Example: A Second Derivative Requiring the Product Rule
Let
\[ f(x)=x^2(x+1)^3. \]The first derivative is
\[ f'(x)=2x(x+1)^3+3x^2(x+1)^2. \]Factor first:
\[ f'(x)=x(x+1)^2(5x+2). \]We could now differentiate this product, or expand first. Expanding gives
\[ f'(x)=5x^4+12x^3+9x^2+2x, \]so
\[ \boxed{f''(x)=20x^3+36x^2+18x+2}. \]Strategic simplification can make repeated differentiation much easier.
Second Derivatives from Implicit Relations
An implicitly defined curve can also have higher derivatives. First find
\[ \frac{dy}{dx}, \]then differentiate that relationship again with respect to \(x\), remembering throughout that \(y\) depends on \(x\).
Example: Second Derivative of a Circle
Begin with
\[ x^2+y^2=25. \]Implicit differentiation gives
\[ 2x+2y\frac{dy}{dx}=0, \]so
\[ y'=-\frac{x}{y}. \]Differentiate again:
\[ y'' =-\frac{y-xy'}{y^2}. \]Substitute \(y'=-x/y\):
\[ y'' =-\frac{y+x^2/y}{y^2} =-\frac{x^2+y^2}{y^3}. \]Because \(x^2+y^2=25\),
\[ \boxed{y''=-\frac{25}{y^3}} \]wherever the displayed expressions are defined.
Do Not Treat the First Implicit Derivative as Independent of \(y\)
In an expression such as
\[ y'=-\frac{x}{y}, \]the variable \(y\) still depends on \(x\). Therefore, differentiating the right side again requires the quotient rule or an equivalent rewrite plus the chain rule.
Ignoring that dependence is one of the most common higher implicit- differentiation errors.
Second Derivatives of Parametric Curves
For a parametric curve
\[ x=x(t), \qquad y=y(t), \]the first derivative is
\[ \frac{dy}{dx}=\frac{dy/dt}{dx/dt}, \]when \(dx/dt\neq0\).
To obtain the second derivative, differentiate \(dy/dx\) with respect to \(t\), then convert that rate from change per unit \(t\) to change per unit \(x\):
\[ \boxed{ \frac{d^2y}{dx^2} = \frac{\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)}{dx/dt} }. \]Why the Parametric Second-Derivative Formula Has Another Division
After computing
\[ \frac{d}{dt}\left(\frac{dy}{dx}\right), \]we know how the slope changes with respect to the parameter \(t\). But a second derivative must describe how the slope changes with respect to \(x\).
Dividing by \(dx/dt\) performs that conversion.
Example: Parametric Second Derivative
Let
\[ x=t^2, \qquad y=t^3. \]Then
\[ \frac{dx}{dt}=2t, \qquad \frac{dy}{dt}=3t^2. \]For \(t\neq0\),
\[ \frac{dy}{dx}=\frac{3t^2}{2t}=\frac{3t}{2}. \]Differentiate this slope with respect to \(t\):
\[ \frac{d}{dt}\left(\frac{dy}{dx}\right)=\frac{3}{2}. \]Divide by \(dx/dt=2t\):
\[ \boxed{ \frac{d^2y}{dx^2}=\frac{3}{4t} } \]for parameter values where this formula is valid.
Higher Derivatives May Have Smaller Domains
A function can have a first derivative at a point without having a second derivative there.
Consider
\[ f(x)=x^{4/3}. \]Its first derivative exists at \(x=0\) and is
\[ f'(x)=\frac{4}{3}x^{1/3}. \]Away from zero, differentiating again gives
\[ f''(x)=\frac{4}{9}x^{-2/3}. \]But the second derivative does not exist as a finite derivative at \(x=0\). Higher differentiability is therefore a stronger requirement than first differentiability.
Existence Must Be Checked Order by Order
Saying that \(f^{(n)}(a)\) exists means that every derivative needed to reach that order has been successfully formed at the relevant stages.
A function may be differentiable once, twice, or many times without being differentiable indefinitely.
Never assume that because \(f'(a)\) exists, all higher derivatives must also exist at \(a\).
Smoothness as Repeated Differentiability
Informally, functions with many continuous derivatives are often described as increasingly smooth. In more advanced mathematics, the number and continuity of available derivatives are used to classify smoothness precisely.
For this lesson, the operational point is simple: each additional derivative requires another successful differentiation step.
Higher Derivatives Reveal Layers of Local Behavior
The first derivative answers a first-order question: how is the function changing now?
The second derivative asks how that rate is changing. The third derivative asks how the second-order behavior is changing, and so on.
This layered viewpoint becomes important later in approximation, optimization, differential equations, and local modeling.
Common Error: Squaring the First Derivative
If
\[ f'(x)=3x^2, \]then the second derivative is
\[ f''(x)=6x, \]not
\[ [f'(x)]^2=9x^4. \]A second derivative means differentiate again, not square the first derivative.
Common Error: Misreading Leibniz Notation
The symbol
\[ \frac{d^2y}{dx^2} \]represents the second derivative of \(y\) with respect to \(x\). It is not formed by separately squaring \(dy\) and \(dx\).
Treat the notation as a structured derivative operator.
Common Error: Substituting a Point Too Early
Suppose a problem asks for \(f''(2)\). If you calculate \(f'(2)\) first, you obtain a number. Differentiating that number gives zero and loses the behavior of the derivative function.
Instead, find \(f''(x)\) first and then substitute \(x=2\).
Common Error: Forgetting the Chain Rule on a Later Derivative
Derivative rules apply every time differentiation is performed. A first derivative may contain a composite expression even if the original function looked simple after one step.
Reassess the algebraic structure before every new derivative.
Common Error: Treating a Parametric Second Derivative as \(d/dt\) Alone
For a parametric curve,
\[ \frac{d}{dt}\left(\frac{dy}{dx}\right) \]is the rate at which the slope changes with respect to \(t\). It is not yet \(d^2y/dx^2\).
The additional division by \(dx/dt\) is required to express change with respect to \(x\).
A Reliable Higher-Derivative Workflow
- Identify the derivative order requested.
- Find the first derivative correctly.
- Simplify or rewrite before continuing when useful.
- Differentiate again, selecting rules from the new expression's structure.
- Repeat until the requested order is reached.
- For implicit work, continue treating \(y\) as a function of \(x\).
- For parametric work, convert each derivative back to change with respect to \(x\).
- Check the domain of the final expression.
- Evaluate at a point only after the needed derivative function is found.
- Interpret units or meaning when the problem is applied.
Example: Full Workflow
Find the third derivative of
\[ f(x)=3x^5-5x^3+2x-8. \]First derivative:
\[ f'(x)=15x^4-15x^2+2. \]Second derivative:
\[ f''(x)=60x^3-30x. \]Third derivative:
\[ \boxed{f'''(x)=180x^2-30}. \]Each stage uses the same derivative rules, but on a newly produced function.
Practice 1: Second Derivative
Find \(f''(x)\) for
\[ f(x)=4x^3-7x^2+5x-1. \]Practice 2: Third Derivative
Find \(f'''(x)\) for
\[ f(x)=x^5-2x^4+3x^2. \]Practice 3: Fourth Derivative
Find \(f^{(4)}(x)\) for
\[ f(x)=2x^6-x^4+7. \]Practice 4: Evaluate a Higher Derivative
If
\[ f(x)=x^4-4x^3+2x^2, \]find \(f''(2)\).
Practice 5: Motion
A particle has position
\[ s(t)=2t^3-9t^2+12t. \]Find its velocity and acceleration functions.
Practice 6: Jerk
For the same position function
\[ s(t)=2t^3-9t^2+12t, \]find the jerk.
Practice 7: Polynomial Derivative Order
If \(p(x)\) is a polynomial of degree \(7\), what can you say about \(p^{(8)}(x)\)?
Practice 8: Second Implicit Derivative
For
\[ x^2+y^2=9, \]find \(d^2y/dx^2\) in terms of \(y\).
Practice 9: Parametric Second Derivative
Let
\[ x=t^2, \qquad y=t^4. \]Find \(d^2y/dx^2\) for \(t\neq0\).
Practice 10: Identify the Error
A student finds
\[ f'(x)=6x \]and then writes
\[ f''(x)=36x^2. \]Explain the error and give the correct second derivative.
Practice Answers
Practice 1
\[ f'(x)=12x^2-14x+5, \]so
\[ \boxed{f''(x)=24x-14}. \]Practice 2
\[ f'(x)=5x^4-8x^3+6x, \] \[ f''(x)=20x^3-24x^2+6, \]and
\[ \boxed{f'''(x)=60x^2-48x}. \]Practice 3
\[ f'(x)=12x^5-4x^3, \] \[ f''(x)=60x^4-12x^2, \] \[ f'''(x)=240x^3-24x, \]so
\[ \boxed{f^{(4)}(x)=720x^2-24}. \]Practice 4
\[ f'(x)=4x^3-12x^2+4x, \] \[ f''(x)=12x^2-24x+4. \]Therefore,
\[ \boxed{f''(2)=4}. \]Practice 5
Velocity is
\[ \boxed{v(t)=s'(t)=6t^2-18t+12}. \]Acceleration is
\[ \boxed{a(t)=s''(t)=12t-18}. \]Practice 6
Differentiate acceleration:
\[ \boxed{j(t)=s'''(t)=12}. \]Practice 7
A degree-\(7\) polynomial becomes a constant after seven derivatives and zero after one more derivative. Therefore,
\[ \boxed{p^{(8)}(x)=0}. \]Practice 8
First differentiate:
\[ y'=-\frac{x}{y}. \]Differentiating again gives
\[ y''=-\frac{x^2+y^2}{y^3}. \]Since \(x^2+y^2=9\),
\[ \boxed{y''=-\frac{9}{y^3}}. \]Practice 9
First,
\[ \frac{dx}{dt}=2t, \qquad \frac{dy}{dt}=4t^3. \]Thus
\[ \frac{dy}{dx}=\frac{4t^3}{2t}=2t^2. \]Differentiate with respect to \(t\):
\[ \frac{d}{dt}\left(\frac{dy}{dx}\right)=4t. \]Divide by \(dx/dt=2t\):
\[ \boxed{\frac{d^2y}{dx^2}=2} \]for \(t\neq0\).
Practice 10
The student squared the first derivative instead of differentiating it. Since
\[ f'(x)=6x, \]differentiating again gives
\[ \boxed{f''(x)=6}. \]What to Remember
Higher derivatives are produced by repeated differentiation:
\[ \boxed{ f''(x)=\frac{d}{dx}[f'(x)], \qquad f'''(x)=\frac{d}{dx}[f''(x)] }. \]More generally,
\[ \boxed{f^{(n)}(x)=\frac{d^n y}{dx^n}}. \]- the first derivative measures change in the original function;
- the second derivative measures change in the first derivative;
- motion gives the sequence position, velocity, acceleration, and jerk;
- polynomial degree decreases by one with each differentiation;
- implicit higher derivatives must preserve the dependence of \(y\) on \(x\);
- parametric second derivatives require another conversion from change in \(t\) to change in \(x\);
- higher derivatives may fail to exist even when lower derivatives exist.
Where We Go Next
Derivatives describe local direction and rates of change. Once a tangent slope is known, we can compare it with the perpendicular direction and use both to construct lines attached to a curve at a point.
The next lesson, Tangent and Normal Relationships, develops tangent lines, normal lines, slope relationships, geometric interpretation, and the special handling required for horizontal and vertical tangents.