Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Miscellaneous · Q9: Shortest hypotenuse through a point at distances aa⁠, bb from the legs: (a2/3+b2/3)3/2\left(a^{2/3}+b^{2/3}\right)^{3/2}

Miscellaneous ExerciseOptimisation · Section 6.4 · Miscellaneous Exercise
The question

A point on the hypotenuse of a triangle is at distance aa and bb from the sides of the triangle.

Show that the minimum length of the hypotenuse is (a23+b23)32\left(a^{\frac{2}{3}}+b^{\frac{2}{3}}\right)^{\frac{3}{2}}⁠.

Exam answer

Let the hypotenuse make an angle θ\theta with the side from which the point is at distance bb⁠, where 0<θ<π20 < \theta < \frac{\pi}{2}⁠. The point divides the hypotenuse into parts acos⁡θ\frac{a}{\cos\theta} and bsin⁡θ\frac{b}{\sin\theta}⁠, so its length is

L=acos⁡θ+bsin⁡θL = \frac{a}{\cos\theta} + \frac{b}{\sin\theta} L′(θ)=asin⁡θcos⁡2θ−bcos⁡θsin⁡2θ=asin⁡3θ−bcos⁡3θsin⁡2θcos⁡2θ\begin{aligned} L'(\theta) &= \frac{a\sin\theta}{\cos^2\theta} - \frac{b\cos\theta}{\sin^2\theta} \\ &= \frac{a\sin^3\theta - b\cos^3\theta}{\sin^2\theta\cos^2\theta} \end{aligned}

L′(θ)=0⇒tan⁡3θ=baL'(\theta) = 0 \Rightarrow \tan^3\theta = \frac{b}{a}⁠, so tan⁡θ=b1/3a1/3\tan\theta = \frac{b^{1/3}}{a^{1/3}}⁠. As the numerator asin⁡3θ−bcos⁡3θa\sin^3\theta - b\cos^3\theta increases with θ\theta⁠, L′L' is negative before this point and positive after it, so LL is least there. Then

sin⁡θ=b1/3a2/3+b2/3cos⁡θ=a1/3a2/3+b2/3\begin{aligned} \sin\theta &= \frac{b^{1/3}}{\sqrt{a^{2/3} + b^{2/3}}} \\ \cos\theta &= \frac{a^{1/3}}{\sqrt{a^{2/3} + b^{2/3}}} \end{aligned} L=a2/3a2/3+b2/3+b2/3a2/3+b2/3=a2/3+b2/3 (a2/3+b2/3)=(a2/3+b2/3)3/2\begin{aligned} L &= a^{2/3}\sqrt{a^{2/3} + b^{2/3}} \\ &\quad + b^{2/3}\sqrt{a^{2/3} + b^{2/3}} \\ &= \sqrt{a^{2/3} + b^{2/3}}\,\big(a^{2/3} + b^{2/3}\big) \\ &= \left(a^{2/3} + b^{2/3}\right)^{3/2} \end{aligned}

∴\therefore The minimum length of the hypotenuse is (a2/3+b2/3)3/2\left(a^{2/3} + b^{2/3}\right)^{3/2}⁠. Hence proved.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Fix the right angle and the point PP⁠. Every line through PP that cuts both legs makes a triangle, and the only thing that changes from one such line to the next is its slope. So measure the slope by an angle θ\theta⁠, write the hypotenuse as a function of θ\theta using right-triangle trigonometry, and minimise over the whole allowed range 0<θ<π20 < \theta < \frac{\pi}{2}⁠.

Given, to show, and the plan
Given
A right triangle ACBACB (right angle at CC⁠; a hypotenuse only exists in a right triangle). A point PP on the hypotenuse ABAB is at distance aa from the leg CBCB and distance bb from the leg CACA⁠, where a>0a > 0⁠, b>0b > 0⁠. "The sides" are the two legs, the sides that form the right angle.
To show
Of all such triangles, the least possible length of ABAB is (a2/3+b2/3)3/2\left(a^{2/3}+b^{2/3}\right)^{3/2}⁠.
Plan
(1) Set up the figure and the variable θ=∠CAB\theta = \angle CAB with its range. (2) Express ABAB as L(θ)L(\theta)⁠. (3) Differentiate and find the critical point. (4) Use the sign of L′L' to show it gives the least value on the whole range. (5) Evaluate LL there.

