1. Local (Relative) Maxima and Minima

A function f has a local maximum at x=c if f(c)≥f(x) for all x in some neighbourhood of c, and a local minimum if f(c)≤f(x) for all x near c.

A point x=c where f′(c)=0 or f′(c) does not exist is called a critical point. Every local extremum occurs at a critical point, but not every critical point is an extremum — it could be a point of inflection.

First Derivative Test

At a critical point x=c where f′(c)=0:

Sign of f′(x) just left of c Sign of f′(x) just right of c Nature of c
+ (positive) − (negative) Local Maximum
− (negative) + (positive) Local Minimum
+ (positive) + (positive) Point of Inflection (neither)
− (negative) − (negative) Point of Inflection (neither)

Second Derivative Test

At a critical point c where f′(c)=0:

  • If f″(c)<0: Local Maximum (concave downward — curve is like ∩).
  • If f″(c)>0: Local Minimum (concave upward — curve is like ∪).
  • If f″(c)=0: Test inconclusive — use first derivative test or higher derivative test.

Higher Order Derivative Test (when f″(c)=0)

Find the first non-zero derivative at c. If f(n)(c)≠0 and f′(c)=f″(c)=⋯=f(n−1)(c)=0:

  • n is odd: point of inflection (regardless of sign).
  • n is even and f(n)(c)>0: local minimum.
  • n is even and f(n)(c)<0: local maximum.

Example: f(x)=x4: f′(0)=f″(0)=f‴(0)=0, f(4)(0)=24>0, n=4 (even, positive) → local minimum at x=0 ✓.

2. Absolute (Global) Maxima and Minima on [a,b]

The Closed Interval Method finds the absolute maximum and minimum of a continuous function f on [a,b]:

  • Step 1: Find all critical points in the open interval (a,b) — solve f′(x)=0 and find where f′(x) is undefined.
  • Step 2: Evaluate f at all critical points AND at both endpoints x=a and x=b.
  • Step 3: The largest of all these values is the absolute maximum; the smallest is the absolute minimum.

The absolute extremum might occur at a critical point or at an endpoint — never assume it must be at a critical point.

Worked Example

Find the absolute maximum and minimum of f(x)=x3−3x2+1 on [−12,4].

f′(x)=3x2−6x=3x(x−2).
Critical points in (−12,4): x=0 and x=2.
Values: f(−12)=−18−34+1=18;
f(0)=1; f(2)=8−12+1=−3; f(4)=64−48+1=17.
Absolute maximum: 17 at x=4; Absolute minimum: −3 at x=2.

3. Optimisation — Practical Maxima/Minima Problems

Optimisation problems ask for the maximum or minimum of a real-world quantity subject to a constraint. Standard approach:

  • Step 1: Define variables and identify the objective function (what to maximise/minimise) and the constraint.
  • Step 2: Use the constraint to express the objective function in terms of a single variable.
  • Step 3: Differentiate and set =0 to find critical points. State the domain of the variable.
  • Step 4: Verify maximum/minimum using the second derivative test or first derivative test.
  • Step 5: Check boundary values if the variable has a restricted domain.

Classic Optimisation Results to Memorise

Problem Optimal Result
Rectangle with fixed perimeter — max area Square has maximum area
Rectangle with fixed area — min perimeter Square has minimum perimeter
Cylinder of max volume inscribed in sphere of radius R Height =2R3, radius =R23
Cone of max volume inscribed in sphere of radius R Height =4R3
Largest rectangle inscribed in semicircle of radius r Dimensions r2×r2; area =r2
Open box of max volume from square sheet by cutting corners Cut size =a6 from an a×a sheet

Worked Example — Window Optimisation (JEE type)

A window has the shape of a rectangle surmounted by a semicircle. Perimeter =10 m. Find dimensions for maximum area.

Let width =2r, rectangle height =h.
Constraint: 2h+2r+πr=10 → h=10−r(2+π)2.
Area: A=2rh+πr22=10r−r2(2+π2).
dAdr=10−2r(2+π2)=0 → r=104+π.
Width =2r=204+π m; Height =h=104+π m.

4. Maxima and Minima Without Calculus — AM-GM Method JEE Advanced Only

For JEE Advanced, some optimisation problems are elegantly solved using the AM-GM inequality rather than calculus:

a+b2≥ab    (equality when a=b)

Example: Minimise f(x)=x+1x for x>0.

By AM-GM: x+1x≥2x⋅1x=2, with equality when x=1x, i.e., x=1. Minimum value =2 at x=1.

Standard Results Using AM-GM

  • x+1x≥2 for x>0; minimum at x=1.
  • x2+1x2≥2 for x≠0; minimum at x=±1.
  • ax+bx≥2ab for x>0, a,b>0; minimum at x=b/a.