Partial Differential Equations
While ordinary differential equations (ODEs) involve unknown functions of a single variable, Partial Differential Equations (PDEs) involve unknown functions of multiple independent variables and their partial derivatives. They are essential for describing physical phenomena spread out over space and time, such as heat diffusion, wave propagation, and fluid dynamics.
Partial Differential Equation (PDE)
An equation containing an unknown function of two or more independent variables and its partial derivatives (, etc.).
Classification of Second-Order Linear PDEs
A general second-order linear PDE in two variables takes the form:
The Discriminant Test
Similar to conic sections in geometry, PDEs are classified based on the discriminant :
- Elliptic (): Describes steady-state systems with no time dependence (e.g., 2D Laplace's Equation ). Solutions are typically smooth and represent equilibrium states.
- Parabolic (): Describes time-dependent dissipative processes (e.g., 1D Heat Equation ). Solutions diffuse and smooth out over time.
- Hyperbolic (): Describes time-dependent wave propagation (e.g., 1D Wave Equation ). Solutions transport information at a finite speed (waves) and preserve discontinuities.
Fourier Series
To solve many linear PDEs on bounded domains, we must represent complex initial or boundary conditions as an infinite sum of simple sine and cosine waves. This decomposition is known as a Fourier Series.
Fourier Series Formula
For a piecewise smooth, periodic function with period defined on the interval :
Where the Euler-Fourier formulas for the coefficients are:
Visualizing Fourier Series
See how adding more terms (harmonics) to the series improves the approximation of square and sawtooth waves. Notice how higher frequencies are required to capture sharp corners (Gibbs Phenomenon).
Fourier Series Visualization
1 Harmonicn = 120 Harmonics
Method of Separation of Variables
This is the primary analytical method for solving linear PDEs with homogeneous boundary conditions. It assumes the multivariable solution can be factored into a product of single-variable functions.
Separation Procedure
- Assume Solution Form: Let .
- Substitute into PDE: Plug the assumed form into the PDE. Rearrange algebraically to separate the variables onto opposite sides of the equation (e.g., all terms on the left, all terms on the right).
- Set to Separation Constant: Since a function of equals a function of for all and , both sides must equal a constant, typically denoted . This converts the single PDE into two separate ordinary differential equations (ODEs).
- Solve the Boundary Value Problem (BVP): Solve the spatial ODE () using the given homogeneous boundary conditions (like fixed ends of a string). This restricts to specific discrete values called eigenvalues (), which correspond to non-trivial solutions called eigenfunctions ().
- Solve the Temporal ODE: Solve the time-dependent ODE () for each found eigenvalue . This usually yields exponential decay (Heat) or oscillatory sines/cosines (Wave).
- Superposition: Construct the general solution by summing the infinite product solutions: .
- Apply Initial Conditions: Substitute into the series. Use the initial conditions and compute the Fourier coefficients to find the remaining arbitrary constants.
Fundamental PDE Models
Three classic linear PDEs form the foundation of this field. Each describes a fundamentally different physical process.
1. The 1D Heat Equation (Parabolic)
Models the diffusion of thermal energy in a rod over time.
Where is the temperature and is the thermal diffusivity (thermal conductivity , specific heat , density ).
Behavior: Applying Separation of Variables yields a spatial ODE (sines/cosines) and a temporal ODE (exponential decay). The solution features terms like . High-frequency spatial variations (large ) decay very rapidly, meaning heat quickly smooths out sharp temperature differences.
2. The 1D Wave Equation (Hyperbolic)
Governs the small-amplitude, transverse vibrations of a stretched string, or acoustic waves in a pipe.
Where is the displacement and is the wave speed (tension , linear density ).
Behavior: Both the spatial () and temporal () ODEs are second-order and result in oscillatory sine/cosine solutions. The full series solution represents a superposition of standing waves (normal modes or harmonics) oscillating at discrete frequencies.
3. The 2D Laplace Equation (Elliptic)
Describes steady-state temperature distribution in a 2D plate (after a long time has passed), or electrostatic potential in a region devoid of charge.
Often written as .
Behavior: There is no time derivative. Separation of variables leads to . If , is oscillatory (sines/cosines) and is exponential (or hyperbolic sines/cosines ). The choice of the separation constant's sign depends entirely on the specific boundary conditions given on the edges of the rectangular domain.
Wave Equation Visualizer
1D Wave Equation: Vibrating String
Key Takeaways
- PDE Classification: Second-order PDEs are classified as Elliptic (, steady-state, e.g., Laplace's), Parabolic (, diffusion, e.g., Heat), or Hyperbolic (, propagation, e.g., Wave).
- Separation of Variables: The core analytical technique to convert a single linear PDE into multiple ODEs by assuming the solution factors as .
- Fourier Series: Used to express initial or boundary conditions as an infinite sum of sinusoidal waves, allowing us to perfectly match the eigenfunctions derived from the spatial ODE boundary value problem.
- Heat Equation (): Results in exponential decay of temperature differences over time, smoothing the distribution.
- Wave Equation (): Results in oscillatory motion in both space and time, supporting traveling and standing waves.
- Laplace's Equation (): Results in steady-state solutions built from combinations of trigonometric (oscillating) and hyperbolic (exponential) functions.