How to Model Projectile Motion with Differential Equations
At a glance
- 1. Choose assumptions
Decide whether to ignore air resistance and define the launch point, axes, and gravitational acceleration.
- 2. Apply Newton’s law
Resolve the motion into horizontal and vertical components and write one equation for each.
- 3. Use initial conditions
Set the initial position and velocity from the launch height, speed, and angle.
- 4. Solve and interpret
Find position as a function of time, then calculate quantities such as flight time, range, and peak height.
Title: How to Model Projectile Motion with Differential Equations Category: physics
Set up the model
Projectile motion is a useful example of how to turn a physical situation into differential equations. The standard introductory model assumes a flat ground, constant gravitational acceleration, and no air resistance. Under those assumptions, the horizontal and vertical motions can be modeled separately and then combined to predict the trajectory.
Choose a horizontal coordinate , with if the launch point is chosen as the horizontal origin, and let height be measured upward from the ground. Write the initial position as and the launch velocity as . If the launch speed is and its angle above the horizontal is , its components are
Newton’s second law is . With gravity as the only force, , so the mass cancels:
Near Earth’s surface, use . The model’s initial conditions are , , and the velocity components above.
Solve the differential equations
Integrate each acceleration equation, applying the initial velocity and position. The resulting position functions are
These equations describe position while the projectile is in flight. For a launch with nonzero horizontal velocity (), solve the first equation for time and substitute it into the second to get the trajectory as height versus horizontal distance:
For such a launch, the trajectory is a parabola in this model. For a vertical launch, remains constant instead. The equations also show why it helps to split the motion into components: horizontal velocity stays constant, while vertical velocity changes at a constant rate.
Worked example: find the landing distance
A ball is launched at at above level ground from a height of . Take the launch point as , use , and neglect air resistance. Its initial velocity components are
The height is therefore . The ball lands when its height is zero. Solving gives two roots; the positive one is
The negative root does not describe a future landing. Since horizontal speed is constant, the landing distance from the launch point is
For another check, the ball reaches its maximum height when vertical velocity is zero. Since , this occurs after about . Substituting that time into gives a peak height of about above the ground.
What changes when there is air resistance?
With drag, the acceleration depends on velocity, so the components are coupled through the drag force. A common idealization is linear drag, , where is a drag coefficient. Then
Quadratic drag, often used when drag is proportional to speed squared, has a force proportional to . In either case, the simple parabolic trajectory generally no longer applies. Depending on the force law and desired accuracy, you can solve the equations analytically or use numerical methods. A realistic model also needs suitable drag parameters and may need to account for wind and changing air density.
Common modeling mistakes
- Mixing up signs: If upward is positive, gravity is in the vertical equation. If you choose downward as positive, change the signs consistently.
- Using the wrong launch components: The angle is measured from the horizontal here. An angle measured from the vertical gives different component formulas.
- Treating time as the range: Flight time is in seconds; range is horizontal distance, found by evaluating at the landing time.
- Using the wrong landing condition: If the projectile lands at ground level, set . If it lands on a platform or at another elevation, set equal to that landing height.
- Assuming the ideal model is exact: The no-drag result is a baseline. At high speeds or over long flights, air resistance can make predictions differ substantially from observations.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.