PYQ Vault

NDA Maths · Application of Derivatives

Optimisation — Word Problems & AM-GM

Maximise or minimise a real quantity: model it, reduce to one variable using the constraint, then either set the derivative to zero or — often faster — apply AM-GM.

Why this matters

Optimisation word problems look intimidating but follow one recipe, and a large share collapse to a single AM-GM step that beats calculus. Geometric set-ups (max area/volume) recur every year.

Concept 1 of 4: The optimisation recipe

Every optimisation problem is the same four steps: write the quantity to optimise, use the constraint to get it in one variable, set the derivative to zero, and confirm it's a max or min. The hard part is the modelling, not the calculus.

Definition

1. Express the target QQ and the constraint. 2. Eliminate a variable so Q=Q(t)Q=Q(t) in one variable. 3. Solve Q′(t)=0Q'(t)=0 for critical tt. 4. Verify with Q′′Q'' or the first-derivative test (and check the domain's endpoints). Classic set-ups: a cylinder/box of fixed volume with least surface, the shortest distance from a point to a curve, ∑(x−aj)2\sum (x-a_j)^2 minimised at the mean. Shortest distance from a point to a curve — parametrise the curve. On y2=4axy^2=4ax use (at2,2at)(at^2,2at); on x2=4ayx^2=4ay use (2at,at2)(2at,at^2); on a circle (rcos⁡θ,rsin⁡θ)(r\cos\theta,r\sin\theta). Minimise the SQUARED distance D(t)=(x(t)−x0)2+(y(t)−y0)2D(t)=(x(t)-x_0)^2+(y(t)-y_0)^2 (same minimiser, no square root), and check the answer: at the nearest point the segment is NORMAL to the curve. For y2=4xy^2=4x and (a,0)(a,0) with a>2a>2: t2=a−2t^2=a-2, distance 2a−12\sqrt{a-1}; for a≤2a\le2 the vertex is nearest.

Worked example

A closed cylinder of volume VV has least surface area when its height equals what?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q89Moderate

Example 1 · Application of Derivatives · Optimisation — Geometric, Trigonometric, AM-GM

A cylindrical jar without a lid has to be constructed using a given surface area of a metal sheet. If the capacity of the jar is to be maximum, then the diameter of the jar must be kk times the height of the jar. The value of kk is

Concept 2 of 4: Geometric maxima (area, volume, inscribed figures)

Geometry problems carry standard results worth knowing outright: the largest-area triangle in a circle is equilateral, a fixed-perimeter rectangle is largest as a square, and many max-area set-ups land on a 60° or equilateral configuration. Recognise the figure, then run the recipe or quote the result.

Definition

Model the area/volume, use the geometric constraint (perimeter, radius, given side), reduce to one variable (often an angle θ\theta), and optimise. Standard results to quote:

  • Max-area triangle inscribed in a circle of radius RR is equilateral, area 334R2\tfrac{3\sqrt3}{4}R^2; max-area rectangle inscribed in a circle of radius rr is a square, area 2r22r^2 (sides r2r\sqrt2).
  • Fixed-perimeter rectangle ⇒ square; fixed-perimeter triangle of greatest area ⇒ equilateral (side P3\tfrac P3, altitude 32⋅P3\tfrac{\sqrt3}{2}\cdot\tfrac P3, area 336P2\tfrac{\sqrt3}{36}P^2).
  • Sector of radius rr, angle θ\theta (radians): arc l=rθl=r\theta, perimeter 2r+rθ2r+r\theta, area 12r2θ=12rl\tfrac12r^2\theta=\tfrac12rl. For fixed perimeter PP the area 12r(P−2r)\tfrac12r(P-2r) is a quadratic in rr: max at r=P4r=\tfrac P4, i.e. θ=2\theta=2 radians, area P216\tfrac{P^2}{16}.
  • Mensuration the set-ups borrow: trapezium area 12(a+b)h\tfrac12(a+b)h (the max-area trapezium inscribed in a semicircle of radius rr has its top side rr and area 334r2\tfrac{3\sqrt3}{4}r^2); right triangle area 12×\tfrac12\timeslegs; cylinder V=πr2hV=\pi r^2h, S=2πrh+2πr2S=2\pi rh+2\pi r^2; cone V=13πr2hV=\tfrac13\pi r^2h; sphere V=43πr3V=\tfrac43\pi r^3.

Worked example

A wire of length 2020 cm is bent into a rectangle of maximum area. Find the area.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2018 · Q93Moderate

Example 2 · Application of Derivatives · Optimisation — Geometric, Trigonometric, AM-GM

A flower-bed in the form of a sector has been fenced by a wire of 40 m length. If the flower-bed has the greatest possible area, then what is the radius of the sector?

Concept 3 of 4: Trigonometric maxima without a derivative

Nine of this chapter's PYQs never need a derivative: the expression collapses to a single sine or cosine, whose range is [−1,1][-1,1]. Recognise the collapse, read off the extreme, and — if asked WHERE — solve sin⁡(⋅)=±1\sin(\cdot)=\pm1. Reaching for f′(x)=0f'(x)=0 here is slower and error-prone.

Definition

Collapses to memorise, each followed by 'max = coefficient × 1':

  • Harmonic form: asin⁡x+bcos⁡x=a2+b2 sin⁡(x+α)a\sin x+b\cos x=\sqrt{a^2+b^2}\,\sin(x+\alpha), so asin⁡x+bcos⁡x+ca\sin x+b\cos x+c has maximum c+a2+b2c+\sqrt{a^2+b^2} and minimum c−a2+b2c-\sqrt{a^2+b^2}. sin⁡θ+cos⁡θ=2sin⁡(θ+π4)\sin\theta+\cos\theta=\sqrt2\sin(\theta+\tfrac\pi4), maximum 2\sqrt2 attained where θ+π4=π2\theta+\tfrac\pi4=\tfrac\pi2.
  • Double angle: sin⁡xcos⁡x=12sin⁡2x\sin x\cos x=\tfrac12\sin2x (max 12\tfrac12); sin⁡2xcos⁡2x=12sin⁡4x\sin2x\cos2x=\tfrac12\sin4x (max 12\tfrac12); 2cos⁡2x−1=cos⁡2x2\cos^2x-1=\cos2x; sin⁡2x=1−cos⁡2x2\sin^2x=\tfrac{1-\cos2x}{2} so 4sin⁡2x+14\sin^2x+1 has max 5 and min 1.
  • Reciprocal pair: tan⁡x+cot⁡x=1sin⁡xcos⁡x=2sin⁡2x≥2\tan x+\cot x=\dfrac{1}{\sin x\cos x}=\dfrac{2}{\sin2x}\ge2 on (0,π2)(0,\tfrac\pi2), so 1tan⁡x+cot⁡x=12sin⁡2x\dfrac{1}{\tan x+\cot x}=\tfrac12\sin2x has max 12\tfrac12.
  • Triple angle: 3sin⁡x−4sin⁡3x=sin⁡3x3\sin x-4\sin^3x=\sin3x, 4cos⁡3x−3cos⁡x=cos⁡3x4\cos^3x-3\cos x=\cos3x — range [−1,1][-1,1].
  • Sum of squares of sine and cosine of the SAME angle is 1, so asin⁡2x+bcos⁡2xa\sin^2x+b\cos^2x lies between min⁡(a,b)\min(a,b) and max⁡(a,b)\max(a,b).

For a quadratic in sin⁡x\sin x or cos⁡x\cos x that does not collapse, put t=sin⁡x∈[−1,1]t=\sin x\in[-1,1] and use the vertex or the endpoints — still no derivative.

Range of a sin x + b cos x

−a2+b2 ≤ asin⁡x+bcos⁡x ≤ a2+b2,sin⁡xcos⁡x=12sin⁡2x∈[−12,12]-\sqrt{a^2+b^2}\ \le\ a\sin x+b\cos x\ \le\ \sqrt{a^2+b^2}, \qquad \sin x\cos x=\tfrac12\sin 2x\in\left[-\tfrac12,\tfrac12\right]

Worked example

Find the maximum value of 3sin⁡x+4cos⁡x+23\sin x+4\cos x+2.
Practice this conceptself-check · 5 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q84Easy

Example 3 · Application of Derivatives · Optimisation — Geometric, Trigonometric, AM-GM

