Maths WorkshopMaths problems with full solutions
Exercise 158Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingL2Added 4 Nov 2026

Firing up a slope: the best angle

#optimisation#trigonometry#physics#projectile

Statement

A projectile is launched with speed vv from the foot of a slope of angle α∈[0,π2)\alpha\in\left[0,\frac\pi2\right) with the horizontal, in the vertical plane containing the line of greatest slope, at angle θ\theta with the horizontal (α<θ<π2\alpha<\theta<\frac\pi2). Ignoring friction and air resistance, the distance covered along the slope before landing on it is
R(θ)=2v2cos⁡θ sin⁡(θ−α)gcos⁡2α.R(\theta)=\frac{2v^2\cos\theta\,\sin(\theta-\alpha)}{g\cos^2\alpha}.
Find the angle θ\theta that maximises RR and the maximal range.

Hint

Use the product-to-sum formula 2cos⁡θsin⁡(θ−α)=sin⁡(2θ−α)−sin⁡α2\cos\theta\sin(\theta-\alpha)=\sin(2\theta-\alpha)-\sin\alpha.

Show solutionHide solution

Solution

Origin of the formula (for completeness). With x=vtcos⁡θx=vt\cos\theta and y=vtsin⁡θ−12gt2y=vt\sin\theta-\frac12gt^2, the projectile lands on the slope y=xtan⁡αy=x\tan\alpha when vsin⁡θ−12gt=vcos⁡θtan⁡αv\sin\theta-\frac12gt=v\cos\theta\tan\alpha, i.e. at t=2vsin⁡(θ−α)gcos⁡αt=\frac{2v\sin(\theta-\alpha)}{g\cos\alpha}. The distance along the slope is xcos⁡α=vtcos⁡θcos⁡α\frac{x}{\cos\alpha}=\frac{vt\cos\theta}{\cos\alpha}, which gives the formula above.

Simplification.
R(θ)=v2gcos⁡2α(sin⁡(2θ−α)−sin⁡α).R(\theta)=\frac{v^2}{g\cos^2\alpha}\bigl(\sin(2\theta-\alpha)-\sin\alpha\bigr).
Only sin⁡(2θ−α)\sin(2\theta-\alpha) depends on θ\theta.

Maximum. R′(θ)=2v2gcos⁡2αcos⁡(2θ−α)R'(\theta)=\dfrac{2v^2}{g\cos^2\alpha}\cos(2\theta-\alpha) vanishes for 2θ−α=π22\theta-\alpha=\frac\pi2, i.e.
θ=π4+α2,\theta=\frac\pi4+\frac\alpha2,
which lies in (α,π2)\left(\alpha,\frac\pi2\right). On the interval, 2θ−α2\theta-\alpha goes from α\alpha to π−α\pi-\alpha and sin⁡\sin is maximal at π2\frac\pi2. The optimal direction bisects the angle between the slope (direction α\alpha) and the vertical (direction π2\frac\pi2).

Maximal range. With sin⁡(2θ−α)=1\sin(2\theta-\alpha)=1 and cos⁡2α=(1−sin⁡α)(1+sin⁡α)\cos^2\alpha=(1-\sin\alpha)(1+\sin\alpha),
Rmax⁡=v2(1−sin⁡α)gcos⁡2α=v2g(1+sin⁡α).R_{\max}=\frac{v^2(1-\sin\alpha)}{g\cos^2\alpha}=\frac{v^2}{g(1+\sin\alpha)}.

Checks. α=0\alpha=0 gives the classical θ=π4\theta=\frac\pi4 and Rmax⁡=v2gR_{\max}=\frac{v^2}g. Firing downhill (replace α\alpha by −α-\alpha) gives v2g(1−sin⁡α)\frac{v^2}{g(1-\sin\alpha)}, larger, as expected.