Prerequisites
Partial differential equations (PDEs) describe how an unknown quantity changes with respect to several independent variables. A temperature field $T(x,y,z,t)$, a pressure field $p(x,y,z,t)$, and a displacement field $u(x,t)$ are typical examples. PDEs matter because conservation of mass, momentum, energy, and charge almost always produces fields rather than single numbers.
This note develops the core language of PDEs, the classification of second-order equations, initial and boundary conditions, separation of variables, the wave, heat, and Laplace equations, well-posedness, and conservation laws. The emphasis is on the one-dimensional and rectangular-domain cases that make the ideas transparent; real geometries usually require numerical methods.
Prerequisites
Before starting, be comfortable with:
functions of several variables and partial derivatives
gradients, divergence, and the Laplacian
single and multiple integrals, including integration by parts
ordinary differential equations and initial-value problems
vectors, matrices, eigenvalues, and basic Fourier series
algebra, trigonometry, and dimensional analysis
The main ideas can be learned with calculus, but rigorous existence theory and numerical PDEs require more analysis and linear algebra.
1. What a PDE is
An ordinary differential equation (ODE) has derivatives with respect to one independent variable. A partial differential equation has partial derivatives with respect to at least two independent variables.
For example, a rod temperature $T(x,t)$ depends on position $x$ and time $t$. Its time rate of change and spatial curvature are different derivatives:
The symbols are:
| Symbol | Meaning | Typical SI unit |
|---|---|---|
| $x,y,z$ | spatial coordinates | m |
| $t$ | time | s |
| $u(x,t)$ | unknown field or dependent variable | problem-dependent |
| $u_t,u_x$ | first partial derivatives | units of $u$/s or $u$/m |
| $u_{xx}$ | second partial derivative | units of $u$/m$^2$ |
| $\Omega$ | spatial domain | m$^n$ |
| $\partial\Omega$ | boundary of the domain | m$^{n-1}$ |
A general form
A PDE may be written as
The order is the highest derivative appearing. The PDE is linear if $u$ and all its derivatives occur only to the first power and are not multiplied together. For example,
is linear, while $u_t+u u_x=0$ is nonlinear because the unknown $u$ multiplies its derivative.
PDE versus ODE: a field, not a trajectory
An ODE may determine one function of time, such as the position of one mass. A PDE determines a value at every point in a region. A solution is therefore a surface, curve, or higher-dimensional field, not a single time history.
spatial position x
0 ---------------------- L
time t | temperature field T(x,t)
^ | each point has a value
| v
Linear superposition
For a linear homogeneous PDE, if $u_1$ and $u_2$ are solutions, then
is also a solution for constants $c_1,c_2$. This is the basis of Fourier series and modal methods. Superposition generally fails for nonlinear PDEs.
2. Derivative language and common operators
The gradient collects first spatial derivatives of a scalar field:
It points in the direction of greatest local increase of $u$. The divergence of a vector field $\mathbf{q}=(q_x,q_y,q_z)$ measures net outward flow per unit volume:
The Laplacian is the divergence of the gradient:
It measures local curvature. A positive Laplacian means, in a coordinate-independent sense, that the field is locally below the average of its nearby values; the exact visual interpretation depends on the dimension and direction.
Chain rule along a moving path
If a field $u(x,t)$ is observed by an object moving as $x=x(t)$, then
Writing $v=dx/dt$ gives $u_t+v u_x$, the one-dimensional material derivative. It distinguishes change at a fixed location from change carried by motion.
3. Classification of second-order PDEs
Consider a two-variable linear second-order PDE whose highest-order part is
The discriminant
classifies the equation locally:
| Type | Condition | Typical behavior | Canonical example |
|---|---|---|---|
| Elliptic | $\Delta<0$ | spatial equilibrium; smoothing | $u_{xx}+u_{yy}=0$ |
| Parabolic | $\Delta=0$ | diffusion; one-way time evolution | $u_t-\alpha u_{xx}=0$ |
| Hyperbolic | $\Delta>0$ | finite-speed propagation; waves | $u_{tt}-c^2u_{xx}=0$ |
The classification is about the principal, highest-derivative terms. Lower-order terms can change details without changing the local type.
Why the types behave differently
Elliptic: values are coupled throughout the domain. Boundary data determine an equilibrium field.
Parabolic: the field smooths as time advances. Initial data and suitable boundary data determine the future.
Hyperbolic: information travels along characteristic paths at finite speeds. Initial data are propagated, and boundaries must respect incoming information.
For a general equation $a u_{xx}+b u_{xy}+c u_{yy}=0$, the convention without the factor $2$ uses $\Delta=b^2-4ac$. Both conventions agree if used consistently.
Characteristics and information speed
Characteristics are curves along which the PDE behaves like an ODE or along which disturbances travel. For the wave equation, they are
Thus a disturbance travels right or left at speed $c$; it does not instantly affect the entire domain.
4. Conditions needed to define a problem
Writing a PDE alone usually does not select one solution. A complete problem includes a domain, the PDE, and data on the boundary and/or at an initial time.
Initial conditions
An initial condition specifies the field at a starting time, commonly
For a second-order time equation, two initial conditions are usually needed:
The second condition is analogous to specifying initial velocity in mechanics.
Boundary conditions
For a domain $0<x<L$, common boundary conditions are:
| Name | Condition | Interpretation |
|---|---|---|
| Dirichlet | $u(0,t)=a(t)$ | prescribe the field value |
| Neumann | $u_x(0,t)=b(t)$ or $\partial u/\partial n=b$ | prescribe slope or flux |
| Robin | $a u+b u_x=g(t)$ | combine value and flux |
| Periodic | $u(0,t)=u(L,t)$ and $u_x(0,t)=u_x(L,t)$ | join the ends smoothly |
Here $n$ is the outward unit normal, and $\partial u/\partial n=\nabla u\cdot\mathbf{n}$.
For heat conduction, Fourier's law is
where $\mathbf{q}$ is heat flux in W/m$^2$, $k$ is thermal conductivity in W/(m K), and $T$ is temperature in K. Therefore a Neumann condition on heat flux is a condition on $-k\partial T/\partial n$, not merely on $T_x$.
Compatibility conditions
Data must agree where initial and boundary surfaces meet. If $u(x,0)=f(x)$ and $u(0,t)=a(t)$, then a classical solution requires
Higher smoothness may require compatibility of derivatives too. Violating compatibility can create corner singularities even when the PDE is otherwise well behaved.
Well-posedness
Hadamard's criteria say a problem is well-posed if:
a solution exists;
it is unique;
it depends continuously on the data.
The third condition means small measurement or rounding errors produce only small solution changes. A problem that fails one of these is ill-posed and needs extra constraints, regularization, or a different interpretation.
5. Conservation laws and the divergence theorem
Many physical PDEs begin with a balance law. Let $u(\mathbf{x},t)$ be density per unit volume, $\mathbf{J}$ its flux, and $s$ a source per unit volume. Conservation over a fixed control volume $V$ says
The negative sign means outward flux decreases what remains inside. Using the divergence theorem,
If $V$ is arbitrary, the local conservation equation is
This equation is the mathematical form of “rate of accumulation = sources − net outflow.”
Constitutive laws produce PDEs
Conservation alone does not determine the flux. A constitutive law closes the model:
diffusion: $\mathbf{J}=-D\nabla u$, where $D$ may depend on position or state
heat conduction: $\mathbf{q}=-k\nabla T$
electrical conduction: $\mathbf{J}_e=\sigma\mathbf{E}$
For diffusion, substituting $\mathbf{J}=-D\nabla u$ into the conservation law with source $s$ gives
If $D$ is constant, this reduces to $u_t=D\nabla^2u+s$. The minus sign in Fick's law makes flux point down the concentration gradient, producing smoothing.
6. Separation of variables
Separation of variables assumes a product form, such as
This does not describe every individual solution. It finds building-block solutions; linear combinations of many such modes can represent a general initial condition.
Heat equation derivation
Consider
with fixed-end conditions $u(0,t)=u(L,t)=0$. The diffusivity $\alpha$ has units m$^2$/s.
Set $u=XG$. Then
Divide by $\alpha XG$ where nonzero:
The left side depends only on $t$ and the right side only on $x$, so both must equal a constant. Choosing $-\lambda$ gives
The boundary conditions require $X(0)=X(L)=0$. Nontrivial solutions occur for
where $n=1,2,3,\ldots$. The time factor is
Therefore the general Fourier-series solution is
where the coefficients match $u(x,0)=f(x)$:
The physical meaning is important: each spatial mode decays exponentially, and higher-frequency modes decay faster because their curvature is larger.
7. The heat equation
The heat equation models temperature diffusion in a stationary material with constant properties and no internal heat generation:
Here $k$ is conductivity [W/(m K)], $\rho$ is density [kg/m$^3$], $c_p$ is specific heat [J/(kg K)], and $\alpha$ is thermal diffusivity [m$^2$/s].
The equation follows from energy conservation. In one dimension, internal energy changes as $\rho c_pT_t$, while conduction gives $kT_{xx}$, so
Example: first-mode cooling
For a steel slab, take $L=0.020$ m and $\alpha=1.2\times10^{-5}$ m$^2$/s. The first-mode decay time is
After $t=30$ s, the first mode is multiplied by
The result is not “the slab reaches equilibrium in 30 s”; it says the first Fourier component has fallen to about $6.2\%$. Boundary conditions, geometry, and the initial shape still matter.
Idealization and limitations
The basic equation assumes a continuum, local thermal equilibrium, constant $k$, $\rho$, and $c_p$, and negligible radiation and convection unless represented in boundary conditions. At very small scales, during phase changes, or with strong temperature dependence, the model must be modified.
8. The wave equation
The one-dimensional wave equation is
The field $u(x,t)$ may be string displacement, acoustic pressure in a simplified model, or another disturbance. The constant $c$ is wave speed [m/s]. For a stretched string,
where $\mathcal{T}$ is tension [N] and $\mu$ is mass per length [kg/m].
Derivation for a string element
For a small element of length $\Delta x$, small-slope geometry gives the net vertical force approximately
Its mass is $\mu\Delta x$, and Newton's law gives
Canceling $\Delta x$ yields $u_{tt}=(\mathcal{T}/\mu)u_{xx}$.
D'Alembert solution
On an infinite string, the solution is
representing right- and left-traveling waves. A waveform is transported without the diffusive smoothing of the heat equation. Boundaries reflect waves and create standing-wave modes.
For fixed ends, the separated modes are
The time factor oscillates rather than decays. In real systems damping, nonlinear stiffness, and energy loss add terms such as $2\beta u_t$.
9. Laplace's equation
Laplace's equation is
It is elliptic and commonly describes steady temperature without internal generation, electrostatic potential in charge-free regions, and incompressible potential flow.
If a field is steady, $u_t=0$. Starting from the heat equation with no source gives $\nabla^2T=0$. Thus Laplace's equation is often the long-time equilibrium limit of diffusion.
Mean-value property and maximum principle
For harmonic functions, the value at an interior point equals the average over a surrounding circle or sphere, under suitable smoothness. A related maximum principle says a nonconstant solution cannot attain its maximum or minimum strictly inside a bounded domain; extrema occur on the boundary. This explains why boundary data control the interior and why interior oscillations are smoothed.
Poisson equation
With a source, the corresponding elliptic equation is
called Poisson's equation. For electrostatics, sign and constants depend on the convention for electric potential and charge density; the structural idea is that sources create curvature.
10. A worked separation example
Solve the heat equation on $0<x<1$ m with zero end temperatures and initial profile
The initial profile already consists of two eigenmodes, so no integral is needed to find coefficients. The solution is
At $t=2$ s,
The first mode has amplitude about $8.21$, while the third has amplitude about $0.68$. The higher spatial oscillation has nearly disappeared relative to the fundamental mode. This is the signature of diffusion.
11. Numerical PDEs and real engineering systems
Closed-form solutions are special. Engineers commonly discretize space and solve a large algebraic system.
Finite differences
On a grid $x_i=i\Delta x$, $t^n=n\Delta t$, central curvature is approximated by
Forward Euler time stepping for the heat equation gives
For this explicit one-dimensional scheme, stability requires $r\le 1/2$ under the standard fixed-grid assumptions. This is a numerical restriction, not a physical law.
Finite elements and finite volumes
FEM uses weighted residuals and basis functions. It handles irregular geometry, material interfaces, and structural mechanics particularly well.
Finite volume integrates conservation laws over control volumes. Fluxes cancel between neighboring cells, making conservation explicit; it is common in CFD.
CFD solves fluid PDEs such as mass, momentum, and energy conservation, often with turbulence models and nonlinear advection.
Model hierarchy
An engineering model may ignore effects intentionally:
| Model | Often neglected |
|---|---|
| 1-D heat equation | lateral conduction and 3-D geometry |
| linear wave equation | damping, nonlinear material response |
| incompressible flow | density variations and acoustic waves |
| Laplace equation | transient behavior and internal sources |
Validate assumptions with dimensionless groups, experiments, mesh refinement, and comparison to measured data. A converged numerical answer can still be wrong if the PDE or boundary conditions are wrong.
Connections to related subjects
Mechanics: continuum momentum balance produces elastodynamics, beam, plate, and Navier–Stokes PDEs.
Thermodynamics and heat transfer: energy balance plus Fourier's law produces diffusion.
Electromagnetism: Maxwell's equations are coupled PDEs for electric and magnetic fields.
Control: distributed-parameter systems, such as flexible beams and thermal plants, have PDE states; model reduction turns them into ODE approximations.
Materials: conductivity, diffusivity, stiffness, and permeability may vary with position or temperature.
Numerical methods: stability, consistency, and convergence connect discretization to reliable computation.
FEM and CFD: weak forms, meshes, fluxes, stabilization, and iterative solvers are practical PDE tools.
Machine learning: neural operators and physics-informed neural networks can approximate solution maps, but they do not remove the need for correct physics, boundary data, and validation.
12. Common misconceptions and mistakes
“The PDE is the solution.” The PDE is only the governing relation; domain and data are essential.
“Parabolic means a parabola.” The classification describes information and smoothing behavior, not graph shape.
“A Neumann condition gives the value.” It gives a normal derivative or flux.
“Separation of variables always works.” It requires compatible geometry, boundary conditions, and linear structure; otherwise use another method.
“Heat travels instantly, so the equation is physically exact.” The classical heat equation has mathematically infinite propagation speed. It is an excellent macroscopic approximation in many regimes, but not a universal microscopic theory.
“More grid points guarantee accuracy.” Boundary conditions, discretization order, stiffness, stability, and model error also matter.
“A stable simulation is correct.” Stability prevents numerical blow-up; it does not verify the model or convergence.
“Units can be ignored.” For diffusion, $\alpha t/L^2$ must be dimensionless; missing a length scale often creates orders-of-magnitude errors.
13. Summary
A PDE relates partial derivatives of a field over space and time. Second-order equations are elliptic, parabolic, or hyperbolic, corresponding broadly to equilibrium, diffusion, and finite-speed propagation. Initial conditions select temporal evolution; boundary conditions control exchanges or constraints at the domain boundary. Conservation laws provide the balance equation, while constitutive laws close the model. Separation of variables converts selected PDEs into spatial eigenvalue problems and temporal ODEs. In engineering, numerical discretization is usually necessary, and verification plus validation are as important as solving the algebra.
14. Formula sheet
15. Glossary
| Term | Meaning |
|---|---|
| Boundary condition | Data prescribed on the edge or surface of a domain |
| Characteristic | Curve along which information propagates or the PDE simplifies |
| Constitutive law | Material or physical relation that closes a balance law |
| Diffusivity | Coefficient controlling the rate of smoothing, often m$^2$/s |
| Domain | Set of spatial and temporal points where the PDE is solved |
| Elliptic | PDE type associated with equilibrium and boundary-controlled fields |
| Flux | Amount crossing a unit area per unit time |
| Hyperbolic | PDE type associated with wave-like, finite-speed propagation |
| Initial condition | Field data specified at the starting time |
| Laplacian | Sum of second spatial derivatives |
| Parabolic | PDE type associated with diffusion and time-directed smoothing |
| Well-posed | Existence, uniqueness, and continuous dependence on data |
16. Practice problems
Classify $u_{xx}+4u_{xy}+3u_{yy}=0$ using the $A u_{xx}+2B u_{xy}+C u_{yy}$ convention.
State whether $u(0,t)=0$ is Dirichlet, Neumann, or Robin data.
Check the units of $\alpha=k/(\rho c_p)$.
Derive the one-dimensional conservation law $u_t+J_x=s$ from a control-volume balance.
For $u_t=0.02u_{xx}$ on $0<x<2$ with zero end values and initial data $6\sin(\pi x/2)$, write the solution.
For a string with $\mathcal{T}=90$ N and $\mu=0.010$ kg/m, calculate the wave speed.
Explain why the third Fourier mode in a heat problem decays nine times faster than the first.
For $\alpha=10^{-5}$ m$^2$/s, $\Delta x=0.01$ m, find the largest explicit Euler time step allowed by $r\le1/2$.
Explain why prescribing both $u$ and $u_x$ arbitrarily on the entire boundary can overconstrain a second-order elliptic problem.
Compare the modeling assumptions and expected behavior of the heat and wave equations in a real sensor cable.
Short answers and solution outlines
$A=1$, $B=2$, $C=3$, so $\Delta=4-3=1>0$: hyperbolic.
Dirichlet: the field value is prescribed.
$k/[\rho c_p]=(\mathrm{W/(mK)})/[\mathrm{kg/m^3}\cdot\mathrm{J/(kgK)}]=\mathrm{m^2/s}$.
Write $d(\int_a^b u\,dx)/dt=J(a)-J(b)+\int_a^b s\,dx$, rewrite the boundary flux using $J(b)-J(a)=\int_a^bJ_xdx$, then use arbitrary $a,b$.
$u=6e^{-0.02(\pi/2)^2t}\sin(\pi x/2)$.
$c=\sqrt{90/0.010}\approx94.9$ m/s.
The decay rate contains $(n\pi/L)^2$, so $n=3$ has $9$ times the rate.
$\Delta t\le\Delta x^2/(2\alpha)=0.0001/(2\times10^{-5})=5$ s.
Elliptic problems generally need one appropriate boundary condition per boundary point; arbitrary simultaneous value and normal slope data may be incompatible or nonunique.
Heat diffusion damps high-frequency signals and uses conductivity and heat capacity; waves propagate at finite speed and require inertia, stiffness, or tension. A cable may need both effects plus damping and frequency-dependent material behavior.
17. Recommended next topics
Study Fourier series and transforms, eigenvalues and Sturm–Liouville problems, weak formulations, FEM, numerical linear algebra, fluid mechanics, elasticity, and control of distributed systems. After those, continue to nonlinear PDEs, shocks, conservation-law entropy conditions, Green's functions, and functional analysis.