Sub topic 13
Which angle gives the maximum range?
This chapter assumes you can already derive the time of flight and the range on level ground. It also assumes you are comfortable with the trigonometric double-angle identity and with solving a quadratic equation. Here you will answer a question that comes up often: for a fixed launch speed, which angle sends the projectile farthest? The answer is 45° only under one condition, and you will see what changes when that condition fails.
The level-ground result
On level ground, the range from the previous chapters is the horizontal velocity times the time of flight:
R = v0 cosθ · (2 v0 sinθ / g) = 2 v0² sinθ cosθ / g
The identity 2 sinθ cosθ = sin 2θ turns this into
R = v0² sin(2θ) / g
For a fixed launch speed v0, only sin 2θ depends on the angle. The sine reaches its largest value, 1, when 2θ = 90°. So θ = 45° gives the maximum range:
R_max = v0² / g
For v0 = 20 m/s and g = 9.81 m/s², R_max is about 40.77 m.
Complementary angles
Because sin 2θ = sin(180° − 2θ), angles θ and 90° − θ give the same range. Launching at 30° and at 60° lands at the same spot. At 20 m/s, both reach 400 · sin 60° / 9.81 ≈ 35.31 m.
The two paths differ in shape and timing. The 60° launch goes higher and stays in the air longer. The 30° launch is flatter and arrives sooner. Choose the low angle when you want less time for the target to react, and the high angle when you need to clear an obstacle.
The curve is flat near its peak. Moving from 45° to 40° costs only about 1.5% of the range, because sin 80° ≈ 0.985. This is why small aiming errors near 45° matter little.
Why the answer changes with height
The 45° result depends on the launch and landing points being at the same level. Suppose you launch from height h0 above the landing level. The time of flight is the positive root of h0 + v0 sinθ · t − ½ g t² = 0, so the range is
R(θ) = (v0 cosθ / g) · ( v0 sinθ + √(v0² sin²θ + 2 g h0) )
Differentiating this expression directly is messy. A cleaner route uses the trajectory equation and asks which targets can be reached at all.
An envelope argument
Write the trajectory with u = tanθ, using 1/cos²θ = 1 + u²:
y = h0 + u x − (g x² / (2 v0²)) (1 + u²)
The projectile lands at y = 0. Rearranging gives a quadratic in u:
(g x² / (2 v0²)) u² − x u + (g x² / (2 v0²) − h0) = 0
A launch angle that hits the point (x, 0) exists only if this quadratic has a real root. That requires a non-negative discriminant:
x² − 4 · (g x² / (2 v0²)) · (g x² / (2 v0²) − h0) ≥ 0
Dividing by x² and simplifying gives
1 − g² x² / v0⁴ + 2 g h0 / v0² ≥ 0
Solving for x gives the farthest reachable distance:
R_max = (v0 / g) · √(v0² + 2 g h0)
At the boundary the quadratic has one double root, u = x / (g x² / v0²) = v0² / (g x). Substituting R_max for x gives the optimal angle:
tan θ_opt = v0 / √(v0² + 2 g h0)
Check the limit h0 = 0. Then tan θopt = 1, so θopt = 45°, and R_max = v0² / g. The general result reduces to the level-ground result.
What the formulas say
When h0 > 0, the denominator exceeds v0, so tan θ_opt < 1 and the best angle is below 45°. A higher launch point gives the projectile extra fall time, and a flatter throw uses that time more efficiently for horizontal travel. The higher the platform, the lower the best angle.
When h0 < 0, the target sits above the launch point. The best angle is above 45°, since the projectile must climb to reach the target. The same formulas hold as long as v0² + 2 g h0 ≥ 0. If this quantity is negative, the projectile cannot reach the landing level at any angle.
| Situation | Optimal angle | Maximum range |
|---|---|---|
| Launch and landing at the same level (h0 = 0) | 45° | v0² / g |
| Launch above the landing level (h0 > 0) | Below 45° | (v0 / g) √(v0² + 2 g h0) |
| Launch below the landing level (h0 < 0) | Above 45° | Same formula, if v0² + 2 g h0 ≥ 0 |
| Air resistance, level ground | Below 45° | Less than v0² / g |
Checking the formula numerically
The script below finds the best angle by brute-force scanning. It compares the result with the closed-form answer for a launch from 10 m up at 15 m/s.
import math
G = 9.81
def range_at(angle_deg, v0, h0, g=G):
"""Horizontal distance to y = 0 when launching from height h0."""
theta = math.radians(angle_deg)
vx = v0 * math.cos(theta)
vy = v0 * math.sin(theta)
t = (vy + math.sqrt(vy**2 + 2 * g * h0)) / g
return vx * t
v0, h0 = 15.0, 10.0
# Scan 0.00 to 90.00 degrees in steps of 0.01 degrees
best_angle, best_range = 0.0, 0.0
for i in range(0, 9001):
angle = i / 100
r = range_at(angle, v0, h0)
if r > best_range:
best_angle, best_range = angle, r
root = math.sqrt(v0**2 + 2 * G * h0)
theta_formula = math.degrees(math.atan(v0 / root))
r_formula = v0 * root / G
print(f"scan: {best_angle:.2f} deg, {best_range:.2f} m")
print(f"formula: {theta_formula:.2f} deg, {r_formula:.2f} m")
print(f"45 deg: {range_at(45.0, v0, h0):.2f} m")The scan and the formula agree, at about 36.2° and 31.4 m. A 45° launch from the same platform reaches only about 30.5 m, so using 45° out of habit loses roughly a metre here.
Real throws and drag
Real projectiles lose speed to air resistance, which also changes the best angle. With drag proportional to the square of the speed, the best angle on level ground is below 45°. The reason is that a high arc spends more time in the air and so loses more speed to drag. A flatter arc keeps more of its horizontal velocity.
The simulation from the numerical chapter lets you test this. Scan the angle with a positive drag coefficient and look for the angle with the longest range:
import math
def simulate_range(v0, angle_deg, k=0.0, dt=0.001, g=9.81):
theta = math.radians(angle_deg)
x, y = 0.0, 0.0
vx, vy = v0 * math.cos(theta), v0 * math.sin(theta)
while y >= 0.0:
speed = math.hypot(vx, vy)
ax = -k * speed * vx
ay = -g - k * speed * vy
x += vx * dt
y += vy * dt
vx += ax * dt
vy += ay * dt
return x
best_angle, best_range = 0, 0.0
for angle in range(5, 90):
r = simulate_range(20.0, angle, k=0.02)
if r > best_range:
best_angle, best_range = angle, r
print(f"best angle with drag: {best_angle} deg, range {best_range:.2f} m")The printed angle should fall below 45°. In sports, the best throwing angle is also set by the release height and by how the athlete's strength depends on the angle. For example, shot putters release the shot above the ground, which pushes the optimum below 45°. They typically throw at roughly 35° to 42°.
Common errors
- Applying 45° everywhere. The rule needs equal launch and landing heights and no drag.
- Using the level-ground formula with a height. The expression v0² sin 2θ / g ignores h0 completely.
- Forgetting that complementary angles tie only on level ground. From a height, θ and 90° − θ no longer give equal ranges.
- Taking the wrong root. In the quadratic for time, keep the positive root. The negative root is a time before launch.
- Ignoring reachability. For a target below the launch point, check that v0² + 2 g h0 is non-negative before taking the square root.
Exercise
A ball is thrown at 15 m/s from a platform 10 m above the ground, with g = 9.81 m/s². (a) What launch angle gives the maximum horizontal range? (b) What is that range?
Show answer
(a) tan θ = v0 / √(v0² + 2 g h0) = 15 / √(225 + 196.2) = 15 / 20.52 ≈ 0.731, so θ ≈ 36.2°. (b) R_max = v0 √(v0² + 2 g h0) / g = 15 × 20.52 / 9.81 ≈ 31.4 m.
Exercise
A projectile is launched at 25° on level ground. Which other launch angle, at the same speed, gives the same range? Does it stay in the air for a shorter or longer time?
Show answer
The complementary angle, 90° − 25° = 65°. It has the larger vertical velocity component, v0 sin 65° > v0 sin 25°, so its time of flight, 2 v0 sinθ / g, is longer.
Exercise
A player on a hill throws a ball at 18 m/s to a spot 5 m above the launch point. Find the maximum height difference (target above launch) that can be reached at all, and say whether the optimal angle for a target above launch is greater or less than 45°.
Show answer
The target at height +H corresponds to h0 = −H. A landing level is reachable only if v0² + 2 g h0 ≥ 0, so H ≤ v0² / (2 g) = 324 / 19.62 ≈ 16.5 m. For a target above the launch point, the optimal angle is greater than 45°, because tan θ_opt = v0 / √(v0² − 2 g H) > 1.