A1228 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 3uxx+2uxy+uyy=0 by its discriminant B2−4AC.

Name it

Three types

For Auxx+Buxy+Cuyy+(lower-order terms)=0:

B2−4ACTypePrototypeBehaves like
< 0ellipticLaplace uxx+uyy=0equilibrium, smooth
= 0parabolicheat ut=αuxxdiffusion, smoothing, irreversible
> 0hyperbolicwave utt=c2uxxpropagation 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, ∂u/∂x=0; a known heat flux, −k∂u/∂x=q).
  • Robin: a combination (a surface cooled by convection, −k∂u/∂n=h(u−u∞)).
  • Initial conditions: the heat equation needs u at t = 0; the wave equation needs u and ut 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 sin⁡(πx/L) decay?

Show the solution
  1. Decay of the first mode. It decays as e−α(π/L)2t, with time constant τ=L2απ2=0.0110−4×9.87=10.1s
  2. The third mode. The mode sin⁡(3πx/L) decays nine times faster, in 1.1 s.

Answer the mode decays as e−α(π/L)2t, 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
  1. The Neumann condition. −k∂u∂x=q
  2. Solve for the slope. ∂u∂x=−20000400=−50K/m
  3. 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 uxx+4uxy+3uyy=0 and find its general solution.

Show the solution
  1. Classify. B2−4AC=16−12=4>0 so the equation is hyperbolic, like the wave equation.
  2. Try a traveling shape. Look for solutions of the form F(y−mx): substituting gives F′′(m2−4m+3)=0 so m=1 or m=3.
  3. The general solution. u=F(y−x)+G(y−3x) for any two smooth functions F and G.
  4. Characteristics. The lines y−x = constant and y−3x = constant are the characteristics: shapes travel along them unchanged, just as a wave on a string is two shapes moving apart.
  5. Check one. For u=G(y−3x), uxx=9G′′, uxy=−3G′′ and uyy=G′′, and 9−12+3=0.

Answer the equation is hyperbolic, and its general solution is u=F(y−x)+G(y−3x).

Check

What's the discriminant B2−4AC of 3uxx+2uxy+5uyy=0? (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 sin⁡(4πx/L)?

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 sin⁡(nπx/L) 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): −k∂u/∂x=q. What's ∂u/∂x 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 utt=c2uxx need?

Check

Match each situation to its equation's type.

  1. Aelliptic
  2. Bhyperbolic
  3. Cparabolic

Check

A rod with conductivity 50 W/(m·K) loses heat from its end to air by convection: −kux=h(u−Tair), 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 hL/k? (Much less than 1 means the rod stays nearly uniform.)

Check

The hyperbolic equation Auxx+Buxy+Cuyy=0 has solutions F(y−mx) where Am2−Bm+C=0.

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°.

Explain why

Why does the heat equation smooth out sharp features while the wave equation preserves them?

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.