IBMathematics

Second Derivative Test: Rules, Examples & Practice

Learn the second derivative test with formulas, worked examples, inconclusive cases, optimization uses, graph interpretation tips and practice questions.
Graph of a smooth curve with tangent and concavity illustrating the second derivative test for critical points in a calculus lesson by RevisionTown
Calculus study guide

The Second Derivative Test

Learn how the second derivative test classifies stationary points, identifies local maxima and local minima, and connects concavity with the shape of a graph. This guide explains the test step by step, shows worked examples, highlights common mistakes, and gives practice questions for AP Calculus, IB Mathematics, A-level Maths and first-year calculus.

What Is the Second Derivative Test?

The second derivative test is a calculus method used to classify a critical point of a differentiable function. A critical point occurs where \(f'(x)=0\) or where the first derivative is undefined, provided the original function is defined there. The second derivative test focuses on the common case where \(f'(c)=0\) and \(f''(c)\) exists. It uses the sign of \(f''(c)\) to decide whether the graph bends upward, bends downward, or cannot be classified by this test alone.

The idea is visually simple. If a curve is flat at a point and concave upward there, it behaves like the bottom of a valley, so the point is a local minimum. If the curve is flat at a point and concave downward there, it behaves like the top of a hill, so the point is a local maximum. If the curve is flat but the second derivative is zero or unavailable, the test does not decide the classification. The point may be a maximum, a minimum, an inflection point, or something that needs another method.

\[ \text{If } f'(c)=0 \text{ and } f''(c)>0,\text{ then } f(c) \text{ is a local minimum.} \]

\[ \text{If } f'(c)=0 \text{ and } f''(c)<0,\text{ then } f(c) \text{ is a local maximum.} \]

\[ \text{If } f'(c)=0 \text{ and } f''(c)=0,\text{ the test is inconclusive.} \]

This test belongs in the wider derivative toolkit. Before using it, students should understand differentiation rules such as the power rule, product rule, quotient rule and chain rule. If you need a refresher, start with definition of derivatives and the power rule, then review the product and quotient rules and higher derivatives. Once those foundations are secure, the second derivative test becomes a clear graph-analysis technique rather than a memorized sign rule.

Key point: the second derivative test does not find critical points by itself. It classifies critical points that you have already found from the first derivative.

Why the Test Works

The first derivative \(f'(x)\) measures the slope of the tangent line. When \(f'(c)=0\), the tangent line is horizontal. A horizontal tangent is not enough to decide whether a graph has a maximum, minimum or neither. For example, the graph of \(x^2\) has a horizontal tangent at \(x=0\) and a local minimum, while the graph of \(-x^2\) has a horizontal tangent at \(x=0\) and a local maximum. The graph of \(x^3\) also has a horizontal tangent at \(x=0\), but it has neither a local maximum nor a local minimum there.

The second derivative \(f''(x)\) measures the rate of change of the first derivative. In graph language, it describes concavity. If \(f''(c)>0\), the derivative is increasing near \(c\). A slope that increases through zero moves from negative to positive, which means the graph changes from decreasing to increasing. That is the shape of a local minimum. If \(f''(c)<0\), the derivative is decreasing near \(c\). A slope that decreases through zero moves from positive to negative, which means the graph changes from increasing to decreasing. That is the shape of a local maximum.

A Taylor approximation gives another way to understand the same rule. Near \(x=c\), a twice-differentiable function can be locally approximated by

\[ f(x)\approx f(c)+f'(c)(x-c)+\frac{f''(c)}{2}(x-c)^2. \]

At a stationary point, \(f'(c)=0\), so the linear term disappears:

\[ f(x)\approx f(c)+\frac{f''(c)}{2}(x-c)^2. \]

Since \((x-c)^2\ge 0\), the sign of \(f''(c)\) determines whether nearby values tend to sit above or below \(f(c)\). If \(f''(c)>0\), nearby values are approximately greater than \(f(c)\), so the graph forms a local minimum. If \(f''(c)<0\), nearby values are approximately less than \(f(c)\), so the graph forms a local maximum. If \(f''(c)=0\), the quadratic term disappears, and higher-order terms may control the behavior. That is why the test becomes inconclusive.

This Taylor viewpoint connects the second derivative test to later topics such as Taylor polynomial and Lagrange error bound and Taylor series and Maclaurin series. The second derivative test is not an isolated trick; it is an early example of using local polynomial behavior to understand a curve.

How to Use the Second Derivative Test

The second derivative test is short, but it must be used in the correct order. Most errors happen because students try to substitute into \(f''(x)\) before finding all the critical points, or because they classify \(x\)-values without reporting the corresponding \(y\)-values. A clean solution should show the derivatives, the equation for critical points, the second derivative evaluation, and the final point classification.

  1. Differentiate once. Find \(f'(x)\).
  2. Find stationary points. Solve \(f'(x)=0\). Also consider points where \(f'(x)\) is undefined if the function is defined there.
  3. Differentiate again. Find \(f''(x)\).
  4. Substitute each stationary value. Evaluate \(f''(c)\) at every critical value \(c\) where the test applies.
  5. Classify the point. If \(f''(c)>0\), local minimum. If \(f''(c)<0\), local maximum. If \(f''(c)=0\), use another method.
  6. Give coordinates when required. Substitute \(c\) into \(f(x)\) to report \((c,f(c))\).
ConditionGraph shapeClassificationWhat to write
\(f'(c)=0\), \(f''(c)>0\)Concave up near \(c\)Local minimumThe stationary point is a local minimum.
\(f'(c)=0\), \(f''(c)<0\)Concave down near \(c\)Local maximumThe stationary point is a local maximum.
\(f'(c)=0\), \(f''(c)=0\)Not decided by this testInconclusiveUse a first derivative sign chart, graph, or higher derivative analysis.
\(f'(c)\) undefinedPossible cusp, corner or vertical tangentSecond derivative test usually not applicableUse a first derivative sign chart or direct comparison.

The first derivative test remains useful even when the second derivative test works. The first derivative test and the extreme values of functions focuses on increasing and decreasing intervals. The second derivative test is faster at many smooth stationary points, but the first derivative test is more general because it can handle many inconclusive or non-smooth cases.

Worked Examples

The examples below move from basic polynomial functions to rational and trigonometric functions. In every case, the structure is the same: find \(f'(x)\), solve \(f'(x)=0\), find \(f''(x)\), evaluate the sign of \(f''(c)\), and then state the classification clearly.

Example 1: Quadratic minimum

Let \(f(x)=x^2-6x+5\). First differentiate:

\[ f'(x)=2x-6. \]

Set the derivative equal to zero:

\[ 2x-6=0 \Rightarrow x=3. \]

The second derivative is

\[ f''(x)=2. \]

Since \(f''(3)=2>0\), the graph is concave up at \(x=3\), so \(f\) has a local minimum there. The coordinate is \(f(3)=9-18+5=-4\), so the local minimum is \((3,-4)\).

Example 2: Cubic with a maximum and minimum

Let \(f(x)=x^3-3x^2-9x+2\). Differentiate:

\[ f'(x)=3x^2-6x-9=3(x-3)(x+1). \]

The stationary values are \(x=-1\) and \(x=3\). Now differentiate again:

\[ f''(x)=6x-6. \]

Evaluate at each critical value:

\[ f''(-1)=-12<0,\qquad f''(3)=12>0. \]

Therefore \(x=-1\) gives a local maximum and \(x=3\) gives a local minimum. The coordinates are \(f(-1)=7\) and \(f(3)=-25\), so the points are \((-1,7)\) and \((3,-25)\).

Example 3: Trigonometric function

Let \(f(x)=\sin x+\cos x\) on \(0\le x\le 2\pi\). First derivative:

\[ f'(x)=\cos x-\sin x. \]

Solve \(f'(x)=0\):

\[ \cos x=\sin x \Rightarrow \tan x=1. \]

On the interval, \(x=\frac{\pi}{4}\) and \(x=\frac{5\pi}{4}\). The second derivative is

\[ f''(x)=-\sin x-\cos x. \]

At \(x=\frac{\pi}{4}\), \(f''(x)=-\sqrt2<0\), so there is a local maximum. At \(x=\frac{5\pi}{4}\), \(f''(x)=\sqrt2>0\), so there is a local minimum. For differentiation review, see derivatives of trigonometric functions.

Example 4: Rational function

Let \(f(x)=x+\frac{4}{x}\), where \(x\ne 0\). Differentiate:

\[ f'(x)=1-\frac{4}{x^2}. \]

Set \(f'(x)=0\):

\[ 1-\frac{4}{x^2}=0 \Rightarrow x^2=4 \Rightarrow x=\pm2. \]

Differentiate again:

\[ f''(x)=\frac{8}{x^3}. \]

Then \(f''(2)=1>0\), so \(x=2\) gives a local minimum. Also \(f''(-2)=-1<0\), so \(x=-2\) gives a local maximum. The coordinates are \((2,4)\) and \((-2,-4)\).

When the Second Derivative Test Is Inconclusive

The most important limitation is the case \(f''(c)=0\). Students sometimes assume that this means there is no maximum or minimum. That is false. It only means the second derivative test does not decide. The point may still be a maximum, a minimum, or neither. You need another method.

\(f(x)=x^4\)

Here \(f'(x)=4x^3\), so \(x=0\) is stationary. Also \(f''(x)=12x^2\), so \(f''(0)=0\). The second derivative test is inconclusive, but \(x^4\ge0\), so \((0,0)\) is a local minimum.

\(f(x)=-x^4\)

Here \(f'(x)=-4x^3\) and \(f''(x)=-12x^2\), so \(f'(0)=0\) and \(f''(0)=0\). The second derivative test is inconclusive, but \(-x^4\le0\), so \((0,0)\) is a local maximum.

\(f(x)=x^3\)

Here \(f'(x)=3x^2\), \(f''(x)=6x\), and both \(f'(0)\) and \(f''(0)\) are zero. The graph keeps increasing through \(x=0\), so the point is neither a maximum nor a minimum. It is a stationary inflection point.

In inconclusive cases, use a first derivative sign chart, compare function values near the critical point, examine the graph, or use higher derivatives if that method is part of your course. A first derivative sign chart asks whether \(f'(x)\) changes from positive to negative, negative to positive, or does not change sign. This works because local extrema are about changes in increasing and decreasing behavior.

First derivative behavior around \(c\)Graph behaviorClassification
\(f'(x)\) changes from \(+\) to \(-\)Increasing then decreasingLocal maximum
\(f'(x)\) changes from \(-\) to \(+\)Decreasing then increasingLocal minimum
\(f'(x)\) does not change signIncreasing through or decreasing throughNo local extremum

In AP Calculus and IB Mathematics, an inconclusive second derivative test is not a dead end. It is a signal to change tools. This is also why exam solutions should avoid writing “\(f''(c)=0\), therefore neither.” The word “inconclusive” is important.

Second Derivative Test and Inflection Points

The second derivative is also used to study inflection points, but the second derivative test for extrema is not the same as the test for inflection. A local maximum or minimum is about the function changing from increasing to decreasing or decreasing to increasing. An inflection point is about concavity changing from up to down or down to up. These are related ideas, but they are not interchangeable.

A point where \(f''(x)=0\) is a candidate for an inflection point, not a guaranteed inflection point. You must check whether \(f''(x)\) changes sign. For example, \(f(x)=x^3\) has \(f''(x)=6x\), which changes sign at \(x=0\), so there is an inflection point. But \(f(x)=x^4\) has \(f''(x)=12x^2\), which does not change sign at \(x=0\), so there is no inflection point there even though \(f''(0)=0\).

\[ f''(x)>0 \Rightarrow \text{concave up} \]

\[ f''(x)<0 \Rightarrow \text{concave down} \]

\[ f''(x) \text{ changes sign at } x=c \Rightarrow \text{possible inflection point at } c. \]

This distinction matters in curve sketching. A graph can have a local minimum and an inflection point at different \(x\)-values. A graph can have a stationary point that is also an inflection point, such as \(x^3\). A graph can have an inflection point where the first derivative is not zero. Therefore, a complete curve sketch often needs both first derivative information and second derivative information.

Using the Second Derivative Test in Optimization

Optimization problems ask for the largest or smallest possible value of a quantity. The second derivative test is useful when the objective function is differentiable and the critical point lies inside the allowed domain. After building the model, you can differentiate, find the stationary point, and use the second derivative to confirm whether the point gives a maximum or minimum.

The modeling step is usually harder than the derivative step. You must define variables, write the quantity to be optimized, use constraints to reduce the function to one variable, determine the domain, and then differentiate. For a full modeling guide, use optimization problems. The second derivative test is one tool inside that broader optimization workflow.

Optimization example: minimum surface expression

Suppose an objective function is

\[ A(x)=2x^2+\frac{64}{x}, \qquad x>0. \]

Differentiate:

\[ A'(x)=4x-\frac{64}{x^2}. \]

Set \(A'(x)=0\):

\[ 4x-\frac{64}{x^2}=0 \Rightarrow 4x^3=64 \Rightarrow x^3=16 \Rightarrow x=\sqrt[3]{16}. \]

Now differentiate again:

\[ A''(x)=4+\frac{128}{x^3}. \]

Since \(x>0\), \(A''(x)>0\). Therefore the critical point gives a local minimum. In this kind of problem, you should also consider endpoints or domain behavior if the question asks for an absolute minimum or maximum. The second derivative test confirms local behavior, while the full optimization answer must respect the domain.

Local Extrema vs Absolute Extrema

The second derivative test classifies local extrema. A local maximum is a point that is higher than nearby points. A local minimum is lower than nearby points. But an absolute maximum is the highest value on the entire domain, and an absolute minimum is the lowest value on the entire domain. These are not always the same.

On a closed interval \([a,b]\), absolute extrema may occur at critical points or endpoints. The second derivative test can classify interior critical points, but it does not check endpoints. Therefore, if a problem asks for the absolute maximum or absolute minimum on a closed interval, you should evaluate the function at all relevant critical points and at the endpoints, then compare the values.

\[ \text{Candidates for absolute extrema on }[a,b]: \quad x=a,\quad x=b,\quad \text{and critical points inside }(a,b). \]

This connects to the Extreme Value Theorem and to graph analysis. A point may be a local minimum but not the absolute minimum. A function may have an endpoint maximum that the second derivative test never sees. Exam questions often test this distinction by asking for “local” in one part and “absolute” in another. Read the wording carefully.

Common Mistakes

MistakeWhy it is wrongBetter habit
Using \(f''(x)=0\) to find maxima and minimaStationary points usually come from \(f'(x)=0\), not \(f''(x)=0\).Find critical points with the first derivative first.
Writing \(f''(c)=0\), so there is no extremumThe second derivative test is inconclusive when \(f''(c)=0\).Use a first derivative sign chart or another method.
Forgetting coordinatesMany questions ask for points, not just \(x\)-values.Substitute \(x=c\) into \(f(x)\) to find \(f(c)\).
Ignoring endpoints on closed intervalsThe second derivative test does not classify endpoints.Evaluate endpoints separately when finding absolute extrema.
Confusing concavity with increasing/decreasingConcavity is about \(f''(x)\), while increasing/decreasing is about \(f'(x)\).Use the first derivative for slope behavior and the second derivative for curvature.
Not checking the domainCritical values outside the domain are not valid candidates.State domain restrictions before solving or classifying.

How This Topic Appears in Exams

In AP Calculus, the second derivative test often appears in questions about curve sketching, particle motion, optimization, graph interpretation and justification. You may be asked to justify that a function has a local minimum because \(f'(c)=0\) and \(f''(c)>0\). You may also be given a graph of \(f'\) and asked to reason about \(f''\) from the slope of the derivative graph. In that setting, if \(f'\) is increasing at \(c\), then \(f''(c)>0\).

In IB Mathematics and A-level Maths, the same core idea is used for stationary points, graph sketching and optimization. Students should be comfortable with exact values, decimals, domain restrictions and contextual interpretation. In a modeling problem, the final sentence should connect the calculus result back to the situation: minimum cost, maximum area, maximum profit, least material, shortest time, or another real quantity.

If you are preparing specifically for AP Calculus, the pages AP Calculus AB, AP Calculus BC, AP Calculus AB Practice Test 1, and AP Calculus BC Practice Test 1 can help you practise the broader exam context. For formula review, use derivatives and integration formulas or the relevant IB calculus formula pages such as calculus formulae AA SL & AA HL.

Second Derivative Test vs First Derivative Test

Both tests classify stationary points, but they use different evidence. The first derivative test checks the sign of \(f'(x)\) on either side of the critical point. The second derivative test checks the sign of \(f''(c)\) at the critical point. The first derivative test is more general because it can handle corners, cusps and many cases where \(f''(c)=0\). The second derivative test is faster when its conditions are met.

FeatureFirst derivative testSecond derivative test
Main evidenceSign changes of \(f'(x)\)Sign of \(f''(c)\)
Best forGeneral classification, including many non-smooth casesQuick classification of smooth stationary points
Can be inconclusive?Usually decisive if sign behavior is clearInconclusive when \(f''(c)=0\)
Graph ideaIncreasing/decreasingConcavity

A strong calculus solution uses the tool that fits the evidence. If \(f''(c)\) is nonzero, the second derivative test is efficient. If \(f''(c)=0\), if \(f''\) is difficult to compute, or if the function is not differentiable at the critical point, use the first derivative test instead.

Choosing the Right Test in a Full Solution

A common exam problem does not simply say “use the second derivative test.” It may ask you to find and classify stationary points, sketch a graph, justify a minimum, or solve a contextual optimization problem. In those situations, the main skill is not memorizing one rule; it is choosing the right evidence. The second derivative test is powerful when you already have a smooth stationary point and the value of \(f''(c)\) is clearly positive or negative. If either condition fails, switch to another method instead of forcing the test.

Start by reading the command words. If the question asks for “local maximum” or “local minimum,” you need nearby behavior. If it asks for “absolute maximum” or “absolute minimum,” you need to compare values over the whole stated domain. If it asks for “concavity,” “point of inflection,” or “where the graph is concave up,” you are studying \(f''(x)\) over intervals rather than just evaluating \(f''\) at one stationary point. If it asks for “justify,” you must state the mathematical reason, not only the final answer.

What the question asksBest evidenceWhy
Classify a smooth stationary point\(f''(c)>0\) or \(f''(c)<0\)The second derivative test gives a quick local classification.
Classify a point where \(f''(c)=0\)Sign chart for \(f'(x)\), direct comparison, or higher derivativesThe second derivative test is inconclusive.
Find absolute extrema on \([a,b]\)Function values at endpoints and all critical pointsEndpoints can produce absolute extrema even when no local extremum occurs there.
Find intervals of concavitySign chart for \(f''(x)\)Concavity is interval behavior, not only point behavior.
Use a graph of \(f'\)Zeros and slopes of the derivative graphA zero of \(f'\) is a critical point, and slope of the \(f'\) graph represents \(f''\).

Consider the difference between these two instructions: “Classify the stationary point at \(x=2\)” and “Find the absolute maximum on \(0\le x\le 5\).” In the first instruction, if \(f'(2)=0\) and \(f''(2)>0\), you can immediately say there is a local minimum at \(x=2\). In the second instruction, the same calculation is not enough. You still need to evaluate \(f(0)\), \(f(5)\), and every critical point inside the interval. A local minimum inside a closed interval cannot be the absolute maximum unless the domain has unusual restrictions, so comparing values is essential.

A good rule is to separate three tasks: finding candidates, classifying local shape, and answering the question asked. Candidates usually come from \(f'(x)=0\), undefined derivative points, and endpoints. Local shape can come from the second derivative test or first derivative test. The final answer may require coordinates, exact values, rounded values, or a sentence in context. This separation prevents many mistakes because you do not treat one derivative sign as if it answered every possible question.

Reading the Test from a Graph of \(f'\)

Many modern calculus questions give a graph or table rather than an explicit formula. If the graph shown is \(f'(x)\), the second derivative test can still be used, but you must translate the visual information correctly. A local extremum of \(f\) can occur where the graph of \(f'\) crosses or touches the \(x\)-axis. The value of \(f''(c)\) is the slope of the graph of \(f'\) at \(x=c\), because \(f''(x)\) is the derivative of \(f'(x)\).

Suppose a graph of \(f'\) passes through the point \((3,0)\) with positive slope. That means \(f'(3)=0\) and \(f''(3)>0\). By the second derivative test, \(f\) has a local minimum at \(x=3\). If the graph of \(f'\) passes through \((3,0)\) with negative slope, then \(f'(3)=0\) and \(f''(3)<0\), so \(f\) has a local maximum at \(x=3\). If the graph of \(f'\) touches the axis at \(x=3\) with a horizontal tangent, the second derivative may be zero, and the visual evidence must be checked with a first derivative sign change.

\[ \text{Slope of the graph of } f' \text{ at } x=c = f''(c). \]

\[ f'(c)=0 \text{ and the graph of } f' \text{ is increasing at } c \Rightarrow f''(c)>0. \]

\[ f'(c)=0 \text{ and the graph of } f' \text{ is decreasing at } c \Rightarrow f''(c)<0. \]

Tables can be interpreted in a similar way, although tables rarely provide exact derivative slopes. If values of \(f'(x)\) change from negative to positive as \(x\) passes through \(c\), the first derivative test indicates a local minimum. If the values change from positive to negative, it indicates a local maximum. If a table also gives \(f''(c)\), then the second derivative test can be used directly. If it does not, do not invent a second derivative value from limited data; use the sign pattern of \(f'\) instead.

This graph-based interpretation is also helpful when studying related ideas from the Mean Value Theorem. The Mean Value Theorem connects slopes of secant lines and tangent lines, while the second derivative test connects the slope of \(f'\) with the local curvature of \(f\). Both topics require careful attention to what graph is being shown. A graph of \(f\), a graph of \(f'\), and a graph of \(f''\) all tell different stories.

The Higher Derivative Test

Some courses extend the second derivative idea to a higher derivative test. This is not always required, but it explains why \(f(x)=x^4\), \(-x^4\), and \(x^3\) behave differently even though all have \(f'(0)=0\) and \(f''(0)=0\). The higher derivative test looks for the first nonzero derivative after \(f'(c)\). If that first nonzero derivative has even order, the stationary point is a local extremum. If it has odd order, the stationary point is generally not a local extremum and is often a stationary point of inflection.

\[ f'(c)=f''(c)=\cdots=f^{(n-1)}(c)=0,\qquad f^{(n)}(c)\ne0. \]

\[ n \text{ even and } f^{(n)}(c)>0 \Rightarrow \text{local minimum.} \]

\[ n \text{ even and } f^{(n)}(c)<0 \Rightarrow \text{local maximum.} \]

\[ n \text{ odd} \Rightarrow \text{no local maximum or local minimum by this pattern.} \]

For \(f(x)=x^4\), the first nonzero derivative at \(x=0\) after the first derivative is the fourth derivative:

\[ f'(x)=4x^3,\quad f''(x)=12x^2,\quad f'''(x)=24x,\quad f^{(4)}(x)=24. \]

Since \(f^{(4)}(0)=24>0\) and the order is even, the point is a local minimum. For \(f(x)=-x^4\), the fourth derivative is \(-24\), so the point is a local maximum. For \(f(x)=x^3\), the first nonzero derivative after \(f'\) is the third derivative, \(f'''(0)=6\), and the order is odd, so there is no local maximum or local minimum.

This higher derivative result is closely related to Taylor polynomials. If the first nonzero term after \(f(c)\) is an even power, the graph bends the same way on both sides of \(c\), producing a maximum or minimum depending on the sign. If the first nonzero term is an odd power, the graph tends to pass through the point from one side to the other, which prevents a local extremum. You do not need this method for every problem, but it gives a reliable fallback when the ordinary second derivative test returns \(0\).

Use the higher derivative test only when your course expects it or when the problem clearly supports it. In many exam settings, a first derivative sign chart is the safer and more widely accepted method after \(f''(c)=0\).

Parameter Problems and Exact Classification

Parameter problems ask you to classify stationary points when the function contains an unknown constant. These questions are useful because they test whether you understand the logic of the second derivative test rather than simply following a routine. A parameter can change the number of stationary points, the location of a stationary point, or the sign of \(f''(c)\). The safest approach is to keep the parameter visible until the classification step, then state any restrictions clearly.

Example: quadratic with a parameter

Let \(f(x)=ax^2+bx+c\), where \(a\ne0\). Then

\[ f'(x)=2ax+b,\qquad f''(x)=2a. \]

The stationary point occurs when

\[ 2ax+b=0 \Rightarrow x=-\frac{b}{2a}. \]

Since \(f''(x)=2a\), the classification depends on the sign of \(a\). If \(a>0\), the stationary point is a local minimum. If \(a<0\), the stationary point is a local maximum. This matches the graph of a parabola: positive leading coefficient opens upward, negative leading coefficient opens downward.

Parameter problems can become more subtle when a critical point depends on the parameter. For instance, suppose

\[ f(x)=x^3-3kx,\qquad k>0. \]

Then

\[ f'(x)=3x^2-3k=3(x^2-k), \]

so the stationary values are \(x=\pm\sqrt{k}\). The second derivative is

\[ f''(x)=6x. \]

Therefore \(f''(-\sqrt{k})<0\), so \(x=-\sqrt{k}\) is a local maximum, and \(f''(\sqrt{k})>0\), so \(x=\sqrt{k}\) is a local minimum. If the condition \(k>0\) were removed, you would need to discuss separate cases. For \(k=0\), the only stationary point is \(x=0\) and the second derivative test is inconclusive. For \(k<0\), the equation \(x^2=k\) has no real stationary points.

Exact classification matters in written mathematics. Avoid vague statements such as “there is a maximum if the answer is negative.” State what is negative and where it is evaluated: “Since \(f''(-\sqrt{k})=-6\sqrt{k}<0\), \(f\) has a local maximum at \(x=-\sqrt{k}\).” This sentence shows the condition, the derivative evidence, and the classification in one line.

Writing Clear Justifications

The second derivative test is often assessed through justification. A final answer such as “minimum” may earn little credit if the supporting reason is missing. A strong justification is short, but it contains the necessary conditions. It should identify the stationary point, show the sign of the second derivative at that point, and connect the sign to the classification. The most reliable format is:

\[ f'(c)=0 \text{ and } f''(c)>0,\text{ so } f \text{ has a local minimum at } x=c. \]

\[ f'(c)=0 \text{ and } f''(c)<0,\text{ so } f \text{ has a local maximum at } x=c. \]

When the test is inconclusive, say so directly:

\[ f'(c)=0 \text{ and } f''(c)=0,\text{ so the second derivative test is inconclusive.} \]

Then continue with another method. For example, if a first derivative sign chart shows \(f'(x)<0\) for \(x0\) for \(x>c\), you can write that \(f\) changes from decreasing to increasing at \(c\), so \(f(c)\) is a local minimum. This is better than trying to make \(f''(c)=0\) mean something it does not mean.

In contextual optimization, add one final sentence in the language of the problem. If \(C(x)\) is a cost function and \(C''(c)>0\), do not stop at “local minimum.” Write that the cost is minimized when \(x=c\), using the correct unit. If \(A(x)\) is an area function and \(A''(c)<0\), state that the area is maximized at the given dimensions. Mathematical classification and real-world interpretation should agree.

Weak justification

“\(x=4\), so minimum.”

This does not identify the derivative condition or the second derivative sign. It also does not state whether \(x=4\) is a point, an input value, or a complete answer.

Strong justification

“Since \(f'(4)=0\) and \(f''(4)=9>0\), the graph is concave up at the stationary point. Therefore \(f\) has a local minimum at \(x=4\).”

This gives the condition, the evidence, and the conclusion. If coordinates are required, add \(f(4)\) and state the point.

Connections to Other Derivative Topics

The second derivative test sits in the middle of a larger calculus pathway. You first learn to differentiate functions, then you use derivatives to describe motion, slope, graph shape and optimization. The second derivative test depends on accurate differentiation, but its purpose is interpretation. It asks: once the slope is zero, what does the curvature tell us about the graph?

If you are making frequent algebra mistakes, review derivative rules before doing classification problems. Polynomial examples rely on the power rule. Rational examples often need the quotient rule or negative exponents. Products of functions may need the product rule. Trigonometric examples need exact values such as \(\sin(\pi/4)=\frac{\sqrt2}{2}\) and \(\cos(\pi/4)=\frac{\sqrt2}{2}\). Exponential and logarithmic examples are covered in derivatives of exponential and logarithmic functions. Inverse function problems may connect to derivatives of an inverse function and derivatives of inverse trigonometric functions.

The test also supports numerical and graphical thinking. When you approximate derivatives from data, the sign of the first derivative describes whether values are rising or falling, while the sign of the second derivative describes whether the rate of change is increasing or decreasing. This connects naturally with approximating a derivative. Even if a calculator or graphing tool provides a curve, you still need the calculus language to justify why a point is a maximum, a minimum, or neither.

Finally, the second derivative test helps prepare for integration and accumulation topics because it strengthens function analysis. A student who understands when a function is increasing, decreasing, concave up and concave down will be better prepared to interpret antiderivatives, motion graphs and area functions. If you are moving forward in the course, antiderivatives and indefinite integrals is a natural next topic after derivative applications.

Mini Review: From Formula to Decision

Before moving into practice, summarize the full reasoning chain in one place. A derivative problem begins with a function and ends with a decision about its graph. The second derivative test is only one link in that chain. You still need algebra, domain awareness, and clear writing.

  1. Start with the original function \(f(x)\) and its domain.
  2. Find \(f'(x)\) accurately.
  3. Solve \(f'(x)=0\) and include other valid critical points if the derivative is undefined.
  4. Find \(f''(x)\) when it is practical and allowed by the problem.
  5. Evaluate \(f''(c)\) only at valid stationary points.
  6. Classify using the sign of \(f''(c)\), or state that the test is inconclusive.
  7. If needed, use the first derivative test, endpoint comparison, or higher derivative reasoning.
  8. Report the final answer in the form requested: \(x\)-value, coordinate, interval, exact value, or contextual sentence.

The key distinction is that \(f'(c)=0\) identifies a flat tangent, while \(f''(c)\) describes the local bend at that flat tangent. A flat tangent with upward bend gives a local minimum. A flat tangent with downward bend gives a local maximum. A flat tangent with zero second derivative needs more evidence. If you keep those three ideas separate, the second derivative test becomes one of the most efficient tools in differential calculus.

When reviewing your work, read the conclusion backward. If you wrote “local minimum,” check that your solution shows a valid stationary point and a positive second derivative, or that another valid method proves a change from decreasing to increasing. If you wrote “local maximum,” check for a valid stationary point and a negative second derivative, or a change from increasing to decreasing. If you wrote “inconclusive,” check that you did not stop too early when the problem still asks for a classification. This backward check catches missing conditions, endpoint mistakes, and unsupported conclusions before they cost marks.

Practice Questions

Try each question before opening the answer. The goal is not only to get the classification right, but to write a clean justification using \(f'(c)=0\) and the sign of \(f''(c)\), or to state that the test is inconclusive when appropriate.

1. \(f(x)=x^2+4x+1\)

Show answer

\(f'(x)=2x+4\), so \(x=-2\). Since \(f''(x)=2>0\), there is a local minimum at \(x=-2\). The point is \((-2,-3)\).

2. \(f(x)=-2x^2+8x-1\)

Show answer

\(f'(x)=-4x+8\), so \(x=2\). Since \(f''(x)=-4<0\), there is a local maximum at \(x=2\). The point is \((2,7)\).

3. \(f(x)=x^3-12x\)

Show answer

\(f'(x)=3x^2-12=3(x-2)(x+2)\), so \(x=-2,2\). \(f''(x)=6x\). Since \(f''(-2)<0\), \(x=-2\) is a local maximum. Since \(f''(2)>0\), \(x=2\) is a local minimum.

4. \(f(x)=x^4-4x^2\)

Show answer

\(f'(x)=4x^3-8x=4x(x^2-2)\), so \(x=0,\pm\sqrt2\). \(f''(x)=12x^2-8\). Then \(f''(0)=-8<0\), so \(x=0\) is a local maximum. At \(x=\pm\sqrt2\), \(f''=16>0\), so both are local minima.

5. \(f(x)=x+\frac{9}{x}\), \(x>0\)

Show answer

\(f'(x)=1-\frac{9}{x^2}\). Setting this equal to zero gives \(x=3\) in the domain. \(f''(x)=\frac{18}{x^3}\), so \(f''(3)>0\). Therefore \(x=3\) gives a local minimum.

6. \(f(x)=e^x-x\)

Show answer

\(f'(x)=e^x-1\), so \(x=0\). \(f''(x)=e^x\), so \(f''(0)=1>0\). Therefore \(x=0\) gives a local minimum. The point is \((0,1)\).

7. \(f(x)=x^4\)

Show answer

\(f'(x)=4x^3\), so \(x=0\). \(f''(x)=12x^2\), so \(f''(0)=0\). The second derivative test is inconclusive. Since \(x^4\ge0\), the point \((0,0)\) is a local minimum by another method.

8. \(f(x)=x^3\)

Show answer

\(f'(x)=3x^2\), so \(x=0\). \(f''(x)=6x\), so \(f''(0)=0\). The second derivative test is inconclusive. A first derivative sign chart shows \(f'(x)>0\) on both sides of zero, so there is no local maximum or local minimum.

Study Checklist

Before an exam, you should be able to use the second derivative test without needing to think about the order of steps. Use this checklist when reviewing your own solutions:

  • I can find \(f'(x)\) accurately using the correct differentiation rule.
  • I solve \(f'(x)=0\) and do not confuse it with \(f''(x)=0\).
  • I consider the domain and discard invalid \(x\)-values.
  • I find \(f''(x)\) and substitute each valid stationary value.
  • I write \(f''(c)>0\) for a local minimum and \(f''(c)<0\) for a local maximum.
  • I know that \(f''(c)=0\) means the test is inconclusive, not that there is no extremum.
  • I give coordinates when the question asks for points.
  • I check endpoints separately when the question asks for absolute extrema on a closed interval.
  • I can explain the test using concavity, not only memorized signs.

If any item on this checklist feels weak, revisit the worked examples and then practise with mixed problems. Calculus skill builds through repetition of the full reasoning chain, not through memorizing one table.

Frequently Asked Questions

What does the second derivative test tell you?

It tells you whether a smooth stationary point is a local maximum or local minimum, provided \(f'(c)=0\), \(f''(c)\) exists and \(f''(c)\ne0\).

What if the second derivative is zero?

If \(f''(c)=0\), the test is inconclusive. The point could be a local maximum, a local minimum or neither. Use a first derivative sign chart, graph analysis, direct comparison or higher derivatives if appropriate.

Does \(f''(c)>0\) always mean a minimum?

In the second derivative test, \(f''(c)>0\) indicates a local minimum only when \(c\) is a stationary point with \(f'(c)=0\). A positive second derivative alone means concavity upward, not automatically a minimum.

Does the second derivative test find absolute extrema?

No. It classifies local behavior at stationary points. For absolute extrema on a closed interval, evaluate critical points and endpoints, then compare function values.

Is the second derivative test better than the first derivative test?

It is faster when it applies, but it is less general. The first derivative test can handle more cases, especially when \(f''(c)=0\) or the function is not smooth at the critical point.

Can the test be used for trigonometric and exponential functions?

Yes, as long as the function is differentiable and the second derivative exists at the stationary point. The process is the same: find \(f'(x)\), solve \(f'(x)=0\), then evaluate \(f''(x)\).

The Second Derivative Test
The Second Derivative Test
The Second Derivative Test
The Second Derivative Test
The Second Derivative Test
The Second Derivative Test
The Second Derivative Test
Shares: