Unit 5 · Topic 5.7 · about 30 minutes · 7 parts · 12 scored checks, 3 of them multiple choice

AP Calculus AB 5.7: Using the Second Derivative Test to Determine Extrema

Unit 5: 15 to 20% of the multiple-choice section

What you'll be able to do

  • Justify whether a function has a relative maximum or a relative minimum at a critical point from the sign of its second derivative there, and justify when that point gives the absolute maximum or minimum on an interval.

Key vocabulary

TermWhat it meansThe exam trap
Critical pointA point on a function where the first derivative equals zero or fails to exist.A critical point is a candidate, not a conclusion. It still needs a test before you call it anything.
Relative (local) maximum or minimumA value f(c) that is greater than or equal to (or less than or equal to) every value of f near c.Name the function and the input in your answer, as in "g has a relative minimum at x=4", never "it has a min."
Absolute (global) maximum or minimumThe greatest (or least) value of f on a whole interval.An absolute claim is about the whole interval, so its reason has to cover the whole interval, not only the point.
Second derivative testUsing the sign of f′′(c) at a critical point where f′(c)=0 to decide whether f has a relative maximum or a relative minimum there.Write the value or sign of f′′(c) and the fact f′(c)=0 in your justification, not only the conclusion.
Graph of f(x) = x cubed minus 6x squared plus 9x plus 1 for x from about -0.4 to 4.4. At (1, 5) the tangent line is horizontal, f''(1) = -6, the graph is concave down and has a relative maximum. At (3, 1) the tangent line is horizontal, f''(3) = 6, the graph is concave up and has a relative minimum. Farther right the graph climbs above 5.Tap to open the picture full size

Part 1 Think first The most medicine in the blood

Commit to a guess first. Even a wrong guess makes the answer easier to remember.

Predict first

A patient takes one dose of a medicine. The concentration in the blood t hours later is C(t)=20te−t/2 milligrams per liter, for t>0. Its rate of change C′(t) is 0 only at t=2, and the graph of C is concave down there. Is C(2) the highest concentration the blood ever reaches?

In short. The second derivative test classifies a critical point c where f′(c)=0 by the sign of f′′(c), and when it is the only critical point on an interval, the relative extremum it finds is also the absolute one there.

  • If f′(c)=0 and f′′(c)<0, f has a relative maximum at c; if f′(c)=0 and f′′(c)>0, a relative minimum.
  • If f′′(c)=0 or does not exist, the test gives no conclusion, and the sign of f′ on each side of c decides instead.
  • A continuous function with only one critical point on an interval, where it has a relative extremum, has its absolute extremum of that kind there.

Part 2 Learn it Reading the second derivative at a critical point

7a. The sign of f′′ at a critical point

Suppose f′(c)=0, so the graph has a horizontal tangent line at x=c. The second derivative is the rate of change of f′, so its sign at c says how f′ passes through 0 there.

  • If f′′(c)<0, f′ is decreasing through c: positive just before c and negative just after. So f rises and then falls, and f has a relative maximum at x=c.
  • If f′′(c)>0, f′ is increasing through c: negative before and positive after. So f falls and then rises, and f has a relative minimum at x=c.

This is the second derivative test. The graph at the top shows both: f′′ is negative at the top of the hump and positive at the bottom of the dip.

Take f(x)=x3−12x. Then f′(x)=3x2−12=3(x−2)(x+2), so the critical points are x=−2 and x=2, and f′′(x)=6x.

  • f′′(2)=12>0, so f has a relative minimum at x=2, where f(2)=−16.
  • f′′(−2)=−12<0, so f has a relative maximum at x=−2, where f(−2)=16.

Only the sign of f′′(c) matters, not its size. A justification names the function and both facts: "f has a relative minimum at x=2 because f′(2)=0 and f′′(2)>0."

Quick check · Calculate

No calculator. Let f(x)=2x3+3x2−36x, whose critical points are x=−3 and x=2. Use the second derivative test to find where f has a relative maximum. What is the relative maximum value of f?

7b. When the test gives no conclusion

The test needs f′(c)=0 and a second derivative at c that is positive or negative. When f′′(c)=0, it gives no conclusion. Three functions show why. Each has f′(0)=0 and f′′(0)=0:

  • x4 has a relative minimum at 0;
  • −x4 has a relative maximum at 0;
  • x3 has neither.

The same evidence fits all three outcomes, so f′′(c)=0 cannot decide. It does not mean "neither." It means "use another test": go back to the first derivative test and read the sign of f′ on each side of c.

The test also needs f′′(c) to exist. At a corner, such as |x| at 0, f′(c) does not exist, so f′′(c) cannot either, and again the sign of f′ on each side is the tool.

Last, the test is only for critical points. If f′(c) is a number other than 0, f has no relative extremum at c, whatever the sign of f′′(c), because every relative extremum occurs at a critical point.

Quick check · Sort it

No calculator. Each card gives facts about a function f at x=c, where f is defined on an open interval around c. Tap a card, then what those facts let you conclude about f at c.

Relative maximum at c

Relative minimum at c

No relative extremum at c

Cannot tell from these facts

7c. From relative to absolute: one critical point

A relative extremum compares f(c) with nearby values only. An absolute extremum compares it with every value on the interval. On a closed interval you can compare candidates, but an open or unbounded interval has no endpoints to check. This fact covers that case:

If f is continuous on an interval and has only one critical point c in it, and f has a relative minimum at c, then f(c) is the absolute minimum of f on that interval. The same holds for a maximum.

The reason is the one from the medicine question. To go lower than f(c) somewhere else, the graph would have to turn around, and a turn needs a second critical point.

Take f(x)=ex−2x for all real x. f′(x)=ex−2 is 0 only at x=ln⁡2, and f′′(ln⁡2)=eln⁡2=2>0, so f has a relative minimum there. It is the only critical point, so f(ln⁡2)=2−2ln⁡2 is the absolute minimum of f.

Count the critical points first. For x3−12x, the relative minimum at x=2 is −16, but x=−2 is a second critical point, and f(−5)=−65 is lower. There the relative minimum is not the absolute one.

Quick check · Decide and justify

No calculator. Let k(x)=x3−3x. Since k′(1)=0 and k′′(1)=6, k has a relative minimum at x=1, where k(1)=−2. A classmate says −2 is the absolute minimum value of k on the interval −3≤x≤3. Is the classmate right?

Which reason supports your answer?

Part 3 Watch it done Two critical points, two different outcomes

Open the steps one at a time. The last one is yours.

Let f(x)=x4−4x3. Find the critical points of f and classify each one, using the second derivative test where it gives a conclusion.

  1. Step 1 · Find the critical points

    f′(x)=4x3−12x2=4x2(x−3), which is 0 at x=0 and x=3. f′ exists for every x, so these are the only critical points.

  2. Step 2 · Find the second derivative

    f′′(x)=12x2−24x.

  3. Step 3 · Test $x = 3$

    f′′(3)=108−72=36>0. Since f′(3)=0 and f′′(3)>0, f has a relative minimum at x=3.

  4. Step 4 · Test $x = 0$

    f′′(0)=0, so the second derivative test gives no conclusion at x=0.

  5. Why this step?

    Why can't f′′(0)=0 settle what happens at x=0?

    Functions such as x4, −x4 and x3 all have a second derivative of 0 at a critical point, and they have a minimum, a maximum and neither. A zero is consistent with every outcome, so it cannot pick one.

  6. Step 5 · Use the sign of $f'$ at $x = 0$

    In f′(x)=4x2(x−3), the factor 4x2 is positive on both sides of 0 and x−3 is negative near 0, so f′(x)<0 on both sides. f is decreasing through x=0, so f has neither a relative maximum nor a relative minimum there.

  7. Your step · Calculate

    No calculator. Finish it. For f(x)=x4−4x3, the second derivative test showed a relative minimum at x=3. What is the relative minimum value of f?

Part 4 Try it A trigonometric function and an unbounded interval

Try it · Multiple choice

No calculator. Let g(x)=x+2cos⁡x for 0<x<π. At which value of x does g have a relative minimum?

Try it · Calculate

No calculator. Let h(x)=x2+16x for x>0. What is the absolute minimum value of h on the interval x>0?

Part 5 Explain it Justify it in writing

Free response on the exam is written by hand, so work this on paper. Nothing you type here leaves this page. Then open the model answer and score yourself on each point.

Free response is 50% of the exam score. This one is shaped like Question 5, from free-response Part B (calculator not permitted).

Free-response practice · Question 5 style

