Optimising Projection Angles, with Cliffs
A gun fires a shell with velocity
This is a common question, which every physics student does at some point when first learning classical mechanics. I teach it to first years, and vaguely remember doing some variant of it during my undergraduate degree. Once you do enough classic physics problems, they form something like a trope, which you recall when doing unseen ones. And so, when going through the 2022 PAT exam with one of my students last summer, Question 15 (a) struck me as an interesting variation of the common projectile physics trope:

Having never previously considered the angle problem for a projectile launched off a cliff, I became curious if the optimal angle would change. In the original case, it is 45 degrees, but intuitively it didn’t’t seem it’d be the same with a cliff. Say you’re standing on one, throwing a stone into the sea: with a massive height difference between the points of throwing and landing, a larger component of horizontal velocity seems to make more of a difference than the little air time you’d gain from a larger vertical component. So as the initial height increases, we’d expect the optimal angle to tend towards zero. It turns out this problem can still be solved to give a simple formula, and the solution is straightforward, though tedious, yet satisfying. Inspired by Q15, I’ve reformulated the optimal angle problem as follows:
A gun fires a shell with fixed speed at the muzzle of
To do this question, we will use SUVAT to model the motion of the projectile in the
We can substitute one into the other to get
The projectile starts at height
We will solve for
As you can see, the algebra gets nasty here - time to roll up our sleeves, grind our teeth and use the quadratic formula:
This is the horizontal distance as a function of vertical distance and angle along the trajectory. Now, let’s substitute
Before proceeding further, let’s re-evaluate - some `sanity checks’ are in order:
- First, the expression inside of the square root is always positive and greater than
, so one of the values of will be negative. This corresponds to a time-reversed motion of the projectile, or equivalently to motion with projection velocity - If
then the projectile is launched level to the landing, so or . The first solution is maximised at 45 degrees, and the second tells us that the projectile touches the ground at the start of its journey. behaves like we expect it to, which is good.
Now suppose we hold
To make things easier, we will write
Which we rearrange to get:
We are not done yet. We square both sides and use the trig identity
Which gives another quadratic:
Solving this one gives two solutions:
We discard the negative root, finally giving us:
which for
I was genuinely surprised that the solution turned out so simple. The real fun of this question, however, comes from graphing what’s going on. I have done this on Desmos, and you can play around with it by following this link. You can adjust the sliders for the initial height, speed and projection angle, and see how the trajectory of the object changes. The dashed lines represent the initial direction of velocity: grey is the 45 degree projection, whereas purple is the optimal angle for a given