Match List-I with List-II and select the correct answer using the code given below the lists:
List-I (Function)List-II (Maximum value)
A. sin⁡x+cos⁡x\sin x + \cos x1. 10\sqrt{10}
B. 3sin⁡x+4cos⁡x3\sin x + 4\cos x2. 2\sqrt{2}
C. 2sin⁡x+cos⁡x2\sin x + \cos x3. 5
D. sin⁡x+3cos⁡x\sin x + 3\cos x4. 5\sqrt{5}
Code:

Differentiating asin⁡x+bcos⁡xa\sin x+b\cos x works but wastes a minute

f′=acos⁡x−bsin⁡x=0⇒tan⁡x=abf'=a\cos x-b\sin x=0\Rightarrow\tan x=\tfrac ab, then substituting back needs sin⁡x=aa2+b2\sin x=\tfrac{a}{\sqrt{a^2+b^2}}, cos⁡x=ba2+b2\cos x=\tfrac{b}{\sqrt{a^2+b^2}} with the right signs — three places to slip. The harmonic form gives a2+b2\sqrt{a^2+b^2} in one line and never asks about signs.

Collapse BEFORE asking about intervals or periods

2cos⁡2x−12\cos^2x-1 looks like it has period π\pi and monotone runs of length π\pi; it IS cos⁡2x\cos2x, period π\pi, monotone runs of length π2\tfrac\pi2. The un-collapsed form invites the wrong period.

Concept 4 of 4: AM-GM: the calculus-free shortcut

When you want the minimum of a sum or the maximum of a product under a fixed-sum or fixed-product constraint, AM-GM gives the answer in one line — no derivatives. Equality (the optimum) occurs when the terms are equal.

Definition

For positive terms, AM ≥\ge GM: u+v2≥uv\dfrac{u+v}{2}\ge\sqrt{uv}, equality at u=vu=v. So a sum with fixed product is minimised, and a product with fixed sum is maximised, when the terms are equal. Examples: a2x+b2ya^2x+b^2y with xy=c2xy=c^2 has min 2abc2abc; x+y=k⇒xyx+y=k\Rightarrow xy is max at x=y=k/2x=y=k/2.

  • The squared face of AM–GM: ab≤a2+b22ab\le\dfrac{a^2+b^2}{2} (apply it to a2,b2a^2,b^2), equality at a=ba=b. So under a2+b2=64a^2+b^2=64 the product abab is at most 32, and a rectangle inscribed in a circle of radius rr (a2+b2=4r2a^2+b^2=4r^2) has area at most 2r22r^2 — a square.
  • The other calculus-free move — the quadratic vertex: ax2+bx+cax^2+bx+c has its extreme at x=−b2ax=-\dfrac{b}{2a}, value c−b24a=−D4ac-\dfrac{b^2}{4a}=-\dfrac{D}{4a} (a minimum if a>0a>0, a maximum if a<0a<0). Anything that reduces to a quadratic in one variable — including sin⁡2x\sin^2x or cos⁡x\cos x as the variable — is finished this way, provided the vertex lies in the variable's allowed range (else use the endpoints).

AM-GM

u+v2≥uv(u,v>0), equality at u=v\frac{u+v}{2}\ge\sqrt{uv}\quad(u,v>0),\ \text{equality at } u=v

Worked example

If x+y=20x+y=20, what is the maximum of P=xyP=xy?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2019 · Q93Moderate

Example 4 · Application of Derivatives · Optimisation — Geometric, Trigonometric, AM-GM

What is the minimum value of a2x+b2ya^2x+b^2y where xy=c2xy=c^2?

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (2)

  • Trigonometric maxima without a derivative

    Range of a sin x + b cos x

    −a2+b2 ≤ asin⁡x+bcos⁡x ≤ a2+b2,sin⁡xcos⁡x=12sin⁡2x∈[−12,12]-\sqrt{a^2+b^2}\ \le\ a\sin x+b\cos x\ \le\ \sqrt{a^2+b^2}, \qquad \sin x\cos x=\tfrac12\sin 2x\in\left[-\tfrac12,\tfrac12\right]
  • AM-GM: the calculus-free shortcut

    AM-GM

    u+v2≥uv(u,v>0), equality at u=v\frac{u+v}{2}\ge\sqrt{uv}\quad(u,v>0),\ \text{equality at } u=v

Watch out for (2)

Test yourself on Application of Derivatives

15 past NDA questions from this chapter, timed at 19 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes