Differential Equations are the mathematical expressions of physical reality across every domain of civil engineering. Whether analyzing the dynamic oscillations of an earthquake-excited bridge deck, the transient consolidation of a soft clay stratum beneath a foundation, the flow net seepage under a concrete dam, or the advective-dispersive transport of contaminants in an urban aquifer, the governing physical laws of mass, momentum, and energy conservation inherently manifest as ordinary or partial differential equations.
Core Terminology & Definitions
Ordinary Differential Equation (ODE): An equation containing one or more functions of a single independent variable and its derivatives.
Partial Differential Equation (PDE): An equation containing functions of multiple independent variables (e.g., spatial coordinates x,y,z and time t) and their partial derivatives.
Order of a Differential Equation: The order of the highest derivative occurring in the equation.
Degree of a Differential Equation: The power (exponent) of the highest-order derivative, after the equation has been cleared of radicals and fractions in its derivatives.
Linear Differential Equation: A differential equation where the dependent variable and all its derivatives appear strictly in the first degree and are not multiplied together.
Exact Differential Equation: A first-order equation M(x,y)dx+N(x,y)dy=0 that represents the total differential du=∂x∂udx+∂y∂udy=0 of some scalar function u(x,y).
Integrating Factor (IF): A multiplier function μ(x,y) that transforms a non-exact differential equation into an exact one, or solves a first-order linear ODE.
Complementary Function (CF): The general solution of the associated homogeneous linear differential equation f(D)y=0, containing n arbitrary constants.
Particular Integral (PI): Any specific solution of the non-homogeneous equation f(D)y=X(x) satisfying the driving force without arbitrary constants.
Wronskian (W): The determinant of fundamental solutions and their derivatives W(y1,y2)=y1y2′−y1′y2, utilized in testing linear independence and evaluating particular integrals via variation of parameters.
Cauchy-Euler Equation: A linear ODE with variable coefficients where the power of x in each term matches the order of the derivative: anxndxndny+⋯+a0y=X(x).
Laplace Transform: An integral operational transform mapping a time-domain differential equation f(t) into a complex frequency-domain algebraic equation F(s)=∫0∞e−stf(t)dt.
Solution Algorithm:∫y=constMdx+∫(terms in N free from x)dy=C
Integrating Factors (IF) for Non-Exact Equations:
Case 1 (Function of x only):If N1(∂y∂M−∂x∂N)=f(x)⟹IF=e∫f(x)dx
Case 2 (Function of y only):If M1(∂x∂N−∂y∂M)=g(y)⟹IF=e∫g(y)dy
First-Order Linear ODE:dxdy+P(x)y=Q(x)IF=e∫P(x)dxy⋅(IF)=∫[Q(x)⋅(IF)]dx+C
Bernoulli's Equation (Non-Linear):dxdy+P(x)y=Q(x)yn(n=0,1)
Dividing across by yn: y−ndxdy+P(x)y1−n=Q(x).
Substituting v=y1−n⟹dxdv=(1−n)y−ndxdy, reducing the equation to linear:
dxdv+(1−n)P(x)v=(1−n)Q(x)
2.2 Higher-Order Linear ODEs with Constant Coefficients
General form:
dxndny+an−1dxn−1dn−1y+⋯+a1dxdy+a0y=X(x)
Written in operator notation (D=dxd):
f(D)y=X(x)
Complete Solution:
y(x)=yc(x)+yp(x)=CF+PI
A. Complementary Function (CF) via Auxiliary Equation f(m)=0:
Real & Distinct Roots (m1=m2):yc=c1em1x+c2em2x
Real & Repeated Roots (m1=m2=m):yc=(c1+c2x)emx(For k repeated roots: (c1+c2x+⋯+ckxk−1)emx)
B. Particular Integral (PI) Operator Rules (yp=f(D)1X):
Exponential X=eax:f(D)1eax=f(a)1eaxprovided f(a)=0
If f(a)=0 (Case of Failure / Resonance):
f(D)1eax=x⋅f′(D)1eax=f′(a)xeax
Trigonometric X=sin(ax) or cos(ax):
Replace D2 with −a2 in f(D2):
ϕ(D2)1sin(ax)=ϕ(−a2)1sin(ax)provided ϕ(−a2)=0
If ϕ(−a2)=0:
D2+a21sin(ax)=−2axcos(ax),D2+a21cos(ax)=2axsin(ax)
Polynomial X=xm:
Expand [f(D)]−1 as an ascending binomial power series in D up to order Dm.
Consider the general 2nd-order non-homogeneous linear ODE:
y′′+P(x)y′+Q(x)y=X(x)
Let y1(x) and y2(x) be two linearly independent solutions of the homogeneous equation y′′+Py′+Qy=0.
The complementary function is yc=c1y1+c2y2.
In variation of parameters, we replace constants c1,c2 with unknown variable functions u1(x),u2(x):
The value of the unknown function is explicitly prescribed along the boundary:
u∣Γ=f(x,y)
Civil Example: Prescribed hydraulic head along upstream river bed (h=H) in dam seepage.
Neumann Boundary Condition:
The normal gradient (derivative) is prescribed along the boundary:
∂n∂uΓ=g(x,y)
Civil Example: Impermeable bedrock base where ∂z∂h=0 (zero normal flow).
Robin / Mixed Boundary Condition:
Linear combination of value and normal derivative:
(αu+β∂n∂u)Γ=h(x,y)
Civil Example: Heat convection from curing concrete into ambient air.
7. Critical Failure Modes & Edge Cases
Resonance Phenomenon in Forced Oscillations:
If driving frequency matches natural frequency (Ω=ωn), the denominator in the particular integral D2+ωn21sin(ωnt) vanishes (f(a)=0).
The particular integral becomes yp(t)=−2ωntcos(ωnt), growing linearly without bound ⟹ catastrophic structural collapse (e.g., Broughton Suspension Bridge, Millennium Bridge lateral resonance).
Singular Points in Cauchy-Euler Equations:
The point x=0 is a regular singular point. Cauchy-Euler solutions y=c1xm1+c2xm2 can blow up at x=0 if roots are negative. Boundary conditions must be applied strictly for x>0.
Piping Failure from Flownet Exit Gradients:
In 2D Laplace seepage, if the exit hydraulic gradient iexit=ΔLΔh≥icr=1+eG−1, effective stress drops to zero. Soil boiling and backward erosion piping undermine the dam foundation.
8. Worked Numerical Problems
Problem 1: First-Order Linear ODE Governing Environmental Reservoir Dilution
Statement:
A municipal water storage reservoir of constant volume V=1000.00 m3 receives an industrial discharge inflow at a constant volumetric rate Q=20.00 m3/day with a constant contaminant concentration Cin=5.00 mg/L.
The well-mixed reservoir discharges treated water at the same rate Q=20.00 m3/day. Inside the reservoir, the pollutant undergoes first-order biochemical decay with a reaction rate constant k=0.03 day−1.
Assuming the reservoir is initially clean (C(0)=0.00 mg/L):
Formulate the governing differential equation and find the integrating factor.
Determine the analytical expression for pollutant concentration C(t) as a function of time.
Calculate the steady-state concentration (Css) as t→∞.
Calculate the concentration at t=30.00 days.
Calculate the time required for the concentration to reach 90.00% of its steady-state value.
Step-by-Step Analytical Solution
Part 1: Governing ODE Formulation & Integrating Factor
Mass conservation rate equation:
Rate of Mass Accumulation=Mass Inflow Rate−Mass Outflow Rate−Decay RateVdtdC=QCin−QC(t)−kVC(t)
Dividing through by volume V:
dtdC+(VQ+k)C(t)=VQCin
Substituting parameter values:
VQ=1000.0020.00=0.02 day−1
Total rate coefficient: P=VQ+k=0.02+0.03=0.05 day−1
C(t)=0.90×Css=0.90×2.00=1.80 mg/L2.00(1−e−0.05t)=1.80⟹1−e−0.05t=0.90⟹e−0.05t=0.10−0.05t=ln(0.10)=−2.302585t=0.052.302585=46.05 days
Problem 2: Second-Order Linear ODE with Constant Coefficients (Damped SDOF Dynamic Response)
Statement:
The lateral dynamic displacement y(t) of an elevated structural frame subjected to a step blast wind overpressure is governed by the second-order differential equation:
dt2d2y+4dtdy+13y=26
Subject to initial conditions: at t=0, displacement y(0)=4.00 mm, and initial velocity y′(0)=0.00 mm/s.
Find the roots of the auxiliary equation and write the Complementary Function (yc(t)).
Calculate the Particular Integral (yp(t)).
Determine the complete analytical solution y(t) satisfying both initial conditions.
Calculate the displacement at time t=1.00 s.
Step-by-Step Analytical Solution
Part 1: Auxiliary Equation & Complementary Function
Auxiliary equation:
cos(3.00 rad)=−0.989992,sin(3.00 rad)=0.1411202.00(−0.989992)+1.333333(0.141120)=−1.979984+0.188160=−1.791824e−2(1.00)=e−2=0.135335y(1.00)=(0.135335)(−1.791824)+2.00=−0.2425+2.00=1.7575 mm
Problem 3: Cauchy-Euler Equidimensional ODE & Variable Transformation
Statement:
A radially symmetric circular foundation slab under variable hydrostatic subgrade pressure is governed by the Cauchy-Euler differential equation:
x2dx2d2y−2xdxdy+2y=4x3(x>0)
Subject to the two-point boundary conditions: y(1.00)=3.00 and y(2.00)=22.00.
Transform the variable-coefficient ODE into a constant-coefficient ODE using substitution x=ez.
Solve for the complementary function and particular integral.
Determine the constants from the boundary conditions to obtain y(x).
Calculate y(1.50).
Step-by-Step Analytical Solution
Part 1: Transformation to Constant-Coefficient ODE
Let x=ez⟺z=lnx.
Operator relations:
xdxd=Dz,x2dx2d2=Dz(Dz−1)=Dz2−Dz
RHS: 4x3=4(ez)3=4e3z.
Substituting into the ODE:
[Dz(Dz−1)−2Dz+2]y=4e3z[Dz2−3Dz+2]y=4e3z
Part 2: Complementary Function and Particular Integral
Auxiliary equation:
The dissipation of excess pore water pressure u(z,t) over decades under structural embankments is solved using Fourier separation of variables on the parabolic PDE ∂t∂u=cv∂z2∂2u.
The flow of water beneath concrete gravity dams obeys ∇2h=0. Flownets composed of orthogonal streamlines and equipotentials determine exit hydraulic gradients to safeguard against catastrophic foundation piping.
Transient Water Hammer in Hydroelectric Penstocks (Hyperbolic Wave):
Rapid valve closure creates pressure waves governed by ∂t2∂2p=c2∂x2∂2p. Solved using the Method of Characteristics (MOC) to design surge tanks.
12. Comprehensive Summary & Quick Revision Guide
Exact ODE:∂y∂M=∂x∂N. Solution: ∫y=cMdx+∫(terms in N free from x)dy=C.
Linear 1st-Order:y′+Py=Q⟹IF=e∫Pdx⟹y⋅IF=∫(Q⋅IF)dx+C.
CF Roots: Real distinct (c1em1x+c2em2x), Real repeated ((c1+c2x)emx), Complex (eαx(c1cosβx+c2sinβx)).
Integrating Factor Practice: Find the integrating factor of the differential equation (x2+y2+2x)dx+2ydy=0. (Answer: M=x2+y2+2x,N=2y⟹∂y∂M=2y,∂x∂N=0⟹NMy−Nx=2y2y=1⟹IF=e∫1dx=ex)
Particular Integral Resonance Practice: Find the particular integral of dx2d2y+9y=sin3x. (Answer: f(−32)=−9+9=0⟹yp=f′(D)xsin3x=2Dxsin3x=2x∫sin3xdx=−6xcos3x=−0.1667xcos3x)
PDE Classification Practice: Classify the PDE: 4∂x2∂2u−12∂x∂y∂2u+9∂y2∂2u=0. (Answer: A=4,B=−12,C=9⟹Δ=B2−4AC=(−12)2−4(4)(9)=144−144=0⟹PARABOLIC)