AAS203D · YEAR 1 · SEM 1
Numerical Methods — Last-Night Cheat Sheet
CSE paper: treat every topic as an algorithm — recurrence, transform, spectral decomposition, or factorisation — and state what the computed number means for software.
1. Differential Equations
Recall anchor. Characteristic roots are the modes of a discrete or continuous algorithm: stability depends on where those roots lie, not just on their values.
Scored points.
- Linear nth order equation with constant coefficients: y⁽ⁿ⁾ + a₁y⁽ⁿ⁻¹⁾ + … + aₙy = Q(x); the auxiliary polynomial gives the complementary solution.
- Root cases: distinct real roots give e^{mᵢx}; repeated roots multiply by powers of x; α ± iβ gives e^{αx}(A cos βx + B sin βx).
- Discrete analogue: a recurrence aₙ − c₁aₙ₋₁ − … − 0 reduces to roots λᵢ and solution aₙ = ΣCᵢλᵢⁿ; stable algorithms need |λᵢ| ≤ 1 (strictly < 1 for decay).
- Cauchy–Euler equations are converted by x = eᵗ; this is the continuous counterpart of a change of index in a numerical scheme.
- Variation of parameters supplies a particular solution when coefficients vary; the Wronskian W = y₁y₂′ − y₂y₁′ is computed first.
- Change of independent variable and normal form (removing the first-derivative term) simplify an equation before discretisation.
- Applications in cloud computing, computer networks, and cyber-security appear as queueing recurrences, load-growth models, and packet-flow equations.
Formula strip.
Micro-example. aₙ − 3aₙ₋₁ + 2aₙ₋₂ = 0 has roots 1 and 2, so aₙ = A + B·2ⁿ; with a₀ = 0, a₁ = 1 we get A = −1, B = 1 and aₙ = 2ⁿ − 1.
Examiner line. Form the auxiliary/recurrence polynomial, list its roots, write the general solution, and then decide stability or apply the given initial values.
2. omplex Analysis
Recall anchor. One harmonic function determines its partner: CR equations reconstruct the analytic function, and residues reduce a contour integral to a few local numbers.
Scored points.
- Functions of complex variables f(z) = u + iv; limit and continuity require a path-independent approach to z₀.
- Differentiability at a point plus a neighbourhood gives an analytic function; the Cauchy–Riemann equations are uₓ = vᵧ, uᵧ = −vₓ (Cartesian) and uᵣ = v_θ/r, vᵣ = −u_θ/r (polar).
- Harmonic function: ∇²u = uₓₓ + uᵧᵧ = 0; u and v are harmonic conjugates, used in image-processing field models.
- Milne–Thomson method: f′(z) = uₓ(z,0) − i uᵧ(z,0), then integrate to obtain f(z).
- Complex integrals: Cauchy's integral theorem gives zero for analytic interiors; Cauchy's integral formula f(a) = (1/2πi)∮ f(z)/(z−a)dz evaluates a value from the boundary.
- Taylor series works inside the nearest singularity; Laurent series shows the (z−a)⁻¹ coefficient, which is the residue at a simple pole.
- Cauchy residue theorem ∮_C f dz = 2πi Σ residues inside C; real definite integrals use z = e^{iθ}. Applications include image processing, computer design, and quantum computing.
Formula strip.
Micro-example. For f(z) = (z+1)/(z−1) on |z| = 2, the only pole is z = 1 with residue 2, so ∮ = 2πi(2) = 4πi.
Examiner line. State the CR check, then the singularity list, then the residue and 2πi; relate the result to image filtering or quantum-state integration only at the end.
3. Laplace Transform
Recall anchor. A switched algorithm input becomes an exponential factor in s: the step and shift theorems are what make Laplace useful for database scheduling and event-driven models.
Scored points.
- Definition F(s) = ∫₀^∞ e^{−st}f(t)dt with exponential-order existence condition; linearity allows term-by-term transforms.
- Standard pairs: L{1} = 1/s, L{tⁿ} = n!/s^{n+1}, L{e^{at}} = 1/(s−a), L{sin bt} = b/(s²+b²).
- First shifting: L{e^{−at}f(t)} = F(s+a); second shifting: L{f(t−a)u(t−a)} = e^{−as}F(s) for delayed events; change of scale L{f(at)} = F(s/a)/a.
- Derivatives and integrals: L{f′} = sF − f(0), L{f″} = s²F − sf(0) − f′(0), L{∫₀ᵗ f} = F/s.
- Periodic functions of period T transform as (1/(1 − e^{−sT}))∫₀ᵀ e^{−st}f(t)dt; unit step u(t−a) is the standard switch.
- Inverse Laplace: partial fractions for distinct/repeated linear and quadratic factors; convolution theorem L⁻¹{FG} = ∫₀ᵗ f(τ)g(t−τ)dτ.
- Applications: solving ODEs arising in database-system timing models and algorithmic modelling; the final answer must satisfy the given initial conditions.
Formula strip.
Micro-example. L{e^{−2t}cos 3t} = (s+2)/((s+2)²+9); at s = 0 this equals 2/13 ≈ 0.154, the initial spectral value of the damped signal.
Examiner line. Name the shift and derivative properties used, keep the algebra in s for one full line, then invert and verify the initial value in t.
4. Fourier Series& Fourier Transform
Recall anchor. Signals have a frequency fingerprint: a Fourier series lists harmonics of a periodic signal; a transform (or DFT for code) gives the spectrum of samples.
Scored points.
- Periodic function and even/odd symmetry: even → cosine terms only, odd → sine terms only; Dirichlet conditions allow finitely many jumps.
- Full-range series on (−l, l): f(x) = a₀/2 + Σ[aₙcos(nπx/l) + bₙsin(nπx/l)] with aₙ = (1/l)∫ f cos(nπx/l)dx, bₙ = (1/l)∫ f sin(nπx/l)dx.
- Change of interval: adapt limits to (c, c+2l) or period 2l; half-range sine and cosine series extend a function on (0,l) as odd or even.
- Parseval's identity links time-domain energy to spectral coefficients: (1/l)∫_{−l}^{l}f²dx = a₀²/2 + Σ(aₙ²+bₙ²).
- Fourier integral theorem leads to F(ω) = ∫ f(t)e^{−jωt}dt and inverse f(t) = (1/2π)∫F(ω)e^{jωt}dω; finite Fourier sine/cosine transforms work on a bounded interval.
- Discrete implementation: the N-point DFT X[k] = Σ_{n=0}^{N−1}x[n]e^{−j2πkn/N} is what code uses for image blocks and machine-learning features.
- Applications: computer graphics, digital image processing, image compression, machine-learning feature extraction, and cyber-security pattern analysis.
Formula strip.
Micro-example. For x = [1, 2], the 2-point DFT gives X[0] = 1+2 = 3 and X[1] = 1−2 = −1; Parseval checks: (3² + (−1)²)/2 = 5 = 1² + 2².
Examiner line. State period and symmetry, compute a₀ and one general coefficient, verify with Parseval, and show the DFT/transform relation for the CSE application.
5. Applied Linear Algebra
Recall anchor. Factorise the matrix before solving the system: LU, QR, and SVD are the three decompositions a numerical program actually uses.
Scored points.
- Eigenvalue decomposition: Ax = λx with det(A − λI) = 0; if A has n independent eigenvectors, A = PDP⁻¹ with D = diag(λᵢ).
- Singular value decomposition: A = UΣVᵀ with U, V orthogonal and Σ containing singular values σᵢ = √λᵢ(AᵀA); SVD exists for every matrix, including rectangular ones.
- Matrix factorisation: LU by Dolittle sets L unit-diagonal and solves A = LU by equating entries, with forward/back substitution for Ax = b; QR writes A = QR with orthonormal Q and upper-triangular R for least squares.
- Linear transformation T: V → W satisfies T(u+v) = T(u)+T(v) and T(cv) = cT(v); the matrix representation depends on the chosen bases.
- Kernel (null space) T⁻¹(0) and range (image) are subspaces; rank–nullity gives dim(kernel) + dim(range) = dim V.
- Inner product space: ⟨x,y⟩ = Σxᵢyᵢ (real case) with symmetry, linearity, and positivity; norm ‖x‖₂ = √⟨x,x⟩ and orthogonality means ⟨x,y⟩ = 0.
- Applications: 2D/3D graphics, neural networks, and cryptography rely on these factorisations and norms.
Formula strip.
Micro-example. For A = [[2,1],[4,3]], Dolittle gives L = [[1,0],[2,1]], U = [[2,1],[0,1]]; multiplying back gives [[2,1],[4,3]], confirming the factorisation.
Examiner line. State the decomposition used, show the entry-by-entry comparison that determines its factors, and end with the purpose (solve, compress, or rotate) in one CSE sentence.
Memory map
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '16px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
A["U1: Linear differential equation of nth order"] --> B["U1: CauchyEuler equation"] --> C["U1: normal form"]
C --> D["U2: Analytic Function"] --> E["U2: Cauchy-Riemann Equations"] --> F["U2: Cauchy Residue Theorem"]
F --> G["U3: Definition of Laplace Transform"] --> H["U3: I and II Shifting theorems"] --> I["U3: Convolution theorem"]
I --> J["U4: Fourier series expansion in the interval c to c+2l"] --> K["U4: Parseval's Identity"] --> L["U4: Fourier transform"]
L --> M["U5: Eigen Value Decomposition and Singular Value Decomposition"] --> N["U5: LU Decomposition (Dolittle method)"]
N --> O["U5: Kernel and Range"] --> P["U5: Norm of a vector"]
Rapid recall
- U1 · Linear differential equation of nth order with constant coefficients
- U1 · CauchyEuler equation
- U1 · variation of parameters
- U1 · change of independent variable
- U1 · normal form
- U1 · Applications: Cloud Computing, Computer Networks, Cyber Security
- U2 · Functions of Complex Variables
- U2 · Limit Continuity and Differentiability
- U2 · Analytic Function
- U2 · Cauchy-Riemann Equations (Cartesian and Polar Form)
- U2 · Harmonic Function
- U2 · MilneThomson Method
- U2 · Complex integrals
- U2 · CauchyIntegral theorem
- U2 · Cauchy integral formula
- U2 · Taylor's series and Laurent's series
- U2 · Singularities
- U2 · Cauchy Residue Theorem
- U3 · Definition of Laplace Transform
- U3 · Existence Conditions
- U3 · Linearity Property
- U3 · Laplace Transform of some standard functions
- U3 · I and II Shifting theorems
- U3 · Change of Scale Property
- U3 · Laplace transform of derivatives and integrals
- U3 · Periodic Functions and Unit Step Function
- U3 · Inverse Laplace Transform
- U3 · Convolution theorem
- U3 · Database Systems and Algorithmic Modelling
- U4 · Periodic function
- U4 · even and odd function
- U4 · Dirichlet's Condition
- U4 · Fourier series expansion in the interval c to c+2l
- U4 · Change of Interval
- U4 · Half Range Series
- U4 · Parseval's Identity
- U4 · Fourier Integral theorem
- U4 · Fourier transform and Inverse Fourier Transform
- U4 · Finite Fourier Sin and Cosine transform
- U5 · Eigen Value Decomposition and Singular Value Decomposition
- U5 · Matrix factorization
- U5 · LU Decomposition (Dolittle method)
- U5 · QR Decomposition
- U5 · Linear transformation and Matrix representation
- U5 · Kernel and Range
- U5 · Introduction to inner product space
- U5 · Norm of a vector
Final-answer checklist
- For AAS203D, write the algorithm behind the mathematics (recurrence, contour evaluation, transform inversion, DFT, or factorisation) before calculating.
- Show the auxiliary roots, CR equations, shift property, coefficient integral, or factor entries as separate working lines.
- State stability or convergence conditions (|λ| < 1, ρ < 1, analytic inside C) instead of only producing a number.
- Keep notation consistent: i for imaginary unit, Σ for summation, and the same basis when representing a linear transformation.
- Close with the CSE consequence — bounded output, filtered image, recovered signal, or compressed/solved matrix.