Basics you need

1Building the function to optimise

Pick one quantity that fixes the whole picture, write the thing to be minimised in terms of it, and state the range of values that make geometric sense. Basics: building the function to optimise

2Trigonometry in a right triangle

For an acute angle θ\theta⁠: sin⁡θ=oppositehypotenuse\sin\theta = \frac{\text{opposite}}{\text{hypotenuse}}⁠, cos⁡θ=adjacenthypotenuse\cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}}⁠, tan⁡θ=oppositeadjacent\tan\theta = \frac{\text{opposite}}{\text{adjacent}}⁠. For 0<θ<π20 < \theta < \frac{\pi}{2}⁠, sin⁡θ\sin\theta⁠, cos⁡θ\cos\theta⁠, tan⁡θ\tan\theta are all positive. Basics: signs of sin and cos

3Chain rule for a reciprocal

ddθ(1u)=−u′u2\frac{d}{d\theta}\left(\frac{1}{u}\right) = -\frac{u'}{u^2}⁠. So ddθ1cos⁡θ=sin⁡θcos⁡2θ\frac{d}{d\theta}\frac{1}{\cos\theta} = \frac{\sin\theta}{\cos^2\theta} and ddθ1sin⁡θ=−cos⁡θsin⁡2θ\frac{d}{d\theta}\frac{1}{\sin\theta} = -\frac{\cos\theta}{\sin^2\theta}⁠. Basics: the chain rule

4From the sign of the derivative to the least value

If L′<0L' < 0 before θ0\theta_0 and L′>0L' > 0 after it, then LL falls all the way to θ0\theta_0 and rises all the way after it, so L(θ0)L(\theta_0) is the least value on the whole range (Theorem 1, Section 6.3, and the First Derivative Test, Theorem 3, Section 6.4). Basics: sign of a product

Solution

  1. Set up the figure and choose the variable

    Let the right angle be at CC⁠, with the legs along CACA and CBCB⁠. Drop perpendiculars from PP⁠: PMPM to CBCB and PNPN to CACA⁠. Then

    PM=a,PN=b.PM = a, \qquad PN = b.

    All the triangles in the question share the right angle at CC and the point PP (it stays at distances aa and bb from the two legs). What changes is the direction of the hypotenuse through PP⁠. Measure it by

    θ=∠CAB,\theta = \angle CAB,

    the angle between the hypotenuse and the leg CACA⁠.

    P a b θ C A B A′ B′ example: a = 8, b = 1 PB = a sec θ, PA = b cosec θ shortest when tan θ = (b/a)^(1/3) = 1/2 then AB = 5√5 ≈ 11.18 dashed A′B′ (tan θ = 0.3): 11.83
    The right angle at CC and the point PP are fixed. Turning the hypotenuse about PP changes θ\theta and the length ABAB⁠. The figure uses a=8a = 8⁠, b=1b = 1 and is drawn at the best angle; the dashed line A′B′A'B' is another hypotenuse through PP⁠, and it is longer.
    Once θ\theta is chosen, the line through PP is fixed, so AA⁠, BB and the length ABAB are fixed too. That makes ABAB a function of the single variable θ\theta⁠, which is what the derivative tests need.
    Distance from a point to a line is measured along the perpendicular. Basics: building the function
  2. The allowed range of θ\theta

    0<θ<π2.0 < \theta < \frac{\pi}{2}.

    Every θ\theta in this range gives a genuine triangle: the line through PP going down to the right at angle θ\theta meets the ray CACA at a point AA beyond NN⁠, and going up to the left meets the ray CBCB at a point BB beyond MM⁠.

    θ\theta is an acute angle of a right triangle, so it lies strictly between 0 and π2\frac{\pi}{2}⁠. At θ=0\theta = 0 the line through PP would be parallel to CACA and never meet it; at θ=π2\theta = \frac{\pi}{2} it would be parallel to CBCB⁠. Neither end gives a triangle, so the range is open.
    The two acute angles of a right triangle add up to π2\frac{\pi}{2}⁠, so each lies in (0,π2)\left(0, \frac{\pi}{2}\right)⁠. Basics: interval notation
  3. The hypotenuse as a function of θ\theta

    The piece PAPA⁠. Triangle PNAPNA is right-angled at NN⁠, with angle θ\theta at AA⁠. The side opposite θ\theta is PN=bPN = b and the hypotenuse is PAPA⁠, so

    sin⁡θ=bPA⟹PA=bsin⁡θ.\sin\theta = \frac{b}{PA} \quad\Longrightarrow\quad PA = \frac{b}{\sin\theta}.

    The piece PBPB⁠. PMPM is parallel to CACA (both are perpendicular to CBCB⁠), so the hypotenuse makes the same angle θ\theta with PMPM⁠: ∠BPM=θ\angle BPM = \theta⁠. Triangle BMPBMP is right-angled at MM⁠; the side next to θ\theta is PM=aPM = a and the hypotenuse is PBPB⁠, so

    cos⁡θ=aPB⟹PB=acos⁡θ.\cos\theta = \frac{a}{PB} \quad\Longrightarrow\quad PB = \frac{a}{\cos\theta}.

    PP lies between AA and BB⁠, so

    L(θ)=AB=PB+PA=acos⁡θ+bsin⁡θ,L(\theta) = AB = PB + PA = \frac{a}{\cos\theta} + \frac{b}{\sin\theta},

    that is, L(θ)=asec⁡θ+b cosec θL(\theta) = a\sec\theta + b\,\mathrm{cosec}\,\theta for 0<θ<π20 < \theta < \frac{\pi}{2}⁠.

    Splitting ABAB at PP turns one awkward length into two easy ones, each the hypotenuse of a small right triangle in which we know one side (aa or bb⁠) and the angle θ\theta⁠. The equal angles come from parallel lines cut by the hypotenuse (corresponding angles).
    In a right triangle, hypotenuse = opposite ÷sin⁡θ\div \sin\theta = adjacent ÷cos⁡θ\div \cos\theta⁠. Basics: sin and cos
  4. Differentiate

    Using the reciprocal rule (Basic 3) on each term:

    L′(θ)=asin⁡θcos⁡2θ−bcos⁡θsin⁡2θ=asin⁡3θ−bcos⁡3θsin⁡2θ cos⁡2θ.\begin{aligned} L'(\theta) &= \frac{a\sin\theta}{\cos^2\theta} - \frac{b\cos\theta}{\sin^2\theta} \\ &= \frac{a\sin^3\theta - b\cos^3\theta}{\sin^2\theta\,\cos^2\theta}. \end{aligned}

    LL is differentiable at every θ\theta in (0,π2)\left(0, \frac{\pi}{2}\right)⁠, because sin⁡θ≠0\sin\theta \ne 0 and cos⁡θ≠0\cos\theta \ne 0 there.

    Putting the two fractions over the common denominator sin⁡2θcos⁡2θ\sin^2\theta\cos^2\theta leaves a single numerator, asin⁡3θ−bcos⁡3θa\sin^3\theta - b\cos^3\theta⁠, and the denominator is positive on the whole range. So the sign of L′L' is decided by the numerator alone, which is what Step 6 needs.
    ddθ(cos⁡θ)−1=−(cos⁡θ)−2⋅(−sin⁡θ)\frac{d}{d\theta}(\cos\theta)^{-1} = -(\cos\theta)^{-2}\cdot(-\sin\theta)⁠: chain rule with inner function cos⁡θ\cos\theta and outer function u−1u^{-1} (Theorem 4, Section 5.3.1). Basics: the chain rule
  5. The only critical point

    L′(θ)=0  ⟺  asin⁡3θ=bcos⁡3θ  ⟺  tan⁡3θ=ba  ⟺  tan⁡θ=(ba)1/3.\begin{aligned} L'(\theta) = 0 &\iff a\sin^3\theta = b\cos^3\theta \\ &\iff \tan^3\theta = \frac{b}{a} \\ &\iff \tan\theta = \left(\frac{b}{a}\right)^{1/3}. \end{aligned}

    On (0,π2)\left(0, \frac{\pi}{2}\right)⁠, tan⁡θ\tan\theta increases strictly from 0 towards +∞+\infty and takes every positive value exactly once. So there is exactly one critical point θ0\theta_0⁠, with

    tan⁡θ0=b1/3a1/3.\tan\theta_0 = \frac{b^{1/3}}{a^{1/3}}.
    Dividing by cos⁡3θ\cos^3\theta is allowed because cos⁡θ>0\cos\theta > 0 on the range. Since LL is differentiable everywhere on the range (Step 4), points where L′=0L' = 0 are the only critical points (Note after Theorem 2, Section 6.4).
    sin⁡3θcos⁡3θ=tan⁡3θ\frac{\sin^3\theta}{\cos^3\theta} = \tan^3\theta⁠, and the real cube root of a positive number is a single positive number. Basics: solving equations
  6. It is the least value on the whole range

    Take cos⁡3θ\cos^3\theta out of the numerator:

    L′(θ)=cos⁡3θ (atan⁡3θ−b)sin⁡2θ cos⁡2θ.L'(\theta) = \frac{\cos^3\theta\,\left(a\tan^3\theta - b\right)}{\sin^2\theta\,\cos^2\theta}.

    On (0,π2)\left(0, \frac{\pi}{2}\right) the factors cos⁡3θ\cos^3\theta and sin⁡2θcos⁡2θ\sin^2\theta\cos^2\theta are positive, so L′L' has the sign of atan⁡3θ−ba\tan^3\theta - b⁠:

    • for 0<θ<θ00 < \theta < \theta_0⁠: tan⁡θ<tan⁡θ0\tan\theta < \tan\theta_0⁠, so atan⁡3θ<ba\tan^3\theta < b and L′(θ)<0L'(\theta) < 0⁠;
    • for θ0<θ<π2\theta_0 < \theta < \frac{\pi}{2}⁠: tan⁡θ>tan⁡θ0\tan\theta > \tan\theta_0⁠, so atan⁡3θ>ba\tan^3\theta > b and L′(θ)>0L'(\theta) > 0⁠.

    By the First Derivative Test (Theorem 3 (ii)), θ0\theta_0 is a point of local minima. More than that: for any θ<θ0\theta < \theta_0⁠, LL is continuous on [θ,θ0][\theta, \theta_0] with L′<0L' < 0 inside, so L(θ)>L(θ0)L(\theta) > L(\theta_0)⁠; for any θ>θ0\theta > \theta_0⁠, L′>0L' > 0 on (θ0,θ)(\theta_0, \theta) gives L(θ)>L(θ0)L(\theta) > L(\theta_0)⁠. Hence

    L(θ)>L(θ0)  for every other θ in (0,π2),L(\theta) > L(\theta_0)\ \text{ for every other } \theta \text{ in } \left(0, \tfrac{\pi}{2}\right),

    and L(θ0)L(\theta_0) is the minimum length of the hypotenuse.

    θ (rad) L 5 10 15 20 0.5 1 π/2 θ0 ≈ 0.464 least L = 5√5 ≈ 11.18 L → ∞ at both ends L′ < 0 L′ > 0
    L(θ)=8sec⁡θ+cosec θL(\theta) = 8\sec\theta + \mathrm{cosec}\,\theta (the case a=8a = 8⁠, b=1b = 1⁠). It is very large near both ends of (0,π2)\left(0, \frac{\pi}{2}\right)⁠, falls while L′<0L' < 0⁠, and rises while L′>0L' > 0⁠. The single lowest point is at tan⁡θ0=12\tan\theta_0 = \frac{1}{2}⁠.
    A local test only says L(θ0)L(\theta_0) is smallest near θ0\theta_0⁠. The question asks for the minimum over all such triangles, so we need the sign of L′L' on the whole range: decreasing all the way up to θ0\theta_0⁠, increasing all the way after. There are no endpoints to compare with, because the range is open, and near each end LL blows up: as θ→0+\theta \to 0^+⁠, bsin⁡θ→∞\frac{b}{\sin\theta} \to \infty⁠; as θ→π2−\theta \to \frac{\pi}{2}^-⁠, acos⁡θ→∞\frac{a}{\cos\theta} \to \infty⁠.
    Theorem 1 (b), Section 6.3, applied on [θ,θ0][\theta, \theta_0]⁠. The strict L(θ)>L(θ0)L(\theta) > L(\theta_0) comes from the book's Mean Value argument for part (a) with the signs reversed: L(θ0)−L(θ)L(\theta_0) - L(\theta) =L′(c)(θ0−θ)<0= L'(c)(\theta_0 - \theta) < 0 for some cc between θ\theta and θ0\theta_0⁠. Lesson: increasing and decreasing functions
  7. Evaluate L(θ0)L(\theta_0)

    Draw a right triangle with angle θ0\theta_0⁠, opposite side b1/3b^{1/3} and adjacent side a1/3a^{1/3} (that is what tan⁡θ0=b1/3a1/3\tan\theta_0 = \frac{b^{1/3}}{a^{1/3}} says). Its hypotenuse is a2/3+b2/3\sqrt{a^{2/3}+b^{2/3}}⁠. Write S=a2/3+b2/3S = a^{2/3}+b^{2/3}⁠. Then

    cos⁡θ0=a1/3S,sin⁡θ0=b1/3S.\cos\theta_0 = \frac{a^{1/3}}{\sqrt{S}}, \qquad \sin\theta_0 = \frac{b^{1/3}}{\sqrt{S}}.

    Substitute into LL⁠:

    L(θ0)=aSa1/3+bSb1/3=S(a2/3+b2/3)=S1/2⋅S=S3/2.\begin{aligned} L(\theta_0) &= \frac{a\sqrt{S}}{a^{1/3}} + \frac{b\sqrt{S}}{b^{1/3}} \\ &= \sqrt{S}\left(a^{2/3} + b^{2/3}\right) \\ &= S^{1/2}\cdot S = S^{3/2}. \end{aligned}

    So the minimum length of the hypotenuse is

    (a2/3+b2/3)3/2.\left(a^{2/3}+b^{2/3}\right)^{3/2}.
    aa1/3=a1−1/3=a2/3\frac{a}{a^{1/3}} = a^{1 - 1/3} = a^{2/3}⁠, and likewise for bb⁠. The sum a2/3+b2/3a^{2/3}+b^{2/3} is exactly SS again, so the answer collapses to S⋅S1/2=S3/2S \cdot S^{1/2} = S^{3/2}⁠. The triangle trick avoids messy formulas for sec⁡θ0\sec\theta_0 and cosec θ0\mathrm{cosec}\,\theta_0⁠; both sin⁡θ0\sin\theta_0 and cos⁡θ0\cos\theta_0 are positive because θ0\theta_0 is acute.
    Laws of indices: aa1/3=a2/3\frac{a}{a^{1/3}} = a^{2/3} and S1/2⋅S=S3/2S^{1/2}\cdot S = S^{3/2}⁠. Pythagoras: (a1/3)2+(b1/3)2\left(a^{1/3}\right)^2 + \left(b^{1/3}\right)^2 =a2/3+b2/3= a^{2/3}+b^{2/3}⁠.
Result

With θ\theta the angle between the hypotenuse and a leg, the hypotenuse is L(θ)=asec⁡θ+b cosec θL(\theta) = a\sec\theta + b\,\mathrm{cosec}\,\theta for 0<θ<π20 < \theta < \frac{\pi}{2}⁠. L′L' vanishes only at tan⁡θ0=(b/a)1/3\tan\theta_0 = (b/a)^{1/3}⁠, is negative before and positive after, so the minimum length of the hypotenuse is (a2/3+b2/3)3/2\left(a^{2/3}+b^{2/3}\right)^{3/2}, as required. (The answer key in this reprint has no entry for this question; the value is the one the question asks us to show.)

Check it with numbers

Take a=8a = 8⁠, b=1b = 1⁠. The formula gives (82/3+1)3/2\left(8^{2/3}+1\right)^{3/2} =(4+1)3/2= (4+1)^{3/2} =55≈11.1803= 5\sqrt{5} \approx 11.1803⁠. The best angle has tan⁡θ0=(18)1/3=12\tan\theta_0 = \left(\frac{1}{8}\right)^{1/3} = \frac{1}{2}⁠, θ0≈0.4636\theta_0 \approx 0.4636 rad (about 26.57∘26.57^\circ⁠). Directly: sec⁡θ0=52\sec\theta_0 = \frac{\sqrt5}{2}⁠, cosec θ0=5\mathrm{cosec}\,\theta_0 = \sqrt5⁠, so L=8⋅52+5=55L = 8\cdot\frac{\sqrt5}{2} + \sqrt5 = 5\sqrt5 ✓. The legs are then CA=8+1⋅2=10CA = 8 + 1\cdot 2 = 10 and CB=1+8⋅12=5CB = 1 + 8\cdot\frac12 = 5⁠, and 102+52=125=55\sqrt{10^2+5^2} = \sqrt{125} = 5\sqrt5 ✓. Nearby angles give longer hypotenuses: L(0.3)≈11.7579L(0.3) \approx 11.7579⁠, L(0.4)≈11.2536L(0.4) \approx 11.2536⁠, L(0.5)≈11.2018L(0.5) \approx 11.2018⁠, L(0.6)≈11.4641L(0.6) \approx 11.4641⁠.

Common mistakes
  1. Swapping sine and cosine. PAPA faces the distance bb across the angle at AA⁠, so PA=bsin⁡θPA = \frac{b}{\sin\theta}⁠; PBPB has aa next to the equal angle at PP⁠, so PB=acos⁡θPB = \frac{a}{\cos\theta}⁠. Check with a sketch, not by memory.
  2. Stopping at "local minimum". The question asks for the minimum over all triangles; the sign of L′L' on the whole range (Step 6) is what proves it.
  3. Forgetting the range. Without 0<θ<π20 < \theta < \frac{\pi}{2} we could not say cos⁡θ>0\cos\theta > 0⁠, divide by cos⁡3θ\cos^3\theta⁠, or be sure there is only one critical point.
  4. Messy evaluation. Plugging θ0=tan⁡−1(b/a)1/3\theta_0 = \tan^{-1}(b/a)^{1/3} into sec⁡\sec and cosec\mathrm{cosec} directly is error-prone; the reference triangle of Step 7 gives sin⁡θ0\sin\theta_0 and cos⁡θ0\cos\theta_0 at once.
What to take away
  1. When a line turns about a fixed point, an angle is often the best variable: lengths become known sidesin⁡\frac{\text{known side}}{\sin} or known sidecos⁡\frac{\text{known side}}{\cos}⁠.
  2. Write L′L' over a positive common denominator and factor the numerator so its sign is obvious on the whole range.
  3. A function on an open interval that tends to ∞\infty at both ends and has one critical point has its global minimum there; the sign change of the derivative proves it.

Every fact used, and where it comes from

FactUsed inSource
Hypotenuse only in a right triangle; distances along perpendicularsGiven, Step 1Geometry (Basics: building the function)
sin⁡\sin⁠, cos⁡\cos⁠, tan⁡\tan in a right triangle; positive for acute anglesSteps 3, 5, 7Trigonometric ratios (Basics: signs of sin and cos)
Corresponding angles on parallel lines are equalStep 3Geometry
Chain ruleStep 4Theorem 4, Section 5.3.1 (Chapter 5)
Critical point: f′(c)=0f'(c) = 0 or ff not differentiableStep 5Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
First Derivative TestStep 6Theorem 3 (ii), Section 6.4 (Lesson: derivative tests)
Sign of f′f' decides increasing or decreasingStep 6Theorem 1 and its proof, Section 6.3 (Lesson: increasing and decreasing)
Optimisation set-upSteps 1 to 3Section 6.4 examples (Lesson: optimisation problems)
All numerical valuesCheckRecomputed in the site's verification script, with a search over (0,π2)\left(0, \frac{\pi}{2}\right) for several a,ba, b
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →