Numerical MethodUnit 98 min read

Partial Differential Equations – Classification, Methods, and Applications

Unit 9 of Numerical Method: covers PDE fundamentals, classification by order and linearity, canonical forms, separation of variables, finite difference discretization, and real‑world applications such as heat conduction, wave propagation, and electrostatics.

Key points

  • PDEs involve functions of multiple independent variables and their partial derivatives.
  • Classification into elliptic, parabolic, and hyperbolic types is based on the sign of the discriminant of the highest‑order terms.
  • Separation of variables reduces a PDE to ordinary differential equations, enabling analytical solutions for many boundary‑value problems.
  • Finite difference schemes approximate derivatives on a grid, turning PDEs into algebraic systems solvable by linear algebra techniques.
  • Real‑world phenomena—heat flow in a metal bar, vibration of a string, and electrostatic potential—are modeled by specific PDEs.

1. Introduction to Partial Differential Equations

A partial differential equation (PDE) is an equation that relates a multivariable function to its partial derivatives.
Typical form:

PDEs arise when a physical quantity depends on more than one independent variable, e.g. temperature depending on position and time .

2. Classification of PDEs

2.1 Order

The order of a PDE is the highest order of any derivative that appears.

  • First‑order PDE: contains only first derivatives.
  • Second‑order PDE: contains second derivatives.
    Most classical PDEs in engineering are second‑order.

2.2 Linearity

A PDE is linear if the unknown function and its derivatives appear to the first power and are not multiplied together.

  • Linear: .
  • Non‑linear: contains terms like or .

2.3 Types of Second‑Order Linear PDEs

For a second‑order linear PDE in two variables and :

Define the discriminant .

Type Physical Interpretation
Elliptic Steady‑state problems (e.g., Laplace, Poisson).
Parabolic Diffusion‑type problems (e.g., heat equation).
Hyperbolic Wave‑type problems (e.g., wave equation).

2.4 Classification Decision Tree

flowchart TD
  "Second‑order PDE" --> A["Compute D = B² - A·C"]
  A -->|"D<0"| B["Elliptic"]
  A -->|"D=0"| C["Parabolic"]
  A -->|"D>0"| D["Hyperbolic"]

2.5 Canonical Forms

Type Canonical PDE Example
Elliptic Laplace equation
Parabolic Heat equation
Hyperbolic Wave equation

3. Canonical PDEs and Their Physical Context

3.1 Laplace Equation (Elliptic)

Models steady‑state temperature distribution, electrostatic potential, incompressible fluid flow.

3.2 Heat Equation (Parabolic)

Describes temperature evolution in a rod or plate.

3.3 Wave Equation (Hyperbolic)

Represents vibration of a string, sound waves, electromagnetic waves in free space.

4. Separation of Variables

Separation of variables assumes a product solution . Substituting into a linear PDE and dividing by yields two ODEs with a separation constant .

4.1 Example: 1‑D Heat Equation in a Rod

Consider a rod of length with insulated ends and initial temperature distribution .
PDE:

Boundary conditions:

Initial condition:

Step 1 – Assume .
Substitute:

Thus we obtain two ODEs:

Step 2 – Solve spatial part with boundary conditions:

Step 3 – Solve temporal part:

Step 4 – Superpose:

Step 5 – Determine coefficients from initial condition:

Worked Example

Let m, m²/s, and initial temperature (uniform).
Compute :

Thus for even , and for odd .
Temperature at m and s:

Numerically summing first five terms gives (units of temperature).

Figure 1: Approximate temperature distribution in the rod (first three modes).

5. Finite Difference Approximation

Finite difference (FD) replaces derivatives by algebraic differences on a grid.

5.1 Discretizing the Heat Equation

Let , .
Forward time, central space (FTCS) scheme:

Rearranged:

Stability condition: .

5.2 Example: 1‑D Rod with m, s

Compute (stable).
Initial condition .
Apply boundary conditions .
Iterate to obtain temperature profile at successive times.

Figure 2: FD temperature profile after 10 s (sample points).

6. Real‑World Applications

6.1 Heat Conduction in a Metal Bar

Product: eSewa payment server rack.
Idea Used: Heat equation (parabolic PDE).
How: Server CPUs generate heat; heat diffuses along the metal chassis, modeled by . Engineers use FD to design heat sinks.

6.2 Vibration of a String in a Music App

Product: Pathao music streaming.
Idea Used: Wave equation (hyperbolic PDE).
How: The app simulates plucked guitar strings using . Discrete wave equation yields realistic sound.

6.3 Electrostatic Potential in Smartphone Battery

Product: Ncell battery pack.
Idea Used: Laplace equation (elliptic PDE).
How: The potential distribution inside the battery cells is governed by . Designers solve this to ensure uniform electric field and avoid hotspots.

7. Comparison of PDE Types

erDiagram
    ELLIPTIC ||..|| PARABOLIC : includes
    PARABOLIC ||..|| HYPERBOLIC : includes
    ELLIPTIC {
        string Example "Laplace, Poisson"
        string Physical "Steady state"
    }
    PARABOLIC {
        string Example "Heat"
        string Physical "Diffusion"
    }
    HYPERBOLIC {
        string Example "Wave"
        string Physical "Propagation"
    }
Feature Elliptic Parabolic Hyperbolic
Discriminant
Typical PDE
Boundary Conditions Dirichlet/Neumann Dirichlet + initial Initial + boundary
Physical Process Steady‑state Diffusion Wave propagation

8. In the real world

  • eSewa server rack: Uses the heat equation to model temperature rise in CPU heat spreaders; FD solutions inform placement of heat sinks.
  • Pathao music streaming: Implements the discrete wave equation to synthesize plucked string sounds; the wave speed is tuned to match real instruments.
  • Ncell battery pack: Solves Laplace’s equation for electric potential distribution; ensures uniform charge distribution and prevents localized overheating.

9. Exam tip

  • Know the classification: Be able to compute and state the type.
  • Separation of variables: Practice deriving the ODEs, applying boundary conditions, and forming the series solution.
  • Finite difference: Memorize the FTCS, BTCS, and Crank–Nicolson schemes; know stability criteria.
  • Worked examples: Expect problems like “solve the heat equation in a rod with given boundary/initial conditions” or “discretize the Laplace equation on a 3×3 grid”.
  • Diagrammatic answers: Use mermaid flowcharts for classification, and figure blocks for solution graphs.

vibrating stringDiagram of a plucked string (Image: Amitchell125, CC BY-SA 4.0, via Wikimedia Commons)


Based on the TU BIT syllabus for Numerical Method (BIT203), unit 9.

Discussion

Loading…