Study guide

1.3 Ordinary Differential Equations and Laplace Transforms

FE Other Disciplines Fundamentals of Engineering

Track your progress as you read

Finished sections get a check mark.

1 Introduction & Exam Strategy

About the FE Other Disciplines Exam How to Use This Study Guide

2 Chapter 1: Mathematics

1.1 Analytic Geometry, Trigonometry, and Vector Operations 1.2 Differential and Integral Calculus 1.3 Ordinary Differential Equations and Laplace Transforms 1.4 Linear Algebra, Matrices, and Systems of Equations 1.5 Numerical Methods, Root-Finding, and Numerical Integration

3 Chapter 2: Probability and Statistics

2.1 Probability Distributions, PMFs, and PDFs 2.2 Expected Value, Mean, Variance, and Descriptive Statistics 2.3 Estimation, Confidence Intervals, and Sample Sizes 2.4 Hypothesis Testing, Goodness of Fit, and Linear Regression

4 Chapter 3: Chemistry

3.1 Stoichiometry, Chemical Reactions, and Solutions 3.2 Chemical Equilibrium, Acids/Bases, and Ideal Gas Laws 3.3 Oxidation-Reduction, Electrochemistry, and Corrosion Basics

5 Chapter 4: Instrumentation and Controls

4.1 Sensors, Transducers, and Signal Conditioning 4.2 Data Sampling, Accuracy/Precision, and A/D Conversion 4.3 Logic Diagrams, Boolean Algebra, and Control Logic

6 Chapter 5: Engineering Ethics and Societal Impacts

5.1 NCEES Model Rules of Professional Conduct and Codes of Ethics 5.2 Public Protection, Licensure Boards, and Professional Liability 5.3 Societal Impacts: Sustainability, Life-Cycle Analysis, and Public Safety

7 Chapter 6: Safety, Health, and Environment

6.1 OSHA Regulations, Industrial Hygiene, and PPE 6.2 Hazard Assessment, Risk Management, and Environmental Rules 6.3 Gas Detection and Monitoring 6.4 Electrical Safety 6.5 Confined Space Entry and Ventilation Rates

8 Chapter 7: Engineering Economics

7.1 Time Value of Money, Interest Formulas, and Cash Flow Diagrams 7.2 Capital Budgeting: Present Worth, Annual Worth, IRR, and B/C Ratio 7.3 Depreciation Methods, Income Taxes, and Breakeven Analysis 7.4 Cost Analysis, Uncertainty, Expected Value, and Decision Trees

9 Chapter 8: Statics

8.1 Statics Equilibrium, Free-Body Diagrams, and Force Systems 8.2 Distributed Loads, Resultants, and Equivalent Force-Couple Systems 8.3 Internal Forces in Rigid Bodies: Trusses, Frames, Machines, and Friction 8.4 Three-Dimensional Equilibrium, Cables, and Pulley Systems 8.5 Area Properties: Centroids, Moments of Inertia, and Radius of Gyration 8.6 Weight, Mass, and Force Units: slug, lbm, lbf, and g_c

10 Chapter 9: Dynamics

9.1 Kinematics of Particles and Rigid Bodies 9.2 Newton's Second Law for Particles and Rigid Bodies 9.3 Angular Motion, Torque, and Mass Moment of Inertia 9.4 Work-Energy Principle, Power, and Efficiency 9.5 Impulse-Momentum, Impact, and Coefficient of Restitution 9.6 Dynamic Friction and Vibrations: Natural Frequency and Damping

11 Chapter 10: Strength of Materials

10.1 Stress Types, Axial Stress-Strain, and Thermal Deformation 10.2 Torsion of Circular Shafts, Polar Moment, and Angle of Twist 10.3 Shear and Moment Diagrams 10.4 Flexural Bending Stress and Transverse Shear Stress 10.5 Stress Transformations, Principal Stresses, and Mohr's Circle 10.6 Beam Deflections and Combined Axial/Bending Loading 10.7 Column Buckling (Euler Formula) and Yield/Failure Criteria

12 Chapter 11: Materials

11.1 Crystal Structure, Phase Diagrams, and Material Processing 11.2 Mechanical Properties, Fatigue, Fracture, and Corrosion 11.3 Thermal Properties of Materials 11.4 Electrical and Chemical Properties of Materials 11.5 Material Selection for Engineering Design

13 Chapter 12: Fluid Mechanics

