Calculus IIUnit 1020 min read
Partial Differential Equations: Solutions, Series, and Applications
Unit 10 of Calculus II explores Partial Differential Equations (PDEs), covering classification, separation of variables, series solutions (Fourier, Bessel, Legendre), and real-world applications in heat transfer, wave propagation, and quantum mechanics. Mastery of this unit is critical for modeling dynamic systems in e
TAKEAWAYS:
- PDEs describe how quantities change over both space and time, unlike ODEs (which depend only on time).
- Separation of variables and Fourier series are the two most powerful methods to solve linear PDEs analytically.
- Bessel’s equation and Legendre’s equation arise in problems with radial symmetry (e.g., vibrations of circular membranes, heat flow in cylinders).
- Laplace’s equation (∇²φ = 0) models steady-state phenomena like electrostatics and fluid flow.
- Wave equation (∂²u/∂t² = c²∇²u) describes oscillations in strings, sound waves, and electromagnetic waves.
- Heat equation (∂u/∂t = α∇²u) governs temperature distribution in solids and diffusion processes.
1. Introduction to Partial Differential Equations (PDEs)
Partial Differential Equations (PDEs) involve partial derivatives of a function of multiple independent variables (e.g., ). Unlike Ordinary Differential Equations (ODEs), which describe how a quantity changes with one variable (e.g., time), PDEs model spatial and temporal variations simultaneously.
Key Differences: ODEs vs. PDEs
| Feature | ODEs | PDEs |
|---|---|---|
| Variables | Single independent variable (e.g., ) | Multiple independent variables (e.g., ) |
| Example | (exponential decay) | (heat equation) |
| Applications | Population growth, RC circuits | Heat conduction, wave propagation, fluid dynamics |
| Solution |
Classification of Second-Order Linear PDEs
Second-order PDEs of the form: are classified based on the discriminant :
Parabolic ():
- Example: Heat equation
- Behavior: One family of real characteristics; describes diffusion processes.
- Graph: Temperature profile over time in a rod.
Hyperbolic ():
- Example: Wave equation
- Behavior: Two families of real characteristics; describes wave propagation.
- Graph: Standing wave on a string.
2. Methods of Solving PDEs
(A) Separation of Variables
Used for linear homogeneous PDEs with boundary conditions. Assume a solution of the form: Example 1: Heat Equation on a Finite Rod Solve: with boundary conditions:
Step-by-Step Solution:
Assume . Substitute into the PDE: (Separation constant is chosen for oscillatory solutions.)
Solve the spatial ODE: with . This is a Sturm-Liouville problem with eigenvalues:
Solve the temporal ODE:
Form the general solution: where are determined by the initial condition :
Visualization: Heat Diffusion in a Rod
Real-World Connection: NTC Power Grid Stability The heat equation models how electric power distribution stabilizes in transmission lines. If a sudden load spike occurs (analogous to an initial temperature distribution ), the PDE predicts how the system reaches equilibrium. NTC engineers use similar PDEs to design smart grids that prevent blackouts by dynamically redistributing power.
(B) Fourier Series Solutions
For problems with periodic boundary conditions, solutions are expressed as infinite series of sine/cosine terms. The heat equation example above already uses a Fourier sine series.
Example 2: Vibrating String (Wave Equation) Solve: with boundary conditions:
Solution:
Assume . Substitute into the wave equation:
Spatial solution (same as heat equation):
Temporal solution:
General solution: Coefficients and are found using initial conditions:
Visualization: Standing Wave on a Guitar String
Real-World Connection: Pathao’s Ride Allocation Algorithm Pathao’s dynamic ride-matching system uses PDEs to model how demand waves (analogous to the wave equation) propagate across Kathmandu’s traffic grid. The solution predicts:
- Where to concentrate drivers to minimize wait times (like the spatial term).
- How surge pricing should adjust based on real-time demand spikes (like the temporal term). Engineers at Pathao solve similar PDEs to optimize ETAs and driver earnings.
(C) Special Functions: Bessel, Legendre, and Orthogonal Polynomials
Some PDEs cannot be solved with elementary functions and require special functions derived from series solutions.
1. Bessel’s Equation
Arises in problems with radial symmetry (e.g., heat flow in cylinders, vibrations of circular membranes). Solution: Bessel functions and (Neumann functions).
Example 3: Heat Equation in a Circular Drum Solve in polar coordinates : Assume . The angular part yields: The radial part becomes Bessel’s equation: where . Solutions are or , but is singular at , so we use .
Visualization: Bessel Functions
Real-World Connection: Ncell’s Antenna Design Ncell’s 5G base station antennas use Bessel functions to model how electromagnetic waves propagate in cylindrical towers. The PDE governing the wave’s radial spread is solved using to:
- Optimize coverage areas (like the angular term).
- Minimize signal interference (like the radial term). Engineers at Ncell simulate these PDEs to place antennas efficiently in Nepal’s hilly terrain.
2. Legendre’s Equation
Arises in problems with spherical symmetry (e.g., gravitational potential, quantum mechanics). Solution: Legendre polynomials , defined via Rodrigues’ formula:
Example 4: Express as a Legendre Polynomial Use Rodrigues’ formula to find coefficients for : We want to write: Substitute and solve for : Equate coefficients: Thus:
Visualization: Legendre Polynomials
Real-World Connection: Google’s Quantum Computing Simulations Google’s quantum processors (e.g., Sycamore) use Legendre polynomials to model electron probability distributions in atomic orbitals. The Schrödinger equation for a hydrogen atom in spherical coordinates reduces to Legendre’s equation, and describe the angular part of the wavefunction. This is critical for:
- Simulating chemical reactions (e.g., drug design).
- Optimizing quantum error correction.
3. Laplace Transform Method for PDEs
For time-dependent PDEs, the Laplace transform can convert them into ordinary differential equations (ODEs) in the spatial domain.
Example 5: Solve the Heat Equation with Laplace Transform Take the Laplace transform with respect to : Thus: Rearrange: This is a second-order ODE in , solvable with boundary conditions .
Visualization: Laplace Transform of Heat Equation
flowchart TD
A["PDE: ∂u/∂t = α ∂²u/∂x²"] --> B["Laplace Transform: sū(x,s) - f(x) = α d²ū/dx²"]
B --> C["ODE: d²ū/dx² - (s/α)ū = -f(x)/α"]
C --> D["Solve ODE with BCs: ū(0,s) = ū(L,s) = 0"]
D --> E["Inverse Laplace: u(x,t) = L⁻¹{ū(x,s)}"]Real-World Connection: eSewa’s Payment Processing eSewa’s fraud detection system uses Laplace transforms to model how transaction anomalies (e.g., sudden spikes in failed payments) propagate through the network. The PDE describes:
- Spatial term: How fraud patterns vary by location (e.g., higher in Kathmandu vs. Pokhara).
- Temporal term: How quickly fraudsters adapt (e.g., changing tactics after a crackdown). The Laplace transform converts this into an ODE, allowing eSewa to predict and block fraudulent transactions in real time.
4. Higher-Dimensional PDEs and Boundary Value Problems
Many real-world problems involve multiple spatial dimensions. For example:
- 2D Heat Equation:
- 3D Wave Equation:
Example 6: 2D Heat Equation in a Rectangular Plate Solve: with boundary conditions: and initial condition:
Solution:
- Separate variables: .
- Substitute into the PDE:
- Let:
- Solve each ODE:
- with :
- with :
- Temporal solution:
- General solution: where:
Visualization: 2D Heat Diffusion
Real-World Connection: Daraz’s Warehouse Inventory Model Daraz’s logistics network uses 2D PDEs to model how inventory levels change across multiple warehouses (spatial dimensions ) over time . The solution predicts:
- Where to stock more products (like the terms).
- How quickly to restock based on demand patterns (like the term). Daraz engineers solve this to minimize delivery times and reduce storage costs across Nepal.
5. Numerical Methods for PDEs
Analytical solutions are often impossible for complex geometries or nonlinear PDEs. Numerical methods (e.g., finite difference, finite element) are used instead.
(A) Finite Difference Method
Discretize the domain and approximate derivatives with finite differences.
Example 7: Explicit Finite Difference for Heat Equation Discretize and with steps and : where .
Stability Condition: .
Visualization: Finite Difference Grid
graph TD
A["u(iΔx, (k+1)Δt)"] -->|"Explicit Update"| B["u(iΔx, kΔt) + αΔt/(Δx)² (u(i+1) - 2u(i) + u(i-1))"]
C["Boundary Conditions"] --> A
D["Initial Condition"] --> BReal-World Connection: NEPSE’s Stock Price Prediction NEPSE’s algorithm-driven trading platforms use finite difference methods to model how stock prices evolve based on:
- Spatial term: Regional market differences (e.g., Kathmandu vs. Pokhara).
- Temporal term: Daily/weekly trends. Traders discretize the PDE to predict crashes or rallies and execute trades automatically.
## In the Real World
Pathao’s Ride Allocation (Wave Equation) Pathao’s algorithm treats driver availability as a wave propagating through Kathmandu’s grid. The PDE: models how demand waves (e.g., after a concert) spread. Solutions predict where to send idle drivers to minimize wait times.
Ncell’s 5G Signal Optimization (Bessel Functions) Ncell’s antenna arrays solve Bessel’s equation to shape cylindrical coverage patterns. The PDE: ensures signals penetrate hilly terrain efficiently. Engineers use to design antennas that maximize signal strength in remote areas like Dolpa.
eSewa’s Fraud Detection (Laplace Transform) eSewa’s real-time monitoring system converts the PDE governing transaction flows into an ODE via Laplace transform: This simplifies fraud pattern detection by filtering noise and isolating anomalies (e.g., sudden spikes in failed transactions).
## Exam Tip
Classification is Critical
- Always classify a PDE as elliptic, parabolic, or hyperbolic before attempting a solution. Examiners often ask for this as a separate part of the question.
- Example Question: Classify . Solution: → Hyperbolic.
Separation of Variables is the Workhorse
- For linear homogeneous PDEs with constant coefficients, separation of variables is the go-to method. Memorize the standard forms:
- Heat equation: → .
- Wave equation: → .
- Laplace’s equation: → .
- For linear homogeneous PDEs with constant coefficients, separation of variables is the go-to method. Memorize the standard forms:
Boundary Conditions Determine Eigenvalues
- Dirichlet BCs () lead to sine series.
- Neumann BCs () lead to cosine series.
- Mixed BCs require careful handling (e.g., , ).
- Example: For with , , the eigenvalues are:
Special Functions are Non-Negotiable
- Bessel’s equation: Arises in cylindrical coordinates. Always check for .
- Legendre’s equation: Arises in spherical coordinates. Recognize .
- Exam Pitfall: Many students forget to use or and lose marks. Always state the general solution as: unless boundary conditions eliminate .
Numerical Methods are Fair Game
- Questions may ask for finite difference discretizations or stability analysis. For the heat equation:
- Explicit method: , where .
- Stability condition: .
- Example Question: Discretize with , , . Check stability. Solution: → Stable.
- Questions may ask for finite difference discretizations or stability analysis. For the heat equation:
Real-World Applications = Extra Marks
- Examiners love it when you connect PDEs to real systems. For example:
- Heat equation: "This models how quickly a Daraz package cools down in a truck during winter."
- Wave equation: "This describes how traffic congestion waves propagate on the Kathmandu Ring Road."
- Always label axes in your graphs (e.g., "Temperature (°C) vs. Distance (m)") and reference real parameters (e.g., for copper).
- Examiners love it when you connect PDEs to real systems. For example:
Common Mistakes to Avoid
- Forgetting initial conditions: The solution is incomplete without or .
- Incorrect separation constants: Always double-check signs (e.g., vs. ).
- Ignoring boundary conditions: Eigenvalues and eigenfunctions depend on BCs.
- Arithmetic errors in Fourier coefficients: Use orthogonality to verify:
## Practice Problems (Exam-Style)
Classify and Solve: Solve in , , with: Hint: Use separation of variables .
Bessel’s Equation: Solve . Express the general solution in terms of Bessel functions.
Legendre Polynomials: Express as a series of Legendre polynomials .
Laplace Transform: Solve for , with , , using Laplace transforms.
Numerical Method: Discretize with , , . Write the explicit update formula and check stability.
## Summary Table: Key PDEs and Methods
| PDE Type | Standard Form | Method | Boundary Conditions | Real-World Example |
|---|---|---|---|---|
| Heat Equation | Separation of variables | Dirichlet/Neumann | Daraz warehouse temperature control | |
| Wave Equation | Separation of variables | Fixed ends/free ends | Pathao ride demand waves | |
| Laplace’s Equation | Separation of variables | Dirichlet/Neumann | Ncell antenna coverage | |
| Bessel’s Equation |
Based on the PU BE Computer (PU) syllabus for Calculus II, unit 10.
Discussion
Loading…