Skip to main content

Critical Points Calculator

Calculate critical points instantly with our math tool. Shows detailed work, formulas used, and multiple solution methods.

Reviewed by Manoj Kumar, Mathematics Educator

Reviewed by Manoj Kumar, Mathematics Educator

Formula

f'(x) = 0 to find critical points | f''(x) test: > 0 = min, < 0 = max

Critical points occur where the first derivative equals zero. The second derivative test classifies them: positive second derivative means local minimum (concave up), negative means local maximum (concave down). For cubic f(x) = ax^3 + bx^2 + cx + d, the inflection point is at x = -b/(3a).

Worked Examples

Example 1: Profit Maximization

Problem:Find the critical points of f(x) = x^3 - 6x^2 + 9x - 2 and classify them.

Solution:f(x) = x^3 - 6x^2 + 9x - 2\nf'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x-1)(x-3)\nCritical points: x = 1 and x = 3\nf''(x) = 6x - 12\nf''(1) = 6(1) - 12 = -6 < 0 => Local Maximum at (1, 2)\nf''(3) = 6(3) - 12 = 6 > 0 => Local Minimum at (3, -2)\nInflection point: x = -(-6)/(3*1) = 2, f(2) = 0

Result:Local Max at (1, 2) | Local Min at (3, -2) | Inflection at (2, 0)

Example 2: No Real Critical Points

Problem:Analyze f(x) = x^3 + 3x + 5 for critical points.

Solution:f(x) = x^3 + 3x + 5\nf'(x) = 3x^2 + 3\nSetting f'(x) = 0: 3x^2 + 3 = 0 => x^2 = -1\nDiscriminant = 0 - 4(3)(3) = -36 < 0\nNo real solutions, so no critical points\nSince f'(x) = 3x^2 + 3 > 0 for all real x, function is always increasing\nInflection point: x = 0, f(0) = 5

Result:No critical points | Monotonically increasing | Inflection at (0, 5)

Frequently Asked Questions

What are critical points of a function?

Critical points are x-values where the first derivative of a function equals zero or is undefined. At these points, the function may have a local maximum, local minimum, or neither (a saddle point or inflection point). To find them, compute the derivative f'(x), set it equal to zero, and solve for x. Critical points represent locations where the function changes direction or flattens momentarily. They are fundamental to optimization problems in calculus, engineering, economics, and data science. Every continuous function on a closed interval attains its absolute maximum and minimum at either critical points or endpoints.

How does the second derivative test classify critical points?

The second derivative test evaluates f''(x) at each critical point to determine its nature. If f''(x) > 0, the function is concave up (bowl-shaped) at that point, indicating a local minimum. If f''(x) < 0, the function is concave down (hill-shaped), indicating a local maximum. If f''(x) = 0, the test is inconclusive and you must use other methods like the first derivative test or higher-order derivatives. For example, if f'(3) = 0 and f''(3) = 4, then x = 3 is a local minimum because the positive second derivative confirms upward curvature. This test is faster than the first derivative test but fails when the second derivative is zero.

How do I find critical points of a cubic function?

For a cubic function f(x) = ax^3 + bx^2 + cx + d, the derivative is f'(x) = 3ax^2 + 2bx + c. Setting this quadratic equal to zero and using the quadratic formula gives x = (-2b plus or minus sqrt(4b^2 - 12ac)) / (6a). The discriminant 4b^2 - 12ac determines the number of critical points: if positive, there are two critical points; if zero, one repeated critical point; if negative, no real critical points (the function is monotonically increasing or decreasing). When two critical points exist, one is a local maximum and the other is a local minimum for any non-zero leading coefficient.

What does the first derivative test tell us about critical points?

The first derivative test examines the sign of f'(x) on either side of a critical point. If f'(x) changes from positive to negative, the critical point is a local maximum because the function goes from increasing to decreasing. If f'(x) changes from negative to positive, it is a local minimum because the function goes from decreasing to increasing. If f'(x) does not change sign (positive on both sides or negative on both sides), the critical point is neither a maximum nor a minimum. This test always works, unlike the second derivative test which fails when f''(x) = 0. The first derivative test also provides information about the functions behavior in intervals between critical points.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy