When physical quantities change not only with time but also with space, we enter the realm of partial differential equations (PDEs). Heat conducting through a metal rod, waves spreading across water, electromagnetic fields propagating through space — these phenomena all require PDEs to describe. This chapter introduces the basic concepts and classification of PDEs, along with solution methods for the three classical equations.
From ODEs to PDEs
Why Do We Need Partial Differential Equations?
In previous chapters, the unknown functions we studied depended on
only one independent variable, such as
- Temperature field
: depends on spatial position and time - Wave function
: depends on position and time - Fluid velocity field
: three-dimensional space plus time
When the unknown function depends on multiple independent variables, partial derivatives appear in the differential equation — this is a partial differential equation (PDE).
Basic Concepts
Definition: A partial differential equation is an equation containing an unknown function and its partial derivatives.
Order: The order of the highest partial derivative appearing in the equation.
Linear vs Nonlinear: - Linear: The unknown function and its derivatives appear linearly - Nonlinear: Contains products, powers, etc., of the unknown function or derivatives
Examples:
- One-dimensional heat equation (linear, second-order):
- One-dimensional wave equation (linear, second-order):
- Laplace equation (linear, second-order):
- Burgers equation (nonlinear, second-order):
Classification of PDEs
Standard Form of Second-Order Linear PDEs
The general form of a second-order linear PDE (two independent
variables):
Classification Criteria
By analogy with the quadratic curve
| Discriminant | Type | Physical Prototype | Characteristics |
|---|---|---|---|
| Hyperbolic | Wave equation | Information propagation, finite speed | |
| Parabolic | Heat equation | Diffusion process, irreversible | |
| Elliptic | Laplace equation | Steady state, equilibrium |
Physical Intuition
Hyperbolic (wave): Information propagates at finite speed. If you throw a stone into a lake, ripples spread gradually, but distant points are temporarily unaffected.
Parabolic (diffusion): Information propagates instantly to infinity (though the effect is small). Heat immediately begins to spread to the surroundings.
Elliptic (equilibrium): No time evolution, describes steady states. Examples include electrostatic fields and steady-state temperature distributions.
Initial-Boundary Value Problems
Why Do We Need Boundary Conditions?
ODEs need initial conditions to determine solutions. PDEs need not only initial conditions (for evolution equations) but also boundary conditions (because there is a spatial domain).
Types of Boundary Conditions
Let the domain boundary be
First kind (Dirichlet): Given function values
Second kind (Neumann): Given normal derivatives
Third kind (Robin/Mixed): Linear combination of
function values and derivatives
Well-Posedness
A PDE problem is well-posed if: 1. Existence: A solution exists 2. Uniqueness: The solution is unique 3. Stability: The solution depends continuously on the data
The Heat Equation
Physical Derivation
Consider heat conduction in a thin rod. Let
Fourier's law of heat conduction: Heat flux is
proportional to temperature gradient
Energy conservation:
Separation of Variables
Consider the problem:$
$
Assume solution form:
$
Solving the spatial part (Sturm-Liouville problem):
Boundary conditions
Solving the temporal part:
General solution:
Finite Difference Methods for the Heat Equation
Explicit scheme (FTCS):
Using forward difference for time and central difference for
space:
Stability condition:
Implicit Scheme (Crank-Nicolson)
The Crank-Nicolson scheme is unconditionally
stable:
The Wave Equation
Physical Derivation
Consider small vibrations of a taut string. Let
By Newton's second law:
d'Alembert's Solution
For an unbounded domain initial value problem:
Finite Difference for the Wave Equation
Explicit scheme:
CFL condition:
Laplace and Poisson Equations
Physical Background
Laplace equation:
Poisson equation:
Properties
Maximum principle: Harmonic functions (solutions of Laplace's equation) do not attain extreme values in the interior; extrema occur only on the boundary.
Mean value property: The value at the center of a circle equals the average value on the circumference.
Finite Difference Method
Using the five-point stencil:
Iterative Methods
For large-scale problems, direct solution is too slow. Common iterative methods:
Jacobi iteration:
Gauss-Seidel iteration:
SOR (Successive Over-Relaxation):
Stability Analysis of Numerical Methods
Von Neumann Stability Analysis
Basic idea: Expand the error in Fourier modes and analyze the growth factor of each mode.
Let error
CFL Condition
For the wave equation, the CFL condition states: The numerical information propagation speed must be greater than or equal to the physical information propagation speed.
Physical wave speed:
Advanced Topics
Spectral Methods
Idea: Expand the solution in global basis functions (such as Fourier series, Chebyshev polynomials).
Advantages: For smooth solutions, can achieve exponential convergence (spectral accuracy).
Disadvantages: Difficult to handle complex boundaries; not suitable for non-smooth solutions.
Introduction to Finite Element Methods
The Finite Element Method (FEM) is the most commonly used numerical method for PDEs in engineering.
Basic steps: 1. Weak form: Multiply PDE by test function and integrate 2. Discretization: Approximate with finite-dimensional space 3. Assembly: Construct stiffness matrix and load vector 4. Solve: Solve linear system
Multigrid Methods
Problem: Iterative methods (like Jacobi, Gauss-Seidel) converge slowly for low-frequency errors.
Multigrid idea: 1. Iterate a few steps on fine grid (eliminate high-frequency errors) 2. Restrict residual to coarse grid 3. Solve on coarse grid (low-frequency errors become high-frequency on coarse grid) 4. Prolongate coarse grid correction back to fine grid 5. Repeat
Complexity:
Summary
In this chapter, we entered the world of partial differential equations:
| Equation Type | Physical Model | Typical Numerical Methods | Stability Condition |
|---|---|---|---|
| Parabolic (heat equation) | Diffusion, heat conduction | FTCS, CN | |
| Hyperbolic (wave equation) | Wave propagation, vibration | Central difference | CFL: |
| Elliptic (Laplace) | Steady state, equilibrium | Iterative, direct | Always stable |
Key concepts:
- Classification: Discriminant
determines equation type - Well-posedness: Existence, uniqueness, stability
- Stability analysis: Von Neumann analysis, CFL condition
- Numerical methods: Finite differences, finite elements, spectral methods
This chapter marks our transition from ODEs to PDEs. PDEs are a vast field, and we have only scratched the surface. I hope this introduction lays the foundation for further study in computational mathematics, fluid mechanics, electromagnetism, and other fields!
- Post title:Ordinary Differential Equations (13): Introduction to Partial Differential Equations
- Post author:Chen Kai
- Create time:2019-06-09 14:15:00
- Post link:https://www.chenk.top/ode-chapter-13-pde-introduction/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.