Partial Differential Equations (PDEs) are the mathematical foundation of continuum physics, fluid dynamics, electromagnetism, quantitative finance, and structural mechanics. Unlike Ordinary Differential Equations (ODEs) which involve functions of a single independent variable, PDEs describe multivariable dynamic systems where unknown functions depend on multiple spatial and temporal dimensions (x, y, z, t).
This guide details the classification of second-order linear PDEs (Elliptic, Parabolic, and Hyperbolic), classical analytical solution methods (Separation of Variables, Fourier Transforms, and Green's Functions), and modern numerical discretization frameworks (Finite Difference Method FDM, Finite Element Method FEM, and Physics-Informed Neural Networks PINNs).
A general second-order linear PDE in two independent variables has the form:
The mathematical behavior and appropriate numerical solver depend strictly on the Discriminant \Delta = B^2 - 4AC:
+-----------------------------------------------------------------------------------------+
| SECOND-ORDER PDE CLASSIFICATION |
+-----------------------------------------------------------------------------------------+
| Type | Discriminant (B² - 4AC) | Canonical Archetype | Physical Phenomenon | Solver Stability |
+-------------+-------------------------+---------------------------+---------------------+------------------+
| Elliptic | Δ < 0 | Laplace / Poisson Eq | Steady-State Equil. | Global Boundary |
| | | ∇²u = f(x, y) | (Electrostatics, | (Elliptic matrix |
| | | | steady heat/flow) | solvers / PCG) |
+-------------+-------------------------+---------------------------+---------------------+------------------+
| Parabolic | Δ = 0 | Heat / Diffusion Eq | Dissipative Systems | Time-Marching |
| | | ∂u/∂t = α ∇²u | (Thermal conduction,| (Crank-Nicolson, |
| | | | Black-Scholes) | implicit A-stab)|
+-------------+-------------------------+---------------------------+---------------------+------------------+
| Hyperbolic | Δ > 0 | Wave Equation | Propagating Waves | Explicit / CFL |
| | | ∂²u/∂t² = c² ∇²u | (Acoustics, seismic,| (Courant limit |
| | | | electromagnetics) | c · Δt/Δx ≤ 1) |
+-----------------------------------------------------------------------------------------+
Analytical Solution Frameworks:
[ Boundary & Initial Value Problem (PDE + BCs + ICs) ]
|
+-----------------+-----------------+
| |
[ Separation of Variables ] [ Integral Transforms (Fourier / Laplace) ]
- Assumes u(x,t) = X(x) · T(t) - Converts PDE into algebraic ODE in frequency domain
- Produces Sturm-Liouville ODEs - Inverts via contour integration / IFFT
| |
+-----------------+-----------------+
|
v
[ Orthogonal Series Expansion (Fourier / Bessel) ]
For 1D heat conduction along a rod of length L with Dirichlet boundary conditions u(0, t) = u(L, t) = 0:
Setting u(x, t) = X(x) T(t) yields:
Solving the spatial eigenvalue problem gives eigenfunctions X_n(x) = \sin\left(\frac{n \pi x}{L}\right) with eigenvalues \lambda_n = \frac{n \pi}{L}, producing the general solution:
where Fourier coefficients c_n = \frac{2}{L} \int_0^L f(x) \sin\left(\frac{n \pi x}{L}\right) dx match the initial temperature profile f(x) = u(x, 0).
When geometry, non-linear coefficients, or complex boundary conditions render analytical solutions impossible, computational algorithms discretize continuous domain fields:
+---------------------------+-----------------------------------+------------------------+
| Discretization Method | Mathematical Foundation | Best Suited For |
+---------------------------+-----------------------------------+------------------------+
| Finite Difference (FDM) | Taylor series expansion on grids | Regular grid geometries|
| Finite Element (FEM) | Variational weak form over meshes | Complex CAD geometries |
| Finite Volume (FVM) | Conservative flux integral balance| Fluid dynamics (CFD) |
| Physics-Informed NNs | Neural network loss penalized | High-dimensional & |
| (PINNs) | by PDE residual $\| \mathcal{N}(u) - f \|^2$ | inverse parameter est. |
+---------------------------+-----------------------------------+------------------------+
To avoid the severe Courant-Friedrichs-Lewy (CFL) time-step restriction of explicit forward Euler (\Delta t \le \frac{\Delta x^2}{2\alpha}), the Crank-Nicolson method averages spatial derivatives at time steps n and n+1:
Crank-Nicolson is unconditionally stable (A-stable) and second-order accurate in both space and time (\mathcal{O}(\Delta t^2 + \Delta x^2)), requiring only a fast tridiagonal Thomas algorithm solve per time-step.