← 2026 Paper 1

UPSC 2026 Maths Optional Paper 1 Q2b — Step-by-Step Solution

15 marks · Section A

Maxima and minima of single-variable functions · Calculus · asked 8× in 14 yrs · Read the full method →

Question

If the sum of the lengths of the hypotenuse and another side of a right-angled triangle be given, then find the angle between these sides so that the area of the triangle is maximum.

Technique

Reduce to one variable using the given constraint b+c=kb+c=k; maximise A2A^2 rather than AA (kills the radical, same maximiser since A>0A>0); first-derivative test for the stationary point and second-derivative test for the maximum; then read off cos⁡θ=b/c\cos\theta = b/c in the right triangle. A trigonometric parametrisation b=ccos⁡θb=c\cos\theta gives an independent second route.

Solution

Step 1 — Set up notation and identify the angle asked for.

Let ABCABC be right-angled at BB, with

Figure to draw (small, labelled): right triangle, right angle marked at BB; label the horizontal leg AB=bAB=b, the vertical leg BC=aBC=a, the hypotenuse AC=cAC=c; mark θ\theta at AA between bb and cc. This one figure is what fixes which angle is being asked for — without it, it is easy to solve for ∠ACB\angle ACB and lose the marks.

By Pythagoras, a2=c2−b2a^2=c^2-b^2, and the constraint given is

b+c=k(k>0 a given constant).b+c=k\qquad(k>0\ \text{a given constant}).

The area is

A=12 ab=12 bc2−b2.A=\tfrac12\,ab=\tfrac12\,b\sqrt{c^2-b^2}.

Step 2 — Reduce to a single variable.

Put c=k−bc=k-b. Then

c2−b2=(k−b)2−b2=k2−2kb,c^2-b^2=(k-b)^2-b^2=k^2-2kb,

so

A(b)=12 bk2−2kb.A(b)=\tfrac12\,b\sqrt{k^2-2kb}.

The admissible range is b>0b>0 together with c>bc>b (the hypotenuse is the longest side), i.e. k−b>bk-b>b, giving

0<b<k2.0<b<\tfrac{k}{2}.

On this open interval A(b)>0A(b)>0, while A→0A\to0 at both endpoints (b→0+b\to0^+ and b→k/2−b\to k/2^-). Hence a maximum exists in the interior and is attained at a stationary point.

Step 3 — Maximise A2A^2 (removes the radical).

Since A>0A>0, maximising AA is equivalent to maximising

F(b):=4A2=b2 (k2−2kb)=k2b2−2kb3.F(b):=4A^2=b^2\,(k^2-2kb)=k^2b^2-2kb^3. F′(b)=2k2b−6kb2=2kb (k−3b).F'(b)=2k^2b-6kb^2=2kb\,(k-3b).

Setting F′(b)=0F'(b)=0 with b>0b>0 and k>0k>0:

k−3b=0⟹b=k3 ∈(0,k2). ✓k-3b=0\quad\Longrightarrow\quad \boxed{b=\tfrac{k}{3}}\ \in\left(0,\tfrac k2\right).\ \checkmark

Step 4 — Second-derivative test.

F′′(b)=2k2−12kb,F′′ ⁣(k3)=2k2−12k⋅k3=2k2−4k2=−2k2<0.F''(b)=2k^2-12kb,\qquad F''\!\left(\tfrac{k}{3}\right)=2k^2-12k\cdot\tfrac{k}{3}=2k^2-4k^2=-2k^2<0.

So FF, and therefore AA, is maximum at b=k/3b=k/3.

Step 5 — The sides and the required angle.

b=k3,c=k−b=2k3,a=c2−b2=4k29−k29=k3.b=\frac{k}{3},\qquad c=k-b=\frac{2k}{3},\qquad a=\sqrt{c^2-b^2}=\sqrt{\frac{4k^2}{9}-\frac{k^2}{9}}=\frac{k}{\sqrt3}.

In the right triangle, the angle θ\theta at AA between bb and cc satisfies

cos⁡θ=adjacenthypotenuse=bc=k/32k/3=12.\cos\theta=\frac{\text{adjacent}}{\text{hypotenuse}}=\frac{b}{c}=\frac{k/3}{2k/3}=\frac12. θ=π3=60∘.\theta=\frac{\pi}{3}=60^\circ.

Note that this is independent of kk — the optimal triangle is always a 30∘30^\circ–60∘60^\circ–90∘90^\circ triangle, with sides in the ratio b:a:c=k3:k3:2k3=1:3:2b:a:c=\tfrac{k}{3}:\tfrac{k}{\sqrt3}:\tfrac{2k}{3}=1:\sqrt3:2.

The maximum area is

Amax⁡=12⋅k3⋅k3=k263=3 k218.A_{\max}=\tfrac12\cdot\frac{k}{3}\cdot\frac{k}{\sqrt3}=\frac{k^2}{6\sqrt3}=\frac{\sqrt3\,k^2}{18}.

Step 6 — Independent check by a trigonometric parametrisation.

Work directly in θ\theta. Since b=ccos⁡θb=c\cos\theta and a=csin⁡θa=c\sin\theta, the constraint b+c=kb+c=k gives

c(1+cos⁡θ)=k⟹c=k1+cos⁡θ,c(1+\cos\theta)=k\quad\Longrightarrow\quad c=\frac{k}{1+\cos\theta},

and

A(θ)=12 ab=12 c2sin⁡θcos⁡θ=k22⋅sin⁡θcos⁡θ(1+cos⁡θ)2,0<θ<π2.A(\theta)=\tfrac12\,ab=\tfrac12\,c^2\sin\theta\cos\theta=\frac{k^2}{2}\cdot\frac{\sin\theta\cos\theta}{(1+\cos\theta)^2},\qquad 0<\theta<\tfrac\pi2 .

At θ=π/3\theta=\pi/3: sin⁡θcos⁡θ=32⋅12=34\sin\theta\cos\theta=\tfrac{\sqrt3}{2}\cdot\tfrac12=\tfrac{\sqrt3}{4} and (1+cos⁡θ)2=(3/2)2=9/4(1+\cos\theta)^2=(3/2)^2=9/4, so

A=k22⋅3/49/4=k22⋅39=3 k218,A=\frac{k^2}{2}\cdot\frac{\sqrt3/4}{9/4}=\frac{k^2}{2}\cdot\frac{\sqrt3}{9}=\frac{\sqrt3\,k^2}{18},

matching Step 5 exactly. The two routes agree.

Answer

  θ=π3=60∘(with b=k3,  c=2k3,  Amax⁡=3 k218)  \boxed{\;\theta=\frac{\pi}{3}=60^\circ\quad\text{(with } b=\tfrac k3,\; c=\tfrac{2k}3,\; A_{\max}=\tfrac{\sqrt3\,k^2}{18}\text{)}\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.