PracticeVideosBlogFlashcards

2.2 Differential Equations & Mathematical Modeling

Key Takeaways

  • First-order ODEs model physical transient phenomena like transient quenching heat transfer and hydraulic tank discharge.

  • Homogeneous second-order linear ODEs govern free mechanical vibrations classified by damping ratio zeta into overdamped, critically damped, and underdamped regimes.

  • Underdamped systems oscillate at the damped natural frequency omega_d = omega_n * sqrt(1 - zeta^2).

  • Forced harmonic vibrations experience maximum amplitude magnification near resonance (excitation frequency ratio r approx 1).

  • Laplace transforms convert dynamic differential equations into simple algebraic expressions for efficient initial value problem resolution.

Last updated: July 2026

2.2 Differential Equations & Mathematical Modeling

Introduction to Engineering Differential Equations

Differential equations (DEs) form the backbone of mechanical engineering dynamics, fluid mechanics, heat transfer, and control systems. Physical laws—such as Newton's Second Law of Motion (F=maF = m a), Fourier's Law of Conduction (q=−kAdTdxq = -k A \frac{dT}{dx}), and Torricelli's Law of Fluid Flow—are naturally formulated as differential equations. The PRC MELE tests candidates on classifying DEs, solving first-order transient equations, evaluating second-order vibration dynamics, and utilizing Laplace transforms for initial value problems.


1. Classification & First-Order ODEs

An Ordinary Differential Equation (ODE) contains functions of a single independent variable and their derivatives. The order is the highest derivative present; the degree is the exponent of the highest-order derivative after removing fractional exponents.

Common First-Order Solution Techniques:

  1. Separable Variables: dydx=g(x)h(y)  ⟹  ∫dyh(y)=∫g(x)dx+C\frac{dy}{dx} = g(x)h(y) \implies \int \frac{dy}{h(y)} = \int g(x) dx + C.
  2. First-Order Linear ODEs: Standard Form: dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) Integrating Factor: I(x)=e∫P(x)dxI(x) = e^{\int P(x) dx}. General Solution: y(x)=1I(x)∫I(x)Q(x)dx+CI(x)y(x) = \frac{1}{I(x)} \int I(x) Q(x) dx + \frac{C}{I(x)}.
  3. Exact ODEs: M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0 is exact if ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.
  4. Bernoulli ODEs: Non-linear form dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^n. Solved by substituting u=y1−nu = y^{1-n} to transform into a linear ODE in uu.

Worked Numerical Example: Quenching Heat Transfer (Newton's Law of Cooling)

A solid steel component at an initial temperature of 800∘C800^\circ\text{C} is quenched in an oil bath maintained at a constant temperature Tm=30∘CT_m = 30^\circ\text{C}. Newton's Law of Cooling states that the rate of heat loss is proportional to the temperature difference:

dTdt=−k(T−Tm)\frac{dT}{dt} = -k(T - T_m)

If the temperature of the casting drops to 400∘C400^\circ\text{C} after t=5 minutest = 5 \text{ minutes}, determine:

  1. The cooling constant kk in min−1\text{min}^{-1}.
  2. The total time required for the casting to cool down to 100∘C100^\circ\text{C}.

Step 1: Separate Variables and Integrate

∫dTT−30=−k∫dt  ⟹  ln⁡(T−30)=−kt+C  ⟹  T(t)−30=C′e−kt\int \frac{dT}{T - 30} = -k \int dt \implies \ln(T - 30) = -kt + C \implies T(t) - 30 = C' e^{-kt}

Step 2: Apply Initial Condition T(0)=800∘CT(0) = 800^\circ\text{C}

800−30=C′e0  ⟹  C′=770∘C800 - 30 = C' e^0 \implies C' = 770^\circ\text{C} T(t)=30+770e−ktT(t) = 30 + 770 e^{-kt}

Step 3: Calculate Cooling Constant kk using T(5)=400∘CT(5) = 400^\circ\text{C}

400=30+770e−5k  ⟹  370=770e−5k  ⟹  e−5k=370770=0.48052400 = 30 + 770 e^{-5k} \implies 370 = 770 e^{-5k} \implies e^{-5k} = \frac{370}{770} = 0.48052 −5k=ln⁡(0.48052)=−0.7329  ⟹  k=0.1466 min−1-5k = \ln(0.48052) = -0.7329 \implies k = 0.1466 \text{ min}^{-1}

Step 4: Find Time tt to reach 100∘C100^\circ\text{C}

100=30+770e−0.1466t  ⟹  70=770e−0.1466t  ⟹  e−0.1466t=70770=0.09091100 = 30 + 770 e^{-0.1466 t} \implies 70 = 770 e^{-0.1466 t} \implies e^{-0.1466 t} = \frac{70}{770} = 0.09091 −0.1466t=ln⁡(0.09091)=−2.3979  ⟹  t=−2.3979−0.1466=16.36 minutes-0.1466 t = \ln(0.09091) = -2.3979 \implies t = \frac{-2.3979}{-0.1466} = 16.36 \text{ minutes}

The cooling constant is 0.1466 min−10.1466 \text{ min}^{-1} and the casting reaches 100∘C100^\circ\text{C} in 16.36 minutes16.36 \text{ minutes}.


2. Second-Order Linear ODEs & Mechanical Vibrations

Translational mechanical systems consisting of mass mm, viscous damper cc, and spring constant kk subjected to external force F(t)F(t) are modeled by:

md2xdt2+cdxdt+kx=F(t)orx¨+cmx˙+kmx=F(t)mm \frac{d^2x}{dt^2} + c \frac{dx}{dt} + k x = F(t) \quad \text{or} \quad \ddot{x} + \frac{c}{m}\dot{x} + \frac{k}{m}x = \frac{F(t)}{m}

Homogeneous Case (F(t)=0F(t) = 0): Free Vibrations

Assume solution x(t)=ertx(t) = e^{rt}, yielding the Characteristic Equation:

mr2+cr+k=0  ⟹  r1,2=−c±c2−4mk2mm r^2 + c r + k = 0 \implies r_{1,2} = \frac{-c \pm \sqrt{c^2 - 4mk}}{2m}

Key Mechanical Definitions:

  • Undamped Natural Frequency: ωn=km\omega_n = \sqrt{\frac{k}{m}} (rad/s)
  • Critical Damping Coefficient: cc=2km=2mωnc_c = 2\sqrt{km} = 2m\omega_n (N·s/m)
  • Damping Ratio: ζ=ccc=c2km\zeta = \frac{c}{c_c} = \frac{c}{2\sqrt{km}}

The Three Damping Regimes:

Damping ConditionDamping Ratio ζ\zetaCharacteristic Roots r1,2r_{1,2}Dynamic Response x(t)x(t)
Overdampedζ>1\zeta > 1Real & DistinctExponential return to zero (no oscillation)
Critically Dampedζ=1\zeta = 1Real & Repeatedx(t)=(C1+C2t)e−ωntx(t) = (C_1 + C_2 t)e^{-\omega_n t} (Fastest non-oscillatory return)
Underdampedζ<1\zeta < 1Complex Conjugates (−α±iωd-\alpha \pm i\omega_d)x(t)=Xe−ζωntcos⁡(ωdt−ϕ)x(t) = X e^{-\zeta \omega_n t} \cos(\omega_d t - \phi) (Decaying oscillation)

Where the Damped Natural Frequency is:

ωd=ωn1−ζ2\omega_d = \omega_n \sqrt{1 - \zeta^2}

Worked Numerical Example: Damped Mass-Spring Response

An industrial compressor mount is modeled as a mass m=10 kgm = 10 \text{ kg}, spring stiffness k=1000 N/mk = 1000 \text{ N/m}, and damper coefficient c=40 N⋅s/mc = 40 \text{ N}\cdot\text{s/m}. Calculate:

  1. Undamped natural frequency ωn\omega_n.
  2. Damping ratio ζ\zeta and dynamic classification.
  3. Damped natural frequency ωd\omega_d.

Step 1: Compute Undamped Frequency ωn\omega_n

ωn=km=100010=100=10.0 rad/s\omega_n = \sqrt{\frac{k}{m}} = \sqrt{\frac{1000}{10}} = \sqrt{100} = 10.0 \text{ rad/s}

Step 2: Compute Critical Damping ccc_c and Damping Ratio ζ\zeta

cc=2km=21000×10=210000=200 N⋅s/mc_c = 2\sqrt{km} = 2\sqrt{1000 \times 10} = 2\sqrt{10000} = 200 \text{ N}\cdot\text{s/m} ζ=ccc=40200=0.20\zeta = \frac{c}{c_c} = \frac{40}{200} = 0.20

Since ζ=0.20<1.0\zeta = 0.20 < 1.0, the system is Underdamped.

Step 3: Compute Damped Natural Frequency ωd\omega_d

ωd=ωn1−ζ2=10.01−(0.20)2=10.01−0.04=10.00.96=9.798≈9.80 rad/s\omega_d = \omega_n \sqrt{1 - \zeta^2} = 10.0 \sqrt{1 - (0.20)^2} = 10.0 \sqrt{1 - 0.04} = 10.0 \sqrt{0.96} = 9.798 \approx 9.80 \text{ rad/s}

In cycles per second (Hz): fd=ωd2π=9.7982π=1.56 Hzf_d = \frac{\omega_d}{2\pi} = \frac{9.798}{2\pi} = 1.56 \text{ Hz}.


3. Forced Vibrations & Resonance

When subjected to harmonic excitation F(t)=F0cos⁡(ωt)F(t) = F_0 \cos(\omega t), the steady-state response amplitude XX is given by:

X=F0/k(1−r2)2+(2ζr)2X = \frac{F_0/k}{\sqrt{\left(1 - r^2\right)^2 + \left(2\zeta r\right)^2}}

where r=ωωnr = \frac{\omega}{\omega_n} is the frequency ratio.

Resonance occurs when excitation frequency ω≈ωn\omega \approx \omega_n (r≈1r \approx 1), leading to extremely large vibration amplitudes that can cause catastrophic structural failure.


4. Laplace Transforms in Dynamic Systems

The Laplace Transform converts linear differential equations in time domain tt into algebraic equations in complex frequency domain ss:

L{f(t)}=F(s)=∫0∞e−stf(t)dt\mathcal{L}\{f(t)\} = F(s) = \int_{0}^{\infty} e^{-st} f(t) dt

Common Operational Properties:

  • L{1}=1s\mathcal{L}\{1\} = \frac{1}{s}
  • L{eat}=1s−a\mathcal{L}\{e^{at}\} = \frac{1}{s - a}
  • L{sin⁡(ωt)}=ωs2+ω2\mathcal{L}\{\sin(\omega t)\} = \frac{\omega}{s^2 + \omega^2}
  • L{cos⁡(ωt)}=ss2+ω2\mathcal{L}\{\cos(\omega t)\} = \frac{s}{s^2 + \omega^2}
  • First Derivative: L{y˙}=sY(s)−y(0)\mathcal{L}\{\dot{y}\} = sY(s) - y(0)
  • Second Derivative: L{y¨}=s2Y(s)−sy(0)−y˙(0)\mathcal{L}\{\ddot{y}\} = s^2Y(s) - s y(0) - \dot{y}(0)

MELE Exam Tips & Shortcuts

  • Fast Damping Ratio Check: Compute c2−4mkc^2 - 4mk. If positive   ⟹  \implies Overdamped; if zero   ⟹  \implies Critically Damped; if negative   ⟹  \implies Underdamped.
  • Logarithmic Decrement: Measure peak decay δ=ln⁡(x1x2)=2πζ1−ζ2\delta = \ln\left(\frac{x_1}{x_2}\right) = \frac{2\pi \zeta}{\sqrt{1-\zeta^2}}. For small damping (ζ<0.1\zeta < 0.1), δ≈2πζ\delta \approx 2\pi \zeta.
  • Laplace Initial Values: Use the Initial Value Theorem lim⁡t→0f(t)=lim⁡s→∞sF(s)\lim_{t \to 0} f(t) = \lim_{s \to \infty} s F(s) and Final Value Theorem lim⁡t→∞f(t)=lim⁡s→0sF(s)\lim_{t \to \infty} f(t) = \lim_{s \to 0} s F(s) to quickly check transient solutions without inverse transforms.
Loading diagram...
Mass-Spring-Damper System Classification
Test Your Knowledge

A steel casting at 800°C is quenched in a 30°C bath. Its temperature drops to 400°C in 5 minutes following Newton's Law of Cooling. How long will it take to cool down to 100°C?

A

8.45 minutes

B

12.10 minutes

C

14.25 minutes

D

16.36 minutes

Test Your Knowledge

A mass-spring-damper system has mass m = 10 kg, spring constant k = 1000 N/m, and damping coefficient c = 40 N·s/m. What is the damped natural frequency omega_d?

A

9.80 rad/s

B

10.00 rad/s

C

8.66 rad/s

D

10.20 rad/s

Test Your Knowledge

What is the correct Laplace transform expression for the second derivative of a function y''(t), assuming initial conditions y(0) and y'(0)?

A

s^2 Y(s) - y(0)

B

s^2 Y(s) - s y(0) - y'(0)

C

s Y(s) - y'(0)

D

s^2 Y(s) + s y(0) + y'(0)

Sections you finish are checked off in the contents.