Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The central enterprise of physics is making and testing models of physical systems. These models we developed are based on the assumptions we make about the physical systems we are studying. As we characterize the system, we make simplifying assumptions that allow us to describe the system in terms of a few key quantities. These quantities are often called the “degrees of freedom” of the system.

In Classical Mechanics, we will use formulations of physics, such as Newton’s Laws, to describe the motion of particles. We can also use the Lagrangian and Hamiltonian formulations of mechanics. These formulations are mathematical expressions of the physical laws that govern the motion of particles.

Typically, those expressions are differential equations that describe how the system evolves in time. Our work in classical mechanics is to develop techniques and tools that let us investigate the solutions to these equations. These differential equations are commonly called equations of motion (EOM). An equation of motion describes the evolution of the agents (particles) as they interact with their surroundings and each other.

Newtonian Examples of Classical Models

From a Newtonian perspective, our equations of motion are often second-order differential equations. This stems from the fact that Newton’s second law relates the acceleration of a particle to the forces acting on it. The second law is given by the equation:

F⃗net=ma⃗=mx⃗¨\vec{F}_{\text{net}} = m \vec{a} = m\ddot{\vec{x}}

where x⃗\vec{x} is the position vector and x⃗¨=d2x⃗dt2\ddot{\vec{x}}=\frac{d^2\vec{x}}{dt^2} is the acceleration vector. Thus, Newton’s second law is a general EOM that describes the dynamics of a particle of mass, mm:

d2x⃗dt2=F⃗netm\frac{d^2\vec{x}}{dt^2} = \dfrac{\vec{F}_{\text{net}}}{m}

Example: Falling Ball with No Air Resistance

Consider a ball of mass mm falling down. We define the positive yy direction to be down as in the figure showing the FBD of the ball.

FBD of a falling ball

We can apply Newton’s laws to obtain the specific EOM for the ball.

F⃗net=ma⃗=mx⃗¨\vec{F}_{\text{net}} = m \vec{a} = m\ddot{\vec{x}}

This is a 1D case in the yy direction,

Fnet,y=W=mg=my¨F_{\text{net,y}} = W = mg = m \ddot{y}

Thus,

y¨=g\ddot{y} = g

is the specific EOM for the ball.

Example: Simple Harmonic Oscillator

We will spend a lot of time studying the simple harmonic oscillator (SHO) in this course. The SHO is a system that oscillates back and forth around an equilibrium position. It is a very common system in physics and is used a base model for many more complex systems. Consider a mass, mm, attached to a spring with spring constant, kk, sitting on a frictionless horizontal plane as in the figure below.

FBD of a simple harmonic oscillator

The EOM for the SHO can be derived form Newton’s Second Law.

F⃗net=ma⃗=mx⃗¨\vec{F}_{\text{net}} = m \vec{a} = m\ddot{\vec{x}}

This is a 1D case in the xx direction,

Fnet,x=Fspring=−kx=mx¨F_{\text{net,x}} = F_{\text{spring}} = -kx = m \ddot{x}

And thus,

x¨=−kmx\ddot{x} = -\dfrac{k}{m}x

is the specific EOM for the SHO. As we will learn, this restoring force causes the mass to oscillate back and forth around the equilibrium position, with a well known frequency, ω=km\omega = \sqrt{\dfrac{k}{m}}.

Turning Observations into Models

One of the more challenging aspects of physics is how we work to make models of the observations we have. This a long and challenging process in general, but if we have a general schematic, we can make progress. The hand drawn figure below provides such a schematic.

Framework for making models

In the schematic, our observations are the starting point. Using our framework for physics (e.g., Newton’s Laws) and making the appropriate assumptions (in blue), we can develop a model (in red) of the system. By conducting analysis and investigating the evolution of the model, we produce predictions (in green). We can then compare those predictions to our observations to evaluate how well our model describes the system.

