Critical Points Calculator
Master math with ease using our Critical Point Calculator! Solve complex problems, optimize functions, and find critical points quickly. Elevate your skills today with our powerful tool!
Share Your Feedback
How was your experience with this calculator?
Critical Points Calculator – Find & Classify Critical Points of Functions (Single & Multivariable)
Instantly locate every critical point of a function, classify local maxima, minima, and saddle points, and see the complete step-by-step solution. Ideal for calculus students, teachers, engineers, and anyone solving optimization problems.
What Is a Critical Point?
A critical point of a function f is a point c in the domain of f at which either:
- The derivative equals zero: f'(c) = 0, or
- The derivative does not exist (while f(c) itself is defined).
For functions of several variables, a critical point is a point where the gradient is the zero vector ∇f = 0 or where one or more partial derivatives fail to exist.
Critical points are the only interior locations where a function can have a local maximum or local minimum (Fermat's Interior Extremum Theorem). They are therefore the starting point for every optimization problem in calculus. Once you have found the critical points, you can classify them using our Local Minima and Maxima Calculator or explore related concavity changes with the Inflection Point Calculator.
Why Finding Critical Points Matters
Critical points appear in:
- Maximizing profit or minimizing cost in business and economics
- Finding equilibrium positions in physics and engineering
- Curve sketching and understanding the shape of graphs
- Constrained optimization (Lagrange multipliers build directly on the same idea)
Mastering the process of locating and classifying critical points is one of the highest-leverage skills in first-year calculus.
How to Find Critical Points of a Function of One Variable
- Compute the first derivative f'(x). You can practice the underlying difference quotient with our Difference Quotient Calculator.
- Solve f'(x) = 0.
- Find any points in the domain of f where f'(x) is undefined.
- Evaluate f at those points if you need the critical values.
Worked Example 1 (Polynomial)
Given function:
\[ F(x)=x^3-3x+2 \]
Step 1: Differentiate the function with respect to \(x\).
\[ F'(x)=\frac{d}{dx}(x^3-3x+2) \]
\[ F'(x)=3x^2-3 \]
Factor the derivative:
\[ F'(x)=3(x-1)(x+1) \]
Step 2: Set the first derivative equal to zero.
\[ F'(x)=0 \]
\[ 3(x-1)(x+1)=0 \]
Solving gives the critical numbers:
\[ \boxed{x=-1,\quad x=1} \]
Step 3: Find the corresponding critical points.
Substitute \(x=-1\) into the original function:
\[ F(-1)=(-1)^3-3(-1)+2 \]
\[ F(-1)=-1+3+2=4 \]
The corresponding critical point is:
\[ \boxed{(-1,4)} \]
Substitute \(x=1\) into the original function:
\[ F(1)=(1)^3-3(1)+2 \]
\[ F(1)=1-3+2=0 \]
The corresponding critical point is:
\[ \boxed{(1,0)} \]
Final Answer:
- Critical numbers: \(\boxed{\{-1,1\}}\)
- Corresponding critical points: \(\boxed{(-1,4),\ (1,0)}\)
Worked Example 2 (Trigonometric – Periodic Function)
Given function:
\[ F(x)=\sin(x)+\cos(2x) \]
Step 1: Find the derivative.
Using the chain rule:
\[ F'(x)=\cos(x)-2\sin(2x) \]
Apply the double-angle identity:
\[ \sin(2x)=2\sin(x)\cos(x) \]
Therefore:
\[ F'(x)=\cos(x)-4\sin(x)\cos(x) \]
Factor:
\[ \boxed{F'(x)=\cos(x)(1-4\sin(x))} \]
Step 2: Set the derivative equal to zero.
\[ \cos(x)(1-4\sin(x))=0 \]
This gives two cases.
Case A:
\[ \cos(x)=0 \]
\[ x=\frac{\pi}{2}+k\pi,\quad k\in\mathbb Z \]
Case B:
\[ 1-4\sin(x)=0 \]
\[ \sin(x)=\frac14 \]
Therefore:
\[ x=\arcsin\left(\frac14\right)+2k\pi \]
or
\[ x=\pi-\arcsin\left(\frac14\right)+2k\pi \]
where \(k\in\mathbb Z\).
Step 3: Find the corresponding critical points.
For Case A, when:
\[ x=\frac{\pi}{2}+k\pi \]
We have:
\[ \cos(2x)=-1 \]
If \(\sin(x)=1\):
\[ F(x)=1-1=0 \]
If \(\sin(x)=-1\):
\[ F(x)=-1-1=-2 \]
Therefore, the corresponding critical points are:
\[ \boxed{\left(\frac{\pi}{2}+2k\pi,0\right)} \]
\[ \boxed{\left(\frac{3\pi}{2}+2k\pi,-2\right)} \]
For Case B, when:
\[ \sin(x)=\frac14 \]
Using the double-angle identity:
\[ \cos(2x)=1-2\sin^2(x) \]
\[ =1-2\left(\frac14\right)^2 \]
\[ =\frac78 \]
Therefore:
\[ F(x)=\frac14+\frac78=\frac98 \]
The corresponding critical points are:
\[ \boxed{\left(\arcsin\left(\frac14\right)+2k\pi,\frac98\right)} \]
\[ \boxed{\left(\pi-\arcsin\left(\frac14\right)+2k\pi,\frac98\right)} \]
Final Answer:
For \(k\in\mathbb Z\), the critical numbers and corresponding critical points are:
\[ \boxed{ \begin{aligned} &\left(\frac{\pi}{2}+2k\pi,0\right),\\ &\left(\frac{3\pi}{2}+2k\pi,-2\right),\\ &\left(\arcsin\left(\frac14\right)+2k\pi,\frac98\right),\\ &\left(\pi-\arcsin\left(\frac14\right)+2k\pi,\frac98\right). \end{aligned} } \]
Classifying Critical Points
First Derivative Test
Look at the sign of f'(x) on either side of the critical point:
- Changes from positive to negative → local maximum
- Changes from negative to positive → local minimum
- No sign change → neither (possible point of inflection)
Second Derivative Test
If f''(c) exists:
- f''(c) > 0 → local minimum
- f''(c) < 0 → local maximum
- f''(c) = 0 → test inconclusive; use the first-derivative test
For a dedicated tool that finds and classifies extrema, try the Local Minima and Maxima Calculator. When the second derivative is zero, you may also want to check for changes in concavity with the Inflection Point Calculator.
Critical Points of Multivariable Functions
For a function F(x, y), solve the system
\[ F_x = 0, F_y = 0 \]
(or locate points where the partial derivatives fail to exist while the function remains defined).
Classification uses the Hessian determinant
\[D = F_{xx}F_{yy} - (F_{xy})^2 \\ D > 0 \text{ and } F_{xx} > 0 \rightarrow \text{Local minimum} \\ D > 0 \text{ and } F_{xx} < 0 \rightarrow \text{Local maximum} \\ D < 0 \rightarrow \text{Saddle point} \\ D = 0 \rightarrow \text{Inconclusive} \\\]
Worked Example – Multivariable (Monkey Saddle)
Given function:
\[ F(x,y)=x^3-3xy^2 \]
Step 1: Calculate the partial derivative with respect to \(x\), treating \(y\) as a constant.
\[ F_x(x,y)=\frac{\partial}{\partial x}(x^3-3xy^2) \]
\[ F_x(x,y)=3x^2-3y^2 \]
Step 2: Calculate the partial derivative with respect to \(y\), treating \(x\) as a constant.
\[ F_y(x,y)=\frac{\partial}{\partial y}(x^3-3xy^2) \]
\[ F_y(x,y)=-6xy \]
Step 3: Set both partial derivatives equal to zero.
\[ \begin{cases} 3x^2-3y^2=0\\ -6xy=0 \end{cases} \]
Simplifying:
\[ x^2-y^2=0 \]
\[ xy=0 \]
Solving the system simultaneously gives:
\[ \boxed{x=0,\quad y=0} \]
Therefore, the only critical number pair is:
\[ \boxed{(0,0)} \]
Step 4: Find the corresponding critical point.
Substitute \(x=0\) and \(y=0\) into the original function:
\[ F(0,0)=(0)^3-3(0)(0)^2 \]
\[ F(0,0)=0 \]
The corresponding critical point is:
\[ \boxed{(0,0,0)} \]
Final Answer:
- Critical number pair: \(\boxed{(0,0)}\)
- Corresponding critical point on the surface: \(\boxed{(0,0,0)}\)
The Hessian determinant vanishes at this point, so the second-derivative test is inconclusive. This is a classic monkey saddle.
How to Use the Critical Point Calculator
- Enter your function using standard mathematical notation (examples: `x^3-3*x`, `sin(x)+cos(2*x)`, `x^2+y^2-2*x`, `abs(x)`, `x^3-3*x*y^2`).
- Specify the variable(s) if the tool does not auto-detect them.
- Optionally restrict the domain or search interval.
- Click Calculate.
The calculator returns:
- All critical points (stationary and non-differentiable)
- Function values at those points
- Classification via the first-derivative test, second-derivative test, or Hessian test when applicable
- Clear intermediate steps so you can verify every algebraic move
Supports polynomials, rational functions, trigonometric, exponential, logarithmic, absolute-value, and a wide range of multivariable expressions. For related function operations, explore the Composite Function Calculator or the Inverse Function Calculator. When working with equations that define y implicitly, the Implicit Differentiation Calculator is especially useful.
Practical Tips & Common Pitfalls
- Always confirm that a candidate point lies in the domain of the original function.
- Do not forget points where the derivative is undefined (cusps, corners, vertical tangents).
- Not every critical point is a maximum or minimum—saddle points and horizontal points of inflection are common.
- On a closed interval, absolute extrema can also occur at the endpoints; compare values there as well.
- For periodic functions the set of critical points is usually infinite; the calculator reports a fundamental set together with the general solution.
Frequently Asked Questions
What is the difference between a critical point and a stationary point?
A stationary point is a critical point where the derivative equals zero. Critical points also include locations where the derivative fails to exist.
Can a function have no critical points?
Yes. A function has no critical points when its derivative is never zero and never undefined at any point in the function's domain.
Examples:
- f(x) = eˣ has f'(x) = eˣ, which is always positive, so there are no critical points.
- f(x) = 1/x has f'(x) = −1/x². The derivative is never zero, and it is undefined only at x = 0, which is not in the domain of f. So there are no critical points.
Does the Extreme Value Theorem guarantee critical points?
It guarantees that absolute extrema exist on a closed bounded interval, but those extrema may occur at the endpoints rather than at interior critical points.
How does the calculator handle multivariable functions?
It computes the relevant partial derivatives, solves the system ∇F = 0, and applies the Hessian test when second partials are available.
Is the second-derivative (or Hessian) test always conclusive?
No. When the second derivative or the Hessian determinant is zero, further analysis with the first-derivative test or higher-order derivatives is required. In such cases you may also want to examine series expansions with the Taylor & Maclaurin Series Calculator.
Reviewed by the theMathex Engineering Team
This content has been mathematically reviewed for accuracy, including the critical point conditions, first- and second-derivative tests, and multivariable Hessian classification. Worked examples and mathematical notation have been checked for consistency.