12.1 Fluid Properties, Hydrostatic Pressure, and Manometry 12.2 Dimensionless Numbers and Flow Regimes 12.3 Continuity Equation, Bernoulli Equation, and Energy Equation 12.4 Impulse-Momentum Equation and Forces on Control Volumes 12.5 Flow in Pipes, Friction Factors (Moody Diagram), and Head Losses 12.6 Turbomachinery: Pumps, Turbines, Fans, and Compressors 12.7 Open-Channel Flow, Manning's Equation, and Drag 12.8 Fluid Transport Systems and Flow Measurement 12.9 Ideal Gas Law, Gas Mixtures, and the Real Gas Law

14 Chapter 13: Basic Electrical Engineering

13.1 Electrical Fundamentals, Ohm's Law, and DC Circuits 13.2 AC Circuits, Phasors, Impedance, and Three-Phase Power 13.3 Magnetic Fields, Induction, Transformers, and Motor Efficiency 13.4 Electrical Measuring Devices: Voltmeter, Ammeter, and Wattmeter

15 Chapter 14: Thermodynamics and Heat Transfer

14.1 First & Second Laws of Thermodynamics and Pure Substance Properties 14.2 Thermodynamic Processes and Property Diagrams (T-s, P-h, P-v) 14.3 Heat Transfer: Conduction, Convection, and Radiation 14.4 Ideal Gas Processes and Power/Refrigeration Cycles 14.5 Mass and Energy Balances on Control Volumes 14.6 Combustion and Combustion Products 14.7 Psychrometrics: Relative Humidity, Wet-Bulb Temperature, and the Psychrometric Chart

1.3 Ordinary Differential Equations and Laplace Transforms

Key Takeaways Explain This Topic AI

A first-order linear ODE dy/dx + p(x)y = q(x) is solved with the integrating factor exp(integral of p dx).

The characteristic equation of ay'' + by' + cy = 0 determines whether the response is overdamped (two real roots), critically damped (one repeated root), or underdamped (complex roots).

For a second-order system the natural frequency is sqrt(k/m) and the damping behavior follows from the discriminant b^2 - 4ac.

