Sub topic 1
Vectors and Components: The Toolkit
Projectile motion is easier when a two-dimensional velocity is treated as two one-dimensional velocities. This chapter assumes basic algebra, right-triangle trigonometry, and the meaning of position, velocity, and acceleration.
Prerequisites
You should be able to:
- Use sine and cosine for a right triangle.
- Identify the opposite, adjacent, and hypotenuse sides.
- Work with positive and negative numbers.
- Read an angle measured from the positive horizontal direction.
Vectors describe size and direction
A vector is a quantity with both magnitude and direction. Velocity is a vector. A launch velocity of 20 m/s at 30 degrees is different from a launch velocity of 20 m/s at 60 degrees, even though their magnitudes are equal.
The magnitude of a vector is its size. The direction tells how the vector points. We often draw a vector as an arrow.
For projectile motion, choose coordinate axes before writing equations:
- The positive x-axis usually points horizontally toward the target.
- The positive y-axis usually points upward.
- A vector pointing left has a negative x-component.
- A vector pointing downward has a negative y-component.
Components turn one vector into two
A component is the part of a vector along one coordinate axis. If a launch speed v0 makes an angle θ above the horizontal, its components are
vx = v0 cos(θ)
vy = v0 sin(θ)
Here, vx is the horizontal component and vy is the vertical component. The original velocity vector is the hypotenuse of a right triangle.
The signs depend on the direction. A launch at 30 degrees above the positive x-axis has positive vx and positive vy. A launch at 30 degrees below that axis has positive vx but negative vy.
You can reconstruct the magnitude from the components using the Pythagorean theorem:
v0 = square root of (vx² + vy²)
The direction can be recovered with tangent:
θ = arctan(vy / vx)
Use the signs of both components to place the angle in the correct quadrant.
Worked example
A ball leaves a launcher at 20 m/s and 30 degrees above the horizontal. Its components are
- vx = 20 cos(30°) = 17.32 m/s
- vy = 20 sin(30°) = 10.00 m/s
The ball initially moves 17.32 m/s horizontally and 10.00 m/s upward. These are not two separate launches. They are two descriptions of the same initial velocity.
import math
speed = 20.0
angle_deg = 30.0
angle = math.radians(angle_deg)
vx = speed * math.cos(angle)
vy = speed * math.sin(angle)
print(f"Horizontal component: {vx:.2f} m/s")
print(f"Vertical component: {vy:.2f} m/s")Once the launch velocity is split, the horizontal and vertical parts can be analyzed separately. Gravity changes the vertical component, while the ideal model leaves the horizontal component constant.
Exercise
A projectile is launched at 12 m/s and 40 degrees above the horizontal. Find its horizontal and vertical velocity components.
Show answer
vx = 12 cos(40°) ≈ 9.19 m/s and vy = 12 sin(40°) ≈ 7.71 m/s. Both components are positive because the projectile initially moves right and upward.