Sub topic 9
The parabolic trajectory equation
This chapter assumes you can resolve a vector into components, use the constant-acceleration equations in one dimension, and already know the launch components u cosθ and u sinθ from oblique projection. Here you remove time from the two motions and get a single equation relating y to x.
Why eliminate time
A projectile has two equations of position, both written in terms of time t:
- Horizontal: x = u cosθ · t
- Vertical: y = u sinθ · t − ½ g t²
The path in space is the set of all (x, y) points the body visits. To describe that path alone, without reference to when each point is reached, you remove t between the two equations.
Deriving the equation
Take the origin at the launch point, x horizontal, y upward, and g as a positive number of 9.8 m/s² (so the downward acceleration appears as −g).
- From the horizontal equation, t = x / (u cosθ).
- Substitute into the vertical equation:
y = u sinθ · [x / (u cosθ)] − ½ g [x / (u cosθ)]²
- Simplify. The first term becomes x tanθ. The second term becomes g x² / (2 u² cos²θ).
The result is:
y = x tanθ − g x² / (2 u² cos²θ)
Using 1/cos²θ = sec²θ = 1 + tan²θ, an equivalent form is:
y = x tanθ − g x² (1 + tan²θ) / (2 u²)
Both forms have the shape y = a x − b x², with a = tanθ and b = g / (2u² cos²θ). This is a quadratic in x with no constant term, so the graph is a parabola. It passes through the origin and opens downward because b > 0.
Range form of the equation
The range R is the nonzero value of x where y = 0 again. Setting y = 0 and dividing by x gives tanθ = g R / (2 u² cos²θ), so R = u² sin2θ / g. This is the standard range formula. You can use R to rewrite the trajectory as:
y = x tanθ (1 − x / R)
This form is quick in problems. It shows at once that y = 0 at x = 0 and at x = R. By symmetry the highest point lies at x = R/2, where y = (R/2) tanθ · ½ = R tanθ / 4. Check this against H = u² sin²θ / (2g). Because R tanθ / 4 = u² sin2θ tanθ / (4g) = u² · 2 sinθ cosθ · sinθ / (4g cosθ) = u² sin²θ / (2g), the two agree.
Worked example: checking a point
A ball is launched at u = 20 m/s and θ = 30° from the ground. Take g = 9.8 m/s². Find its height when x = 10 m.
- tan30° = 0.577 and cos²30° = 0.75.
- y = 10 × 0.577 − 9.8 × 100 / (2 × 400 × 0.75)
- y = 5.77 − 980 / 600 = 5.77 − 1.63 = 4.14 m.
You can confirm this with code that uses the trajectory equation directly and compares it with the time-based method:
import math
def trajectory_y(x, u, angle_deg, g=9.8):
"""Height y at horizontal distance x, from the trajectory equation."""
theta = math.radians(angle_deg)
return x * math.tan(theta) - g * x ** 2 / (2 * u ** 2 * math.cos(theta) ** 2)
def y_from_time(x, u, angle_deg, g=9.8):
"""Same height, found by first solving for t."""
theta = math.radians(angle_deg)
t = x / (u * math.cos(theta))
return u * math.sin(theta) * t - 0.5 * g * t ** 2
print(f"{trajectory_y(10, 20, 30):.2f} m")
print(f"{y_from_time(10, 20, 30):.2f} m")Both lines print 4.14 m, since the two methods are algebraically identical.
Special case: horizontal projection
For a body thrown horizontally with speed u from a height h, take the launch point as the origin and downward as positive y. Then x = u t and y = ½ g t². Eliminating t gives:
y = g x² / (2 u²)
This is a parabola with its vertex at the launch point and its axis vertical. The y here is the distance fallen below the launch level. Remember that this uses downward-positive y, so it differs in sign from the upward-positive form above. When the body reaches the ground, y = h, so the horizontal range is x = u √(2h / g).
Using the equation in problems
The trajectory equation is most useful in three situations.
- Passing through a given point. If the path must pass through (x₁, y₁), substitute them and solve for θ or u.
- Clearing an obstacle. Check that y at the obstacle's x exceeds the obstacle height.
- Finding the angle from the shape of the curve. If a problem gives a trajectory such as y = √3 x − x²/2 (with g = 10 in suitable units), the coefficient of x is tanθ, so θ = 60°. The coefficient of x² equals g / (2u² cos²θ), which then gives u.
Take that last case. With y = √3 x − 5x²/10 written as y = √3 x − 0.5 x²... it is cleaner to start from a fully given form: y = √3 x − x²/2 and g = 10 m/s². Then tanθ = √3 gives θ = 60° and cos²θ = 1/4. Matching g / (2u² cos²θ) = 1/2 gives 10 / (2u² × 1/4) = 1/2, so 20 / u² = 1/2 and u² = 40, giving u ≈ 6.3 m/s.
Parameters that change the curve
| Change | Effect on y = x tanθ − g x² / (2u² cos²θ) |
|---|---|
| Larger u at the same θ | The x² coefficient shrinks, so the parabola is wider and taller |
| Larger g | The x² coefficient grows, so the parabola is narrower and lower |
| θ increases toward 90° | tanθ grows, the path is steep, and R falls after 45° |
| θ = 90° | tanθ is undefined and cosθ = 0, so the equation does not apply (the motion is purely vertical) |
Common errors
- Mixing sign conventions. Use y = x tanθ − g x²/(2u² cos²θ) only with upward-positive y. For horizontal projection with downward-positive y, the sign of the second term flips.
- Using cos θ instead of cos² θ. The denominator contains cos²θ, not cosθ.
- Using the range form for a different landing level. y = x tanθ (1 − x/R) assumes the body lands at launch height. For launches from a height, use the full equation with the real launch point as the origin.
- Reading time from the equation. The trajectory has no t in it. If a problem asks for time, return to x = u cosθ · t.
Exercises
Exercise
A projectile is launched at 45° and its range is 40 m on level ground. Using y = x tanθ (1 − x/R), find its height when x = 10 m.
Show answer
tan45° = 1, so y = 10 × (1 − 10/40) = 10 × 0.75 = 7.5 m.
Exercise
A stone is thrown horizontally at 10 m/s from the top of a cliff. Taking g = 10 m/s² and y as the distance fallen, write the path equation and find the distance fallen when x = 20 m.
Show answer
y = g x² / (2u²) = 10 x² / (2 × 100) = x²/20. At x = 20 m, y = 400/20 = 20 m.