Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Derivatives
  4. /Second Derivative Calculator

Second Derivative Calculator

Last updated: March 15, 2026

Calculator

Results

f(x)

2

f'(x) = 3ax²+2bx+c

-3

f''(x) = 6ax+2b

0

Concavity

—

Inflection Point x

—

Inflection Point f(x)

—

Critical Point x₁ Type

—

Critical Point x₂ Type

—

Results

f(x)

2

f'(x) = 3ax²+2bx+c

-3

f''(x) = 6ax+2b

0

Concavity

—

Inflection Point x

—

Inflection Point f(x)

—

Critical Point x₁ Type

—

Critical Point x₂ Type

—

The Second Derivative Calculator computes the second derivative of a cubic polynomial $$f(x) = ax^3 + bx^2 + cx + d$$, evaluates it at any point, and performs a complete concavity analysis. It identifies the inflection point where the curve changes concavity, and uses the second derivative test to classify each critical point as a local maximum or local minimum. This is an essential tool for curve sketching and optimization in calculus.

While the first derivative tells you whether a function is going up or down, the second derivative tells you how the function curves. Geometrically, $$f''(x)$$ measures the concavity of the graph. When $$f''(x) > 0$$, the graph curves upward like a bowl (concave up) — the slope is increasing. When $$f''(x) < 0$$, the graph curves downward like an arch (concave down) — the slope is decreasing. An inflection point occurs where $$f''(x) = 0$$ and the concavity actually changes sign.

For a cubic polynomial, the second derivative is a linear function:

$$f''(x) = 6ax + 2b$$

This linear function has exactly one root (when $$a \neq 0$$):

$$x_{\text{inflection}} = -\frac{2b}{6a} = -\frac{b}{3a}$$

At this point, the cubic changes from concave up to concave down (or vice versa). Every non-degenerate cubic has exactly one inflection point, which lies at the geometric center of the curve. The inflection point is also the point of symmetry of the cubic.

The second derivative test is a powerful technique for classifying critical points. If $$f'(x_0) = 0$$ and $$f''(x_0) > 0$$, then $$x_0$$ is a local minimum. If $$f'(x_0) = 0$$ and $$f''(x_0) < 0$$, then $$x_0$$ is a local maximum. If $$f''(x_0) = 0$$, the test is inconclusive and other methods (first derivative test or higher-order derivatives) are needed. This calculator automatically finds the critical points of the cubic and applies the second derivative test to each.

In physics, the second derivative of position with respect to time is acceleration. In engineering, the second derivative of a beam's deflection curve relates to the bending moment, which is critical for structural analysis. In economics, the second derivative of a cost or revenue function determines whether a critical point represents an optimal solution. In statistics, the second derivative of the log-likelihood function (the Hessian) determines the curvature of the likelihood surface and the precision of parameter estimates.

Enter the polynomial coefficients and evaluation point to perform a complete second-derivative analysis including concavity, inflection point, and critical point classification.

Visual Analysis

How It Works

The calculator differentiates the cubic polynomial twice and performs concavity analysis.

Step 1: Compute derivatives. Given $$f(x) = ax^3 + bx^2 + cx + d$$:

$$f'(x) = 3ax^2 + 2bx + c$$

$$f''(x) = 6ax + 2b$$

Step 2: Evaluate at the point. Substitute x into $$f(x)$$, $$f'(x)$$, and $$f''(x)$$.

Step 3: Determine concavity. If $$f''(x) > 0$$, the curve is concave up. If $$f''(x) < 0$$, it is concave down. If $$f''(x) = 0$$, the point is an inflection point.

Step 4: Find inflection point. Solve $$f''(x) = 0$$:

$$6ax + 2b = 0 \Rightarrow x = -\frac{b}{3a}$$

Then evaluate $$f(x)$$ at this inflection point to get its y-coordinate.

Step 5: Second derivative test for critical points. Find critical points by solving $$f'(x) = 3ax^2 + 2bx + c = 0$$ using the quadratic formula. Then evaluate $$f''(x)$$ at each critical point to classify it as a local maximum ($$f'' < 0$$), local minimum ($$f'' > 0$$), or inconclusive ($$f'' = 0$$).

Understanding Your Results

f(x), f'(x), f''(x) are the function value, first derivative (slope), and second derivative (concavity) at the evaluation point.

Concavity describes the shape of the curve at the evaluation point. 'Concave Up' means the curve bends upward (like a bowl or a smile). 'Concave Down' means it bends downward (like a frown). 'Inflection point' means the concavity is changing at that exact location.

Inflection Point gives the x-coordinate and y-coordinate where the curve changes from concave up to concave down (or vice versa). Every cubic with a nonzero leading coefficient has exactly one inflection point.

Critical Point Types use the second derivative test to classify each critical point (where f'(x)=0). A local maximum is a hilltop on the curve; a local minimum is a valley. 'Inconclusive' means f''=0 at that critical point, which occurs when the critical point coincides with the inflection point.

Worked Examples

Cubic with Max and Min: f(x) = x³ − 6x² + 9x

Inputs

a1
b-6
c9
d0
x2

Results

fOfX2
fPrime-3
fDoublePrime0
concavityInflection point (concavity changes)
inflectionX2
inflectionY2
critType1x₁ = 1.0000 — Local Maximum
critType2x₂ = 3.0000 — Local Minimum

f'(x) = 3x² − 12x + 9 = 3(x−1)(x−3). Critical points at x=1 and x=3. f''(x) = 6x − 12. f''(1) = −6 < 0 → local max. f''(3) = 6 > 0 → local min. f''(2) = 0 → inflection point at (2, 2).

Concave Up Analysis: f(x) = 2x³ + x² − 4x + 1 at x = 3

Inputs

a2
b1
c-4
d1
x3

Results

fOfX52
fPrime56
fDoublePrime38
concavityConcave Up (bowl shape ∪)
inflectionX-0.166667
inflectionY1.648148

f''(x) = 12x + 2. f''(3) = 38 > 0, so the curve is concave up at x=3. The inflection point is at x = −1/6 ≈ −0.167, where concavity changes from down to up.

Frequently Asked Questions

The first derivative tells you the direction — whether the function goes up or down. The second derivative tells you the shape — whether the curve bends upward or downward. Knowing both gives you a complete picture: the first derivative locates critical points, and the second derivative classifies them as maxima or minima.

An inflection point is where the graph changes concavity — from bending upward to bending downward, or vice versa. Mathematically, it occurs where f''(x) = 0 and f''(x) changes sign. For a cubic polynomial, the inflection point is always at x = −b/(3a) and is the center of symmetry of the curve.

The test is inconclusive when f''(x₀) = 0 at a critical point. This happens when a critical point coincides with the inflection point. In such cases, use the first derivative test (check the sign of f'(x) on either side) or examine higher-order derivatives.

No. Every cubic polynomial with a ≠ 0 has exactly one inflection point. The second derivative 6ax + 2b is a linear function that crosses zero exactly once. If a = 0, the function is quadratic (or lower degree), which has no inflection point because its concavity never changes.

If f(t) represents position as a function of time, then f'(t) is velocity and f''(t) is acceleration. Concave up (f'' > 0) means the object is accelerating (speeding up if moving forward). Concave down (f'' < 0) means it is decelerating. The inflection point corresponds to the moment when acceleration changes sign.

The derivative of a cubic is a quadratic, which has either two real roots, one repeated root, or no real roots. Two real roots mean one local max and one local min. A repeated root gives a single stationary inflection point. No real roots mean the cubic is strictly monotonic. This trichotomy is governed by the discriminant of f'(x).

Sources & Methodology

Stewart, J., Calculus: Early Transcendentals, 9th ed., Cengage, 2020. Thomas, G.B., Thomas' Calculus, 14th ed., Pearson, 2017. Apostol, T., Calculus, Vol. 1, 2nd ed., Wiley, 1967. Lang, S., A First Course in Calculus, 5th ed., Springer, 1986.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Derivative Calculator

Derivatives

First Derivative Calculator

Derivatives

Partial Derivative Calculator

Derivatives

Implicit Derivative Calculator

Derivatives

Gradient Calculator

Derivatives

Tangent Line Calculator

Derivatives