The math optional, made finite. Daily Practice

Maxima and minima of single-variable functions

At a Glance

Why This Chapter Matters

These questions appear in Section A and test two flavours: (a) Hessian-based extrema of two-variable functions (find critical points, classify via D=fxxfyyfxy2D=f_{xx}f_{yy}-f_{xy}^2), and (b) extrema of one-variable functions on a closed interval. The Hessian test sometimes produces a degenerate case (D=0D=0) that requires direct line-slice analysis — this is the key difficulty. The closed-interval case is purely algorithmic.

Minimum Theory

Critical points. Set f(x)=0f'(x)=0 (for 1D) or f=0\nabla f=\mathbf{0} (for 2D) and solve.

Second derivative test (1D). At a critical point x0x_0: if f(x0)>0f''(x_0)>0, local min; if f(x0)<0f''(x_0)<0, local max; if f(x0)=0f''(x_0)=0, inconclusive (use higher derivatives or direct comparison).

Closed interval (1D). On [a,b][a,b]: evaluate ff at all critical points inside (a,b)(a,b) and at the endpoints aa, bb. The largest value is the absolute max, the smallest is the absolute min.

Second derivative test (2D). At a critical point (x0,y0)(x_0,y_0) of f(x,y)f(x,y): D=fxxfyyfxy2.D = f_{xx}f_{yy} - f_{xy}^2.

Degenerate case D=0D=0. Evaluate ff along two lines through the critical point. If ff exceeds the critical value along one line and falls below it along another, the point is a saddle.

Second derivative test regions: min, max, saddle, and inconclusive

Question Archetypes

ArchetypeRecognition
hessian-extremaFind and classify all critical points of f(x,y)f(x,y) using the Hessian test
extrema-on-intervalFind absolute max/min of f(x)f(x) on a closed interval [a,b][a,b]

hessian-extrema (3 question(s); 2013, 2015, 2022)

Recognition Cues — “Find max/min values of f(x,y)f(x,y)”; no constraint given (unconstrained); function is polynomial or similar.

Solution Template

  1. Compute fxf_x, fyf_y; solve fx=0f_x=0 and fy=0f_y=0 simultaneously.
  2. For each critical point compute fxxf_{xx}, fyyf_{yy}, fxyf_{xy}, and D=fxxfyyfxy2D=f_{xx}f_{yy}-f_{xy}^2.
  3. Classify each point; for D=0D=0 use line slices.
  4. State the extreme values (and note whether a global max/min exists).

Worked Example

2013 Paper 2, 2013-P2-Q3c (10 marks)

Find max/min of f(x,y)=y2+4xy+3x2+x3+1f(x,y)=y^2+4xy+3x^2+x^3+1.

Step 1. fx=6x+4y+3x2=0f_x=6x+4y+3x^2=0, fy=2y+4x=0y=2xf_y=2y+4x=0\Rightarrow y=-2x. Substitute: 6x8x+3x2=0x(3x2)=06x-8x+3x^2=0\Rightarrow x(3x-2)=0. Critical points: (0,0)(0,0) and (2/3,4/3)(2/3,-4/3).

Step 2. fxx=6+6xf_{xx}=6+6x, fyy=2f_{yy}=2, fxy=4f_{xy}=4.

At (0,0)(0,0): D=(4)216=4<0D=(−4)2−16=−4<0saddle.

At (2/3,4/3)(2/3,-4/3): fxx=10f_{xx}=10, D=10216=4>0D=10\cdot2-16=4>0, fxx>0f_{xx}>0local min, f=23/27f=23/27.

Step 3. No global max (as xx\to\infty, ff\to\infty via the x3x^3 term).

Local min at (2/3,4/3) with value 23/27;  saddle at (0,0).\boxed{\text{Local min at }(2/3,-4/3)\text{ with value }23/27;\;\text{saddle at }(0,0).}

Degenerate case example (2016): For f=x4+y42x2+4xy2y2f=x^4+y^4-2x^2+4xy-2y^2, the critical point (0,0)(0,0) yields D=0D=0. Slices: f(t,t)=2t40f(t,t)=2t^4\ge0 (rises), f(t,t)=2t48t2<0f(t,-t)=2t^4-8t^2<0 for small tt (falls) — saddle.

Common Traps

extrema-on-interval (1 question(s); 2021)

Worked Example

2021 Paper 2, 2021-P2-Q2a (15 marks)

Find max and min of f(x)=x39x2+26x24f(x)=x^3-9x^2+26x-24 on [0,1][0,1].

f(x)=3x218x+26f'(x)=3x^2-18x+26. Discriminant: 324312=12>0324-312=12>0, roots at 3±1/32.423\pm1/\sqrt{3}\approx2.42 and 3.583.58both outside [0,1][0,1]. So f(x)>0f'(x)>0 on [0,1][0,1] (check: f(0)=26>0f'(0)=26>0) — ff is strictly increasing.

Absolute max at x=1x=1: f(1)=19+2624=6f(1)=1-9+26-24=-6. Absolute min at x=0x=0: f(0)=24f(0)=-24.

fmax=6 at x=1;fmin=24 at x=0.\boxed{f_{\max}=-6\text{ at }x=1;\quad f_{\min}=-24\text{ at }x=0.}

Common Traps

Marks-Aware Writing

For the Hessian test: write fxf_x, fyf_y explicitly; show the system solution step; build a table of (fxx,fyy,fxy,D)(f_{xx}, f_{yy}, f_{xy}, D) at each critical point; classify each in words. For D=0D=0, exhibit two specific line slices. Marking: roughly 2 marks per critical point’s classification, plus 2 marks for the final statement.

For extrema on interval: critical points from f=0f'=0; check each is in the interval (state this); evaluate ff at the critical points and endpoints; state the max/min with their locations. On a 15-mark question, more detail is expected — show the discriminant calculation, check sign of ff' on the interval.

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.