Skip to content

Mathematics · Ch 9 — Applications of Derivatives

Second derivative test

9.4.4

Second derivative test

Second derivative test. A function f(x)f(x) has a maxima at x=cx=c if f′(c)=0f'(c)=0 and f′′(c)<0f''(c)<0. A function f(x)f(x) has a minima at x=cx=c if f′(c)=0f'(c)=0 and f′′(c)>0f''(c)>0.

Note. If f′′(c)=0f''(c)=0, the second derivative test is inconclusive, and the first derivative test (§2.4.3) must be used instead.

Why this works, geometrically: at a maximum, the slope of the tangent goes from positive (rising, just before the peak) through zero (exactly at the peak) to negative (falling, just after) — the slope is steadily DEcreasing as xx increases through the maximum, and a steadily decreasing quantity has a negative rate of change, which is exactly f′′(c)<0f''(c)<0. Symmetrically, at a minimum, the slope goes from negative through zero to positive — steadily INcreasing — giving f′′(c)>0f''(c)>0.

Figure 2.4.4bFig. 2.4.4(b) — tangent slopes around a local minimum: L₁ has negative slope, L₂ is horizontal (zero) at the trough (c, f(c)), L₃ has positive slope; the slope increases through c, so f″(c) > 0.
Fig. 2.4.4b — Fig. 2.4.4(b) — tangent slopes around a local minimum: L₁ has negative slope, L₂ is horizontal (zero) at the trough (c, f(c)), L₃ has positive slope; the slope increases through c, so f″(c) > 0.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. This figure sketches three short tangent-line segments, labelled L1L_1, L2L_2, L3L_3, drawn at three points on a curve just before, exactly at, and just after a dip (a local minimum) at point AA. L1L_1 (just before AA) slopes downward (negative slope), L2L_2 (at AA itself) is horizontal (zero slope), and L3L_3 (just after AA) slopes upward (positive slope) — illustrating that the slope steadily increases through a minimum, which is the geometric picture behind the sec …

Figure 2.4.4aFig. 2.4.4(a) — tangent slopes around a local maximum: L₁ has positive slope, L₂ is horizontal (zero) at the peak (c, f(c)), L₃ has negative slope; the slope decreases through c, so f″(c) < 0.
Fig. 2.4.4a — Fig. 2.4.4(a) — tangent slopes around a local maximum: L₁ has positive slope, L₂ is horizontal (zero) at the peak (c, f(c)), L₃ has negative slope; the slope decreases through c, so f″(c) < 0.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. This figure sketches three short tangent-line segments, labelled L1L_1, L2L_2, L3L_3, drawn at three points on a curve just before, exactly at, and just after a hump (a local maximum) at point AA. L1L_1 (just before AA) slopes upward (positive slope), L2L_2 (at AA itself) is horizontal (zero slope), and L3L_3 (just after AA) slopes downward (negative slope) — illustrating that the slope steadily decreases through a maximum, which is the geometric picture behind the sec …

Worked Example 1 — Basic cubic. Find the local maximum and minimum of f(x)=x3−3x2−24x+5f(x)=x^3-3x^2-24x+5. f′(x)=3x2−6x−24=3(x+2)(x−4)f'(x)=3x^2-6x-24=3(x+2)(x-4); stationary points x=−2,4x=-2,4. f′′(x)=6x−6f''(x)=6x-6. At x=−2x=-2: f′′=−18<0⇒f''=-18<0\Rightarrow maximum; f(−2)=−8−12+48+5=33f(-2)=-8-12+48+5=33. At x=4x=4: f′′=18>0⇒f''=18>0\Rightarrow minimum; f(4)=64−48−96+5=−75f(4)=64-48-96+5=-75.

Worked Example 2 — Wire bent into a rectangle. A 120120 cm wire is bent into a rectangle of sides x,yx,y; maximise the area. 2(x+y)=120⇒y=60−x2(x+y)=120\Rightarrow y=60-x. Area A=x(60−x)=60x−x2A=x(60-x)=60x-x^2; dAdx=60−2x=0⇒x=30\dfrac{dA}{dx}=60-2x=0\Rightarrow x=30; d2Adx2=−2<0⇒\dfrac{d^2A}{dx^2}=-2<0\Rightarrow maximum; y=30y=30. So the maximum-area rectangle is a 30×3030\times30 square.

Worked Example 3 — Printed area within margins. A rectangular sheet of area 2424 m² has 7575 cm margins top/bottom and 5050 cm margins on the sides; maximise the printed area. With width xx and length y=24xy=\dfrac{24}{x}, the printed rectangle has dimensions (x−1)(x-1) by (y−1.5)(y-1.5), giving printed area A=(x−1)(24x−1.5)=25.5−1.5x−24xA=(x-1)\left(\dfrac{24}{x}-1.5\right)=25.5-1.5x-\dfrac{24}{x}. dAdx=−1.5+24x2=0⇒x2=16⇒x=4\dfrac{dA}{dx}=-1.5+\dfrac{24}{x^2}=0\Rightarrow x^2=16\Rightarrow x=4 (rejecting x=−4x=-4). d2Adx2=−48x3<0\dfrac{d^2A}{dx^2}=-\dfrac{48}{x^3}<0 at x=4⇒x=4\Rightarrow maximum; y=244=6y=\dfrac{24}{4}=6. So the sheet is 44 m by 66 m for maximum printed area (see Fig. 2.4.5).

Figure 2.4.5Fig. 2.4.5 — a rectangular printing sheet with 75 cm top and bottom margins and 50 cm side margins; the overall width is x and the overall height is y.
Fig. 2.4.5 — Fig. 2.4.5 — a rectangular printing sheet with 75 cm top and bottom margins and 50 cm side margins; the overall width is x and the overall height is y.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. This figure accompanies the rectangular-sheet-of-paper worked example. It shows a rectangular sheet of given area with margins marked off along its top and bottom edges and along its two side edges, and an inner dashed rectangle representing the actual printable area once the margins are excluded, whose two side lengths are shown reduced from the full sheet's width and length by …

Worked Example 4 — Open box from a square card. An 1818 cm square card has equal squares of side xx cut from its corners and the sides folded up (see Fig. 2.4.6); maximise the box's volume. Base side =18−2x=18-2x, height =x=x, so V=(18−2x)2x=4x3−72x2+324xV=(18-2x)^2x=4x^3-72x^2+324x. dVdx=12x2−144x+324=0⇒x2−12x+27=0⇒(x−3)(x−9)=0⇒x=3\dfrac{dV}{dx}=12x^2-144x+324=0\Rightarrow x^2-12x+27=0\Rightarrow(x-3)(x-9)=0\Rightarrow x=3 (rejecting x=9x=9, which makes the base side zero or negative). d2Vdx2=24x−144\dfrac{d^2V}{dx^2}=24x-144; at x=3x=3: =−72<0⇒=-72<0\Rightarrow maximum. Maximum volume =(18−6)2(3)=432=(18-6)^2(3)=432 cubic units.

Figure 2.4.6Fig. 2.4.6 — an open box net: an 18 cm square card with a square of side x cut from each of the four corners, folded up to give a base of side 18 − 2x and height x.
Fig. 2.4.6 — Fig. 2.4.6 — an open box net: an 18 cm square card with a square of side x cut from each of the four corners, folded up to give a base of side 18 − 2x and height x.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. This figure accompanies the open-box worked example. It shows a flat square card of side 18 cm with a small square of side xx marked and cut away at each of its four corners, together with dashed fold-lines along which the four remaining rectangular flaps are folded upward to form the walls of an open box, with the uncut central square becoming …

Worked Example 5 — Triangle with two fixed sides. With two given sides b=AC,c=ABb=AC,c=AB of a triangle (see Fig. 2.4.7), find the included angle AA that maximises the area. Δ=12bcsin⁡A\Delta=\dfrac12bc\sin A; dΔdA=bc2cos⁡A=0⇒cos⁡A=0⇒A=π2\dfrac{d\Delta}{dA}=\dfrac{bc}{2}\cos A=0\Rightarrow\cos A=0\Rightarrow A=\dfrac{\pi}{2}. d2ΔdA2=−bc2sin⁡A\dfrac{d^2\Delta}{dA^2}=-\dfrac{bc}{2}\sin A, which is negative at A=π2⇒A=\dfrac{\pi}{2}\Rightarrow maximum. So the area is greatest when the included angle is a right angle (equivalently, sin⁡A\sin A is maximised at A=π2A=\dfrac{\pi}{2}, where sin⁡A=1\sin A=1).

Figure 2.4.7Fig. 2.4.7 — a triangle ABC with two fixed sides b = AC and c = AB and a variable included angle A; its area is ½·bc·sin A.
Fig. 2.4.7 — Fig. 2.4.7 — a triangle ABC with two fixed sides b = AC and c = AB and a variable included angle A; its area is ½·bc·sin A.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What this figure shows. This figure accompanies the triangle-area worked example. It shows a triangle ABCABC with the two given side lengths AB=cAB=c and AC=bAC=b drawn out from the common vertex AA, and the included angle at AA (between these two sides) marked with an arc — this is the angle that is allowed to vary in order to maximise the triangle's enclosed area. …

…