1. Home
  2. Explore
  3. Mathematics
  4. Free Fall and Differential Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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)y(t)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)=dydtv(t)=\frac{dy}{dt}v(t)=dtdy​ is the object’s vertical velocity, measured in meters per second. Upward velocity is positive; downward velocity is negative.

  • a(t)=dvdt=d2ydt2a(t)=\frac{dv}{dt}=\frac{d^2y}{dt^2}a(t)=dtdv​=dt2d2y​ is the vertical acceleration.

  • mmm is the object’s mass, measured in kilograms.

  • ttt is time, measured in seconds.

  • ggg is the magnitude of gravitational acceleration near Earth’s surface, approximately 9.8 m/s29.8\ \text{m/s}^29.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:

Fgravity=−mg.F_{\text{gravity}}=-mg.Fgravity​=−mg.

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=maF=maF=ma, gives

ma=−mg.ma=-mg.ma=−mg.

Because the mass is nonzero, it cancels:

a=−g.a=-g.a=−g.

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

d2ydt2=−g.\frac{d^2y}{dt^2}=-g.dt2d2y​=−g.

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=dydtv=\frac{dy}{dt}v=dtdy​, acceleration can also be written as dvdt\frac{dv}{dt}dtdv​. The motion is therefore described by the equivalent first-order equation

dvdt=−g.\frac{dv}{dt}=-g.dtdv​=−g.

Integrating with respect to time gives the general velocity function

v(t)=−gt+C,v(t)=-gt+C,v(t)=−gt+C,

where CCC is an arbitrary constant. Differentiating this function gives v′(t)=−gv'(t)=-gv′(t)=−g, regardless of the value of CCC, so it solves the differential equation.

An initial condition specifies the velocity at a particular time. If the initial velocity is v(0)=v0v(0)=v_0v(0)=v0​, then C=v0C=v_0C=v0​, giving

v(t)=v0−gt.v(t)=v_0-gt.v(t)=v0​−gt.

Integrating velocity gives height. If the initial height is y(0)=y0y(0)=y_0y(0)=y0​, then

y(t)=y0+v0t−12gt2.y(t)=y_0+v_0t-\frac{1}{2}gt^2.y(t)=y0​+v0​t−21​gt2.

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 ggg. At the highest point, its velocity is momentarily zero. Setting v(t)=0v(t)=0v(t)=0 in v(t)=v0−gtv(t)=v_0-gtv(t)=v0​−gt gives

tmax⁡=v0g,t_{\max}=\frac{v_0}{g},tmax​=gv0​​,

provided v0>0v_0>0v0​>0.

Substituting this time into the height function gives

ymax⁡=y0+v022g.y_{\max}=y_0+\frac{v_0^2}{2g}.ymax​=y0​+2gv02​​.

If the object begins at ground level, so that y0=0y_0=0y0​=0, the maximum height above the ground is v022g\frac{v_0^2}{2g}2gv02​​.

Time when the object hits the ground

The ground corresponds to y=0y=0y=0. Setting the height function equal to zero and solving the resulting quadratic equation gives the time at which the object reaches the ground:

tground=v0+v02+2gy0g.t_{\text{ground}} = \frac{v_0+\sqrt{v_0^2+2gy_0}}{g}.tground​=gv0​+v02​+2gy0​​​.

This expression gives the physically relevant, nonnegative time for an object launched upward from height y0≥0y_0\geq 0y0​≥0. If the launch height is zero and the initial velocity is upward, it simplifies to

tground=2v0g.t_{\text{ground}}=\frac{2v_0}{g}.tground​=g2v0​​.

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.5y_0=1.5y0​=1.5 meters with upward velocity v0=20v_0=20v0​=20 meters per second, using g=9.8g=9.8g=9.8 meters per second squared. Its mass does not affect the result in this no-drag model.

The time to maximum height is

tmax⁡=209.8≈2.04 seconds.t_{\max}=\frac{20}{9.8}\approx 2.04\text{ seconds}.tmax​=9.820​≈2.04 seconds.

The maximum height is

ymax⁡=1.5+2022(9.8)≈21.9 meters.y_{\max}=1.5+\frac{20^2}{2(9.8)} \approx 21.9\text{ meters}.ymax​=1.5+2(9.8)202​≈21.9 meters.

The time to hit the ground is

tground=20+202+2(9.8)(1.5)9.8≈4.16 seconds.t_{\text{ground}} = \frac{20+\sqrt{20^2+2(9.8)(1.5)}}{9.8} \approx 4.16\text{ seconds}.tground​=9.820+202+2(9.8)(1.5)​​≈4.16 seconds.

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, ggg, y0y_0y0​, and v0v_0v0​ 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 ttt and the resulting height y(t)y(t)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 v0v_0v0​, increasing y0y_0y0​ 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 v0v_0v0​ 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:

Fdrag=−kv,F_{\text{drag}}=-kv,Fdrag​=−kv,

where k>0k>0k>0 is a drag constant. The minus sign ensures that the force opposes the motion:

  • If v>0v>0v>0, the object moves upward and drag acts downward.

  • If v<0v<0v<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:

Ftotal=−mg−kv.F_{\text{total}}=-mg-kv.Ftotal​=−mg−kv.

