← Back to learning objective

Minimizing ladder length over a fence

A ladder must be carried around a corner where a fence runs parallel to a wall, with the base of the fence 4 ft from the wall on one side and 5 ft from a perpendicular barrier on the other side. If the ladder leans over the fence at an angle θ\theta (measured from the ground) while touching the top of the fence, its length can be modeled as a function of θ\theta: L(θ)=4sin⁡θ+5cos⁡θ,0<θ<π2L(\theta) = \frac{4}{\sin\theta} + \frac{5}{\cos\theta}, \qquad 0 < \theta < \frac{\pi}{2} The shortest ladder that touches the fence and reaches from the ground to the wall over the fence is the one that will just barely clear the corner.

Find the angle θ\theta in the interval (0,π2)\left(0, \frac{\pi}{2}\right) that minimizes L(θ)=4sin⁡θ+5cos⁡θL(\theta) = \dfrac{4}{\sin\theta} + \dfrac{5}{\cos\theta}, and use it to find the minimum length of the ladder.

Hint

Differentiate L(θ)L(\theta) using the fact that ddθ(sin⁡θ)−1=−cos⁡θ(sin⁡θ)−2\frac{d}{d\theta}(\sin\theta)^{-1} = -\cos\theta(\sin\theta)^{-2} and similarly for cosine. Set L′(θ)=0L'(\theta) = 0, simplify to get an equation involving tan⁡3θ\tan^3\theta, then solve for θ\theta and substitute back to find LL.

Step-by-step solution

Rewrite L(θ)=4sin⁡−1θ+5cos⁡−1θL(\theta) = 4\sin^{-1}\theta + 5\cos^{-1}\theta (using shorthand for (sin⁡θ)−1(\sin\theta)^{-1} etc.) and differentiate: L′(θ)=−4cos⁡θsin⁡2θ+5sin⁡θcos⁡2θ.L'(\theta) = -\frac{4\cos\theta}{\sin^2\theta} + \frac{5\sin\theta}{\cos^2\theta}. Setting L′(θ)=0L'(\theta)=0 gives 5sin⁡θcos⁡2θ=4cos⁡θsin⁡2θ\frac{5\sin\theta}{\cos^2\theta} = \frac{4\cos\theta}{\sin^2\theta}, which simplifies to 5sin⁡3θ=4cos⁡3θ5\sin^3\theta = 4\cos^3\theta. Dividing both sides by cos⁡3θ\cos^3\theta yields tan⁡3θ=45\tan^3\theta = \frac{4}{5}.

Solving gives θ=arctan⁡((45)1/3)\theta = \arctan\left(\left(\frac{4}{5}\right)^{1/3}\right). Since L(θ)→∞L(\theta) \to \infty as θ→0+\theta \to 0^+ or θ→π2−\theta \to \frac{\pi}{2}^-, this critical point must be the minimum. At the critical point where tan⁡3θ=45\tan^3\theta = \frac{4}{5}, we have sin⁡θ=(4/5)1/31+(4/5)2/3\sin\theta = \frac{(4/5)^{1/3}}{\sqrt{1 + (4/5)^{2/3}}} and cos⁡θ=11+(4/5)2/3\cos\theta = \frac{1}{\sqrt{1 + (4/5)^{2/3}}}. The minimum ladder length is Lmin⁡=4sin⁡θ+5cos⁡θ=41+(4/5)2/3+51+(4/5)2/3=91+(4/5)2/3≈12.7 ft.L_{\min} = \frac{4}{\sin\theta} + \frac{5}{\cos\theta} = 4\sqrt{1 + (4/5)^{2/3}} + 5\sqrt{1 + (4/5)^{2/3}} = 9\sqrt{1 + (4/5)^{2/3}} \approx 12.7 \text{ ft}. Numerically, θ≈0.727\theta \approx 0.727 radians.

Behavior of ladder length at interval endpoints

As θ\theta approaches either endpoint of its interval (0,π2)\left(0, \frac{\pi}{2}\right), does the ladder length L(θ)L(\theta) increase or decrease?

Hint
Step-by-step solution

The ladder length increases without bound near both endpoints. As θ\theta approaches zero, the term 4sin⁡θ\frac{4}{\sin\theta} blows up, and as θ\theta approaches π2\frac{\pi}{2}, the term 5cos⁡θ\frac{5}{\cos\theta} blows up. This is exactly why the critical point found by setting the derivative to zero must give a minimum rather than a maximum. The function's behavior at the boundaries confirms the interior critical point is the global minimum on the open interval.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap