Sub topic 11
Velocity and Speed Along the Path and at Impact
This chapter assumes you can write the position and velocity equations for each axis, as in the earlier chapters. It also assumes you know the time-of-flight result for level ground and the quadratic for launches from a height. You need the Pythagorean theorem and inverse tangent. The code is optional and uses basic Python.
Velocity is a vector, speed is its size
At any instant a projectile has a velocity vector with two components. In the ideal model (no air resistance, constant g) they behave differently:
- The horizontal component stays constant:
vx = v0 cos θ. - The vertical component changes linearly:
vy(t) = v0 sin θ − g t.
Velocity is the pair (vx, vy). It has a size and a direction. The size is the speed, which is never negative:
v(t) = sqrt(vx² + vy(t)²)The direction is the angle of the velocity vector above or below the horizontal:
φ(t) = atan2(vy(t), vx)Positive φ means the projectile is rising, and negative φ means it is falling. The velocity vector is always tangent to the path. That is why the direction angle tells you the slope of the trajectory at that moment.
What changes along the path
The table shows launch from level ground at angle θ with speed v0.
| Moment | `vx` | `vy` | Speed | Direction |
|---|---|---|---|---|
| Launch (t = 0) | `v0 cos θ` | `v0 sin θ` | `v0` | θ above horizontal |
| Apex (`t = v0 sin θ / g`) | `v0 cos θ` | 0 | `v0 cos θ` | horizontal |
| Landing on level ground | `v0 cos θ` | `−v0 sin θ` | `v0` | θ below horizontal |
Three facts follow from the table.
- The speed at the top is not zero. Only
vyis zero there. The projectile is still moving atvx, so its speed is at its minimum,v0 cos θ. Only a purely vertical throw (θ = 90°) has zero speed at the top. - Speed is symmetric about the apex. On level ground, equal heights give equal speeds on the way up and the way down. Only the sign of
vydiffers. - Landing on level ground reverses
vyexactly. The landing speed equals the launch speed, and the landing angle is the mirror image of the launch angle.
Velocity at a given height, without solving for time
Often you know the height y at which you want the speed, but not the time. You can avoid the quadratic by using the vertical equation that has no time in it:
vy² = vy0² − 2 g (y − y0)Add vx² to both sides. Since vx² + vy0² = v0², you get:
v² = v0² − 2 g (y − y0)The speed depends only on v0 and on how far the projectile has risen or fallen. It does not depend on the launch angle. This is conservation of mechanical energy written as speeds: kinetic energy lost equals potential energy gained.
Two launches with the same v0 and different angles therefore have the same speed at the same height. Their directions differ.
When you solve for vy from vy² = ..., you get a square root, so the sign is ambiguous. Use the sign that matches the situation: positive on the way up, negative on the way down. At impact the projectile is always descending, so take the negative root.
Impact from a raised launch point
Suppose the launch point is h0 above the landing level, and the landing level is y = 0. Then y − y0 = −h0, and the impact speed is:
v_impact = sqrt(v0² + 2 g h0)The impact velocity components are:
vx = v0 cos θ, unchangedvy = −sqrt(vy0² + 2 g h0), always negative
The impact angle below the horizontal is:
φ_impact = atan( sqrt(vy0² + 2 g h0) / vx )For h0 > 0 the projectile lands faster than it was launched, and steeper than the launch angle. For h0 = 0 the formulas reduce to the level-ground results in the table.
The same formulas work if the landing level is higher than the launch point (h0 < 0), such as a ball thrown onto a roof. The impact speed is then smaller than v0. The projectile must actually reach that height, so vy0² + 2 g h0 must not be negative. If it is, the landing level is above the apex and the projectile never gets there.
Worked example in code
This program computes the impact velocity two ways: from the time of flight, and from the energy shortcut. The two answers must agree, which makes a good check.
import math
def impact_velocity(v0, angle_deg, h0, g=9.81):
"""Velocity at landing for a launch from height h0 to y = 0.
Returns (vx, vy, speed, angle_below_horizontal_deg)."""
theta = math.radians(angle_deg)
vx = v0 * math.cos(theta)
vy0 = v0 * math.sin(theta)
t = (vy0 + math.sqrt(vy0**2 + 2 * g * h0)) / g # positive root
vy = vy0 - g * t # negative at impact
speed = math.hypot(vx, vy)
angle_below = math.degrees(math.atan2(-vy, vx))
return vx, vy, speed, angle_below
vx, vy, speed, phi = impact_velocity(v0=15.0, angle_deg=40.0, h0=10.0)
print(f"vx = {vx:.2f} m/s, vy = {vy:.2f} m/s")
print(f"speed = {speed:.2f} m/s, {phi:.1f} degrees below horizontal")
# Energy check: speed depends only on v0 and the height drop
speed_energy = math.sqrt(15.0**2 + 2 * 9.81 * 10.0)
print(f"energy check: {speed_energy:.2f} m/s")For this launch, vx ≈ 11.49 m/s and vy ≈ −17.01 m/s. The speed is about 20.5 m/s, and the projectile hits at about 56° below horizontal. That is much steeper than the 40° launch angle, because vy grew while vx did not.
math.hypot computes sqrt(vx² + vy²) and avoids overflow for extreme values. math.atan2 takes both components and returns the correct angle in every quadrant. Plain atan(vy / vx) would fail if vx were zero, such as for a vertical throw.
Common errors
- Adding speeds. Speed is not
vx + vy. The components are perpendicular, so use the Pythagorean theorem. - Taking the speed at the apex as zero. Only
vyis zero there. - Forgetting the sign of
vy.vy² = ...loses the sign. A positive impactvygives a wrong angle, or an angle that appears to point upward. - Assuming the landing angle equals the launch angle. This holds only when the launch and landing heights are equal. From a cliff, the landing angle is steeper.
- Assuming a larger launch angle gives a larger impact speed. From a given height and
v0, impact speed is the same for every angle. Only the direction and the time of flight change. - Mixing degrees and radians. Python's trigonometric functions use radians, so convert launch angles first.
Check your understanding
Exercise
A ball is thrown horizontally at 25 m/s from the edge of a 20 m cliff. Ignore air resistance and use g = 9.81 m/s². Find the impact speed and the angle below the horizontal at which it lands.
Show answer
The launch is horizontal, so vy0 = 0 and vx = 25 m/s. The vertical speed at impact comes from vy² = 2 g h0 = 2 × 9.81 × 20 = 392.4, so |vy| ≈ 19.81 m/s, directed downward. The speed is sqrt(25² + 19.81²) = sqrt(625 + 392.4) ≈ 31.9 m/s. The same result follows from v² = v0² + 2 g h0. The angle below the horizontal is atan(19.81 / 25) ≈ 38.4°.
Exercise
Two stones are thrown from the same height above level ground with the same speed, one at 20° above the horizontal and one at 60° above the horizontal. Compare their impact speeds and impact angles.
Show answer
The impact speeds are equal, because v² = v0² + 2 g h0 does not depend on the launch angle. The impact angles differ. The stone launched at 60° has a smaller vx and a larger downward vy, so it lands more steeply than the stone launched at 20°. The 60° stone also stays in the air longer.