Applied MathematicsUnit 916 min read

Partial Differential Equations: Types, Solutions & Engineering Applications

Unit 9 of Applied Mathematics covers the theory and solution techniques of partial differential equations (PDEs), including classification, separation of variables, and applications in heat conduction, wave propagation, and diffusion processes—essential for modeling real-world engineering systems.

TAKEAWAYS:

  • PDEs model dynamic systems: They describe how quantities like temperature, vibration, or fluid flow change over space and time (e.g., heat in a rod, sound waves in air).
  • Classification matters: PDEs are categorized as elliptic (steady-state, e.g., Laplace’s equation), parabolic (diffusion, e.g., heat equation), or hyperbolic (wave propagation, e.g., wave equation) based on their discriminant .
  • Separation of variables is a powerful method: Assume to reduce PDEs into ODEs, solvable via boundary conditions.
  • Boundary/initial conditions are critical: Real-world problems (e.g., a cooling metal bar) require specifying , , and to uniquely determine solutions.
  • Fourier series and transforms often appear: Solutions to PDEs frequently involve trigonometric series (e.g., sine/cosine expansions for heat flow).
  • Engineering applications dominate exams: Expect questions on heat conduction, wave equations (e.g., vibrating strings), and Laplace’s equation (e.g., electrostatics).

1. Introduction to Partial Differential Equations (PDEs)

Partial differential equations relate a function of multiple variables to its partial derivatives. Unlike ordinary differential equations (ODEs), PDEs involve two or more independent variables (e.g., , ) and describe dynamic systems where change depends on both space and time.

Why PDEs?

  • Model real-world phenomena: Heat flow, sound waves, fluid dynamics, and electromagnetic fields are governed by PDEs.
  • General form: where is the dependent variable.

Example: Heat Equation

The 1D heat equation models temperature in a rod:

  • : Thermal diffusivity (material property).
  • Physical interpretation: The rate of temperature change at a point depends on the second spatial derivative (curvature of the temperature profile).


2. Classification of Second-Order PDEs

All second-order linear PDEs of the form: are classified based on the discriminant :

Type Discriminant Example PDE Physical Interpretation Solution Method
Elliptic Laplace: Steady-state problems (e.g., electrostatics) Conformal mapping, Fourier series
Parabolic Heat: Diffusion processes (heat, mass transport) Separation of variables, Green’s functions
Hyperbolic Wave: Wave propagation (sound, vibrations) D’Alembert’s solution, characteristics


3. Key PDEs in Engineering

A. Heat Equation (Parabolic)

Models temperature distribution in a medium: Example: Cooling of a metal rod.

  • Boundary conditions:
    • (left end kept hot),
    • (right end insulated).
  • Initial condition: .

Solution via Separation of Variables: Assume . Substituting into the PDE: This yields two ODEs:

  1. ,
  2. .

Boundary conditions lead to eigenvalues and eigenfunctions .

General solution: where are Fourier coefficients determined by .


B. Wave Equation (Hyperbolic)

Models vibrations in strings, sound waves, or electromagnetic waves: Example: Vibrating guitar string.

  • Boundary conditions:
    • (fixed end),
    • (fixed end).
  • Initial conditions:
    • (initial displacement),
    • (initial velocity).

D’Alembert’s Solution: This represents two waves traveling left and right with speed .


C. Laplace’s Equation (Elliptic)

Models steady-state phenomena (e.g., electrostatics, fluid flow): Example: Electric potential in a 2D region.

  • Boundary conditions: Dirichlet (fixed potential) or Neumann (fixed flux).

Solution in Polar Coordinates: For a circular membrane with radius and boundary : (Poisson integral formula.)



4. Separation of Variables: Step-by-Step

Problem: Solve the heat equation on with:

  • , (Dirichlet BCs),
  • .

Steps:

  1. Assume separation: .
  2. Substitute into PDE:
  3. Solve ODEs:
    • with → , .
    • → .
  4. General solution:
  5. Apply initial condition:
  6. Final solution:

flowchart TD
    A["1. Assume \(u(x,t) = X(x)T(t)\)"] --> B["2. Substitute into PDE\n\(\frac{T'}{T} = \alpha^2 \frac{X''}{X} = -\lambda\)"]
    B --> C["3. Solve \(X'' + \lambda X = 0\)\nwith BCs \(X(0) = X(L) = 0\)\nEigenvalues: \(\lambda_n = \left(\frac{n\pi}{L}\right)^2\)"]
    C --> D["4. Solve \(T' + \alpha^2 \lambda_n T = 0\)\n\(T_n(t) = e^{-\alpha^2 \lambda_n t}\)"]
    D --> E["5. General solution:\n\(u(x,t) = \sum B_n \sin\left(\frac{n\pi x}{L}\right) e^{-\alpha^2 \lambda_n t}\)"]
    E --> F["6. Apply initial condition\n\(u(x,0) = f(x)\) to find \(B_n\)"]
    F --> G["7. Final solution:\n\(u(x,t) = \sin\left(\frac{\pi x}{L}\right) e^{-\alpha^2 \left(\frac{\pi}{L}\right)^2 t}\)"]

5. Boundary and Initial Conditions

PDEs require auxiliary conditions to ensure unique solutions:

  • Initial conditions (ICs): Specify the state at (for time-dependent PDEs).
    • Example: (heat equation), (wave equation).
  • Boundary conditions (BCs): Specify behavior at spatial boundaries.
    • Dirichlet: (fixed value).
    • Neumann: (fixed flux/derivative).
    • Mixed: Combination of Dirichlet and Neumann.

Example: Heat flow in a rod with:

  • (Dirichlet),
  • (Neumann, insulated end),
  • (IC).


6. Applications in Engineering

A. Heat Conduction (Parabolic PDE)

  • Example: Designing a cooler for electronic components (e.g., CPUs in servers).
    • The heat equation models how heat dissipates through a heat sink.
    • Boundary conditions: Fixed temperature at the base (CPU) and ambient air at the fins.
    • Solution: Fourier series to find temperature distribution and optimize fin design.

B. Wave Propagation (Hyperbolic PDE)

  • Example: Vibration analysis in bridges (e.g., the Suspension Bridge in Pokhara).
    • The wave equation models how seismic waves or traffic vibrations propagate.
    • Boundary conditions: Fixed supports at pillars.
    • Solution: D’Alembert’s solution to predict resonance frequencies and avoid structural failure.

C. Electrostatics (Elliptic PDE)

  • Example: Design of antennas (e.g., Ncell base stations).
    • Laplace’s equation governs the electric potential around an antenna.
    • Boundary conditions: Fixed potential on the antenna surface.
    • Solution: Separation of variables in polar coordinates to optimize radiation patterns.

D. Fluid Dynamics (Navier-Stokes Equations)

  • Example: Traffic flow modeling (e.g., Kathmandu’s busy rings).
    • The Burgers’ equation (a simplified PDE) models car density :
    • Solution: Predicts jam formation and optimal traffic light timing.


7. Fourier Series and PDE Solutions

Many PDE solutions involve Fourier series to satisfy boundary conditions. For example:

  • Heat equation: Eigenfunctions form a basis.
  • Wave equation: Eigenfunctions or .

Fourier Sine Series Example: Given on , find the sine series: Thus:



8. Numerical Methods (Brief Overview)

Analytical solutions are not always possible. Numerical methods approximate PDE solutions:

  1. Finite Difference Method (FDM):
    • Discretize space/time into grids.
    • Approximate derivatives (e.g., ).
  2. Finite Element Method (FEM):
    • Divide domain into elements (e.g., triangles).
    • Solve weak form of PDE.
  3. Finite Volume Method (FVM):
    • Conserves quantities (e.g., mass, energy) over control volumes.

Example: Heat equation discretization: Rearranged for explicit scheme:


flowchart TD
    A["1. Discretize domain\nSpace: \(x_i = i \Delta x\), Time: \(t^n = n \Delta t\)"] --> B["2. Approximate derivatives\n\(u_{xx} \approx \frac{u_{i+1} - 2u_i + u_{i-1}}{h^2}\)"]
    B --> C["3. Substitute into PDE\nHeat equation: \(u_t = \alpha^2 u_{xx}\)"]
    C --> D["4. Solve iteratively\nExplicit: \(u_i^{n+1} = u_i^n + r(u_{i+1}^n - 2u_i^n + u_{i-1}^n)\)\nwhere \(r = \frac{\alpha^2 \Delta t}{h^2}\)"]
    D --> E["5. Apply boundary/initial conditions\nUpdate grid values step-by-step"]