Laplace transforms convert a linear ODE with constant coefficients into an algebraic equation in s, where L{y'} = sY(s) - y(0).

Exponential decay problems (radioactive half-life, first-order reactions, RC discharge, Newton cooling) all reduce to the same separable ODE.

Last updated: August 2026

1.3 Ordinary Differential Equations and Laplace Transforms

Differential equations are named explicitly in the NCEES Mathematics specification (area 1, sub-topic B). On the FE Other Disciplines exam they rarely ask you to derive a solution from scratch — they ask you to classify the equation, pick the right solution form , and evaluate a constant from an initial condition . Every dynamic model elsewhere in this guide reduces to one of the forms below: a mixing tank, an RC or RL circuit transient, a cooling body, a decaying isotope, and a damped mass-spring system.

Classification: What Kind of Equation Is This?

  • Feature Question to ask Consequence
  • Order Highest derivative present? Number of arbitrary constants in the general solution

Linear vs. nonlinear Do y y y and its derivatives appear only to the first power, with no products of y y y terms? Linear equations superpose; nonlinear ones do not

Homogeneous vs. non-homogeneous Is the forcing term on the right side zero? Non-homogeneous needs a particular solution added

Constant vs. variable coefficients Are the coefficients numbers or functions of x x x ? Constant coefficients allow the characteristic-equation shortcut

Separable First-Order Equations

If the equation can be written d y d x = g ( x ) h ( y ) \dfrac{dy}{dx} = g(x)h(y) d x d y ​ = g ( x ) h ( y ) , separate and integrate: ∫ d y h ( y ) = ∫ g ( x ) d x + C \int \frac{dy}{h(y)} = \int g(x)\,dx + C ∫ h ( y ) d y ​ = ∫ g ( x ) d x + C

The single most valuable case on the FE exam is exponential growth and decay : d y d t = k y ⟹ y ( t ) = y 0 e k t \frac{dy}{dt} = k y \quad\Longrightarrow\quad y(t) = y_0 e^{kt} d t d y ​ = k y ⟹ y ( t ) = y 0 ​ e k t

With k < 0 k < 0 k < 0 this is decay, and the half-life relationship follows directly from setting y = y 0 / 2 y = y_0/2 y = y 0 ​ /2 : t 1 / 2 = ln ⁡ 2 ∣ k ∣ = 0.693 ∣ k ∣ t_{1/2} = \frac{\ln 2}{|k|} = \frac{0.693}{|k|} t 1/2 ​ = ∣ k ∣ ln 2 ​ = ∣ k ∣ 0.693 ​

Cross-topic payoff: this identical formula appears in the Safety, Health, and Environment area for radiation half-life, in Chemistry for first-order reaction kinetics, and in Basic Electrical Engineering for RC discharge with ∣ k ∣ = 1 / ( R C ) |k| = 1/(RC) ∣ k ∣ = 1/ ( RC ) . Learn it once, score it three times.

First-Order Linear Equations: Integrating Factor

Put the equation in standard form , then multiply through by the integrating factor μ ( x ) \mu(x) μ ( x ) : d y d x + p ( x ) y = q ( x ) , μ ( x ) = e ∫ p ( x ) d x \frac{dy}{dx} + p(x)\,y = q(x), \qquad \mu(x) = e^{\int p(x)\,dx} d x d y ​ + p ( x ) y = q ( x ) , μ ( x ) = e ∫ p ( x ) d x y ( x ) = 1 μ ( x ) [ ∫ μ ( x ) q ( x ) d x + C ] y(x) = \frac{1}{\mu(x)}\left[\int \mu(x)\,q(x)\,dx + C\right] y ( x ) = μ ( x ) 1 ​ [ ∫ μ ( x ) q ( x ) d x + C ]

For the very common constant-coefficient case y ′ + a y = b y' + a y = b y ′ + a y = b (a tank filling, a capacitor charging, a body cooling toward ambient), the solution is the sum of a steady-state value and a decaying transient: y ( t ) = b a + ( y 0 − b a ) e − a t y(t) = \frac{b}{a} + \left(y_0 - \frac{b}{a}\right)e^{-at} y ( t ) = a b ​ + ( y 0 ​ − a b ​ ) e − a t

Read that structure. The first term is where the system ends up; the second is how it gets there, decaying with time constant τ = 1 / a \tau = 1/a τ = 1/ a . After t = τ t = \tau t = τ the transient has fallen to 36.8% of its initial size; after 3 τ 3\tau 3 τ , to about 5%.

Worked Example: Newton's Law of Cooling

A steel casting at 500 ∘ C 500^\circ\text{C} 50 0 ∘ C is placed in a 25 ∘ C 25^\circ\text{C} 2 5 ∘ C room. After 10 minutes it has cooled to 350 ∘ C 350^\circ\text{C} 35 0 ∘ C . What is its temperature after 30 minutes?

Newton's law of cooling gives d T d t = − k ( T − T ∞ ) \dfrac{dT}{dt} = -k\,(T - T_\infty) d t d T ​ = − k ( T − T ∞ ​ ) , so with θ = T − T ∞ \theta = T - T_\infty θ = T − T ∞ ​ : θ ( t ) = θ 0 e − k t , θ 0 = 500 − 25 = 475 ∘ C \theta(t) = \theta_0 e^{-kt}, \qquad \theta_0 = 500 - 25 = 475^\circ\text{C} θ ( t ) = θ 0 ​ e − k t , θ 0 ​ = 500 − 25 = 47 5 ∘ C

Find k k k from the 10-minute data point, where θ ( 10 ) = 350 − 25 = 325 ∘ C \theta(10) = 350 - 25 = 325^\circ\text{C} θ ( 10 ) = 350 − 25 = 32 5 ∘ C : 325 475 = e − 10 k ⇒ − 10 k = ln ⁡ ( 0.6842 ) = − 0.3795 ⇒ k = 0.03795 min − 1 \frac{325}{475} = e^{-10k} \;\Rightarrow\; -10k = \ln(0.6842) = -0.3795 \;\Rightarrow\; k = 0.03795\ \text{min}^{-1} 475 325 ​ = e − 10 k ⇒ − 10 k = ln ( 0.6842 ) = − 0.3795 ⇒ k = 0.03795 min − 1

At t = 30 t = 30 t = 30 min: θ ( 30 ) = 475 e − ( 0.03795 ) ( 30 ) = 475 e − 1.1385 = 475 ( 0.3203 ) = 152.1 ∘ C \theta(30) = 475\,e^{-(0.03795)(30)} = 475\,e^{-1.1385} = 475(0.3203) = 152.1^\circ\text{C} θ ( 30 ) = 475 e − ( 0.03795 ) ( 30 ) = 475 e − 1.1385 = 475 ( 0.3203 ) = 152. 1 ∘ C T ( 30 ) = 152.1 + 25 = 177 ∘ C T(30) = 152.1 + 25 = \boxed{177^\circ\text{C}} T ( 30 ) = 152.1 + 25 = 17 7 ∘ C ​

Trap: the exponential decays toward zero in θ \theta θ , not in T T T . Candidates who write T = 500 e − k t T = 500e^{-kt} T = 500 e − k t and forget to subtract the ambient temperature get 160 ∘ C 160^\circ\text{C} 16 0 ∘ C — which is offered as a distractor.

Second-Order Linear Equations with Constant Coefficients

For a y ′ ′ + b y ′ + c y = 0 a y'' + b y' + c y = 0 a y ′′ + b y ′ + cy = 0 , substitute y = e r x y = e^{rx} y = e r x to get the characteristic equation : a r 2 + b r + c = 0 , r = − b ± b 2 − 4 a c 2 a a r^2 + b r + c = 0, \qquad r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} a r 2 + b r + c = 0 , r = 2 a − b ± b 2 − 4 a c ​ ​

The discriminant decides everything:

Discriminant Roots General solution Physical behavior

b 2 − 4 a c > 0 b^2 - 4ac > 0 b 2 − 4 a c > 0 Real, distinct r 1 ≠ r 2 r_1 \ne r_2 r 1 ​  = r 2 ​ y = C 1 e r 1 x + C 2 e r 2 x y = C_1 e^{r_1 x} + C_2 e^{r_2 x} y = C 1 ​ e r 1 ​ x + C 2 ​ e r 2 ​ x Overdamped — returns slowly, no oscillation

b 2 − 4 a c = 0 b^2 - 4ac = 0 b 2 − 4 a c = 0 Real, repeated r r r y = ( C 1 + C 2 x ) e r x y = (C_1 + C_2 x)e^{rx} y = ( C 1 ​ + C 2 ​ x ) e r x Critically damped — fastest non-oscillating return

b 2 − 4 a c < 0 b^2 - 4ac < 0 b 2 − 4 a c < 0 Complex α ± j β \alpha \pm j\beta α ± j β y = e α x ( C 1 cos ⁡ β x + C 2 sin ⁡ β x ) y = e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x) y = e αx ( C 1 ​ cos β x + C 2 ​ sin β x ) Underdamped — decaying oscillation

The Mass-Spring-Damper Standard Form

Writing m x ¨ + c x ˙ + k x = 0 m\ddot{x} + c\dot{x} + kx = 0 m x ¨ + c x ˙ + k x = 0 in normalized form exposes the two parameters the exam asks about: x ¨ + 2 ζ ω n x ˙ + ω n 2 x = 0 , ω n = k m , ζ = c 2 k m \ddot{x} + 2\zeta\omega_n \dot{x} + \omega_n^2 x = 0, \qquad \omega_n = \sqrt{\frac{k}{m}}, \qquad \zeta = \frac{c}{2\sqrt{km}} x ¨ + 2 ζ ω n ​ x ˙ + ω n 2 ​ x = 0 , ω n ​ = m k ​ ​ , ζ = 2 km ​ c ​

ζ = 0 \zeta = 0 ζ = 0 : undamped, oscillates forever at ω n \omega_n ω n ​

0 < ζ < 1 0 < \zeta < 1 0 < ζ < 1 : underdamped, oscillates at the damped frequency ω d = ω n 1 − ζ 2 \omega_d = \omega_n\sqrt{1-\zeta^2} ω d ​ = ω n ​ 1 − ζ 2 ​

  • ζ = 1 \zeta = 1 ζ = 1 : critically damped
  • ζ > 1 \zeta > 1 ζ > 1 : overdamped
  • Non-Homogeneous Equations

The complete solution is y = y h + y p y = y_h + y_p y = y h ​ + y p ​ : the homogeneous solution above plus a particular solution matched to the forcing function.

  • Forcing term f ( x ) f(x) f ( x ) Trial particular solution y p y_p y p ​
  • Constant A A A y p = K y_p = K y p ​ = K
  • Polynomial of degree n n n Polynomial of degree n n n
  • A e k x Ae^{kx} A e k x y p = K e k x y_p = Ke^{kx} y p ​ = K e k x

A sin ⁡ ω x A\sin\omega x A sin ω x or A cos ⁡ ω x A\cos\omega x A cos ω x y p = K 1 sin ⁡ ω x + K 2 cos ⁡ ω x y_p = K_1\sin\omega x + K_2\cos\omega x y p ​ = K 1 ​ sin ω x + K 2 ​ cos ω x

Trap: if the trial form already appears in y h y_h y h ​ (resonance), multiply the trial by x x x before solving for the coefficients.

Laplace Transforms

The Reference Handbook supplies a transform table, so the method is mechanical: transform, solve algebraically for Y ( s ) Y(s) Y ( s ) , invert. L { f ( t ) } = F ( s ) = ∫ 0 ∞ f ( t ) e − s t d t \mathcal{L}\{f(t)\} = F(s) = \int_0^\infty f(t)e^{-st}\,dt L { f ( t )} = F ( s ) = ∫ 0 ∞ ​ f ( t ) e − s t d t

The two derivative properties are what make it useful — initial conditions enter automatically : L { f ′ ( t ) } = s F ( s ) − f ( 0 ) , L { f ′ ′ ( t ) } = s 2 F ( s ) − s f ( 0 ) − f ′ ( 0 ) \mathcal{L}\{f'(t)\} = sF(s) - f(0), \qquad \mathcal{L}\{f''(t)\} = s^2F(s) - sf(0) - f'(0) L { f ′ ( t )} = s F ( s ) − f ( 0 ) , L { f ′′ ( t )} = s 2 F ( s ) − s f ( 0 ) − f ′ ( 0 )

  • f ( t ) f(t) f ( t ) F ( s ) F(s) F ( s )
  • δ ( t ) \delta(t) δ ( t ) (unit impulse) 1 1 1
  • u ( t ) u(t) u ( t ) (unit step) 1 / s 1/s 1/ s
  • t t t 1 / s 2 1/s^2 1/ s 2
  • e − a t e^{-at} e − a t 1 / ( s + a ) 1/(s+a) 1/ ( s + a )
  • sin ⁡ ω t \sin\omega t sin ω t ω / ( s 2 + ω 2 ) \omega/(s^2+\omega^2) ω / ( s 2 + ω 2 )
  • cos ⁡ ω t \cos\omega t cos ω t s / ( s 2 + ω 2 ) s/(s^2+\omega^2) s / ( s 2 + ω 2 )
  • t e − a t t e^{-at} t e − a t 1 / ( s + a ) 2 1/(s+a)^2 1/ ( s + a ) 2

Two shortcuts worth memorizing: the final value theorem lim ⁡ t → ∞ f ( t ) = lim ⁡ s → 0 s F ( s ) \displaystyle\lim_{t\to\infty} f(t) = \lim_{s\to 0} sF(s) t → ∞ lim ​ f ( t ) = s → 0 lim ​ s F ( s ) , and the initial value theorem lim ⁡ t → 0 + f ( t ) = lim ⁡ s → ∞ s F ( s ) \displaystyle\lim_{t\to 0^+} f(t) = \lim_{s\to\infty} sF(s) t → 0 + lim ​ f ( t ) = s → ∞ lim ​ s F ( s ) . Both let you answer "what is the steady-state response?" without inverting anything.

Worked Example: Step Response by Laplace Transform

Solve y ′ + 3 y = 6 y' + 3y = 6 y ′ + 3 y = 6 with y ( 0 ) = 0 y(0) = 0 y ( 0 ) = 0 .

Transform both sides: s Y ( s ) − 0 + 3 Y ( s ) = 6 s ⇒ Y ( s ) ( s + 3 ) = 6 s ⇒ Y ( s ) = 6 s ( s + 3 ) sY(s) - 0 + 3Y(s) = \frac{6}{s} \;\Rightarrow\; Y(s)(s+3) = \frac{6}{s} \;\Rightarrow\; Y(s) = \frac{6}{s(s+3)} s Y ( s ) − 0 + 3 Y ( s ) = s 6 ​ ⇒ Y ( s ) ( s + 3 ) = s 6 ​ ⇒ Y ( s ) = s ( s + 3 ) 6 ​

Partial fractions: 6 s ( s + 3 ) = 2 s − 2 s + 3 \dfrac{6}{s(s+3)} = \dfrac{2}{s} - \dfrac{2}{s+3} s ( s + 3 ) 6 ​ = s 2 ​ − s + 3 2 ​ . Inverting term by term: y ( t ) = 2 − 2 e − 3 t y(t) = 2 - 2e^{-3t} y ( t ) = 2 − 2 e − 3 t

Check against the standard form y = b / a + ( y 0 − b / a ) e − a t y = b/a + (y_0 - b/a)e^{-at} y = b / a + ( y 0 ​ − b / a ) e − a t with a = 3 a = 3 a = 3 , b = 6 b = 6 b = 6 , y 0 = 0 y_0 = 0 y 0 ​ = 0 : y = 2 + ( 0 − 2 ) e − 3 t y = 2 + (0-2)e^{-3t} y = 2 + ( 0 − 2 ) e − 3 t . Same answer. Confirm the steady state with the final value theorem: lim ⁡ s → 0 s ⋅ 6 s ( s + 3 ) = 6 3 = 2 \lim_{s\to0} s\cdot\frac{6}{s(s+3)} = \frac{6}{3} = 2 lim s → 0 ​ s ⋅ s ( s + 3 ) 6 ​ = 3 6 ​ = 2 . ✓

  • Additional First-Order ODE Practice
  • Separable First-Order ODEs

An ODE is separable if it can be written as d y d x = g ( x ) h ( y ) \frac{dy}{dx} = g(x)h(y) d x d y ​ = g ( x ) h ( y ) , solved by separating variables: ∫ 1 h ( y ) d y = ∫ g ( x ) d x + C \int \frac{1}{h(y)} dy = \int g(x) dx + C ∫ h ( y ) 1 ​ d y = ∫ g ( x ) d x + C

  • First-Order Linear ODEs (Integrating Factor Method)
  • Standard form: d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y ​ + P ( x ) y = Q ( x )

Compute integrating factor I ( x ) = e ∫ P ( x ) d x I(x) = e^{\int P(x)dx} I ( x ) = e ∫ P ( x ) d x .

Multiply standard ODE by I ( x ) I(x) I ( x ) to obtain d d x [ I ( x ) y ] = I ( x ) Q ( x ) \frac{d}{dx}[I(x)y] = I(x)Q(x) d x d ​ [ I ( x ) y ] = I ( x ) Q ( x ) .

Integrate both sides: y ( x ) = 1 I ( x ) [ ∫ I ( x ) Q ( x ) d x + C ] y(x) = \frac{1}{I(x)} \left[ \int I(x) Q(x) dx + C \right] y ( x ) = I ( x ) 1 ​ [ ∫ I ( x ) Q ( x ) d x + C ]

Additional Second-Order ODE Practice

Standard homogeneous form: a d 2 y d t 2 + b d y d t + c y = 0 a \frac{d^2 y}{dt^2} + b \frac{dy}{dt} + c y = 0 a d t 2 d 2 y ​ + b d t d y ​ + cy = 0

Substitute trial solution y = e r t y = e^{rt} y = e r t to form the characteristic (auxiliary) equation : a r 2 + b r + c = 0 ⟹ r 1 , 2 = − b ± b 2 − 4 a c 2 a a r^2 + b r + c = 0 \implies r_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} a r 2 + b r + c = 0 ⟹ r 1 , 2 ​ = 2 a − b ± b 2 − 4 a c ​ ​

Discriminant Δ = b 2 − 4 a c \Delta = b^2 - 4ac Δ = b 2 − 4 a c Roots r 1 , r 2 r_1, r_2 r 1 ​ , r 2 ​ Physical System State (Damping) General Solution y ( t ) y(t) y ( t )

Δ > 0 \Delta > 0 Δ > 0 Real and distinct Overdamped y ( t ) = C 1 e r 1 t + C 2 e r 2 t y(t) = C_1 e^{r_1 t} + C_2 e^{r_2 t} y ( t ) = C 1 ​ e r 1 ​ t + C 2 ​ e r 2 ​ t

Δ = 0 \Delta = 0 Δ = 0 Real and repeated ( r 1 = r 2 = r r_1 = r_2 = r r 1 ​ = r 2 ​ = r ) Critically Damped y ( t ) = ( C 1 + C 2 t ) e r t y(t) = (C_1 + C_2 t) e^{r t} y ( t ) = ( C 1 ​ + C 2 ​ t ) e r t

Δ < 0 \Delta < 0 Δ < 0 Complex conjugates ( r = α ± i β r = \alpha \pm i\beta r = α ± i β ) Underdamped (Oscillatory) y ( t ) = e α t ( C 1 cos ⁡ β t + C 2 sin ⁡ β t ) y(t) = e^{\alpha t} (C_1 \cos\beta t + C_2 \sin\beta t) y ( t ) = e α t ( C 1 ​ cos βt + C 2 ​ sin βt ) ; (where α = − b 2 a \alpha = -\frac{b}{2a} α = − 2 a b ​ , β = 4 a c − b 2 2 a \beta = \frac{\sqrt{4ac - b^2}}{2a} β = 2 a 4 a c − b 2 ​ ​ )