In this class, we mostly focus on the elements circled in purple where we develop models, and use them to predict. The core part of this class is the orange circled elements of modeling and predicting. We will spend a lot of time developing the tools and techniques to make these predictions.

Modeling Process

Making models of physical systems is greatly helped by considering the following steps:

Let’s turn to an example you have seen before: the falling ball.

Example: Falling Ball in 1D

Consider a ball of mass mm falling with air resistance. Here, we have already done some of the work above. We have identified the phenomenon, and started to indicate the interactions.

FBD of a falling ball with air resistance

In the figure above, we have identified the forces acting on the ball. We have the gravitational force, W=mgW = mg, and the air resistance, FairF_{\text{air}}. We have chosen the linear mode for air-resistance, which is a choice of model given the assumption that the ball moves very slowly -- this is not a good assumption in this case, but makes the mathematical analysis simpler.

We have also chosen our coordinate system, with the positive yy direction pointing down.

We choose a Newtonian framework for our physics because we are familiar with it. And thus, we can develop the EOM:

F⃗net=ma⃗=mx⃗¨\vec{F}_{\text{net}} = m \vec{a} = m\ddot{\vec{x}}

In 1d,

Fnet,y=W−Fair=mg−bv=my¨F_{\text{net,y}} = W - F_{\text{air}} = mg - bv = m \ddot{y}

So that the EOM is,

y¨=g−bmv\ddot{y} = g - \dfrac{b}{m}v

Question: What happens with y¨=0\ddot{y} = 0?

Once the ball has no acceleration, the two forces are balanced. This is the terminal velocity of the ball. We can solve for this by setting y¨=0\ddot{y} = 0:

0=g−bmvterm0 = g - \dfrac{b}{m}v_{\text{term}}
vterm=mgbv_{\text{term}} = \dfrac{mg}{b}

This is the terminal velocity of the ball for linear drag. When the ball reaches this speed (and does so asymptotically), the forces are balanced and the ball will fall at a constant speed.

Question can we solve this differential equation?

The differential equation y¨=g−bmv\ddot{y} = g - \dfrac{b}{m}v is a second-order differential equation for yy. We can solve this equation analytically by recasting it as a first-order differential equation for vv, which we solve for and then integrate to find y(t)y(t).

v˙=g−bmv\dot{v} = g - \dfrac{b}{m}v

We will do that later, for now, let’s hack off the drag bit and return to the simple falling ball. Our simplified EOM is:

y¨=g\ddot{y} = g

Note this is written as a second order ODE for yy:

d2ydt2=g\dfrac{d^2y}{dt^2} = g

It is possible also to recast these kinds of second-order differential equations as a pair of 1st order differential equations for yy and vv:

dvdt=gdydt=v\dfrac{dv}{dt} = g \qquad \dfrac{dy}{dt} = v

This is a common technique in physics and engineering to solve second-order differential equations. Let’s solve this for completeness.

dvdt=g⟶a constant\dfrac{dv}{dt} = g \longrightarrow \textrm{a constant}

We can integrate:

∫v0v(t)dv=∫0tgdt\int_{v_0}^{v(t)} dv = \int_{0}^{t} g dt
v(t)−v0=gtv(t) - v_0 = gt

We obtain the velocity as a function of time for constant acceleration:

v(t)=v0+gtv(t) = v_0 + gt

Now we can integrate the velocity to obtain the position as a function of time:

dydt=v⟶a function of time\dfrac{dy}{dt} = v \longrightarrow \textrm{a function of time}
∫y0y(t)dy=∫0tv0+gtdt\int_{y_0}^{y(t)} dy = \int_{0}^{t} v_0 + gt dt
y(t)−y0=v0t+12gt2y(t) - y_0 = v_0 t + \dfrac{1}{2}gt^2

We obtain the position as a function of time for constant acceleration, the standard kinematic equation:

y(t)=y0+v0t+12gt2y(t) = y_0 + v_0 t + \dfrac{1}{2}gt^2

Why the ‘plus’ sign on the last term? Because we choose positive yy to be down, and the ball is accelerating down.

Discrete Formulation of Newtonian Mechanics

Most of our experience so far has been solving problems where we can find continuous functions that are the anti-derivatives of the functions we are integrating. This leads to standard formulae that we can use to predict or plot our results.

However, there are very few systems for which we can write down EOMs that have known solutions. In these cases, we need to turn to numerical methods to solve the equations of motion. To do this, we need a discrete formulation of the EOMs.

Let’s focus on 1D:

d2ydt2=Fm\dfrac{d^2y}{dt^2} = \dfrac{F}{m}

We can write this as a pair of first-order differential equations:

dydt=vanddvdt=Fm\dfrac{dy}{dt} = v \quad \textrm{and} \quad \dfrac{dv}{dt} = \dfrac{F}{m}

Let’s allow ourselves to consider instead a small time interval of the evolution, Δt\Delta t. We can then write the velocity equation as:

dvdt=ΔvΔt=v(t+Δt)−v(t)Δt=Fm\dfrac{dv}{dt} = \dfrac{\Delta v}{\Delta t}= \dfrac{v(t+\Delta t) - v(t)}{\Delta t} = \dfrac{F}{m}

We can turn this into a discrete equation by multiplying through by Δt\Delta t: prediction of the velocity at the next time step:

v(t+Δt)=v(t)+FmΔtv(t+\Delta t) = v(t) + \dfrac{F}{m} \Delta t

This is the “velocity update” equation, or more generally, the Euler step for velocity. Given the information at time tt, F(t)F(t), mm, and v(t)v(t), we can predict the velocity at the next time step.

v(t+Δt)=v(t)+F(t)mΔtv(t+\Delta t) = v(t) + \dfrac{F(t)}{m} \Delta t

Great! But that is just for velocity, can we do the same for position?

Yes

We can use the same logic to predict the position at the next time step:

dydt=v\dfrac{dy}{dt} = v

If we discretize this, we realize we just have the definition of the average velocity:

dydt=vavg\dfrac{dy}{dt} = v_{\textrm{avg}}

We can then write the position update equation:

y(t+Δt)=y(t)+vavgΔty(t+\Delta t) = y(t) + v_{\textrm{avg}} \Delta t

What is left is to determine what should be the estimate for vavgv_{\textrm{avg}}.

Euler-Cromer Step

Taken together, we obtain the Euler-Cromer step for the position and velocity:

v(t+Δt)=v(t)+F(t)mΔtv(t+\Delta t) = v(t) + \dfrac{F(t)}{m} \Delta t
y(t+Δt)=y(t)+v(t+Δt)Δty(t+\Delta t) = y(t) + v(t+\Delta t) \Delta t

This method was accidentally discovered by a high-school physics student called Abby Aspel. It was later explored by Alan Cromer, who wrote up this method in the American Journal of Physics.

In three-dimensions, this method is simply written in a vector form:

v⃗(t+Δt)=v⃗(t)+F⃗(t)mΔt\vec{v}(t+\Delta t) = \vec{v}(t) + \dfrac{\vec{F}(t)}{m} \Delta t
r⃗(t+Δt)=r⃗(t)+v⃗(t+Δt)Δt\vec{r}(t+\Delta t) = \vec{r}(t) + \vec{v}(t+\Delta t) \Delta t

Let’s check that the Euler-Cromer step actually reproduces motion we already know how to solve analytically. For the simple falling ball with no drag, we can compare the discrete steps against the exact kinematic equation, y(t)=y0+v0t+12gt2y(t) = y_0 + v_0 t + \frac{1}{2}gt^2.

<Figure size 600x400 with 1 Axes>

Analytical Solutions to the Air-Resistance Problem

We can solve the air-resistance problem analytically. We have the EOM for velocity:

v˙=g−bmv−cmv2\dot{v} = g - \dfrac{b}{m}v - \dfrac{c}{m}v^2

