UNIHIVE

Study Hub UNIPORT MTH 250

MTH 250 · Elementary Differential Equations

Partial differential equations in two variables

Classification, simple direct integration, separation of variables for the heat and wave equations, and applications in science and society.

Our notes

2 min read

Partial differential equations

Equations for a function of two or more variables, u(x, t) or u(x, y), with partial derivatives.

Simple PDEs solved by integration

  • ∂u/∂x = 2x → u = x² + f(y) (the "constant" is any function of y).
  • ∂²u/∂x∂y = 0 → u = f(x) + g(y).

Check: ∂(x² + f(y))/∂x = 2x ✓.

Classification of second-order linear PDEs

A u_xx + B u_xy + C u_yy + (lower terms) = 0:

B² − 4ACTypeModel
< 0EllipticLaplace's equation u_xx + u_yy = 0 (steady temperature, potential flow)
= 0ParabolicHeat equation u_t = k u_xx (diffusion)
> 0HyperbolicWave equation u_tt = c² u_xx (vibrations, sound)

Separation of variables: the heat equation

Rod of length L, ends kept at 0, initial temperature f(x):
u_t = k u_xx, u(0, t) = u(L, t) = 0, u(x, 0) = f(x).

  1. Try u = X(x)T(t): XT′ = kX″T → T′/(kT) = X″/X = −λ (both sides must equal the same constant).
  2. X″ + λX = 0, X(0) = X(L) = 0: the Sturm-Liouville problem: λₙ = (nπ/L)², Xₙ = sin(nπx/L).
  3. T′ = −kλₙT → Tₙ = e^(−k(nπ/L)²t).
  4. Superpose: u(x, t) = Σ bₙ sin(nπx/L) e^(−k(nπ/L)²t), with bₙ = (2/L)∫₀ᴸ f(x) sin(nπx/L) dx (Fourier sine coefficients).

Example. f(x) = 3 sin(πx/L) → only b₁ = 3: u = 3 sin(πx/L) e^(−kπ²t/L²).
Check: u_t = −(kπ²/L²)u; u_xx = −(π²/L²)u; so u_t = k u_xx ✓; u(0, t) = u(L, t) = 0 ✓; u(x, 0) = f ✓.
Higher modes die out faster (n² in the exponent): the temperature profile smooths out.

The wave equation (string)

u_tt = c²u_xx, ends fixed: u = Σ sin(nπx/L)[Aₙ cos(nπct/L) + Bₙ sin(nπct/L)]: modes that oscillate without decaying (no damping), with frequencies nc/(2L).

Applications across the sciences

FieldEquation
Physics, engineeringHeat flow, vibrations, electrostatics, fluid flow
Chemistry, biologyDiffusion of substances, drug spread in tissue
EcologySpread of species (reaction-diffusion)
EpidemiologySpread of disease in space
Finance (social sciences)The Black-Scholes equation for option prices is a heat-type equation

Exams usually ask: classify PDEs; solve simple PDEs by integration; solve the heat equation with separation of variables for a given initial condition.

Common mistake: writing an arbitrary constant instead of an arbitrary function when integrating a PDE. Integrating with respect to x leaves any function of y.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 250 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.