Non-Homogeneous Second-Order ODEs

For a y ′ ′ + b y ′ + c y = f ( t ) a y'' + b y' + c y = f(t) a y ′′ + b y ′ + cy = f ( t ) , the total solution is y ( t ) = y h ( t ) + y p ( t ) y(t) = y_h(t) + y_p(t) y ( t ) = y h ​ ( t ) + y p ​ ( t ) , where y h ( t ) y_h(t) y h ​ ( t ) is the general solution to the homogeneous equation and y p ( t ) y_p(t) y p ​ ( t ) is a particular solution found using the Method of Undetermined Coefficients .

  • Worked Engineering Problems
  • Worked Example 1: Transient Fluid Tank Mixing (First-Order ODE)

Problem: A 100-liter storage tank initially contains pure water ( y ( 0 ) = 0 kg y(0) = 0\text{ kg} y ( 0 ) = 0 kg of salt). Salt brine containing 0.5 kg/L 0.5\text{ kg/L} 0.5 kg/L concentration flows into the tank at 4 L/min 4\text{ L/min} 4 L/min . The well-mixed solution flows out at 4 L/min 4\text{ L/min} 4 L/min . Set up and solve the differential equation for salt mass y ( t ) y(t) y ( t ) in the tank at any time t t t .

Solution:

Step 1: Set up mass balance rate equation d y d t = Rate In − Rate Out \frac{dy}{dt} = \text{Rate In} - \text{Rate Out} d t d y ​ = Rate In − Rate Out . Rate In = ( 0.5 kg/L ) × ( 4 L/min ) = 2.0 kg/min \text{Rate In} = (0.5\text{ kg/L}) \times (4\text{ L/min}) = 2.0\text{ kg/min} Rate In = ( 0.5 kg/L ) × ( 4 L/min ) = 2.0 kg/min Rate Out = ( y ( t ) 100 kg/L ) × ( 4 L/min ) = 0.04 y ( t ) kg/min \text{Rate Out} = \left(\frac{y(t)}{100}\text{ kg/L}\right) \times (4\text{ L/min}) = 0.04 y(t)\text{ kg/min} Rate Out = ( 100 y ( t ) ​ kg/L ) × ( 4 L/min ) = 0.04 y ( t ) kg/min d y d t = 2 − 0.04 y ⟹ d y d t + 0.04 y = 2 \frac{dy}{dt} = 2 - 0.04y \implies \frac{dy}{dt} + 0.04y = 2 d t d y ​ = 2 − 0.04 y ⟹ d t d y ​ + 0.04 y = 2

Step 2: Identify integrating factor I ( t ) I(t) I ( t ) . P ( t ) = 0.04 ⟹ I ( t ) = e ∫ 0.04 d t = e 0.04 t P(t) = 0.04 \implies I(t) = e^{\int 0.04 dt} = e^{0.04t} P ( t ) = 0.04 ⟹ I ( t ) = e ∫ 0.04 d t = e 0.04 t

Step 3: Multiply and integrate. d d t [ e 0.04 t y ] = 2 e 0.04 t \frac{d}{dt}\left[ e^{0.04t} y \right] = 2 e^{0.04t} d t d ​ [ e 0.04 t y ] = 2 e 0.04 t ≠ 0.04 t y = ∫ 2 e 0.04 t d t = 2 0.04 e 0.04 t + C = 50 e 0.04 t + C \ne^{0.04t} y = \int 2 e^{0.04t} dt = \frac{2}{0.04} e^{0.04t} + C = 50 e^{0.04t} + C  = 0.04 t y = ∫ 2 e 0.04 t d t = 0.04 2 ​ e 0.04 t + C = 50 e 0.04 t + C y ( t ) = 50 + C e − 0.04 t y(t) = 50 + C e^{-0.04t} y ( t ) = 50 + C e − 0.04 t

Step 4: Apply initial condition y ( 0 ) = 0 y(0) = 0 y ( 0 ) = 0 . 0 = 50 + C e 0 ⟹ C = − 50 0 = 50 + C e^0 \implies C = -50 0 = 50 + C e 0 ⟹ C = − 50 y ( t ) = 50 ( 1 − e − 0.04 t ) kg y(t) = 50(1 - e^{-0.04t})\text{ kg} y ( t ) = 50 ( 1 − e − 0.04 t ) kg