Applying Newton’s second law gives

mdvdt=−mg−kv,m\frac{dv}{dt}=-mg-kv,mdtdv​=−mg−kv,

or, after division by mmm,

dvdt=−g−kmv.\frac{dv}{dt}=-g-\frac{k}{m}v.dtdv​=−g−mk​v.

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)=v0v(0)=v_0v(0)=v0​, the solution is

v(t)=(v0+mgk)e−kt/m−mgk.v(t)=\left(v_0+\frac{mg}{k}\right)e^{-kt/m}-\frac{mg}{k}.v(t)=(v0​+kmg​)e−kt/m−kmg​.

The velocity approaches the constant value

vterminal=−mgkv_{\text{terminal}}=-\frac{mg}{k}vterminal​=−kmg​

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=−mgkv_0=-\frac{mg}{k}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

tmax⁡=mkln⁡(1+kv0mg),t_{\max} = \frac{m}{k} \ln\left(1+\frac{kv_0}{mg}\right),tmax​=km​ln(1+mgkv0​​),

for an upward launch with v0>0v_0>0v0​>0.

In the illustrative parameter choice m=1m=1m=1, k=1k=1k=1, g=9.8g=9.8g=9.8, and v0=20v_0=20v0​=20, this predicts a time to maximum height of approximately 1.111.111.11 seconds. The no-drag model predicts approximately 2.042.042.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

dvdt=f(v),\frac{dv}{dt}=f(v),dtdv​=f(v),

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)(t,v)(t,v), a short line segment is drawn with slope f(v)f(v)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.8g=9.8g=9.8, m=1m=1m=1, and k=1k=1k=1, the equation becomes

dvdt=−9.8−v.\frac{dv}{dt}=-9.8-v.dtdv​=−9.8−v.

At velocity v=5v=5v=5, the slope is −14.8-14.8−14.8. At velocity v=0v=0v=0, it is −9.8-9.8−9.8. At v=−20v=-20v=−20, it is 10.210.210.2. The slope is zero when v=−9.8v=-9.8v=−9.8.

Equilibrium and stability

A constant solution occurs when the derivative is zero. For this example, the equilibrium velocity satisfies

−9.8−v=0,-9.8-v=0,−9.8−v=0,

so v=−9.8v=-9.8v=−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)f(v)f(v) against vvv. The horizontal coordinate is velocity, and the vertical coordinate is the derivative dvdt\frac{dv}{dt}dtdv​. This graph reveals where solutions increase, decrease, or remain constant:

  • Where f(v)>0f(v)>0f(v)>0, velocity is increasing.

  • Where f(v)<0f(v)<0f(v)<0, velocity is decreasing.

  • Where f(v)=0f(v)=0f(v)=0, velocity is at an equilibrium.

For the linear-drag model, f(v)f(v)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:

vn+1=vn+f(vn)Δt,v_{n+1}=v_n+f(v_n)\Delta t,vn+1​=vn​+f(vn​)Δt,

where Δt\Delta tΔ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=at=at=a to t=bt=bt=b divided into NNN equal steps,

Δt=b−aN.\Delta t=\frac{b-a}{N}.Δt=Nb−a​.

The method begins at the known initial value and repeatedly applies the update rule.

Two-step example

Consider

dvdt=−9.8−v,v(0)=20.\frac{dv}{dt}=-9.8-v,\qquad v(0)=20.dtdv​=−9.8−v,v(0)=20.

Approximate the solution from t=0t=0t=0 to t=1t=1t=1 using two equal steps. The step size is

Δt=1−02=0.5.\Delta t=\frac{1-0}{2}=0.5.Δt=21−0​=0.5.

At the first step, v0=20v_0=20v0​=20, so the estimated change is (−9.8−20)(0.5)=−14.9(-9.8-20)(0.5)=-14.9(−9.8−20)(0.5)=−14.9. Thus,

v1=20−14.9=5.1.v_1=20-14.9=5.1.v1​=20−14.9=5.1.

At the second step, the slope is evaluated at the current estimate v1=5.1v_1=5.1v1​=5.1:

v2=5.1+(−9.8−5.1)(0.5)=−2.35.v_2=5.1+(-9.8-5.1)(0.5)=-2.35.v2​=5.1+(−9.8−5.1)(0.5)=−2.35.

These are approximations at t=0.5t=0.5t=0.5 and t=1t=1t=1, respectively.

Comparing approximations with the exact solution

For this equation, the exact solution is

v(t)=29.8e−t−9.8.v(t)=29.8e^{-t}-9.8.v(t)=29.8e−t−9.8.

It gives approximately

v(0.5)≈8.27,v(1)≈1.16.v(0.5)\approx 8.27,\qquad v(1)\approx 1.16.v(0.5)≈8.27,v(1)≈1.16.

Define the signed error as actual value minus approximate value:

error=actual value−approximate value.\text{error}=\text{actual value}-\text{approximate value}.error=actual value−approximate value.

The first Euler error is approximately 8.27−5.1=3.178.27-5.1=3.178.27−5.1=3.17, and the second is approximately 1.16−(−2.35)=3.511.16-(-2.35)=3.511.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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent