Physics, step by step

Mechanics, drag, oscillations, Lagrangians, electromagnetism and plasma, thermodynamics, fluids and the relativity that GPS needs: derivations, worked examples and practice, college to PhD.

Constants used on this page

c=299 792 458 m/sc=299\,792\,458\ \text{m/s}
e=1.602 176 634×10−19 Ce=1.602\,176\,634\times10^{-19}\ \text{C}
kB=1.380 649×10−23 J/Kk_B=1.380\,649\times10^{-23}\ \text{J/K}
μ0=1.256 637 062 12×10−6 N/A2\mu_0=1.256\,637\,062\,12\times10^{-6}\ \text{N/A}^2
GM⊕=3.986 004 418×1014 m3/s2GM_\oplus=3.986\,004\,418\times10^{14}\ \text{m}^3/\text{s}^2
g0=9.80665 m/s2g_0=9.80665\ \text{m/s}^2

Constants: CODATA 2018 (c, e, m_p, m_e, ε₀, μ₀, k_B and N_A as published). Every number on this page is computed by the site build script.

Try it in the Physics Lab

Newton’s laws and conservation

  • Community college
  • Undergraduate (freshman–senior)

Track: Physics · About 25 min · Numbers verified in build:

You will be able to

State Newton’s laws; derive conservation of momentum and energy; solve a 1-D elastic collision.

Before you start

Algebra, vectors, derivatives. Physics Explained

Intuition first

Forces change motion. If no outside force acts on a group of objects, their total momentum cannot change, and if no energy is lost to heat or sound, their total kinetic energy cannot change either.

🧒 Explain like I’m 10

Push a shopping cart and it speeds up; push a full one and it speeds up less. And when two bumper cars crash, the "oomph" one loses, the other gains, so the total stays the same.

Step by step

  1. F=dpdt,p=mv\mathbf F=\frac{d\mathbf p}{dt},\qquad \mathbf p=m\mathbf v
    Second law in momentum form.
  2. F12=−F21  ⇒  ddt(p1+p2)=0\mathbf F_{12}=-\mathbf F_{21}\;\Rightarrow\;\frac{d}{dt}(\mathbf p_1+\mathbf p_2)=0
    Third law: internal forces cancel, so total momentum is conserved.
  3. W=∫F⋅dr=Δ(12mv2)W=\int\mathbf F\cdot d\mathbf r=\Delta\left(\tfrac12mv^2\right)
    Work–energy theorem.
  4. v1=(m1−m2)u1+2m2u2m1+m2,v2=(m2−m1)u2+2m1u1m1+m2v_1=\frac{(m_1-m_2)u_1+2m_2u_2}{m_1+m_2},\qquad v_2=\frac{(m_2-m_1)u_2+2m_1u_1}{m_1+m_2}
    Solve momentum and kinetic-energy conservation together for an elastic collision.

Worked example

Given
Cart 1: m₁ = 2 kg at u₁ = 3 m/s hits cart 2: m₂ = 1 kg at rest. Elastic collision on a level frictionless track.
Find
Final velocities v₁ and v₂.
Strategy
Use the elastic-collision formulas, then check momentum and energy.
Steps
  1. v₁ = (2 − 1)·3 / 3 = 1.00 m/s
  2. v₂ = 2·2·3 / 3 = 4.00 m/s
  3. p: 2·3 = 6 → 2·1 + 1·4 = 6 kg·m/s
  4. KE: 9.0 J → 9.0 J
Answer
v₁ = 1.0 m/s, v₂ = 4.0 m/s (both forward).
Sanity check
Momentum (6 kg·m/s) and kinetic energy (9 J) are unchanged, and the relative speed reverses (3 m/s before, 3 m/s after), as it must in an elastic collision.
Significance
The same algebra describes a spacecraft gravity assist, seen from the planet’s frame.
Show the Python
m1, u1, m2, u2 = 2.0, 3.0, 1.0, 0.0
v1 = ((m1-m2)*u1 + 2*m2*u2) / (m1+m2)
v2 = ((m2-m1)*u2 + 2*m1*u1) / (m1+m2)
print(v1, v2, m1*v1 + m2*v2, 0.5*m1*v1**2 + 0.5*m2*v2**2)

Auto-checked practice

  1. m/s

    Full solution

    v₂ = 2·1·4/4 = 2.0 m/s; the light cart bounces back at -2.0 m/s.

Practice

  1. A ball falls 20 m from rest (no air). How fast is it moving at the bottom?

    Show solution

    mgh = ½mv², so v = √(2gh) = 19.81 m/s, independent of mass.

Common mistake

Treating momentum as a number instead of a vector: a cart moving backwards has negative momentum.

References

  • D. Halliday, R. Resnick, J. Walker, Fundamentals of Physics, 12th ed., Wiley, 2021.
  • J. R. Taylor, Classical Mechanics, University Science Books, 2005.
  • MIT OpenCourseWare, 8.01 Classical Mechanics and 8.02 Electricity and Magnetism.

Projectiles with air drag (numerical ODE)

  • Undergraduate (freshman–senior)
  • Graduate

Track: Physics · About 40 min · Numbers verified in build:

You will be able to

Write the equations of motion with quadratic drag, see why they have no closed-form solution, and integrate them with the fourth-order Runge–Kutta method.

Before you start

Newton’s second law, vectors, basic Python. Physics Explained

Intuition first

Drag grows with the square of speed and always points against the velocity. That couples the horizontal and vertical motion, so we step the solution forward in small time steps on a computer.

🧒 Explain like I’m 10

Throw a ball and the air keeps tapping it backwards. It doesn’t go as far or as high as it would in space, and it comes down more steeply than it went up.

Step by step

  1. mv˙=mg−12ρCDA ∣v∣ vm\dot{\mathbf v}=m\mathbf g-\tfrac12\rho C_DA\,|\mathbf v|\,\mathbf v
    Quadratic drag, opposite to the velocity.
  2. v˙x=−k∣v∣vx,v˙y=−g−k∣v∣vy,k=ρCDA2m\dot v_x=-k|\mathbf v|v_x,\quad \dot v_y=-g-k|\mathbf v|v_y,\qquad k=\frac{\rho C_DA}{2m}
    Coupled through |v|: no elementary closed form.
  3. vt=2mgρCDAv_t=\sqrt{\frac{2mg}{\rho C_DA}}
    Terminal velocity: drag balances weight.
  4. sn+1=sn+Δt6(k1+2k2+2k3+k4)\mathbf s_{n+1}=\mathbf s_n+\tfrac{\Delta t}{6}(\mathbf k_1+2\mathbf k_2+2\mathbf k_3+\mathbf k_4)
    RK4: global error shrinks like Δt⁴.

Worked example

Given
Generic ball: m = 0.145 kg, diameter 0.074 m, C_D = 0.35, ρ = 1.225 kg/m³; launched at 40 m/s (131 ft/s), 35° above level ground.
Find
Range, apex height and flight time, with and without air.
Strategy
Closed form in vacuum; RK4 with Δt = 1 ms with drag, then halve Δt to check convergence.
Steps
  1. k = ρC_DA/(2m) = 0.00636 1/m
  2. vacuum: R = v₀² sin 70° / g = 153.3 m, h = 26.8 m, t = 4.68 s
  3. RK4 (Δt = 1 ms): R = 93.9 m, h = 20.2 m, t = 4.05 s
  4. RK4 (Δt = 0.5 ms): R = 93.9 m
  5. v_t = 39.3 m/s
Answer
With drag: range 93.9 m (vs 153.3 m), apex 20.2 m (vs 26.8 m), flight time 4.05 s (vs 4.68 s).
Sanity check
Halving the step changes the range by less than 1 mm, so the integration has converged. The launch speed is about the terminal velocity (39.3 m/s), so drag is as large as gravity at launch: a big reduction is expected.
Significance
The same integrator, with thrust and changing air density added, is how trajectories of rockets and re-entering capsules are computed.
Show the Python
import math
m, d, cd, rho, g = 0.145, 0.074, 0.35, 1.225, 9.80665
k = 0.5*rho*cd*math.pi*d*d/4/m
def f(s):
    x, y, vx, vy = s; v = math.hypot(vx, vy)
    return [vx, vy, -k*v*vx, -g - k*v*vy]
s, dt = [0, 0, 40*math.cos(math.radians(35)), 40*math.sin(math.radians(35))], 1e-3
while s[1] >= 0:
    a = f(s); b = f([s[i]+dt/2*a[i] for i in range(4)])
    c = f([s[i]+dt/2*b[i] for i in range(4)]); e = f([s[i]+dt*c[i] for i in range(4)])
    s = [s[i]+dt/6*(a[i]+2*b[i]+2*c[i]+e[i]) for i in range(4)]
print(s[0])

Auto-checked practice

  1. m

    Full solution

    R(45°) = 94.8 m, versus 93.9 m at 35° and 163.2 m in vacuum at 45°.

Practice

  1. Why does the ball come down more steeply than it went up?

    Show solution

    Drag removes horizontal speed the whole time, while gravity keeps adding vertical speed on the way down, so the descent angle is steeper.

Common mistake

Applying drag separately as −k v_x² and −k v_y². The drag magnitude depends on the total speed |v|, not on each component alone.

References

  • J. R. Taylor, Classical Mechanics, University Science Books, 2005.
  • W. H. Press et al., Numerical Recipes, 3rd ed., Cambridge University Press, 2007.
  • F. M. White, Fluid Mechanics, 8th ed., McGraw-Hill, 2016.

Oscillators: simple, damped and eigenvalues

  • Undergraduate (freshman–senior)
  • Graduate

Track: Physics · About 35 min · Numbers verified in build:

You will be able to

Solve the damped harmonic oscillator through its characteristic equation; relate eigenvalues to natural frequency, damping ratio and quality factor; connect to aircraft stability.

Before you start

Linear ODEs with constant coefficients, complex numbers. Physics Explained

Intuition first

Almost every system near equilibrium behaves like a mass on a spring with some friction: bridges, circuits, molecules and aircraft. Two numbers capture it: the natural frequency and the damping ratio.

🧒 Explain like I’m 10

A swing goes back and forth by itself. If you stop pushing, the air and the squeaky chain slowly take its energy and it settles down. Engineers measure how fast it swings and how fast it settles.

Step by step

  1. mx¨+cx˙+kx=0m\ddot x+c\dot x+kx=0
    Newton’s law with a spring force and viscous damping.
  2. x=est  ⇒  s2+2ζωns+ωn2=0,ωn=k/m, ζ=c2kmx=e^{st}\;\Rightarrow\;s^2+2\zeta\omega_ns+\omega_n^2=0,\quad \omega_n=\sqrt{k/m},\ \zeta=\frac{c}{2\sqrt{km}}
    Characteristic equation.
  3. s=−ζωn±i ωn1−ζ2(ζ<1)s=-\zeta\omega_n\pm i\,\omega_n\sqrt{1-\zeta^2}\quad(\zeta<1)
    Underdamped: complex pair; real part = decay rate, imaginary part = damped frequency.
  4. x˙=(01−ωn2−2ζωn)x,Q=12ζ\dot{\mathbf x}=\begin{pmatrix}0&1\\-\omega_n^2&-2\zeta\omega_n\end{pmatrix}\mathbf x,\qquad Q=\frac{1}{2\zeta}
    Same thing as a first-order system: the eigenvalues of the matrix are the roots s. This is exactly the aircraft short-period analysis.

Worked example

Given
m = 1 kg, k = 16 N/m, c = 2 N·s/m.
Find
ω_n, ζ, ω_d, eigenvalues and Q.
Strategy
Plug into the definitions, then the root formula.
Steps
  1. ω_n = √16 = 4.000 rad/s
  2. ζ = 2 / (2√16) = 0.250
  3. ω_d = 4√(1 − 0.0625) = 3.8730 rad/s
  4. s = -1.0 ± 3.8730 i
  5. Q = 1/(2ζ) = 2.0
Answer
ω_n = 4 rad/s, ζ = 0.25, s = -1 ± 3.873i s⁻¹, Q = 2.
Sanity check
|s|² = 1 + 15 = 16 = ω_n², as it must; with ζ < 1 the motion oscillates, and the amplitude falls by e each second.
Significance
Reading stability straight from eigenvalues is the core tool of control engineering and flight dynamics (see the Aero track’s short-period topic).
Show the Python
import numpy as np
m, c, k = 1.0, 2.0, 16.0
A = np.array([[0, 1], [-k/m, -c/m]])
s = np.linalg.eigvals(A)
wn = np.sqrt(k/m); z = c/(2*np.sqrt(k*m))
print(s, wn, z, 1/(2*z))

Auto-checked practice

    Full solution

    ζ = 1.2 / (2·2) = 0.30; ω_n = 4 rad/s.

Practice

  1. What does critical damping (ζ = 1) look like, and where is it used?

    Show solution

    A double real root: the fastest return to rest without overshoot. Door closers and instrument needles are designed near it.

Common mistake

Confusing ω_n with ω_d, or rad/s with hertz: f = ω / (2π).

References

  • J. R. Taylor, Classical Mechanics, University Science Books, 2005.
  • D. Halliday, R. Resnick, J. Walker, Fundamentals of Physics, 12th ed., Wiley, 2021.

Lagrangian and Hamiltonian mechanics

  • Graduate
  • PhD / research

Track: Physics · About 45 min · Numbers verified in build:

You will be able to

Derive equations of motion from Hamilton’s principle; treat the pendulum exactly; see how symmetries give conservation laws (Noether).

Before you start

Calculus of variations basics, partial derivatives, the oscillator topic. Physics Explained

Intuition first

Write one scalar function, L = kinetic − potential energy, in whatever coordinates are natural (an angle, a radius). The equations of motion and the conserved quantities then come out automatically, with no constraint forces to find.

🧒 Explain like I’m 10

Instead of tracking every push and pull, you can describe a swing just by its energy of motion and its height energy. Nature picks the path that keeps a special balance of the two, and from that one rule the whole motion follows.

Step by step

  1. S=∫L(q,q˙,t) dt,δS=0  ⇒  ddt∂L∂q˙−∂L∂q=0S=\int L(q,\dot q,t)\,dt,\quad \delta S=0\;\Rightarrow\;\frac{d}{dt}\frac{\partial L}{\partial\dot q}-\frac{\partial L}{\partial q}=0
    Hamilton’s principle gives the Euler–Lagrange equation.
  2. L=12mℓ2θ˙2+mgℓcos⁡θ  ⇒  θ¨=−gℓsin⁡θL=\tfrac12m\ell^2\dot\theta^2+mg\ell\cos\theta\;\Rightarrow\;\ddot\theta=-\frac{g}{\ell}\sin\theta
    Pendulum, using the angle as the coordinate.
  3. T=4ℓg K(k),k=sin⁡θ02  ⟺  T=2πℓ/gAGM⁡(1,cos⁡θ02)T=4\sqrt{\frac{\ell}{g}}\,K(k),\quad k=\sin\frac{\theta_0}{2}\;\Longleftrightarrow\;T=\frac{2\pi\sqrt{\ell/g}}{\operatorname{AGM}(1,\cos\frac{\theta_0}{2})}
    Exact period from energy conservation; the arithmetic–geometric mean evaluates the elliptic integral K quickly.
  4. H=∑ipiq˙i−L,q˙=∂H∂p, p˙=−∂H∂q;∂L∂q=0⇒p=constH=\sum_i p_i\dot q_i-L,\quad \dot q=\frac{\partial H}{\partial p},\ \dot p=-\frac{\partial H}{\partial q};\qquad \frac{\partial L}{\partial q}=0\Rightarrow p=\text{const}
    Hamilton’s equations. Noether: an ignorable coordinate means a conserved momentum (e.g. angular momentum in a central force).

Worked example

Given
Pendulum ℓ = 1 m, released from rest at θ₀ = 60°, g = 9.80665 m/s².
Find
Small-angle period and exact period.
Strategy
T₀ = 2π√(ℓ/g), then divide by AGM(1, cos 30°).
Steps
  1. T₀ = 2π√(1/9.80665) = 2.0064 s
  2. cos 30° = 0.866025
  3. AGM(1, 0.866025) = 0.931808
  4. T = 2.0064 / 0.931808 = 2.1532 s
Answer
T₀ = 2.006 s; exact T = 2.153 s, 7.3 % longer.
Sanity check
The series T ≈ T₀(1 + θ₀²/16) gives about 6.9 % at 60°; higher terms add the rest. Large swings are always slower than the small-angle formula.
Significance
The Lagrangian route scales to robot arms, spacecraft attitude and orbital perturbation theory, where force diagrams become impractical.
Show the Python
import math
def agm(a, b):
    while abs(a-b) > 1e-15: a, b = (a+b)/2, math.sqrt(a*b)
    return a
L, g, th0 = 1.0, 9.80665, math.radians(60)
T0 = 2*math.pi*math.sqrt(L/g)
print(T0, T0/agm(1, math.cos(th0/2)))

Auto-checked practice

  1. s

    Full solution

    T₀ = 2.8375 s; T = 3.3492 s (18 % longer).

Practice

  1. In a central-force problem written in polar coordinates, which momentum is conserved and why?

    Show solution

    L does not depend on the angle φ (rotational symmetry), so p_φ = mr²φ̇, the angular momentum, is constant: this is Kepler’s second law.

Common mistake

Using sin θ ≈ θ at large amplitude. Above about 20° the small-angle period is off by more than 0.7 %.

References

  • H. Goldstein, C. Poole, J. Safko, Classical Mechanics, 3rd ed., Addison-Wesley, 2002.
  • J. R. Taylor, Classical Mechanics, University Science Books, 2005.

Electromagnetism, Maxwell’s equations and space plasma

  • Undergraduate (freshman–senior)
  • Graduate

Track: Physics · About 40 min · Numbers verified in build:

You will be able to

State Maxwell’s equations, derive the wave speed c, and compute gyroradius and plasma frequency for the solar wind.

Before you start

