A partial differential equation, or PDE, is an equation involving an unknown function of two or more variables and its partial derivatives. If you searched for "what is a PDE," the short answer is this: PDEs model how something changes when more than one input matters, usually space and time.
That is the main difference from an ordinary differential equation (ODE). An ODE uses one independent variable. A PDE appears when the quantity you care about depends on at least two independent variables, such as position and time.
What a partial differential equation is
If , then depends on both position and time . Derivatives like
tell you how changes in time and how it bends in space.
An equation such as
is a PDE because it connects partial derivatives of the same function with respect to different variables. Here is a constant. In heat-flow models, it is usually a diffusivity constant.
PDE vs ODE in one line
If the unknown quantity depends on one independent variable, you usually get an ODE. If it depends on several independent variables, you usually get a PDE.
For example, population changing only with time can be modeled by an ODE. Temperature changing with both position and time is a PDE setting.
PDE intuition: why they show up
PDEs appear when a whole field changes across space and time, not just one number.
- Temperature in a metal rod depends on where you are and what time it is.
- A vibrating string depends on position along the string and time.
- Pressure, concentration, and electric potential are also often modeled as functions spread over space.
So a PDE is usually a law for how a distributed quantity evolves.
PDE example: checking a heat-equation solution
Consider the one-dimensional heat equation
on the interval , and suppose someone proposes
The fastest way to make PDE notation feel concrete is to check one candidate solution directly.
Step 1: Differentiate with respect to time
Treat as fixed:
Step 2: Differentiate with respect to space twice
First derivative:
Second derivative:
Now multiply by :
That matches , so
So this function really is a solution of the heat equation.
If the boundary conditions are and , they also hold here because and . That condition matters: in PDE problems, solving the equation alone is often not the whole job.
What the heat equation means
The heat equation says that time change is tied to spatial curvature.
If is large and negative at a point, then is negative there, so the temperature drops at that point. In plain language, sharp peaks smooth out over time. That smoothing behavior is one reason the heat equation is such a standard first PDE.
Common PDE mistakes
Mixing up a PDE and an ODE
If the unknown function depends on more than one independent variable, you need partial derivatives. That is the key structural difference.
Ignoring boundary or initial conditions
A PDE problem usually comes with initial conditions, boundary conditions, or both. A function can satisfy the PDE itself and still fail the full problem because it does not satisfy those conditions.
Reading the notation too quickly
, , and answer different questions. The last one is a second derivative with respect to space, not a product of symbols.
Assuming every PDE behaves like the heat equation
Different PDEs model different behavior. Heat equations smooth. Wave equations propagate disturbances. Laplace's equation describes equilibrium states. The type of PDE changes the intuition.
Where partial differential equations are used
PDEs are standard in physics, engineering, and applied math because many real systems are distributed in space.
- Heat transfer uses diffusion equations.
- Vibrations and sound use wave equations.
- Electrostatics and steady-state flow often use Laplace or Poisson equations.
- Fluid and quantum models also rely heavily on PDEs.
You do not need the full theory to get the basic idea. The central pattern is enough: a PDE links changes of the same function across multiple variables.
How to read a PDE problem
When you first see a PDE, ask:
- What is the unknown function?
- Which variables does it depend on?
- Which derivatives appear?
- What initial or boundary conditions come with it?
That checklist prevents a lot of confusion before any solving starts.
Try your own version
Take the same heat equation and change the candidate solution to
Differentiate it and check whether it still satisfies . If you want one more step, try your own sine mode or solve a similar boundary-value example with GPAI Solver.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →