Top Banner Ad

AAS203D — Numerical Methods

1-page visual cheat sheets and Mermaid memory maps for rapid revision.

VISUAL MEMORY MAP & CHEAT SHEET

Full 5-unit Mermaid mind map, recall anchors, and formula strips rendered below.

Save as PNG / Print →

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.

y(n)+a1y(n−1)+⋯+any=Q,y=∑Ciemix,an=∑Ciλin,∣mi∣<1 (discrete stability),x=ety^{(n)}+a_1y^{(n-1)}+\dots+a_ny=Q,\quad y=\sum C_i e^{m_i x},\quad a_n=\sum C_i\lambda_i^n,\quad |m_i|<1\ (\text{discrete stability}),\quad x=e^t

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.

ux=vy,uy=−vx,∇2u=0,f′(z)=ux(z,0)−iuy(z,0),∮Cf dz=2πi∑(z−a)−1Res⁡u_x=v_y,\quad u_y=-v_x,\quad \nabla^2u=0,\quad f'(z)=u_x(z,0)-iu_y(z,0),\quad \oint_C f\,dz=2\pi i\sum_{(z-a)^{-1}}\operatorname{Res}

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.

L{e−atcos⁡bt}=s+a(s+a)2+b2,L{f(t−a)u(t−a)}=e−asF(s),L ⁣{∫0tf}=F(s)s,L−1{FG}=f∗g\mathcal L\{e^{-at}\cos bt\}=\frac{s+a}{(s+a)^2+b^2},\quad \mathcal L\{f(t-a)u(t-a)\}=e^{-as}F(s),\quad \mathcal L\!\left\{\int_0^t f\right\}=\frac{F(s)}s,\quad \mathcal L^{-1}\{FG\}=f*g

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.

an=1l∫−llfcos⁡nπxldx,1l∫−llf2dx=a022+∑(an2+bn2),X[k]=∑n=0N−1x[n]e−j2πkn/N,F(ω)=∫fe−jωtdta_n=\frac1l\int_{-l}^{l}f\cos\frac{n\pi x}{l}dx,\quad \frac1l\int_{-l}^l f^2dx=\frac{a_0^2}{2}+\sum(a_n^2+b_n^2),\quad X[k]=\sum_{n=0}^{N-1}x[n]e^{-j2\pi kn/N},\quad F(\omega)=\int f e^{-j\omega t}dt

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.

A=PDP−1,A=UΣVT,A=LU (Dolittle),A=QR,dim⁡ker⁡T+dim⁡range⁡T=dim⁡V,∥x∥2=⟨x,x⟩A=PDP^{-1},\quad A=U\Sigma V^T,\quad A=LU\ (\text{Dolittle}),\quad A=QR,\quad \dim\ker T+\dim\operatorname{range}T=\dim V,\quad \|x\|_2=\sqrt{\langle x,x\rangle}

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

  1. U1 · Linear differential equation of nth order with constant coefficients
  2. U1 · CauchyEuler equation
  3. U1 · variation of parameters
  4. U1 · change of independent variable
  5. U1 · normal form
  6. U1 · Applications: Cloud Computing, Computer Networks, Cyber Security
  7. U2 · Functions of Complex Variables
  8. U2 · Limit Continuity and Differentiability
  9. U2 · Analytic Function
  10. U2 · Cauchy-Riemann Equations (Cartesian and Polar Form)
  11. U2 · Harmonic Function
  12. U2 · MilneThomson Method
  13. U2 · Complex integrals
  14. U2 · CauchyIntegral theorem
  15. U2 · Cauchy integral formula
  16. U2 · Taylor's series and Laurent's series
  17. U2 · Singularities
  18. U2 · Cauchy Residue Theorem
  19. U3 · Definition of Laplace Transform
  20. U3 · Existence Conditions
  21. U3 · Linearity Property
  22. U3 · Laplace Transform of some standard functions
  23. U3 · I and II Shifting theorems
  24. U3 · Change of Scale Property
  25. U3 · Laplace transform of derivatives and integrals
  26. U3 · Periodic Functions and Unit Step Function
  27. U3 · Inverse Laplace Transform
  28. U3 · Convolution theorem
  29. U3 · Database Systems and Algorithmic Modelling
  30. U4 · Periodic function
  31. U4 · even and odd function
  32. U4 · Dirichlet's Condition
  33. U4 · Fourier series expansion in the interval c to c+2l
  34. U4 · Change of Interval
  35. U4 · Half Range Series
  36. U4 · Parseval's Identity
  37. U4 · Fourier Integral theorem
  38. U4 · Fourier transform and Inverse Fourier Transform
  39. U4 · Finite Fourier Sin and Cosine transform
  40. U5 · Eigen Value Decomposition and Singular Value Decomposition
  41. U5 · Matrix factorization
  42. U5 · LU Decomposition (Dolittle method)
  43. U5 · QR Decomposition
  44. U5 · Linear transformation and Matrix representation
  45. U5 · Kernel and Range
  46. U5 · Introduction to inner product space
  47. 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.
Bottom Banner Ad