Free Fall and Differential Equations


Free Fall and Differential Equations

Corey
Today we’re looking at one-dimensional free fall: an object moving straight up and down near Earth, first without air resistance and then with it. We’ll also use slope fields and Euler’s method to understand and approximate the motion. One theme to keep in mind is the difference between a quantity we’re treating as a fixed constant and one we’re allowing to vary.

Simon
And the broader lesson is that solving a model in general can tell us about many situations at once. We can first find a formula that depends on initial height, initial velocity, or other parameters, and then choose particular values. The material also previews vector projections, which connect to dot products and normalization, and two-dimensional systems of linear equations, including elimination—but the main analysis here is free fall.

Corey
Let’s define the quantities. We’ll call the object’s height above the ground y, measured in meters, and time t, measured in seconds. Upward is the positive direction, so y can be negative if we imagine the object below ground, and upward velocity is positive while downward velocity is negative. The object has mass m, measured in kilograms.

Simon
Near Earth’s surface, we model gravity as approximately constant. That’s an experimental approximation, not an exact rule for every distance from Earth. If g is about 9.8 meters per second squared, then the gravitational force is −mg: the minus sign tells us that the force points downward, opposite our positive, upward direction.

Corey
Newton’s second law says force equals mass times acceleration. With gravity as the only force, that gives −mg = ma. Cancel the mass and we get a = −g. So in this no-air-resistance model, the mass doesn’t affect the motion: an object and a feather released with the same initial height and velocity have the same modeled motion.

Simon
Since acceleration is the second derivative of height, our equation is y double-prime equals −g. It’s a second-order differential equation because the highest derivative in it is a second derivative. We can integrate twice, but it’s useful first to name velocity: v equals y-prime.

Corey
Then the same model becomes v-prime equals −g, a first-order differential equation for velocity. Integrating gives v of t equals −gt plus C. That’s the general solution: every choice of the arbitrary constant C gives a solution.

Simon
If we specify an initial velocity v-zero, meaning v of zero equals v-zero, we get one particular solution. Substituting t equals zero shows C must equal v-zero, so v of t equals v-zero minus gt. The initial condition selects one motion from all the possibilities in the general solution.

Corey
Now integrate velocity to get height. Since y-prime is v-zero minus gt, we have y of t equals y-zero plus v-zero times t minus one-half g times t squared, where y-zero is the initial height. This formula solves the original second-order equation too, and the initial conditions make it the unique solution for that starting height and velocity.

Simon
Here’s a concrete example: a one-kilogram ball starts 1.5 meters above the ground and is thrown straight upward at 20 meters per second. The mass won’t change the no-drag calculation. To find its maximum height, first find when its velocity becomes zero.

Corey
Set v-zero minus gt equal to zero, so the time to the peak is v-zero divided by g. With 20 and 9.8, that’s about 2.04 seconds. The height-versus-time graph is a downward-opening parabola, and this time identifies its highest point.

Simon
Putting that time into the height formula gives a useful general result: the maximum height is y-zero plus v-zero squared divided by 2g. For our example, it’s about 21.9 meters. Keeping the variables in the formula shows how the peak changes if the starting height or launch speed changes.

Corey
To find when the ball hits the ground, set its height to zero and solve the quadratic. For an upward launch with nonnegative initial height, the positive-time answer is the initial velocity plus the square root of v-zero squared plus 2g times y-zero, all divided by g.

Simon
For this ball, that gives about 4.16 seconds. If it starts at ground level, y-zero is zero and, for an upward launch, the expression simplifies to 2v-zero divided by g. This is a good example of solving generally first and substituting numbers afterward.

Corey
We can also treat a parameter as a variable for a new question. For instance, hold the launch speed fixed and graph the landing time against the initial height. The time increases as the starting height increases, but the graph is concave down: adding the same amount of height produces a smaller increase in landing time at higher starting heights.

Simon
Or hold the height fixed and vary the initial upward speed. In that case, the landing time increases and is concave up, though at sufficiently high launch speeds it becomes close to proportional to the speed. That’s a useful reminder: calling something a constant means we’re holding it fixed for a particular calculation, not that we can never study how the answer changes when it varies.