In the Real World

  1. eSewa and Khalti (Digital Payments):

    • PDE Idea: Diffusion models (parabolic PDEs) simulate how payment transactions propagate through the network.
    • How: The heat equation approximates how a "payment wave" spreads from users to merchants, accounting for delays and network congestion.
    • Example: During Dashain, when millions transact simultaneously, PDEs help predict server load and optimize response times.
  2. Pathao (Ride-Hailing):

    • PDE Idea: Traffic flow equations (Burgers’ equation or Navier-Stokes) model driver density and ride demand.
    • How: Pathao uses PDEs to:
      • Predict surge pricing zones (like a "traffic jam PDE").
      • Optimize driver dispatch to balance supply/demand dynamically.
    • Real Example: During monsoon, when roads flood, PDEs simulate reduced vehicle speeds and adjust ETA calculations.
  3. NTC (Telecom Infrastructure):

    • PDE Idea: Wave equation for signal propagation in fiber optics.
    • How: The hyperbolic PDE describes how light pulses travel through optical fibers, accounting for dispersion and attenuation.
    • Example: NTC uses PDE-based models to design fiber routes that minimize signal loss, ensuring stable internet in remote areas like Dolpa.
  4. NEPSE (Stock Market):

    • PDE Idea: Black-Scholes PDE (elliptic) for option pricing.
    • How: The equation: models how stock option prices change with time and volatility.
    • Example: NEPSE traders use PDE solvers to price derivatives on shares like NABIL or NMB.
  5. Ncell Tower Design:

    • PDE Idea: Laplace’s equation for antenna radiation patterns.
    • How: Engineers solve in 3D to design antenna shapes that maximize coverage in hilly terrains (e.g., Kathmandu Valley).
    • Real Example: Ncell’s 5G rollout uses PDE simulations to place towers where signal strength is optimal, reducing dead zones.


Exam Tip

What Examiners Look For

  1. Classification First:

    • Always start by classifying the PDE (elliptic/parabolic/hyperbolic) using .
    • Example: For , → elliptic.
  2. Boundary Conditions Are Half the Marks:

    • Common mistakes:
      • Forgetting to apply BCs (e.g., ).
      • Misapplying Neumann conditions (e.g., vs. ).
    • Tip: Write BCs explicitly before solving.
  3. Separation of Variables Steps:

    • Show every step of assuming .
    • Clearly label eigenvalues and eigenfunctions .
  4. Fourier Series Coefficients:

    • For non-zero initial conditions, compute using:
    • Shortcut: Memorize integrals like .
  5. Physical Interpretation:

    • Relate solutions to real-world scenarios. For example:
      • Heat equation: "Temperature decays exponentially over time."
      • Wave equation: "The string vibrates with speed ."
  6. Numerical Methods (if asked):

    • For FDM, show the grid setup and stencil (e.g., 3-point stencil for ).
    • State the stability condition (e.g., for heat equation: ).

Common Pitfalls

  • Ignoring initial conditions: Always check if or is given.
  • Incorrect eigenvalues: For with , (not ).
  • Mixing BC types: Dirichlet for fixed value, Neumann for fixed derivative.
  • Forgetting units: In real-world problems, ensure has units of .

Model Answer Structure

For a question like: "Solve the wave equation on with , , ."

Step-by-Step Marks Distribution:

  1. Classify PDE (hyperbolic, ).
  2. Assume separation: .
  3. Derive ODEs:
    • → , .
    • → .
  4. Apply ICs:
    • → , for .
    • → for all .
  5. Final solution:

flowchart LR
    A["1. Classify PDE\nHyperbolic: \(D = 0\)"] --> B["2. Separation of variables\n\(u(x,t) = X(x)T(t)\)"]
    B --> C["3. Solve \(X'' + \lambda X = 0\)\nBCs: \(X(0) = X(L) = 0\)\n\(\lambda_n = \left(\frac{n\pi}{L}\right)^2\)"]
    C --> D["4. Solve \(T'' + c^2 \lambda_n T = 0\)\n\(T_n(t) = A_n \cos(c \lambda_n t) + B_n \sin(c \lambda_n t)\)"]
    D --> E["5. Apply ICs\n\(u(x,0) = \sin(\pi x/L)\) → \(A_1 = 1\), \(B_n = 0\)"]
    E --> F["6. Final solution\n\(u(x,t) = \cos\left(\frac{c\pi t}{L}\right) \sin\left(\frac{\pi x}{L}\right)\)"]

Based on the PU BE Computer (PU) syllabus for Applied Mathematics, unit 9.

Discussion

Loading…