Second Derivative: Calculator, Steps, and Meaning
Differentiate twice, understand what f″ says about changing slope and acceleration, and avoid the common mistake of treating every solution of f″(x) = 0 as an inflection point.
What Is the Second Derivative?
The second derivative of f is the derivative of its first derivative. It is written f″(x), d²f/dx², or y″. First, f′(x) measures the instantaneous rate at which f changes. Then f″(x) measures how that first-derivative rate changes as x changes.
On a graph, the sign of f″ describes local concavity. Where f″(x) is positive, the slopes of f are increasing and the curve is concave up. Where f″(x) is negative, the slopes are decreasing and the curve is concave down. Concavity is about the change in slope, not whether the original function lies above or below the x-axis.
In a motion problem with position s(t), s′(t) is velocity and s″(t) is acceleration. Positive acceleration means velocity is increasing; it does not automatically mean the object is moving forward. Direction comes from the sign of velocity, so velocity and acceleration must be interpreted together.
The second derivative also helps classify stationary points. If f′(c) = 0 and f″(c) > 0, the graph has a local minimum at c. If f′(c) = 0 and f″(c) < 0, it has a local maximum. When f″(c) = 0, the second derivative test is inconclusive rather than automatically proving an inflection point.
Step-by-Step Method
- 1
Write the function with unambiguous grouping
Use parentheses around products, quotients, powers, radicals, and function arguments so the structure to be differentiated is clear.
- 2
Find the first derivative
Apply the relevant power, product, quotient, chain, exponential, logarithmic, or trigonometric rule to f(x).
- 3
Simplify f′ without losing restrictions
Combine constants and like terms. Record any excluded inputs inherited from the original function before cancellation changes its appearance.
- 4
Differentiate f′ to obtain f″
Treat the first derivative as a new function and apply the rules again. Do not simply square f′ or its notation.
- 5
Evaluate at a point only after differentiating
If the problem asks for f″(a), substitute a into the completed second derivative unless a special theorem justifies another method.
- 6
Interpret the answer in context
Use the sign for concavity, combine f′ and f″ for critical-point classification, or attach acceleration units in a motion model.
How to Interpret f″(x)
The second derivative gives different information depending on whether you inspect an interval, a critical point, or a motion model.
| Rule or type | Meaning | Example |
|---|---|---|
| f″(x) > 0 | f′ is increasing; f is concave up | f(x)=x² has f″=2 |
| f″(x) < 0 | f′ is decreasing; f is concave down | f(x)=−x² has f″=−2 |
| f′(c)=0, f″(c)>0 | The critical point is a local minimum | x² at x=0 |
| f′(c)=0, f″(c)<0 | The critical point is a local maximum | −x² at x=0 |
| f″(c)=0 | The test is inconclusive; inspect signs around c | x⁴ at 0 is not an inflection |
| f″ changes sign | A continuous function has an inflection point at c | x³ changes concavity at 0 |
| s″(t) | Acceleration in a position model | s=t³ gives a=6t |
Worked Examples
Polynomial second derivative
Find f″(x) for f(x) = 3x⁴ − 5x² + 7x − 2.
- Differentiate once: f′(x) = 12x³ − 10x + 7.
- Differentiate again: f″(x) = 36x² − 10.
- No term from the original constant remains.
Answer: f″(x) = 36x² − 10.
Chain rule twice
Find f″(x) for f(x) = sin(5x).
- First derivative: f′(x) = 5cos(5x).
- Differentiate 5cos(5x); the derivative of cos(5x) is −5sin(5x).
- Multiply the constants: 5(−5) = −25.
Answer: f″(x) = −25sin(5x).
Test an inflection candidate
Does f(x) = x⁴ have an inflection point at x = 0?
- f′(x) = 4x³ and f″(x) = 12x².
- Although f″(0) = 0, 12x² is positive on both sides of zero.
- Concavity does not change across x = 0.
Answer: No. x = 0 is not an inflection point.
Applications and Uses
Concavity intervals
Use the sign of f″ to divide a curve into concave-up and concave-down regions.
Maximum and minimum tests
Classify a stationary point when f′ is zero and f″ is nonzero.
Inflection analysis
Locate candidates from f″ = 0 or undefined, then verify an actual change of concavity.
Motion and acceleration
Differentiate a position function twice to calculate acceleration as a function of time.
Optimization models
Distinguish locally stable minima from maxima after finding critical points.
Local approximation
The second-order Taylor term uses f″ to capture curvature that a tangent-line approximation misses.
Common Mistakes
- Squaring the first derivative instead of differentiating it.
- Substituting the requested point before completing both differentiations.
- Dropping the inner derivative during the first or second application of the chain rule.
- Calling every solution of f″(x) = 0 an inflection point without checking a sign change.
- Using the second derivative test at a point where f′ is not zero.
- Assuming positive f″ means the original function is positive or increasing.
- Forgetting that a zero or undefined f″ makes the critical-point test inconclusive.
- Ignoring the original domain after algebraic simplification.
Second Derivative: Calculator, Steps, and Meaning FAQ
What does the second derivative tell you?
It tells how the first derivative changes. Geometrically it describes concavity; in a position model it represents acceleration.
Is f double prime the same as the derivative squared?
No. f″ is the derivative of f′. It is not [f′(x)]² and not f(x)².
Does f″(x) = 0 always mean an inflection point?
No. It produces a candidate. The concavity must change across the point, and the function must be continuous there.
How does the second derivative test work?
At a critical point c with f′(c)=0, positive f″(c) implies a local minimum and negative f″(c) implies a local maximum. Zero is inconclusive.
Can the second derivative be undefined?
Yes. The function may fail to be twice differentiable at a point, even when the function or its first derivative exists there.
Can I enter a point in the calculator?
Yes. The CalculatorGoat tool can evaluate f, f′, and f″ at a supported input and explains what the second-derivative sign means.