Finding the Optimal Launch Angle
Problem
At what angle should you throw a ball at 15 m/s to achieve maximum distance?
Explanation
This is the classic optimization problem of intro physics: at what angle does a projectile go furthest? The answer is famous — but the derivation using calculus is gorgeous and the visualization makes the why obvious.
The Physics
From a level surface back to the same level, the range as a function of launch angle is:
For a fixed and , the only thing that matters is , which oscillates between 0 and 1. To find the maximum, we use calculus: set and solve.
Step-by-Step Solution
Given:
- Launch speed:
- Gravity:
Find: The launch angle that maximizes the range , and the value of at that angle.
Step 1 — Write down the range function.
Step 2 — Differentiate with respect to .
Apply the chain rule to :
Step 3 — Set the derivative to zero and solve.
The constants and aren't zero, so we need:
Step 4 — Confirm it's a maximum (second-derivative test).
At , , so the second derivative is negative — confirming a maximum.
Step 5 — Plug into the range equation.
We can also compute the corresponding peak height and flight time:
Answer: The optimal launch angle is , which produces the maximum horizontal range of . At this optimum, the ball reaches a peak height of about 5.74 m and flies for about 2.16 seconds.
Why 45°? An Intuition
You can think of it as a trade-off. Low angles give a lot of horizontal velocity but very little flight time. High angles give long flight times but tiny horizontal velocity. 45° is the perfect compromise — and the math agrees.
Note the symmetry: . So 30° and 60° give the same range, and so do 20° and 70°. The range curve is symmetric about .
Try It
- Sweep the angle slider — the range plot on the right shows vs live, with a yellow marker on the current angle.
- The peak of the curve is dead-center at 45°, marked by the green dashed line.
- Increase velocity — the entire curve scales up (since ) but the peak stays at 45°.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.