Free Fall and Differential Equations
Free Fall, Air Resistance, and Numerical Solutions
Modeling vertical motion
A mathematical model begins by defining the quantities and choosing a sign convention. For one-dimensional vertical motion:
y(t) is the object’s height above the ground, measured in meters. Height is positive above the ground and may be negative below it.
v(t)=dtdy is the object’s vertical velocity, measured in meters per second. Upward velocity is positive; downward velocity is negative.
a(t)=dtdv=dt2d2y is the vertical acceleration.
m is the object’s mass, measured in kilograms.
t is time, measured in seconds.
g is the magnitude of gravitational acceleration near Earth’s surface, approximately 9.8 m/s2.
The positive direction is upward, but gravity acts downward. This sign convention is why gravitational force and gravitational acceleration are negative.
The goal is to determine how height and velocity change with time, then use those functions to answer questions such as when an object reaches its highest point or returns to the ground.
Free fall without air resistance
Newton’s second law and the equation of motion
Near Earth’s surface, gravitational force is modeled as approximately constant:
This is an approximation that works well near the surface of Earth. Gravity is not truly constant at all distances, but its variation is small over ordinary heights.
Newton’s second law, F=ma, gives
Because the mass is nonzero, it cancels:
Thus, in this model, objects with different masses have the same acceleration if air resistance is neglected. If their initial heights and velocities are also the same, the model predicts that they follow the same motion.
Since acceleration is the second derivative of height, the equation for height is
This is a second-order differential equation because the highest derivative appearing is the second derivative.
Solving for velocity and height
It is useful to introduce velocity as a new dependent variable. Since v=dtdy, acceleration can also be written as dtdv. The motion is therefore described by the equivalent first-order equation
Integrating with respect to time gives the general velocity function
where C is an arbitrary constant. Differentiating this function gives v′(t)=−g, regardless of the value of C, so it solves the differential equation.
An initial condition specifies the velocity at a particular time. If the initial velocity is v(0)=v0, then C=v0, giving
Integrating velocity gives height. If the initial height is y(0)=y0, then
This is the unique motion described by the model for the specified initial height and velocity. Its graph as a function of time is a downward-opening parabola.
General solution and initial conditions: A general solution contains arbitrary constants and represents a family of possible solutions. Initial conditions select the constants needed for one specific solution.
Maximum height and return to the ground without drag
Time and height at the maximum
If an object is thrown upward, its velocity is initially positive and decreases at the constant rate g. At the highest point, its velocity is momentarily zero. Setting v(t)=0 in v(t)=v0−gt gives
provided v0>0.
Substituting this time into the height function gives
If the object begins at ground level, so that y0=0, the maximum height above the ground is 2gv02.
Time when the object hits the ground
The ground corresponds to y=0. Setting the height function equal to zero and solving the resulting quadratic equation gives the time at which the object reaches the ground:
This expression gives the physically relevant, nonnegative time for an object launched upward from height y0≥0. If the launch height is zero and the initial velocity is upward, it simplifies to
The other root of the quadratic does not represent the later return to the ground.
Example: an object launched upward
Suppose an object starts at height y0=1.5 meters with upward velocity v0=20 meters per second, using g=9.8 meters per second squared. Its mass does not affect the result in this no-drag model.
The time to maximum height is
The maximum height is
The time to hit the ground is
Treating parameters as variables
A model may contain constants that are fixed for one particular situation but can vary when comparing different situations. For the example above, g, y0, and v0 can be treated as fixed numbers when calculating one trajectory. They can also be treated as parameters when investigating how the outcome changes with launch height, launch velocity, or gravitational strength.
This distinction is useful:
A variable changes within a given solution, such as time t and the resulting height y(t).
A parameter is held fixed while one solution is considered, but may be changed to compare different situations.
An arbitrary constant in a general solution is not yet fixed by initial data; an initial condition determines its value.
For example, the formula for time to hit the ground can be studied as a function of initial height while keeping the initial velocity fixed. At fixed v0, increasing y0 increases the time to reach the ground. The increase is not linear: the graph is increasing and concave down, so equal increases in height produce progressively smaller increases in flight time.
The return time can also be studied as a function of initial upward velocity. If the launch is from ground level, the relationship is exactly proportional: doubling v0 doubles the return time. At a positive initial height, the dependence is not exactly linear, although it becomes increasingly close to linear for sufficiently large launch velocities.
Thinking of parameters this way allows one formula to describe many related physical situations rather than solving each numerical case separately.
Free fall with linear air resistance
Modeling drag
Air resistance, also called drag, acts opposite to the direction of motion. Its precise form can depend on an object’s shape, speed, and other factors. A simple first approximation assumes that drag is proportional to velocity:
where k>0 is a drag constant. The minus sign ensures that the force opposes the motion:
If v>0, the object moves upward and drag acts downward.
If v<0, the object moves downward and drag acts upward.
A greater speed produces a greater drag force in this model.
The total force is the sum of gravity and drag:
Applying Newton’s second law gives
or, after division by m,
Unlike the no-drag equation, this equation depends on the current velocity. The mass does not cancel out of the drag term, so mass affects the predicted motion when air resistance is included.
Solving for velocity
The velocity equation can be solved by separation of variables or by using the standard method for a first-order linear differential equation. With initial velocity v(0)=v0, the solution is
The velocity approaches the constant value
as time increases. This is the terminal velocity: the downward velocity at which drag balances gravity, making the net force and acceleration zero.
If an object begins with velocity v0=−kmg, then its velocity remains at that value. Otherwise, its velocity approaches terminal velocity over time.
Time to reach maximum height
For an object initially thrown upward, the maximum height occurs when its velocity first reaches zero. Setting the velocity formula equal to zero and solving for time gives
for an upward launch with v0>0.
In the illustrative parameter choice m=1, k=1, g=9.8, and v0=20, this predicts a time to maximum height of approximately 1.11 seconds. The no-drag model predicts approximately 2.04 seconds for the same initial velocity. The models differ because drag opposes upward motion and reduces the time spent rising.
The height can be found by integrating the velocity function, but the result is more complicated than the no-drag parabola. To determine when the object hits the ground, one must find the time at which this height function equals zero.
Slope fields and autonomous equations
The drag model’s velocity equation has the form
where the rate of change depends on velocity but not explicitly on time. Such an equation is called autonomous.
A slope field represents the differential equation graphically. At each point (t,v), a short line segment is drawn with slope f(v). For an autonomous equation, all points with the same velocity have the same slope. Therefore, the slope segments are constant along horizontal lines in the time–velocity plane.
For example, with g=9.8, m=1, and k=1, the equation becomes
At velocity v=5, the slope is −14.8. At velocity v=0, it is −9.8. At v=−20, it is 10.2. The slope is zero when v=−9.8.
Equilibrium and stability
A constant solution occurs when the derivative is zero. For this example, the equilibrium velocity satisfies
so v=−9.8. This is the terminal-velocity solution.
The equilibrium is stable: solutions beginning above it have negative slopes and move downward toward it, while solutions beginning below it have positive slopes and move upward toward it. The equilibrium attracts nearby solutions, which approach it as time increases.
A related visualization graphs the right-hand side f(v) against v. The horizontal coordinate is velocity, and the vertical coordinate is the derivative dtdv. This graph reveals where solutions increase, decrease, or remain constant:
Where f(v)>0, velocity is increasing.
Where f(v)<0, velocity is decreasing.
Where f(v)=0, velocity is at an equilibrium.
For the linear-drag model, f(v) is a straight line that crosses zero at terminal velocity.
Euler’s method
The basic approximation
Euler’s method approximates a solution to an initial-value problem by taking small steps along the slope field. It uses the local rate of change to estimate the next function value:
where Δt is the time-step size. The change in velocity is approximated by “rate of change times change in time,” reflecting the linear approximation used in calculus.
For an interval from t=a to t=b divided into N equal steps,
The method begins at the known initial value and repeatedly applies the update rule.
Two-step example
Consider
Approximate the solution from t=0 to t=1 using two equal steps. The step size is
At the first step, v0=20, so the estimated change is (−9.8−20)(0.5)=−14.9. Thus,
At the second step, the slope is evaluated at the current estimate v1=5.1:
These are approximations at t=0.5 and t=1, respectively.
Comparing approximations with the exact solution
For this equation, the exact solution is
It gives approximately
Define the signed error as actual value minus approximate value:
The first Euler error is approximately 8.27−5.1=3.17, and the second is approximately 1.16−(−2.35)=3.51. A positive error means the actual value is greater than the approximation; a negative error would mean the approximation is too large.
Euler’s method is not guaranteed to be accurate with a large step size. In this example, the second estimate is farther from the exact solution than the first. Reducing the step size often improves the approximation, though high-precision numerical work generally uses more accurate methods than basic Euler steps.
When plotted, Euler’s method follows the slope field in short straight segments, while the exact solution is a smooth curve. The vertical difference between the two graphs at a given time represents the approximation error.

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