Corey
Now let’s include air resistance, also called drag. Its precise behavior can depend on the object’s shape and other details, so we’ll make a simple first approximation: drag is proportional to velocity and points opposite the motion. We write the drag force as −kv, with k positive.

Simon
That sign handles both directions. If the object moves upward, v is positive and drag is downward. If it moves downward, v is negative and −kv points upward. In either case, a larger speed means a larger drag force in this model.

Corey
The total force is gravity plus drag, so Newton’s second law gives −mg − kv equals m times dv/dt. Divide by m and we get v-prime equals −g minus k over m times v. Unlike the no-drag equation, mass no longer cancels out of the model.

Simon
This is an autonomous differential equation: its right-hand side depends on the current velocity, but not explicitly on time. It isn’t a pure constant-antiderivative problem, so we can’t just integrate a constant. One way to solve it is separation of variables: gather the velocity terms with dv on one side and the time terms with dt on the other, then integrate.

Corey
The resulting velocity is v of t equals the quantity v-zero plus mg over k, multiplied by e to the power negative kt over m, minus mg over k. The exponential term shrinks as time passes, so the velocity approaches negative mg over k.

Simon
That limiting velocity is the terminal velocity in this model. It’s also an equilibrium solution: if the object is already moving at negative mg over k, then v-prime is zero and it stays at that velocity. For other starting velocities, the solutions approach it.

Corey
For an upward launch, the maximum height occurs when the velocity falls to zero. Set the drag-model formula equal to zero and solve for time. The result is t-maximum equals m over k times the natural log of one plus kv-zero over mg.

Simon
For the illustrative choices m equals 1, k equals 1, g equals 9.8, and v-zero equals 20, that predicts about 1.11 seconds to the peak. The no-drag model predicted about 2.04 seconds. They’re quite different predictions, which is a reason to compare a model with experiments rather than assume one simple approximation is always accurate.

Corey
We can understand the drag equation with a slope field. For the same example parameters, it’s v-prime equals −9.8 minus v. At each point in a time-versus-velocity plane, the slope of a solution curve is given by that right-hand side evaluated at the point’s velocity.

Simon
Because time doesn’t appear in the right-hand side, every point along a horizontal line with the same velocity has the same slope. At velocity 5, for example, the slope is −9.8 minus 5, or −14.8. At velocity −9.8, the slope is zero; above that velocity slopes are negative, and below it they’re positive.

Corey
So the horizontal line v equals −9.8 is the equilibrium solution for these parameter choices. A solution starting above it moves downward toward it, while the equilibrium attracts the other solutions. We can also graph the right-hand side itself against v: it’s a line crossing zero at −9.8, and its positive or negative values show the direction in which velocity changes.

Simon
What if we want an approximation instead of solving the equation exactly? Euler’s method uses the current slope to estimate the next value. In general, v at the next step equals the current v plus the step size times the current slope: v-next equals v-current plus h times f of v-current.

Corey
Let’s apply it to the same equation, v-prime equals −9.8 minus v, starting from v-zero equals 20. Use the interval from t equals 0 to t equals 1 and take two equal steps. The step size is h equals one-half, and the mesh points are 0, 0.5, and 1.

Simon
At the first step, the slope at velocity 20 is −29.8. Euler’s update gives v-one approximately 20 plus 0.5 times −29.8, which is 5.1. At the second step, use the new estimate: the slope at 5.1 is −14.9, giving v-two approximately 5.1 plus 0.5 times −14.9, or −2.35.

Corey
We can compare those estimates with the exact solution. At time 0.5, the exact velocity is about 8.27; at time 1, it’s about 1.16. Define error as actual value minus approximate value. That makes the errors about 3.17 and 3.51, respectively.

Simon
In this example the error grows from one step to the next, but that doesn’t happen in every problem. A graph makes the difference visible: the exact solution follows the slope field, while Euler’s method gives points that we can connect with straight segments for a basic illustration. More steps can improve an approximation, and numerical work may use more accurate methods, such as Runge–Kutta methods.

Corey
So we’ve built the free-fall model from Newton’s second law, solved it with and without linear drag, and used parameter changes, slope fields, and Euler’s method to interpret the results. The key habit throughout is to know what each symbol represents—and whether, for the question at hand, we’re holding it fixed or varying it.

Ask anything
We've read this whole study set, so questions about it get the best answers.