Linear Drag

Let’s take the linear limit first, c=0c=0.

v˙=g−bmv\dot{v} = g - \dfrac{b}{m}v

We can solve this equation by separating variables:

dvg−bmv=dt\dfrac{dv}{g - \dfrac{b}{m}v} = dt

We can integrate both sides:

∫dvg−bmv=∫dt\int \dfrac{dv}{g - \dfrac{b}{m}v} = \int dt
−mbln⁡∣g−bmv∣=t+C-\dfrac{m}{b} \ln|g - \dfrac{b}{m}v| = t + C

We can solve for v(t)v(t):

g−bmv=e−bmt−Cg - \dfrac{b}{m}v = e^{-\dfrac{b}{m}t - C}
v(t)=mgb−mbe−bmt−Cv(t) = \dfrac{mg}{b} - \dfrac{m}{b}e^{-\dfrac{b}{m}t - C}

We can solve for the constant CC by using the initial condition v(0)=v0v(0) = v_0:

v0=mgb−mbe−Cv_0 = \dfrac{mg}{b} - \dfrac{m}{b}e^{-C}
mbe−C=mgb−v0\dfrac{m}{b}e^{-C} = \dfrac{mg}{b} - v_0
v(t)=mgb−(mgb−v0)e−bmtv(t) = \dfrac{mg}{b} - \left(\dfrac{mg}{b} - v_0\right)e^{-\dfrac{b}{m}t}

When v0=0v_0 = 0, we find:

v(t)=mgb(1−e−bmt)v(t) = \dfrac{mg}{b}\left(1 - e^{-\dfrac{b}{m}t}\right)

And as t→∞t \to \infty, we find the terminal velocity:

vterm=lim⁡t→∞v(t)=mgbv_{\text{term}} = \lim_{t \to \infty} v(t) = \dfrac{mg}{b}

Quadratic Drag

In the case of quadratic drag, we have:

v˙=g−cmv2\dot{v} = g - \dfrac{c}{m}v^2

We can find the terminal velocity by setting v˙=0\dot{v} = 0:

0=g−cmvterm20 = g - \dfrac{c}{m}v_{\text{term}}^2
vterm=mgcv_{\text{term}} = \sqrt{\dfrac{mg}{c}}

Thus, we recast the problem in terms of the terminal velocity:

v˙=g(1−v2vterm2)\dot{v} = g\left(1 - \dfrac{v^2}{v_{\text{term}}^2}\right)

We can separate variables and integrate:

∫dv1−v2vterm2=∫gdt\int \dfrac{dv}{1 - \dfrac{v^2}{v_{\text{term}}^2}} = \int g dt

Assume we start at rest, v(0)=0v(0) = 0

We can solve for v(t)v(t), by using the proper limits:

∫0v(t)dv1−v2vterm2=∫0tgdt\int_{0}^{v(t)} \dfrac{dv}{1 - \dfrac{v^2}{v_{\text{term}}^2}} = \int_{0}^{t} g dt

This is a known integral and yields:

vterm2ln⁡∣vterm+vvterm−v∣=gt\dfrac{v_{\text{term}}}{2}\ln\left|\dfrac{v_{\text{term}} + v}{v_{\text{term}} - v}\right| = gt

With the initial condition v(0)=0v(0) = 0, we find:

vtermgtanh⁡−1(vvterm)=t\dfrac{v_{\text{term}}}{g} \tanh^{-1}\left(\dfrac{v}{v_{\text{term}}}\right) = t

And thus, we find the velocity as a function of time:

v(t)=vtermtanh⁡(gtvterm)v(t) = v_{\text{term}}\tanh\left(\dfrac{gt}{v_{\text{term}}}\right)

The plot below compares how a falling object approaches the same terminal velocity under linear drag (exponential approach) versus quadratic drag (tanh⁡\tanh approach).

<Figure size 600x400 with 1 Axes>