No calculator. A delivery drone flies a 1-kilometer route at a constant speed of v meters per second. The energy it uses on the route, in kilojoules, is modeled by E(v)=2v+200v for 4<v<20.

(a) Find E′(v). Determine the speed v in the interval 4<v<20 at which E′(v)=0.

(b) Use the second derivative test to determine whether E has a relative minimum or a relative maximum at the speed found in part (a). Justify your answer.

(c) What is the least energy the drone can use on the route, flying at a speed in the interval 4<v<20? Justify that your value is the absolute minimum of E on the interval, and give its units.

Model answer

(a) E′(v)=2−200v2. Setting 2−200v2=0 gives v2=100, so v=10 meters per second (v=−10 is not in the interval).

(b) E′′(v)=400v3, so E′′(10)=4001000=0.4. Since E′(10)=0 and E′′(10)>0, E has a relative minimum at v=10.

(c) E(10)=20+20=40. E is continuous on 4<v<20, and E′(v) exists on the whole interval and is 0 only at v=10, so v=10 is the only critical point there. A relative minimum at the only critical point on an interval is the absolute minimum on that interval, so the least energy is 40 kilojoules, at 10 meters per second.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself A function known at its critical points

Both case questions use the sentence and the table below. Answer them from those.

The function g is twice differentiable for all real numbers, and its only critical points are x=−3, x=1 and x=5. The table gives the values of g and its first two derivatives there.

The function g and its derivatives at its critical points
xg(x)g′(x)g′′(x)
−340−6
1−2.400
5−8.806

Case question 1 · Multiple choice

No calculator. At which value or values of x does the second derivative test show that g has a relative maximum?

Case question 2 · Calculate

No calculator. What is the absolute minimum value of g on the interval 2<x<9?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student classifies the critical points of f(x)=x3−3x2−9x+2. Tap the first line with a mistake.

Check yourself · Match

No calculator. Each function has a critical point at x=0. Tap a function, then what is true of it at 0.

Part 7 Keep it Two earlier ideas this test stands on

The second derivative test leans on the first derivative test and on finding f′′. Pull both back up.

Bring it back · Multiple choice

No calculator. The derivative of a function f is f′(x)=(x+1)(x−2)2. Which statement about f is true?

Bring it back · Calculate

No calculator. Let y=xe2x. What is the value of d2ydx2 at x=0?

In three lines

  • At a critical point where f′(c)=0, a negative f′′(c) gives a relative maximum and a positive one a relative minimum.
  • If f′′(c)=0 or does not exist, the second derivative test is silent; use the sign of f′ on each side of c.
  • A relative extremum at the only critical point of a continuous function on an interval is the absolute extremum there.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

When you justify with the second derivative test, write both facts and the conclusion with the function's name: "f has a relative maximum at x=2 because f′(2)=0 and f′′(2)<0." Saying only "the graph is concave down" leaves out the critical point. For an absolute extremum on an interval with no endpoints to check, say that the point is the only critical point on the interval and that the function is continuous there.

Questions students ask

Do I have to use the second derivative test to find a relative extremum?

Only when a question asks for it. The first derivative test works at every critical point of a continuous function, and the second derivative test is often quicker when f′′ is easy to find. If a question says to use the second derivative test, use that one.

What do I write when f′′(c)=0?

Say that the second derivative test gives no conclusion at c, then switch to the first derivative test: find the sign of f′ just left and just right of c.

Does the size of f′′(c) matter?

No. Only its sign decides a maximum or a minimum. A value of 0.01 and a value of 100 both mean a relative minimum when f′(c)=0.

Why does the one-critical-point fact need the function to be continuous?

A function with a break can jump to a lower or higher value without any critical point in between, so a relative extremum would not have to be absolute. Continuity rules out the jump.

Is a relative maximum always the largest value of the function?

No. It is the largest only among nearby values. On −0.4<x<4.4, the graph at the top of this lesson has a relative maximum of 5 at x=1, and the curve rises above 5 near its right end.

Course alignment, for teachers

AP Calculus AB topic 5.7, Unit 5: Analytical Applications of Differentiation.

  • Skill 3.D: Apply an appropriate mathematical definition, theorem, or test.

This lesson maps all 2 essential knowledge statements of the topic to the part that teaches each one: 2 are checked by a scored question. The map is in the lesson file.