Applied MathematicsUnit 1017 min read
Engineering Applications of Math: PDEs, Transforms & Signals
Unit 10 of Applied Mathematics explores how complex variables, Fourier/Laplace transforms, and partial differential equations solve real-world engineering problems—from signal processing in WhatsApp to heat flow in NTC cables, and from traffic modeling in Kathmandu to financial forecasting in NEPSE.
TAKEAWAYS:
- PDEs model physical systems: Heat, waves, and diffusion in engineering (e.g., NTC’s power grid stability, Daraz’s server cooling).
- Laplace/Z-transforms simplify circuits: Convert differential equations into algebraic equations for control systems (e.g., Ncell’s automated antenna tuning).
- Fourier transforms analyze signals: Decompose audio (WhatsApp calls), images (Khalti QR codes), and sensor data (NEPSE stock trends).
- Residue calculus speeds up integrals: Used in antenna design (Ncell) and fluid dynamics (NTC pipelines).
- Boundary conditions matter: Real-world constraints (e.g., fixed vs. free ends in bridges) change solutions entirely.
- Numerical methods bridge theory and practice: Finite difference/elements approximate PDEs for simulations (e.g., Kathmandu traffic rerouting).
1. Partial Differential Equations (PDEs) in Engineering
PDEs describe how quantities change in space and time. Three key types dominate engineering:
A. Heat Equation (Diffusion)
Definition:
- : Temperature (or concentration) at point and time .
- : Thermal diffusivity (material property).
Real-World Example 1: NTC Power Grid Stability Nepal’s power grid (managed by NTC) uses heat-equation models to predict cable overheating during peak demand (e.g., winter). Engineers solve for to place cooling stations optimally. Worked Example 1: Steady-state heat in a cable Assume a long NTC cable of radius with uniform heat generation. The steady-state PDE reduces to: Solution steps:
- Boundary conditions:
- (surface temperature).
- (symmetry at center).
- Integrate twice: (The term vanishes for physical solutions.)
- Apply BCs to find and . Final temperature profile:
Key Insight: The parabolic profile shows why thicker cables () can handle more heat without exceeding safe limits.
B. Wave Equation (Vibrations)
Definition:
- : Wave speed (e.g., sound in air, signals in fiber optics).
- Applications: String vibrations (guitars), electromagnetic waves (Google Fiber), seismic waves.
Real-World Example 2: Kathmandu Traffic Light Optimization Traffic signals at busy intersections (e.g., Thapathali) model pedestrian/wheelchair flow using wave equations. The goal: minimize "stop-and-go" waves. Worked Example 2: Standing waves on a road segment Assume a 100m road with fixed ends (buildings). The general solution is: where and . Boundary conditions:
- (wall at ) → .
- (wall at ) → → . First mode ():
Key Insight: The first mode shows why staggered traffic lights (phase shifts) reduce congestion.
C. Laplace’s Equation (Electrostatics/Fluid Flow)
Definition:
- : Electric potential (V) or fluid velocity potential.
- Applications: Antenna design (Ncell), groundwater flow (Kathmandu Valley), capacitor geometry.
Real-World Example 3: Ncell Antenna Efficiency Ncell’s 4G antennas use Laplace’s equation to design shapes that minimize signal loss. The potential around an antenna satisfies: Worked Example 3: 2D potential around a circular antenna In polar coordinates : Solution: Separation of variables gives: For a grounded plane at and potential on the antenna ():
- (no singularity).
- for (bounded at infinity). Simplified solution (dipole approximation):
Key Insight: The decay explains why tall antennas (larger ) improve signal range.
2. Transforms: From Theory to Engineering Tools
Transforms convert differential equations into algebraic equations, simplifying analysis.
A. Laplace Transform for Dynamic Systems
Definition: Key Properties:
| Property | Time Domain | Laplace Domain |
|---|---|---|
| Linearity | ||
| Differentiation | ||
| Integration | ||
| Initial Value Theorem |
Real-World Example 4: Ncell Automated Antenna Tuning Antenna systems use PID controllers (proportional-integral-derivative) to adjust gain dynamically. The Laplace transform converts the PID equation: into an algebraic form for stability analysis.
Worked Example 4: Step response of a PID-controlled antenna Given a second-order system: with PID control , where . Laplace transform steps:
- Transform the system:
- Express in terms of and :
- Substitute and solve for the closed-loop transfer function: Stability condition: The denominator’s roots must have negative real parts. For , , :
Key Insight: The phase margin (difference between and phase at gain crossover) determines how "aggressive" the tuning is.
B. Fourier Transform for Signal Processing
Definition: Applications:
- Audio compression: WhatsApp’s voice messages use Fourier transforms to remove redundant frequencies.
- Image compression: Khalti’s QR codes rely on Fourier-based algorithms to encode data efficiently.
- Stock analysis: NEPSE uses Fourier transforms to detect cyclical trends in share prices.
Worked Example 5: Bandwidth of a WhatsApp voice call A 3-second voice clip sampled at 8 kHz (standard for telephony) has:
- Time-domain signal: (amplitude vs. time).
- Fourier transform: shows frequency components up to 4 kHz (Nyquist limit). Steps:
- Compute the Fourier transform of :
- Identify dominant frequencies (e.g., 300 Hz to 3.4 kHz for human speech).
- Filter out frequencies above 3.4 kHz to reduce bandwidth.
Key Insight: The sharp drop at 4 kHz explains why higher sampling rates (e.g., 16 kHz) improve call quality but increase data usage.
C. Z-Transform for Discrete Systems
Definition: Applications:
- Digital filters: Pathao’s navigation app uses Z-transforms to smooth GPS data.
- Control systems: NTC’s smart grids apply Z-transforms to discrete-time controllers.
Worked Example 6: Pathao’s GPS noise reduction A moving vehicle’s position is sampled every 0.1s. The noisy signal is filtered using: Z-transform steps:
- Transform the recurrence:
- Solve for the transfer function:
- Inverse Z-transform to find the impulse response:
flowchart TD
A["Noisy GPS Input\nx[n]"] --> B["Z-Transform\nX(z)"]
B --> C["Filter Transfer Function\nH(z) = 1 + 0.5z⁻¹ - 0.1z⁻²"]
C --> D["Inverse Z-Transform\nh[n]"]
D --> E["Convolve with Input\nY(z) = H(z)X(z)"]
E --> F["Smooth Output\ny[n]"]Key Insight: The negative coefficient () cancels high-frequency noise (e.g., sudden jumps in GPS data).
3. Residue Calculus: Engineering Shortcuts
Residue calculus evaluates complex integrals efficiently, critical for:
- Transient analysis: NTC’s fault current calculations.
- Antenna radiation patterns: Ncell’s 5G beamforming.
- Fluid dynamics: Daraz’s warehouse robot path planning.
Real-World Example 7: NTC Fault Current Calculation When a short circuit occurs, engineers compute the fault current using residues. The current in an RL circuit is: Worked Example 7: Residue method for
- Poles of are at .
- Residue at :
- Inverse Laplace transform:
Key Insight: The exponential decay explains why circuit breakers must act within to prevent damage.
4. Numerical Methods: Bridging Theory and Practice
Analytical solutions often require approximations. Common methods:
| Method | When to Use | Example Application |
|---|---|---|
| Finite Difference | PDEs with simple geometries | NTC’s heat dissipation in transformers |
| Finite Element | Complex geometries (3D) | Daraz’s warehouse robot collision avoidance |
| Monte Carlo | Probabilistic systems | NEPSE’s risk assessment for IPOs |
Worked Example 8: Finite difference for heat equation Discretize the 1D heat equation: Stability condition: (Courant criterion). Example: For , , :
flowchart LR
A["Initial Temp.\nu_i^n"] --> B["Compute\nu_{i+1}^n, u_{i-1}^n"]
B --> C["Update\nu_i^{n+1} = u_i^n + 0.05*(u_{i+1}^n - 2u_i^n + u_{i-1}^n)"]
C --> D["Check\nStability (Δt ≤ (Δx)²/2α)"]
D -->|"Yes"| E["Next Time Step"]
D -->|"No"| F["Reduce Δt"]Key Insight: The stability condition ensures the simulation doesn’t "blow up" (unphysical oscillations).
In the Real World
Ncell’s 5G Networks
- Idea: Fourier transforms decompose signals to allocate bandwidth efficiently.
- How: Ncell’s beamforming uses Fourier series to direct signals toward users, reducing interference. The transform identifies dominant frequencies in each user’s channel, allowing simultaneous multi-user communication.
Khalti’s QR Code Payments
- Idea: Fourier-based error correction (Reed-Solomon codes) ensures QR codes work even if partially damaged.
- How: The code divides data into blocks, computes parity symbols using polynomial arithmetic (a Fourier-like transform), and reconstructs missing data during scanning.
NTC’s Smart Grid Optimization
- Idea: Laplace transforms model the grid’s dynamic response to load changes.
- How: Engineers use transfer functions to predict voltage drops during peak hours (e.g., winter in Kathmandu). The transform converts differential equations of generator dynamics into algebraic equations, simplifying controller design.
Pathao’s Traffic Routing
- Idea: PDEs model pedestrian/vehicle flow to optimize routes.
- How: Pathao’s algorithm solves a reaction-diffusion PDE to predict congestion. The solution guides drivers away from clogged areas (e.g., Thapathali during festivals).
NEPSE’s Stock Trend Analysis
- Idea: Fourier transforms reveal cyclical patterns in share prices.
- How: Analysts apply the transform to historical data to identify 4-year cycles in NEPSE’s index. This helps predict bull/bear markets (e.g., the 2015 crash’s precursors).
Exam Tip
What Examiners Look For
Physical Interpretation
- Always state what , , or represents in the context (e.g., "temperature distribution," "frequency spectrum").
- Example: For a PDE, write: "This solution describes how heat diffuses in an NTC cable of radius 0.3m with uniform heat generation."
Boundary Conditions
- Explicitly list BCs and justify them (e.g., "insulated end" → ).
- Common Pitfalls:
- Forgetting initial conditions for time-dependent problems.
- Misapplying BCs (e.g., using Dirichlet instead of Neumann).
Transform Properties
- Show all steps when applying Laplace/Fourier/Z-transforms. Partial credit is given for intermediate results.
- Example: For , write:
Numerical Methods
- Derive stability conditions (e.g., Courant criterion) and state them clearly.
- Example: For finite differences, write: "The scheme is stable if . Here, satisfies this for and ."
Real-World Connections
- Examiners love links to Nepalese contexts. Even if the question is abstract:
- Relate PDEs to NTC’s power grids or Khalti’s servers.
- Connect transforms to Ncell’s signal processing or Pathao’s algorithms.
- Example: For a Laplace transform question, add: "This transfer function could model Ncell’s automatic gain control in a 4G base station, where adjusts for signal strength variations."
- Examiners love links to Nepalese contexts. Even if the question is abstract:
Graphs and Visuals
- Sketch the solution profile (e.g., temperature vs. radius) or frequency spectrum.
- Label axes with units (e.g., "Temperature (°C)" not just "u").
- Example: For a wave equation solution, draw:
- A snapshot of at (initial shape).
- A space-time plot showing wave propagation.
Common Mistakes to Avoid
- Ignoring units: Always include units in final answers (e.g., "A/m²" for heat flux).
- Assuming symmetry: Check if the problem is 1D, 2D, or 3D. A 2D heat equation needs .
- Skipping validation: For numerical methods, verify stability or convergence (e.g., "For , the error reduces by half when halving .").
- Overcomplicating: Use the simplest form of the solution unless asked for a series expansion.
Sample Exam Question Breakdown
Question: "A long cable carries a uniform heat source W/m³. The surface is maintained at 20°C. Derive the steady-state temperature distribution if the cable radius is 0.2m and thermal diffusivity is m²/s. Discuss how NTC might use this model to prevent overheating."
Expected Answer Structure:
PDE Setup: "This is the steady-state heat equation in cylindrical coordinates for uniform heat generation."
Boundary Conditions:
- °C (surface temperature).
- (symmetry at center).
Solution: "The parabolic profile shows the center is hottest ()."
NTC Application: "NTC could use this to set maximum safe current limits. For example, if exceeds , the cable risks melting."
Visual Summary for Quick Revision
mindmap
root((Applications in Engineering))
PDEs
Heat Equation: NTC Cables
Wave Equation: Traffic Lights
Laplace: Antenna Design
Transforms
Laplace: PID Controllers (Ncell)
Fourier: Signal Processing (WhatsApp)
Z-Transform: Digital Filters (Pathao)
Residues
Fault Currents: NTC Grids
Antenna Patterns: Ncell 5G
Numerical Methods
Finite Difference: Heat Simulation
Finite Element: Robot Paths (Daraz)Based on the PU BE Computer (PU) syllabus for Applied Mathematics, unit 10.
Discussion
Loading…