Worked Example 2: Damped Mass-Spring Mechanical System (Second-Order ODE)

Problem: A 1 kg 1\text{ kg} 1 kg mass on a shock absorber system satisfies y ′ ′ + 6 y ′ + 13 y = 0 y'' + 6y' + 13y = 0 y ′′ + 6 y ′ + 13 y = 0 , where y ( t ) y(t) y ( t ) is displacement in meters. Given initial displacement y ( 0 ) = 2 m y(0) = 2\text{ m} y ( 0 ) = 2 m and initial velocity y ′ ( 0 ) = 0 m/s y'(0) = 0\text{ m/s} y ′ ( 0 ) = 0 m/s , find y ( t ) y(t) y ( t ) .

Solution:

Step 1: Solve characteristic equation r 2 + 6 r + 13 = 0 r^2 + 6r + 13 = 0 r 2 + 6 r + 13 = 0 . r = − 6 ± 36 − 4 ( 1 ) ( 13 ) 2 = − 6 ± 36 − 52 2 = − 6 ± − 16 2 = − 3 ± 2 i r = \frac{-6 \pm \sqrt{36 - 4(1)(13)}}{2} = \frac{-6 \pm \sqrt{36 - 52}}{2} = \frac{-6 \pm \sqrt{-16}}{2} = -3 \pm 2i r = 2 − 6 ± 36 − 4 ( 1 ) ( 13 ) ​ ​ = 2 − 6 ± 36 − 52 ​ ​ = 2 − 6 ± − 16 ​ ​ = − 3 ± 2 i

Here α = − 3 \alpha = -3 α = − 3 and β = 2 \beta = 2 β = 2 (Underdamped response).

Step 2: Form general underdamped solution. y ( t ) = e − 3 t ( C 1 cos ⁡ 2 t + C 2 sin ⁡ 2 t ) y(t) = e^{-3t}(C_1 \cos 2t + C_2 \sin 2t) y ( t ) = e − 3 t ( C 1 ​ cos 2 t + C 2 ​ sin 2 t )

Step 3: Apply initial condition y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 . y ( 0 ) = e 0 ( C 1 cos ⁡ 0 + C 2 sin ⁡ 0 ) = C 1 = 2 y(0) = e^0 (C_1 \cos 0 + C_2 \sin 0) = C_1 = 2 y ( 0 ) = e 0 ( C 1 ​ cos 0 + C 2 ​ sin 0 ) = C 1 ​ = 2

Step 4: Differentiate y ( t ) y(t) y ( t ) and apply y ′ ( 0 ) = 0 y'(0) = 0 y ′ ( 0 ) = 0 . y ′ ( t ) = − 3 e − 3 t ( C 1 cos ⁡ 2 t + C 2 sin ⁡ 2 t ) + e − 3 t ( − 2 C 1 sin ⁡ 2 t + 2 C 2 cos ⁡ 2 t ) y'(t) = -3e^{-3t}(C_1 \cos 2t + C_2 \sin 2t) + e^{-3t}(-2C_1 \sin 2t + 2C_2 \cos 2t) y ′ ( t ) = − 3 e − 3 t ( C 1 ​ cos 2 t + C 2 ​ sin 2 t ) + e − 3 t ( − 2 C 1 ​ sin 2 t + 2 C 2 ​ cos 2 t ) y ′ ( 0 ) = − 3 ( 1 ) ( C 1 ) + 1 ( 2 C 2 ) = − 3 ( 2 ) + 2 C 2 = − 6 + 2 C 2 = 0 ⟹ C 2 = 3 y'(0) = -3(1)(C_1) + 1(2C_2) = -3(2) + 2C_2 = -6 + 2C_2 = 0 \implies C_2 = 3 y ′ ( 0 ) = − 3 ( 1 ) ( C 1 ​ ) + 1 ( 2 C 2 ​ ) = − 3 ( 2 ) + 2 C 2 ​ = − 6 + 2 C 2 ​ = 0 ⟹ C 2 ​ = 3

Final Solution: y ( t ) = e − 3 t ( 2 cos ⁡ 2 t + 3 sin ⁡ 2 t ) m y(t) = e^{-3t}(2 \cos 2t + 3 \sin 2t)\text{ m} y ( t ) = e − 3 t ( 2 cos 2 t + 3 sin 2 t ) m