Vector calculus (div, curl), Newton’s second law. Physics Explained

Intuition first

Four equations describe every electric and magnetic effect, from motors to radio to light itself. In space, where the gas is ionised, the same laws make charged particles gyrate around magnetic field lines.

🧒 Explain like I’m 10

Magnets and electric charges push and pull without touching. A magnet makes charged particles from the Sun spiral around its lines like beads on a wire, which is how Earth’s magnetic field steers them toward the poles and makes the northern lights.

Step by step

  1. ∇ ⁣⋅E=ρε0,∇ ⁣⋅B=0,∇ ⁣×E=−∂B∂t,∇ ⁣×B=μ0J+μ0ε0∂E∂t\nabla\!\cdot\mathbf E=\frac{\rho}{\varepsilon_0},\quad \nabla\!\cdot\mathbf B=0,\quad \nabla\!\times\mathbf E=-\frac{\partial\mathbf B}{\partial t},\quad \nabla\!\times\mathbf B=\mu_0\mathbf J+\mu_0\varepsilon_0\frac{\partial\mathbf E}{\partial t}
    Maxwell’s equations (SI).
  2. ∇2E=μ0ε0∂2E∂t2  ⇒  c=1μ0ε0\nabla^2\mathbf E=\mu_0\varepsilon_0\frac{\partial^2\mathbf E}{\partial t^2}\;\Rightarrow\;c=\frac{1}{\sqrt{\mu_0\varepsilon_0}}
    In vacuum, take the curl of Faraday’s law: a wave equation with speed c.
  3. mv˙=q(E+v×B)  ⇒  rg=mv⊥∣q∣B,ωg=∣q∣Bmm\dot{\mathbf v}=q(\mathbf E+\mathbf v\times\mathbf B)\;\Rightarrow\;r_g=\frac{mv_\perp}{|q|B},\quad \omega_g=\frac{|q|B}{m}
    Lorentz force: circular gyration perpendicular to B.
  4. fpe=12πne2ε0mef_{pe}=\frac{1}{2\pi}\sqrt{\frac{n e^2}{\varepsilon_0 m_e}}
    Electron plasma frequency: radio waves below it cannot pass through the plasma.

Worked example

Given
Solar-wind proton near Earth: v⊥ = 400 km/s, interplanetary field B = 5 nT; electron density n = 5 cm⁻³ (typical values).
Find
Gyroradius, gyro-period, and the electron plasma frequency.
Strategy
Plug CODATA constants into r_g, ω_g and f_pe; keep everything in SI (n = 5×10⁶ m⁻³).
Steps
  1. r_g = (1.6726e-27 · 4e5) / (1.6022e-19 · 5e-9) = 835 km
  2. ω_g = eB/m = 0.4789 rad/s
  3. T_g = 2π/ω_g = 13.12 s
  4. f_pe = 20.08 kHz
  5. c = 1/√(μ₀ε₀) = 299792458 m/s
Answer
r_g ≈ 835 km, gyro-period 13.1 s, f_pe ≈ 20.1 kHz.
Sanity check
The gyroradius is far smaller than Earth’s magnetosphere (tens of thousands of km), so the plasma behaves as a fluid tied to the field. The c from μ₀ and ε₀ reproduces the defined value 299 792 458 m/s.
Significance
These scales decide how space weather reaches satellites and power grids, and why some radio frequencies are reflected by the ionosphere.
Show the Python
import math
mp, e, me, eps0 = 1.67262192369e-27, 1.602176634e-19, 9.1093837015e-31, 8.8541878128e-12
v, B, n = 4.0e5, 5e-9, 5e6
rg = mp*v/(e*B); wg = e*B/mp
fpe = math.sqrt(n*e*e/(eps0*me))/(2*math.pi)
print(rg/1e3, 2*math.pi/wg, fpe/1e3)

Auto-checked practice

  1. m

    Full solution

    r_g = 9.109e-31 · 1e6 / (1.602e-19 · 3e-5) = 0.190 m.

Practice

  1. Why does ∇·B = 0 matter physically?

    Show solution

    There are no magnetic monopoles: field lines never start or end, so they close on themselves. Numerical plasma codes must preserve it or they produce false forces.

Common mistake

Forgetting unit prefixes: 5 nT is 5×10⁻⁹ T, and 5 cm⁻³ is 5×10⁶ m⁻³.

References

  • D. J. Griffiths, Introduction to Electrodynamics, 4th ed., Cambridge University Press, 2017.
  • F. F. Chen, Introduction to Plasma Physics and Controlled Fusion, 3rd ed., Springer, 2016.
  • E. Tiesinga et al., “CODATA Recommended Values of the Fundamental Physical Constants: 2018”, Rev. Mod. Phys. 93, 025010 (2021).

Thermodynamics and statistical mechanics

  • Community college
  • Undergraduate (freshman–senior)
  • Graduate

Track: Physics · About 35 min · Numbers verified in build:

You will be able to

Connect temperature to molecular speed with the Maxwell–Boltzmann distribution; apply the first and second laws; compute Carnot efficiency.

Before you start

Ideal gas law, integrals of Gaussians. Physics Explained

Intuition first

Temperature is average kinetic energy per molecule. Counting the ways molecules can share energy (entropy) explains why heat engines can never turn all their heat into work.

🧒 Explain like I’m 10

Air is made of tiny molecules zooming around faster than a jet airliner. "Hot" just means they zoom faster. And heat always flows from hot to cold, never the other way by itself.

Step by step

  1. f(v)=4π(m2πkBT)3/2v2e−mv2/(2kBT)f(v)=4\pi\left(\frac{m}{2\pi k_BT}\right)^{3/2}v^2e^{-mv^2/(2k_BT)}
    Maxwell–Boltzmann speed distribution.
  2. 12m⟨v2⟩=32kBT  ⇒  vrms=3kBTm,vˉ=8kBTπm\tfrac12m\langle v^2\rangle=\tfrac32k_BT\;\Rightarrow\;v_{rms}=\sqrt{\frac{3k_BT}{m}},\qquad \bar v=\sqrt{\frac{8k_BT}{\pi m}}
    Moments of the distribution (equipartition).
  3. dU=δQ−δW,dS≥δQTdU=\delta Q-\delta W,\qquad dS\ge\frac{\delta Q}{T}
    First law (energy) and second law (entropy).
  4. η≤ηC=1−TcTh\eta\le\eta_C=1-\frac{T_c}{T_h}
    No engine between two reservoirs beats Carnot.

Worked example

Given
Nitrogen N₂ (molar mass 28.0134 g/mol) at 300 K (27 °C, 80 °F).
Find
RMS and mean molecular speeds.
Strategy
Use R = k_B N_A and M in kg/mol.
Steps
  1. R = k_B N_A = 8.314463 J/(mol·K)
  2. v_rms = √(3 · 8.314463 · 300 / 0.0280134) = 516.8 m/s
  3. v̄ = √(8 · 8.314463 · 300 / (π · 0.0280134)) = 476.2 m/s
Answer
v_rms ≈ 517 m/s, v̄ ≈ 476 m/s.
Sanity check
The ratio v_rms/v̄ = √(3π/8) ≈ 1.085, as for any Maxwell–Boltzmann gas; both are a bit faster than the speed of sound in air (about 347 m/s at 300 K), as expected.
Significance
Molecular speeds set reaction rates, how fast gases leak and diffuse, and why light gases escape from planetary atmospheres.
Show the Python
import math
kB, NA = 1.380649e-23, 6.02214076e23
R, M, T = kB*NA, 0.0280134, 300.0
print(math.sqrt(3*R*T/M), math.sqrt(8*R*T/(math.pi*M)))

Auto-checked practice

  1. m/s

    Full solution

    v_rms = √(3RT/M) = 483.6 m/s (vs 516.8 m/s for N₂).

Practice

  1. An engine runs between 600 K and 300 K. What is the most efficiency it can ever have?

    Show solution

    η_C = 1 − 300/600 = 0.50, i.e. 50 %. Real engines get noticeably less because of friction and finite-speed heat transfer.

Common mistake

Using grams per mole instead of kilograms per mole, which makes speeds √1000 ≈ 32 times too small.

References

  • D. V. Schroeder, An Introduction to Thermal Physics, Addison-Wesley, 2000.
  • D. Halliday, R. Resnick, J. Walker, Fundamentals of Physics, 12th ed., Wiley, 2021.
  • E. Tiesinga et al., “CODATA Recommended Values of the Fundamental Physical Constants: 2018”, Rev. Mod. Phys. 93, 025010 (2021).

Fluids: Navier–Stokes and the Reynolds number

  • Undergraduate (freshman–senior)
  • Graduate
  • PhD / research

Track: Physics · About 40 min · Numbers verified in build:

You will be able to

Write the incompressible Navier–Stokes equations, non-dimensionalise them to find the Reynolds number, and solve exactly for pipe (Poiseuille) flow.

Before you start

Vector calculus, Newton’s second law, the atmosphere topic of the Aero track. Physics Explained

Intuition first

Navier–Stokes is Newton’s second law for a small blob of fluid: pressure, viscosity and inertia fight it out. Whether the flow is smooth or turbulent depends on the ratio of inertia to viscosity.

🧒 Explain like I’m 10

Honey pours smoothly, but water from a fast tap splashes and swirls. One number, the Reynolds number, tells you which one you will get: big numbers mean swirly, small numbers mean smooth.

Step by step

  1. ρ(∂u∂t+u⋅∇u)=−∇p+μ∇2u,∇ ⁣⋅u=0\rho\left(\frac{\partial\mathbf u}{\partial t}+\mathbf u\cdot\nabla\mathbf u\right)=-\nabla p+\mu\nabla^2\mathbf u,\qquad \nabla\!\cdot\mathbf u=0
    Incompressible Navier–Stokes and continuity.
  2. u∗=uU, x∗=xL  ⇒  …=−∇∗p∗+1Re∇∗2u∗,Re=ρULμ\mathbf u^*=\frac{\mathbf u}{U},\ \mathbf x^*=\frac{\mathbf x}{L}\;\Rightarrow\;\ldots=-\nabla^*p^*+\frac{1}{Re}\nabla^{*2}\mathbf u^*,\quad Re=\frac{\rho UL}{\mu}
    Scaling leaves one parameter: the Reynolds number.
  3. u(r)=Δp4μL(R2−r2)  ⇒  Q=πR4Δp8μLu(r)=\frac{\Delta p}{4\mu L}(R^2-r^2)\;\Rightarrow\;Q=\frac{\pi R^4\Delta p}{8\mu L}
    Steady pipe flow: an exact solution (Hagen–Poiseuille), valid while Re is below about 2300.
  4. μ(T)=1.458×10−6 T3/2T+110.4  Pa⋅s\mu(T)=\frac{1.458\times10^{-6}\,T^{3/2}}{T+110.4}\ \ \text{Pa·s}
    Sutherland’s law for air viscosity (as used in the 1976 Standard Atmosphere).

Worked example

Given
Generic airliner wing at cruise: chord L = 5 m, U = 250 m/s, at 11 km: ρ = 0.3639 kg/m³, T = 216.65 K.
Find
Viscosity μ and Reynolds number Re.
Strategy
Sutherland for μ, then Re = ρUL/μ.
Steps
  1. μ = 1.458e-6 · 216.65^1.5 / (216.65 + 110.4) = 0.00001422 Pa·s
  2. Re = 0.3639 · 250 · 5 / μ
  3. Re ≈ 3.2 × 10⁷
Answer
μ ≈ 1.42×10⁻⁵ Pa·s, Re ≈ 3.2×10⁷: the boundary layer is mostly turbulent.
Sanity check
The 1976 Standard Atmosphere lists μ = 1.4216×10⁻⁵ Pa·s at 11 km. Re in the tens of millions is typical of full-size aircraft, far above wind-tunnel models, which is why scale effects matter.
Significance
Re decides drag, transition and separation; matching it is the central problem of wind-tunnel testing and CFD turbulence modelling.
Show the Python
rho, U, L, T = 0.363918, 250.0, 5.0, 216.65
mu = 1.458e-6*T**1.5/(T + 110.4)
print(mu, rho*U*L/mu)

Auto-checked practice

    Full solution

    Re = 1.225 · 30 · 0.2 / 1.789×10⁻⁵ ≈ 410757: about 80 times smaller than the cruise wing.

Practice

  1. Doubling a pipe’s radius at the same pressure drop multiplies the laminar flow rate by how much?

    Show solution

    Q ∝ R⁴, so by 16. Example: R = 0.5 mm, L = 10 cm, Δp = 1 kPa, water μ = 1.0 mPa·s gives Q = 0.245 mL/s.

Common mistake

Using kinematic viscosity ν (m²/s) where dynamic viscosity μ (Pa·s) is needed, or vice versa: Re = ρUL/μ = UL/ν.

References

  • F. M. White, Fluid Mechanics, 8th ed., McGraw-Hill, 2016.
  • J. D. Anderson Jr., Fundamentals of Aerodynamics, 6th ed., McGraw-Hill, 2017.

Relativity for orbits: GPS clocks and Mercury

  • Graduate
  • PhD / research

Track: Physics · About 45 min · Numbers verified in build:

You will be able to

Estimate the special- and general-relativistic clock rates of a GPS satellite and the relativistic perihelion advance of Mercury.

Before you start

Orbital mechanics (circular speed, vis-viva), series expansions. Physics Explained

Intuition first

Moving clocks run slow (special relativity) and clocks deeper in gravity run slow (general relativity). For GPS the gravity effect wins, and the two together are big enough that the system would fail within minutes without correction.

🧒 Explain like I’m 10

Clocks on GPS satellites tick a tiny bit faster than clocks on the ground, because gravity is weaker up there. Without correcting it, your map would drift by about 12 km every day.

Step by step

  1. dτdt≈1+Φc2−v22c2,Φ=−GMr\frac{d\tau}{dt}\approx1+\frac{\Phi}{c^2}-\frac{v^2}{2c^2},\qquad \Phi=-\frac{GM}{r}
    Weak-field clock rate: potential term (GR) plus velocity term (SR).
  2. Δff∣GR=GMc2(1R⊕−1a),Δff∣SR=−GM2ac2\left.\frac{\Delta f}{f}\right|_{GR}=\frac{GM}{c^2}\left(\frac1{R_\oplus}-\frac1a\right),\qquad \left.\frac{\Delta f}{f}\right|_{SR}=-\frac{GM}{2ac^2}
    Satellite vs ground, circular orbit v² = GM/a (ground clock motion neglected here).
  3. Δϖ=6πGM⊙c2a(1−e2) per orbit\Delta\varpi=\frac{6\pi GM_\odot}{c^2a(1-e^2)}\ \text{per orbit}
    GR perihelion advance from the Schwarzschild orbit equation.

Worked example

Given
GPS orbit a = 26 561.75 km (circular), R⊕ = 6378.137 km, GM⊕ = 3.986004418×10¹⁴ m³/s².
Find
Clock gain per day from GR and SR, the net, and the equivalent range error.
Strategy
Evaluate both fractional shifts, multiply by 86 400 s, then multiply the net time by c.
Steps
  1. GR: 45.65 μs/day
  2. SR: -7.21 μs/day
  3. net: 38.44 μs/day
  4. c · 38.44 μs = 11.5 km/day
Answer
About +45.7 μs/day (gravity) and -7.2 μs/day (speed): net ≈ +38.4 μs/day, or about 12 km of range error per day.
Sanity check
Ashby (2003), who includes Earth’s rotation and oblateness, gives about +45.7 and −7.1 μs/day, net 38.6 μs/day: our simple model agrees within 0.2 μs/day.
Significance
GPS satellite clocks are deliberately set to run slow before launch so that they keep time with ground clocks once in orbit. Relativity is an everyday engineering correction.
Show the Python
GM, c, R, a = 3.986004418e14, 299792458.0, 6378137.0, 26561750.0
gr = GM*(1/R - 1/a)/c**2*86400e6
sr = -GM/(2*a*c**2)*86400e6
print(gr, sr, gr + sr, (gr + sr)*1e-6*c/1e3)

Auto-checked practice

  1. ″/century

    Full solution

    Δϖ ≈ 8.62″ per century for Venus, versus 42.98″ for Mercury (Will 2014 quotes 42.98″ for Mercury).

Practice

  1. Why does GR change Mercury’s orbit more than Earth’s?

    Show solution

    The advance per orbit scales as 1/(a(1−e²)), and Mercury also completes about 4 times as many orbits per century, so the effect per century is much larger close to the Sun.

Common mistake

Adding the SR and GR terms with the same sign. The satellite’s speed makes its clock slower (negative), while its height makes it faster (positive).

References

  • N. Ashby, “Relativity in the Global Positioning System”, Living Reviews in Relativity 6, 1 (2003).
  • C. M. Will, “The Confrontation between General Relativity and Experiment”, Living Reviews in Relativity 17, 4 (2014).
  • E. Tiesinga et al., “CODATA Recommended Values of the Fundamental Physical Constants: 2018”, Rev. Mod. Phys. 93, 025010 (2021).

Check your understanding

A damped oscillator has eigenvalues −0.5 ± 3i. It is…

Which way do GPS satellite clocks drift relative to ground clocks, net?

Doubling the absolute temperature of a gas multiplies its RMS molecular speed by…

Go deeper

Next: Taylor’s Classical Mechanics and Goldstein for mechanics, Griffiths and Chen for fields and plasma, Schroeder for thermal physics, and Ashby’s open-access review for relativity in GPS.

For teachers and instructors

Suggested use: one 50-minute session per section. College/undergraduate path: Newton and conservation → projectiles with drag (students modify the RK4 Python and compare with the Physics Lab) → oscillators → thermodynamics. Graduate path: Lagrangian mechanics → electromagnetism and space plasma → Navier–Stokes and the Reynolds number → relativity for GPS. Every numeric answer is computed by the build script from CODATA 2018 constants and doubles as an answer key. Aligned with MIT OCW 8.01/8.02 topics.

References

Help / Donate