Basic Partial Differential Equations
Canonical partial differential equations in physics: wave equation, heat conduction, Laplace, and Poisson.
What it is
A partial differential equation (PDE) relates a multivariable field to its spatial and temporal partial derivatives. For general second-order linear PDEs in two independent variables : The mathematical classification is governed strictly by the discriminant sign :
- Elliptic ():
- Prototype: Laplace equation and Poisson equation .
- Physics: Time-independent stationary equilibrium profiles, maximum smoothness, satisfying mean-value properties. Requires closed boundary constraints.
- Parabolic ():
- Prototype: Heat / Diffusion equation .
- Physics: Irreversible dissipative transport. Gradients smooth out with infinite propagation speed.
- Hyperbolic ():
- Prototype: D'Alembert wave equation .
- Physics: Conservative finite-speed causal signal propagation along characteristic directions. Preserves total mechanical energy.
Why it appears in physics
Physical force fields fill spatial volumes and evolve continuously:
- Electromagnetism: In Lorenz gauge, Maxwell's equations decouple into four decoupled hyperbolic d'Alembert wave PDEs .
- Gravitational fields: Steady Newtonian gravity satisfies Poisson's elliptic equation , while gravitational radiation propagates hyperbolically .
- Quantum mechanics: The Schrödinger wave equation resembles a complex parabolic equation, generating dispersive quantum probability waves.
- Acoustics and seismology: Elastic compression () and shear () seismic waves propagate through planetary mantles as hyperbolic PDEs.
Visual or geometric intuition
- Hyperbolic (Waves): In spacetime , information flows strictly along diagonal characteristic rays . Initial state disturbances are bounded strictly within the forward light cone.
- Parabolic (Diffusion): An initial point spike (Dirac delta) spreads out instantly as an expanding Gaussian bell whose spatial variance scales linearly with time: .
- Elliptic (Laplace): The potential distribution acts like an elastic rubber sheet clamped along its perimeter. The value at the center of any sphere strictly equals the boundary surface average (mean value property).
Minimal symbolic language
- D'Alembertian wave operator:
- D'Alembert 1D traveling wave formula: where and .
- Separation of variables (Fourier eigenmode Ansatz): splitting the PDE into two coupled ordinary differential eigenvalue problems.
What the result means
- Fourier modal superposition: The composite field is represented as an infinite series of orthogonal eigenfunctions: Higher spatial harmonics attenuate drastically faster (), revealing why localized temperature spikes rapidly smooth out.
- Maximum Principle: Solutions to Laplace and heat equations inside a domain attain absolute extrema exclusively on the domain boundary .
- Causal horizon: For wave equations, disturbances from cannot influence points outside .
When not to use it
- Separation of variables on irregular non-conforming boundaries: Separation requires domain boundaries to lie along constant coordinate curves. Arbitrary shapes demand numerical finite elements (FEM).
- Backward heat diffusion (): Reverse time integration is severely ill-posed and numerically diverges under machine precision noise.
- Imposing Cauchy data on Laplace operators: Initial value prescriptions on elliptic PDEs generate unphysical Hadamard instabilities.
Operational summary
- Classify the PDE via (Elliptic, Parabolic, or Hyperbolic).
- Inspect spatial geometry and boundary conditions (Dirichlet vs. Neumann).
- Apply separation of variables .
- Solve the spatial Sturm-Liouville boundary eigenvalue problem for and .
- Solve the corresponding temporal ODE .
- Compute Fourier coefficients matching initial data at .
Procedure: Separation of Variables for Basic PDEs
Before calculating
- Identify PDE classification:
- Wave (Hyperbolic): (requires 2 initial conditions and 2 boundary conditions).
- Heat (Parabolic): (requires 1 initial condition and 2 boundary conditions).
- Laplace (Elliptic): (requires 4 closed boundary conditions).
- Check for boundary homogeneity: If boundaries have non-zero Dirichlet values (), isolate the steady-state solution first and define transient perturbation .
Step 1: Identify the mathematical object
Write the PDE with its boundary data on domain :
- Dirichlet boundary data: and .
- Neumann boundary data: and .
Step 2: Choose the operation (Separation of variables)
Substitute product trial and divide through:
- Heat equation:
- Wave equation:
Step 3: Conserve units and signs
- Choose separation constant with negative sign to ensure bounded oscillatory spatial eigenfunctions.
- Eigenvalues carry units of ().
Step 4: Calculate
- Solve spatial Sturm-Liouville problem:
- Under Dirichlet conditions ():
- Solve temporal ODE:
- Heat: .
- Wave: .
- Assemble Fourier series:
- Compute Fourier coefficients by orthogonality:
Step 5: Interpret the result
- Check asymptotic limits: in diffusion, all modes decay to zero as .
- For waves, confirm that total mechanical energy remains conserved over time.
Self-check checklist
- Are the boundary conditions on homogeneous?
- Did I choose with correct negative sign?
- Did I use orthogonality factor when evaluating Fourier integrals?
- Are physical units for diffusivity () or speed () consistent?
- Does evaluating match initial profile ?
Worked Examples: Basic Partial Differential Equations
Step-by-step guided example
Problem
A homogeneous thin metal rod of length and thermal diffusivity has its ends plunged in ice water: and for . At , the initial temperature profile across the rod is:
- State the governing PDE and boundary/initial data.
- Find the exact analytic solution via separation of variables.
- Compute the temperature at midpoint at .
Detailed solution
Step 1: Governing formulation Boundary conditions: . Initial condition: .
Step 2: Separation of variables Assuming : Spatial Sturm-Liouville problem: Eigenvalues and eigenfunctions: Temporal ODE: General Fourier series:
Step 3: Matching initial data At : By orthogonality: The exact closed solution is:
Step 4: Midpoint evaluation at Parameters: . At : . The third harmonic is practically wiped out ( decay).
Inverse example
Problem
An acoustic pressure disturbance inside a 1D loss-free waveguide follows:
- Prove this satisfies D'Alembert's wave PDE and determine wave speed .
- Reconstruct the initial spatial shape and initial velocity .
Detailed solution
Step 1: Testing D'Alembert's form The expression matches D'Alembert's traveling wave structure with . Differentiating confirms: verifying the wave equation identically.
Step 2: Reconstructing initial conditions
- Initial profile at :
- Initial velocity at : The initial configuration was a stationary symmetric pressure hump released from rest.
Common Errors: Basic Partial Differential Equations
Error 1: Using Dirichlet sine bases for Neumann boundary problems
Applying when boundaries are thermally insulated or free-ended.
- Correction: Zero-flux / free-end conditions demand derivative vanishing (Neumann), requiring cosine modes and the constant zero mode.
Error 2: Dropping the average mode in Neumann diffusion
Omitting constant term in Fourier expansions for insulated bars.
- Consequence: Predicts that insulated thermal energy drops to zero, violating global energy conservation.
Error 3: Attempting separation of variables with inhomogeneous boundary conditions
Testing directly when boundary values are non-zero (e.g. ).
- Correction: Subtract the steady-state baseline first to homogenize boundary data.
Error 4: Conflating temporal operators between heat and wave equations
Assigning harmonic sines/cosines to diffusion or exponential decay to lossless waves.
- Rule: yields dissipative irreversible decay ; yields conservative oscillations .
Error 5: Forgetting the initial velocity condition in wave problems
Fitting initial displacement while ignoring initial velocity .
- Correction: Second-order time derivatives demand two initial conditions to resolve both modal amplitudes and velocity phases.
Quick control rule
Evaluate your final series at : it must reproduce the initial profile identically and satisfy spatial boundary constraints at and .
Physical Applications: Basic Partial Differential Equations
1. Heat conduction and metallurgical quenching
Steel heat treatment and cryo-tempering in industrial metallurgy follow anisotropic heat diffusion: Simulating thermal gradients prevents residual mechanical stresses and avoids microfractures in aerospace turbine blades.
2. Architectural acoustics and auditorium sound field design
Acoustic pressure propagation across concert halls satisfies the Helmholtz frequency-domain PDE: Resolving room eigenmodes allows acoustic engineers to eliminate destructive standing wave flutter echoes via Schroeder diffusers.
3. Magnetohydrodynamics and Tokamak plasma confinement
Magnetic fusion reactors (e.g. ITER) model magnetohydrodynamic plasma equilibrium via the Grad-Shafranov elliptic PDE: where poloidal magnetic flux shapes closed toroidal magnetic confinement surfaces.
4. Atmospheric dynamics and synoptic meteorology
Synoptic-scale weather system propagation is governed by the quasi-geostrophic potential vorticity equation: where denotes the streamfunction and the Coriolis parameter, forecasting jet stream meanders and cyclone development.
5. Ultrafast photonics and optical solitons in fiber telecommunications
Femtosecond light pulse propagation along optical fibers balances group velocity dispersion and optical Kerr nonlinearity via the Non-Linear Schrödinger Equation (NLSE): This balance generates stable optical solitons transmitting petabits of data through undersea transoceanic cables without pulse broadening.
Interdisciplinary connection
PDEs form the mathematical core of oil exploration seismology (reverse-time seismic wave migration), cardiac electrophysiology (Hodgkin-Huxley wave propagation), and relativistic numerical astrophysics (gravitational waveform modeling from binary black hole mergers).
Guided Practice: Basic Partial Differential Equations
Exercise 1: Plucked guitar string released from a triangular pluck
A string clamped at and is plucked upward to height at center and released from rest:
- Formulate the Fourier series solution for .
- Compute Fourier coefficients .
- Explain why all even harmonics vanish.
Solution
- Wave equation series:
- Integrating:
- Even harmonics vanish because for all even , reflecting mirror symmetry of the initial pluck around midpoint .
Exercise 2: Thermal relaxation in an insulated rod (Neumann conditions)
A heat conductor of length has insulated ends: and . Initial temperature: .
- State the spatial eigenfunctions for homogeneous Neumann boundaries.
- Find the analytic temperature profile .
- Determine the equilibrium temperature as .
Solution
- Eigenfunctions: for .
- Rewriting initial data: Matching coefficients: , , other .
- As , transient decays: Thermal energy redistributes uniformly without boundary heat loss.
Exercise 3: Electrostatic potential in a square plate (Laplace equation)
A 2D conducting sheet satisfies . Sides , and are grounded (), while top edge is held at potential . Solve for interior potential .
Solution
- Separating :
- Series form:
- Matching :