A12 · Lesson 28 · Partial differential equations and their boundary conditions
Equilibrium, diffusion and waves, and what pins them down
Fields, temperatures, voltages along a line: the quantities engineers care about vary in space and in time, and the laws that govern them are partial differential equations. Three equations cover most of electrical engineering. Laplace's equation describes equilibrium: the potential in a charge-free region. The heat (diffusion) equation describes spreading: heat through a circuit board, charge carriers through a semiconductor, current soaking into a conductor's skin. The wave equation describes propagation: signals on transmission lines, fields in space. Each needs the right side conditions to have one answer, and getting those conditions right is half of modeling.
- A rod from x = 0 to 1, held at 0 at both ends, starts with a temperature made of two sine shapes: one gentle bump and one with three humps. The heat equation lets each shape decay on its own.
- Advance t: the three-hump part fades nine times faster than the bump, because its rate goes as the square of its wavenumber. Diffusion always smooths: sharp features die first.
- Raise the diffusivity α: everything happens faster, in proportion.
Predict
Classify by its discriminant .
Elliptic: , the same class as Laplace's equation. Elliptic equations describe equilibria: no time, boundary values everywhere, and smooth solutions inside.
Name it
Three types
For :
| Type | Prototype | Behaves like | |
|---|---|---|---|
| < 0 | elliptic | Laplace | equilibrium, smooth |
| = 0 | parabolic | heat | diffusion, smoothing, irreversible |
| > 0 | hyperbolic | wave | propagation at finite speed, sharp fronts survive |
Boundary and initial conditions
- Dirichlet: the value is given on the boundary (a conductor at a fixed voltage, an end held at a temperature).
- Neumann: the normal derivative is given (an insulated end, ; a known heat flux, ).
- Robin: a combination (a surface cooled by convection, ).
- Initial conditions: the heat equation needs u at t = 0; the wave equation needs u and at t = 0, because it's second order in time.
A problem is well posed when it has exactly one solution that depends continuously on the data. Laplace's equation with Dirichlet data on a closed boundary is well posed; with only initial-style data, it isn't.
Superposition
These equations are linear: sums of solutions are solutions. Most of this half of the course builds solutions out of simple ones (sines, exponentials, Bessel functions) and adds them up to fit the conditions.
Worked example
A rod has diffusivity α = 10⁻⁴ m²/s and length L = 0.1 m with both ends at 0. How fast does the mode decay?
Show the solution
- Decay of the first mode. It decays as , with time constant
- The third mode. The mode decays nine times faster, in 1.1 s.
Answer the mode decays as , with a time constant of 10.1 s.
Worked example
An end of a copper rod (k = 400 W/(m·K)) receives a heat flux of 20 kW/m². What's the temperature gradient there?
Show the solution
- The Neumann condition.
- Solve for the slope.
- What it sets. The Neumann condition fixes the slope and leaves the temperature itself free.
Answer the gradient is −50 K/m.
Worked example
Classify and find its general solution.
Show the solution
- Classify. so the equation is hyperbolic, like the wave equation.
- Try a traveling shape. Look for solutions of the form : substituting gives so or .
- The general solution. for any two smooth functions F and G.
- Characteristics. The lines = constant and = constant are the characteristics: shapes travel along them unchanged, just as a wave on a string is two shapes moving apart.
- Check one. For , , and , and .
Answer the equation is hyperbolic, and its general solution is .
Check
What's the discriminant of ? (Negative: elliptic; zero: parabolic; positive: hyperbolic.)
Check
A rod of length 0.05 m with diffusivity 2 × 10⁻⁵ m²/s and both ends at 0: what's the time constant of the mode ?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
How many times faster does the mode with n = 3 decay than the mode with n = 1?
Check
A heat flux of 20000 W/m² enters the end of a rod with conductivity 50 W/(m·K): . What's there?
Write units the way you normally would: 1.5 K/m and 1500 mK/m are the same answer.
Check
How many initial conditions does the wave equation need?
Check
Match each situation to its equation's type.
- Aelliptic
- Bhyperbolic
- Cparabolic
Check
A rod with conductivity 50 W/(m·K) loses heat from its end to air by convection: , with h = 10 W/(m²·K). The end is 50 K above the air.
(a)
How steep is the temperature gradient at the end?
Write units the way you normally would: 1.5 K/m and 1500 mK/m are the same answer.
(b)
For a rod 0.2 m long, what is the Biot number ? (Much less than 1 means the rod stays nearly uniform.)
Check
The hyperbolic equation has solutions where .
Step 1
What is the steeper characteristic slope m?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
And the shallower one?
Explain why
Why does the heat equation smooth out sharp features while the wave equation preserves them?
Writing any initial profile as a sum of sine shapes, the heat equation multiplies each by a decaying exponential whose rate grows as the square of its wavenumber, so the fine, rapidly varying components that make up sharp features die out first and fastest, leaving the smooth broad shapes: diffusion is irreversibly smoothing. The wave equation instead makes each component oscillate in time with constant amplitude, at a frequency proportional to its wavenumber; on a lossless line all components travel at the same speed and stay in step, so a sharp pulse keeps its shape as it propagates.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.