# Wanna Math (wanna math) — Complete Textbook & Formula Catalog > Math ain't scary (not anymore). Explore single-variable calculus, linear algebra, multivariable and vector calculus, differential equations, complex transforms, and numerical methods through synchronized 2D and 3D interactive visualizations. - **Canonical URL:** https://wanna-math.vercel.app - **Summary Index:** https://wanna-math.vercel.app/llms.txt - **Syllabus Matrix:** https://wanna-math.vercel.app/roadmap - **Coverage:** 7 Volumes, 26 Modules, 103 Chapters, 122 Interactive Labs - **Author:** Swapnonil Nath (IIT Kharagpur) — https://github.com/swapnonil2007 - **Repository:** https://github.com/swapnonil2007/WannaMath --- ## Volume I: Single-Variable Calculus (https://wanna-math.vercel.app/single-variable-calculus) Foundations of continuous change and accumulation in one dimension: epsilon-delta limits, secant-to-tangent homotopy, local linearization, Riemann partitions, the Fundamental Theorem of Calculus, and power series convergence. - **Engineering Applications:** Kinematics, Velocity & Acceleration Profiles, Sensitivity Analysis & Newton-Raphson Root Finding, Work, Hydrostatic Force & Centroids of 1D Beams, Signal Approximation via Taylor & Maclaurin Polynomials ### Module 1.1: Limits & Continuity (https://wanna-math.vercel.app/single-variable-calculus/limits-continuity) Left-hand and right-hand limits, limits at ±∞, rigorous ε–δ neighborhood bounds, continuity, and the Intermediate Value Theorem. #### 1.1.1 — Limits, Left-Hand & Right-Hand Approach (LHL & RHL) - **URL:** https://wanna-math.vercel.app/single-variable-calculus/limits-continuity/limits - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Trace left-hand (x → a⁻) and right-hand (x → a⁺) approach paths, diagnose jumps and vertical poles, and visualize end behavior at ±∞. - **Engineering Context:** Transient startup behavior, circuit switching discontinuities, and steady-state asymptotic response of engineering systems. - **Key Equations (LaTeX):** `\lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = L` | `\lim_{x \to a^-} f(x) \neq \lim_{x \to a^+} f(x) \implies \lim_{x \to a} f(x) \text{ DNE}` - **Guiding Question:** How do left-hand (x → a⁻) and right-hand (x → a⁺) trajectories diagnose removable holes, jump discontinuities, vertical poles, and horizontal asymptotes at ±∞? - **Formalization Formula:** `\lim_{x \to a^-} f(x) = L = \lim_{x \to a^+} f(x) \iff \lim_{x \to a} f(x) = L \in \mathbb{R}` - **Edge Cases & Next Bridge:** Even when LHL = RHL = +∞ (as in 1/(x−1)²), the symbol +∞ records unbounded divergence rather than a finite number. Next, Chapter 1.1.2 turns this approach intuition into the airtight ε–δ tolerance proof. - **Interactive Laboratories:** - **Interactive Left-Hand (LHL) vs. Right-Hand (RHL) Limit Explorer** [2D]: Slide left and right approach probes toward x = a across removable holes, piecewise jumps, poles, and custom functions. (Formula: `\lim_{x \to a^-} f(x) \stackrel{?}{=} \lim_{x \to a^+} f(x)`) - **Limits at ±∞ & Horizontal Asymptote Workbench** [2D]: Scale the horizontal horizon M to inspect rational dominance, radical sign flips, Euler's constant, and Squeeze decay. (Formula: `\lim_{x \to \pm\infty} f(x) = L_{\pm}`) #### 1.1.2 — ε-δ Neighborhoods & Limit Convergence - **URL:** https://wanna-math.vercel.app/single-variable-calculus/limits-continuity/epsilon-delta-limits - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Interactive tolerance band challenge showing how output error ε constrains input window δ around x = a. - **Engineering Context:** Manufacturing tolerance specification and sensor calibration error bounds. - **Prerequisites:** 1.1.1 - **Key Equations (LaTeX):** `0 < |x - a| < \delta \implies |f(x) - L| < \varepsilon` | `\lim_{x \to a} f(x) = L` - **Guiding Question:** How tightly must we control an input parameter x near a target value a to guarantee the system output f(x) stays within an allowable engineering tolerance ε? - **Formalization Formula:** `\forall \varepsilon > 0,\; \exists \delta > 0 \text{ such that } 0 < |x - a| < \delta \implies |f(x) - L| < \varepsilon` - **Edge Cases & Next Bridge:** At jump discontinuities or oscillating singularities like sin(1/x), no positive δ can trap the graph for small ε—motivating the formal definition of continuity in Chapter 1.1.3. - **Interactive Laboratories:** - **Interactive ε-δ Tolerance Corridor Inspector** [2D]: Manipulate ε and δ bands on smooth, piecewise, and singular functions to test limit existence. (Formula: `|f(x) - L| < \varepsilon`) #### 1.1.3 — Continuity, Intermediate Value Theorem & Asymptotes - **URL:** https://wanna-math.vercel.app/single-variable-calculus/limits-continuity/continuity-ivt - **Status:** published | **Estimated Time:** 20 min | **Mode:** 2D - **Summary:** Visualize connected graph trajectories, root-bracketing guarantees, and asymptotic growth rates. - **Engineering Context:** Bisection root-finding algorithms and thermal equilibrium existence proofs. - **Prerequisites:** 1.1.1, 1.1.2 - **Key Equations (LaTeX):** `\lim_{x \to a} f(x) = f(a)` | `f(a) < N < f(b) \implies \exists c \in (a,b) : f(c) = N` - **Guiding Question:** When does a continuous function guarantee a crossing f(c) = N inside [a, b], and what catastrophic failure happens if a root-finder trusts sign changes blindly across a discontinuity? - **Formalization Formula:** `f \in C([a,b]) \;\&\; (f(a)-N)(f(b)-N) < 0 \implies \exists c \in (a,b) : f(c) = N` - **Edge Cases & Next Bridge:** Sign flips across a jump or vertical asymptote violate the continuity hypothesis and trap bisection on non-roots; next, Module 1.2 introduces local linearity and secant-to-tangent differentiation. - **Interactive Laboratories:** - **Intermediate Value Theorem & Bisection Root Bracketing Lab** [2D]: Step through bisection intervals on continuous vs. discontinuous curves. (Formula: `f(a)\cdot f(b) < 0 \implies \exists c : f(c) = 0`) ### Module 1.2: Differential Calculus & Local Linearity (https://wanna-math.vercel.app/single-variable-calculus/differential-calculus) Secant-to-tangent homotopy, local linear approximations, chain rule composition, Taylor polynomial osculation, and the Mean Value Theorems (Rolle, Lagrange, Cauchy). #### 1.2.1 — Secant-to-Tangent Homotopy & Instantaneous Rate - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/secant-tangent-homotopy - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Scrub step h → 0 and zoom into the curve until secant chord and tangent line become indistinguishable. - **Engineering Context:** Instantaneous velocity from discrete radar/encoder sampling and local sensitivity calibration. - **Prerequisites:** 1.1.1 - **Key Equations (LaTeX):** `f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}` - **Guiding Question:** When does shrinking a finite difference chord Δy/Δx produce a stable instantaneous slope, and why do corners and cusps break local straightness under extreme zoom? - **Formalization Formula:** `f'(x_0) = \lim_{h \to 0^-} \frac{f(x_0+h)-f(x_0)}{h} = \lim_{h \to 0^+} \frac{f(x_0+h)-f(x_0)}{h}` - **Edge Cases & Next Bridge:** When left-hand and right-hand slopes disagree or blow up vertically, f'(x₀) does not exist; next, Chapter 1.2.2 puts differentiable tangent lines to work for linear error bounds and Newton root finding. - **Interactive Laboratories:** - **Secant Chord to Tangent Derivative Magnifier** [2D]: Synchronized difference quotient chord and derivative graph plotter. (Formula: `m_{\text{sec}} = \frac{\Delta y}{\Delta x} \to f'(x)`) #### 1.2.2 — Local Linearity, Differentials & Newton-Raphson - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/local-linearity-differentials - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Compare tangent differential dy = f'(x) dx against true increment Δy and iterate tangent root-finding. - **Engineering Context:** Tolerance propagation in measurements (dy ≈ Δy) and quadratic root solvers inside CAD and SPICE simulators. - **Prerequisites:** 1.2.1 - **Key Equations (LaTeX):** `L(x) = f(a) + f'(a)(x-a)` | `x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}` - **Guiding Question:** How closely does the tangent differential dy = f'(a)Δx track the nonlinear change Δy—and how does setting that tangent line to zero turn root finding into rapid quadratic steps? - **Formalization Formula:** `0 = f(x_n) + f'(x_n)(x_{n+1} - x_n) \implies x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}` - **Edge Cases & Next Bridge:** Near stationary points where f'(x_n) ≈ 0, tangent lines shoot nearly horizontally or enter limit cycles; next, Chapter 1.2.3 tracks how derivatives multiply across nested compositions. - **Interactive Laboratories:** - **Differential Error & Newton-Raphson Iteration Lab** [2D]: Trace tangent root steps and inspect quadratic convergence vs. stationary-point divergence. (Formula: `\Delta y - dy = o(\Delta x)`) #### 1.2.3 — Chain Rule, Implicit Differentiation & Related Rates - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/chain-rule-kinematics - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Visualize composite rate amplification dy/dx = (dy/du)(du/dx) through linked intermediate axes. - **Engineering Context:** Multi-stage gearboxes, neural backpropagation gradients, and coupled mechanical kinematics. - **Prerequisites:** 1.2.1 - **Key Equations (LaTeX):** `\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}` - **Guiding Question:** Why do derivatives multiply rather than add when one function feeds its output into another? - **Formalization Formula:** `\frac{\Delta y}{\Delta x} \approx \frac{\Delta y}{\Delta u} \cdot \frac{\Delta u}{\Delta x} \xrightarrow{\Delta x \to 0} f'(g(x_0))\,g'(x_0)` - **Edge Cases & Next Bridge:** Notice that g'(x₀) = 0 zeroes out the composite rate even when f'(u₀) ≠ 0; next, Chapter 1.2.4 pushes local approximation beyond first-order slopes to degree-n Taylor polynomials and curvature. - **Interactive Laboratories:** - **Three-Axis Composite Function Rate Propagator** [2D]: Watch input perturbation dx scale through u = g(x) and y = f(u). (Formula: `(f \circ g)'(x) = f'(g(x))\,g'(x)`) #### 1.2.4 — Taylor Polynomials & Curvature Osculating Circles - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/taylor-polynomials-curvature - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Match higher-order derivatives at x = a to hug nonlinear curves and measure radius of curvature R = 1/κ. - **Engineering Context:** Highway/railway transition clothoids, optics lens curvature, and embedded trigonometric look-up polynomials. - **Prerequisites:** 1.2.2 - **Key Equations (LaTeX):** `P_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k` | `\kappa(x) = \frac{|f''(x)|}{\big(1 + [f'(x)]^2\big)^{3/2}}` - **Guiding Question:** How does matching k-th derivatives at a single anchor x = a allow a polynomial P_n(x) to hug curves far away—and what geometric circle shares the exact 2nd-order Taylor bend? - **Formalization Formula:** `P_2(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2}(x-a)^2 \iff \text{Curvature match } \kappa(a) = \frac{|f''(a)|}{(1+[f'(a)]^2)^{3/2}}` - **Edge Cases & Next Bridge:** On 1/(1+x²), complex poles at x = ±i cap the convergence radius even as n → 12, and at inflection points f''(a)=0 sends the osculating radius R → ∞. Next, Module 1.3 reverses differentiation into Riemann accumulation. - **Interactive Laboratories:** - **Taylor Degree Scrubber & Osculating Circle Inspector** [2D]: Adjust polynomial degree n ∈ [1, 12] and expansion center a with live remainder error. (Formula: `R_n(x) = f(x) - P_n(x)`) #### 1.2.5 — The Mean Value Theorems: Rolle, Lagrange & Cauchy Overview - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/mean-value-theorems - **Status:** published | **Estimated Time:** 20 min | **Mode:** 2D - **Summary:** Compare Rolle's, Lagrange's, and Cauchy's Mean Value Theorems along one unified logical proof chain from horizontal tangents to L'Hôpital's Rule. - **Engineering Context:** Average-to-instantaneous speed guarantees, Lipschitz error bounds in numerical solvers, and proving L'Hôpital's Rule. - **Prerequisites:** 1.1.3, 1.2.1 - **Key Equations (LaTeX):** `\text{Rolle: } f(a)=f(b) \implies \exists c \in (a,b) : f'(c) = 0` | `\text{Lagrange: } \exists c \in (a,b) : f'(c) = \frac{f(b)-f(a)}{b-a}` | `\text{Cauchy: } \exists c \in (a,b) : [f(b)-f(a)]g'(c) = [g(b)-g(a)]f'(c)` - **Guiding Question:** How do Rolle's horizontal tangent, Lagrange's parallel tangent, and Cauchy's parametric tangent fit into a single logical derivation chain? - **Formalization Formula:** `\text{EVT + Fermat} \longrightarrow \text{Rolle} \longrightarrow \text{Lagrange} \longrightarrow \text{Cauchy} \longrightarrow \text{L'Hôpital}` - **Edge Cases & Next Bridge:** Breaking continuity on [a, b] or differentiability on (a, b) with a single sharp corner or endpoint jump destroys all three guarantees. Begin with Chapter 1.2.5a: Rolle's Theorem. #### 1.2.5a — Rolle's Theorem: Horizontal Tangents & Stationary Points - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/rolles-theorem - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Locate points c ∈ (a, b) where f'(c) = 0 whenever f is continuous on [a, b], differentiable on (a, b), and returns to f(a) = f(b). - **Engineering Context:** Root separation in polynomials, zero-velocity turnaround detection, and stationary equilibrium proofs. - **Prerequisites:** 1.2.5 - **Key Equations (LaTeX):** `f \in C([a,b]),\; f \text{ diff. on } (a,b),\; f(a)=f(b) \implies \exists c \in (a,b) : f'(c) = 0` - **Guiding Question:** Which three hypotheses guarantee a horizontal tangent f'(c) = 0, and how does dropping even one hypothesis produce an instant counterexample? - **Formalization Formula:** `f(a) = f(b),\; f \in C([a,b]) \cap D((a,b)) \implies \exists\, c \in (a,b) : f'(c) = 0` - **Edge Cases & Next Bridge:** Rolle's Theorem only requires the chord between (a, f(a)) and (b, f(b)) to be flat; next, Chapter 1.2.5b tilts that chord to arbitrary height change f(b) − f(a) via Lagrange's Mean Value Theorem. - **Interactive Laboratories:** - **Rolle's Theorem Horizontal Tangent & Hypothesis Verifier** [2D]: Sweep tangent probe x₀ across [a, b], verify all 3 hypotheses, and inspect corner and endpoint-jump counterexamples. (Formula: `f(a) = f(b) \implies \exists c \in (a, b) : f'(c) = 0`) #### 1.2.5b — Lagrange's Mean Value Theorem (LMVT): Parallel Tangents - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/lagrange-mean-value-theorem - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Slide a secant chord parallel until it meets at least one interior point c ∈ (a, b) whose tangent slope equals the average rate of change. - **Engineering Context:** Average-speed enforcement guarantees, Lipschitz error estimates, and proving f'(x) > 0 implies strict monotonicity. - **Prerequisites:** 1.2.5a - **Key Equations (LaTeX):** `f'(c) = \frac{f(b) - f(a)}{b - a}` - **Guiding Question:** How does subtracting the tilted secant line convert Lagrange's Mean Value Theorem into Rolle's Theorem on the gap function h(x)? - **Formalization Formula:** `h(x) = f(x) - \left[f(a) + \frac{f(b)-f(a)}{b-a}(x-a)\right] \implies h'(c) = 0 \iff f'(c) = \frac{f(b)-f(a)}{b-a}` - **Edge Cases & Next Bridge:** Lagrange compares f(x) against x itself (slope 1); next, Chapter 1.2.5c generalizes to comparing two curves f(t) and g(t) simultaneously via Cauchy's Mean Value Theorem. - **Interactive Laboratories:** - **Lagrange's MVT Parallel Tangent & Auxiliary Rolle Function Lab** [2D]: Translate the secant chord parallel until it kisses the curve tangentially and inspect the auxiliary Rolle gap function h(x). (Formula: `f'(c) = \frac{f(b)-f(a)}{b-a}`) #### 1.2.5c — Cauchy's Mean Value Theorem (CMVT): Parametric Tangents & L'Hôpital Bridge - **URL:** https://wanna-math.vercel.app/single-variable-calculus/differential-calculus/cauchy-mean-value-theorem - **Status:** published | **Estimated Time:** 30 min | **Mode:** Dual 2D - **Summary:** Compare two curves f(t) and g(t) sharing one common parameter point c ∈ (a, b) where the parametric tangent vector aligns with the chord. - **Engineering Context:** Parametric velocity alignment along planar trajectories and rigorous derivation of L'Hôpital's Rule for 0/0 limits. - **Prerequisites:** 1.2.5b - **Key Equations (LaTeX):** `[f(b) - f(a)]\,g'(c) = [g(b) - g(a)]\,f'(c)` | `\frac{f'(c)}{g'(c)} = \frac{f(b) - f(a)}{g(b) - g(a)} \quad (g'(x) \neq 0 \text{ on } (a,b))` - **Guiding Question:** How does parametric trajectory (g(t), f(t)) unite f'(c)/g'(c) at a single shared t = c instead of mismatched c_f and c_g? - **Formalization Formula:** `H(t) = [f(b)-f(a)]\,g(t) - [g(b)-g(a)]\,f(t) \implies H(a)=H(b) \implies H'(c)=0` - **Edge Cases & Next Bridge:** Setting f(a) = g(a) = 0 and letting b = x → a turns Cauchy's ratio directly into L'Hôpital's Rule! Next, Module 1.3 reverses differentiation into Riemann accumulation. - **Interactive Laboratories:** - **Cauchy's MVT Parametric Chord-Tangent & c_f ≠ c_g Lab** [Dual 2D]: Visualize (g(t), f(t)) tangent vectors parallel to the endpoint chord and see why separate Lagrange points c_f and c_g rarely coincide. (Formula: `\frac{f'(c)}{g'(c)} = \frac{f(b)-f(a)}{g(b)-g(a)}`) ### Module 1.3: Single-Variable Integration & Accumulation (https://wanna-math.vercel.app/single-variable-calculus/integral-calculus) 1D Riemann sums, Darboux upper/lower bounds, the Fundamental Theorem of Calculus, and 3D solids of revolution. #### 1.3.1 — 1D Riemann Sums, Darboux Bounds & Definite Area - **URL:** https://wanna-math.vercel.app/single-variable-calculus/integral-calculus/riemann-sums-1d - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Compare left, right, midpoint, and trapezoidal partitions as N → ∞ on signed curves. - **Engineering Context:** Numerical integration of accelerometer velocity logs, discrete trapezoidal telemetry, and signed energy balance. - **Prerequisites:** 1.1.1 - **Key Equations (LaTeX):** `\int_{a}^{b} f(x)\,dx = \lim_{N \to \infty} \sum_{i=1}^{N} f(x_i^*)\,\Delta x` - **Guiding Question:** Why do midpoint and trapezoidal rectangles converge far faster than left/right sums—and how do inscribed/circumscribed Darboux bounds certify exact integrability? - **Formalization Formula:** `L(f, P) = \sum_{i=1}^N m_i \Delta x_i \le \int_a^b f(x)\,dx \le \sum_{i=1}^N M_i \Delta x_i = U(f, P)` - **Edge Cases & Next Bridge:** Areas below the x-axis cancel positive areas in net signed integrals, whereas ∫|f(x)|dx accumulates total geometric magnitude; next, Chapter 1.3.2 connects integration directly to differentiation. - **Interactive Laboratories:** - **1D Riemann & Darboux Partition Explorer** [2D]: Subdivide [a, b] into N strips and compare upper/lower Darboux discrepancy. (Formula: `L(f, P) \le \int_a^b f(x)\,dx \le U(f, P)`) #### 1.3.2 — The Fundamental Theorem of Calculus: Accumulation vs. Slope - **URL:** https://wanna-math.vercel.app/single-variable-calculus/integral-calculus/fundamental-theorem-calculus - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Sweep upper bound x to see why the rate of change of accumulated area A(x) equals the boundary height f(x). - **Engineering Context:** Deriving position from velocity profiles, capacitor charge accumulation Q(t) = ∫I(τ)dτ, and non-elementary erf(x) tables. - **Prerequisites:** 1.2.1, 1.3.1 - **Key Equations (LaTeX):** `\frac{d}{dx}\int_{a}^{x} f(t)\,dt = f(x)` | `\int_{a}^{b} F'(x)\,dx = F(b) - F(a)` - **Guiding Question:** Why is the derivative of accumulated area A(x) simply the boundary height f(x)—turning an infinite sum into a single endpoint subtraction F(b) - F(a)? - **Formalization Formula:** `\frac{A(x+\Delta x) - A(x)}{\Delta x} \approx \frac{f(x)\,\Delta x}{\Delta x} \xrightarrow{\Delta x \to 0} f(x)` - **Edge Cases & Next Bridge:** Integrating smooths jump discontinuities into continuous corners where A(x) stays continuous everywhere; next, Chapter 1.3.3 geometricizes u-substitution and integration by parts. - **Interactive Laboratories:** - **Dual-Graph FTC Area Accumulation & Derivative Synchronizer** [2D]: Sweep x to watch area under f(t) trace the antiderivative curve F(x) with tangent slope f(x). (Formula: `dA = f(x)\,dx \implies A'(x) = f(x)`) #### 1.3.3 — u-Substitution & Integration by Parts Geometry - **URL:** https://wanna-math.vercel.app/single-variable-calculus/integral-calculus/substitution-integration-by-parts - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** See u-substitution as 1D interval rescaling and integration by parts as complementary rectangular area partitioning. - **Engineering Context:** Weak-form finite element integration by parts (transferring derivatives onto test functions) and coordinate normalization. - **Prerequisites:** 1.2.3, 1.3.2 - **Key Equations (LaTeX):** `\int_{a}^{b} f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du` | `\int u\,dv = u v - \int v\,du` - **Guiding Question:** What are u-substitution and integration by parts actually doing to area under curves—and why does swapping du and dv turn intractable integrals into simple complementary rectangles? - **Formalization Formula:** `\int_{u_1}^{u_2} v\,du + \int_{v_1}^{v_2} u\,dv = u_2 v_2 - u_1 v_1` - **Edge Cases & Next Bridge:** Choosing u and dv wisely moves differentiation onto the polynomial/logarithmic factor; next, Chapter 1.3.4 sweeps 2D profiles around axes to compute 3D volumes of revolution. - **Interactive Laboratories:** - **1D Domain Stretch (u-Sub) & u-v Area Partition (IBP) Lab** [2D]: Visualize ∫ u dv + ∫ v du = Δ(uv) directly in the (u, v) plane. (Formula: `\int_{u_1}^{u_2} v\,du + \int_{v_1}^{v_2} u\,dv = u_2 v_2 - u_1 v_1`) #### 1.3.4 — Solids of Revolution: Disks, Washers & Cylindrical Shells - **URL:** https://wanna-math.vercel.app/single-variable-calculus/integral-calculus/solids-of-revolution - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Revolve 2D regions around axes in 3D WebGL to compare perpendicular washer slices against nested cylindrical shells. - **Engineering Context:** Turned lathe components, parabolic antenna reflectors, axisymmetric pressure vessels, and nozzle volumes. - **Prerequisites:** 1.3.1 - **Key Equations (LaTeX):** `V_{\text{washer}} = \int_{a}^{b} \pi\big([R(x)]^2 - [r(x)]^2\big)\,dx` | `V_{\text{shell}} = \int_{a}^{b} 2\pi x\,f(x)\,dx` - **Guiding Question:** When sweeping a flat region around an axis, when is it easier to slice perpendicular washers π(R² - r²)dx versus unrolling nested cylindrical shells 2πrh dr? - **Formalization Formula:** `dV_{\text{washer}} = \pi(R^2 - r^2)\,dx \quad \big| \quad dV_{\text{shell}} = 2\pi r\,h(r)\,dr` - **Edge Cases & Next Bridge:** Shells avoid inverting non-monotone curves like y = sin(x) around the y-axis! Next, Module 1.4 transitions from continuous accumulation to infinite discrete series and power series. - **Interactive Laboratories:** - **3D Solid of Revolution Washer vs. Cylindrical Shell Slicer** [2D + 3D]: Animate 360° revolution and toggle washer disks vs. concentric shells. (Formula: `dV = 2\pi r h\,dr`) ### Module 1.4: Infinite Series & Power Series Convergence (https://wanna-math.vercel.app/single-variable-calculus/infinite-series) Partial sum trajectories, integral comparison tests, and power series intervals of convergence. #### 1.4.1 — Sequences, Partial Sums & Geometric Convergence - **URL:** https://wanna-math.vercel.app/single-variable-calculus/infinite-series/sequences-partial-sums - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Compare discrete partial sums S_N against continuous improper integral bounds. - **Engineering Context:** Digital IIR filter impulse responses, compound annuity cashflows, and Monte Carlo asymptotic tail bounds. - **Prerequisites:** 1.3.1 - **Key Equations (LaTeX):** `S_N = \sum_{n=1}^{N} a_n, \qquad \sum_{n=0}^{\infty} ar^n = \frac{a}{1-r}\;(|r|<1)` - **Guiding Question:** When does an infinite sum of shrinking numbers settle onto a finite limit—and why does the harmonic series 1/n diverge even though its terms march cleanly to zero? - **Formalization Formula:** `\int_1^N x^{-p}\,dx \le \sum_{n=1}^N n^{-p} \le 1 + \int_1^N x^{-p}\,dx \implies \text{converges} \iff p > 1` - **Edge Cases & Next Bridge:** a_n → 0 is necessary but NOT sufficient for convergence (1/n diverges); alternating signs rescue 1/n to conditional convergence ln(2). Next, Chapter 1.4.2 turns numerical coefficients into power series functions f(x). - **Interactive Laboratories:** - **Partial Sum Staircase & Integral Test Comparator** [2D]: Inspect p-series and geometric series convergence rates. (Formula: `\int_1^\infty f(x)\,dx \text{ converges} \iff \sum_{n=1}^\infty a_n \text{ converges}`) #### 1.4.2 — Power Series, Radius of Convergence & Analytic Functions - **URL:** https://wanna-math.vercel.app/single-variable-calculus/infinite-series/power-series-convergence - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Visualize why 1/(1+x²) diverges outside |x| < 1 even though the real curve is smooth everywhere. - **Engineering Context:** Frequency-domain Z-transforms, Chebyshev/Taylor firmware approximations, and complex pole stability margins. - **Prerequisites:** 1.2.4, 1.4.1 - **Key Equations (LaTeX):** `f(x) = \sum_{n=0}^{\infty} c_n(x-a)^n, \qquad |x - a| < R` - **Guiding Question:** Why does the Maclaurin series of the completely smooth bell 1/(1+x²) abruptly explode past |x| > 1—and how do complex-plane singularities explain real convergence intervals? - **Formalization Formula:** `R = \lim_{n\to\infty}\left|\frac{c_n}{c_{n+1}}\right| = \text{distance in } \mathbb{C} \text{ to nearest singularity}` - **Edge Cases & Next Bridge:** Endpoints x = a ± R must always be tested individually (yielding open (-1,1), half-open (-1,1], or closed [-1,1]). With Chapter 1.4.2 published, all 17 chapters of Volume I are complete! - **Interactive Laboratories:** - **Power Series Radius of Convergence & Endpoint Inspector** [2D]: Scrub partial sums across (-R, R) to observe blow-up outside the radius of convergence. (Formula: `R = \lim_{n \to \infty} \left|\frac{c_n}{c_{n+1}}\right|`) --- ## Volume II: Linear Algebra & Space Geometry (https://wanna-math.vercel.app/linear-algebra) Matrices as geometric linear transformations of 2D and 3D space: vector span, basis changes, determinants as oriented volume scaling, the four fundamental subspaces, eigensystems, and Singular Value Decomposition (SVD). - **Engineering Applications:** Robotic Manipulator Kinematics & Coordinate Frames, Structural Stiffness Matrices & Modal Vibration Analysis, Principal Component Analysis (PCA) & Low-Rank SVD Compression, Least-Squares Sensor Fusion & State Estimation ### Module 2.1: Vectors, Span & The Fundamental Subspaces (https://wanna-math.vercel.app/linear-algebra/vectors-subspaces) Linear combinations, independence, basis coordinate grids, and the orthogonal geometry of column space and nullspace. #### 2.1.1 — Vectors, Linear Combinations & Span in 2D/3D - **URL:** https://wanna-math.vercel.app/linear-algebra/vectors-subspaces/vectors-linear-combinations - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** Sweep scalar weights c₁v₁ + c₂v₂ to see when vectors span a line, a plane, or all of ℝ³. - **Engineering Context:** Robotic workspace reachability, RGB/CMYK color gamut mixing, truss force equilibrium, and state-space reachability subspaces. - **Key Equations (LaTeX):** `\mathbf{w} = c_1\mathbf{v}_1 + c_2\mathbf{v}_2 + \cdots + c_k\mathbf{v}_k` | `\operatorname{span}\{\mathbf{v}_1, \mathbf{v}_2\}` - **Guiding Question:** When can two or three vectors reach every point in 2D/3D space—and what geometric collapse occurs the moment one vector becomes redundant? - **Formalization Formula:** `\mathbf{w} = \color{#8D9FCE}{c_1\mathbf{v}_1} + \color{#96B898}{c_2\mathbf{v}_2} \;\in\; \operatorname{span}\{\mathbf{v}_1,\mathbf{v}_2\}` - **Edge Cases & Next Bridge:** When vectors align (det = 0), span drops a dimension and only points directly on the collapsed line or plane are solvable! Independent spanning vectors form a basis in Chapter 2.1.2. - **Interactive Laboratories:** - **2D/3D Linear Combination & Subspace Span Explorer** [2D + 3D]: Drag vectors v₁, v₂ and scalar sliders c₁, c₂ to inspect collinear collapse vs. planar span. (Formula: `\mathbf{b} = x_1\mathbf{a}_1 + x_2\mathbf{a}_2`) #### 2.1.2 — Linear Independence, Basis & Change of Basis - **URL:** https://wanna-math.vercel.app/linear-algebra/vectors-subspaces/basis-change-of-basis - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Translate coordinates of the same physical point between standard basis (î, ĵ) and a custom oblique basis (b₁, b₂). - **Engineering Context:** Computer graphics camera-to-world transforms, robot end-effector frames, crystallographic lattices, and Principal Component coordinate axes. - **Prerequisites:** 2.1.1 - **Key Equations (LaTeX):** `[\mathbf{x}]_{\mathcal{B}} = P^{-1}\mathbf{x}` - **Guiding Question:** If a physical point stays fixed in space while we tilt and stretch our coordinate grid axes, how do its numerical coordinates transform? - **Formalization Formula:** `\mathbf{x} = P[\mathbf{x}]_{\mathcal{B}}, \qquad [\mathbf{x}]_{\mathcal{B}} = P^{-1}\mathbf{x}, \qquad P = [\mathbf{b}_1\mid\mathbf{b}_2]` - **Edge Cases & Next Bridge:** If b₁ and b₂ collapse onto one line (det P = 0), P is singular and unique coordinates fail—leading to Nullspace & Column Space analysis in Chapter 2.1.3. - **Interactive Laboratories:** - **Dual-Grid Change of Basis Coordinate Translator** [2D]: Overlay custom basis lattice B on standard Cartesian space. (Formula: `\mathbf{x} = P[\mathbf{x}]_{\mathcal{B}}`) #### 2.1.3 — The Four Fundamental Subspaces & Rank-Nullity - **URL:** https://wanna-math.vercel.app/linear-algebra/vectors-subspaces/four-fundamental-subspaces - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Visualize how matrix A maps Row Space bijectively to Column Space while collapsing Nullspace to the origin. - **Engineering Context:** Underdetermined control actuator nullspaces, static structural indeterminacy vs. kinematic mechanisms, and Fredholm alternative solvability. - **Prerequisites:** 2.1.2 - **Key Equations (LaTeX):** `\mathcal{R}(A^T) \perp \mathcal{N}(A), \qquad \mathcal{C}(A) \perp \mathcal{N}(A^T)` | `\operatorname{rank}(A) + \dim \mathcal{N}(A) = n` - **Guiding Question:** Every linear map Ax decomposes both domain ℝⁿ and codomain ℝᵐ into perpendicular pairs—how does Row Space carry all information while Nullspace vanishes? - **Formalization Formula:** `A(\mathbf{x}_r + \mathbf{x}_n) = A\mathbf{x}_r + \mathbf{0}, \qquad \mathcal{R}(A^T) \xrightarrow{\;\sim\;} \mathcal{C}(A)` - **Edge Cases & Next Bridge:** When rank(A) < m, outputs outside C(A) have a non-zero Left Nullspace component—which Module 2.2 resolves via orthogonal least-squares projection. - **Interactive Laboratories:** - **Strang's Four Fundamental Subspaces Action Diagram** [2D + 3D]: Decompose any vector x = x_row + x_null and watch A(x_row + x_null) = Ax_row. (Formula: `A(\mathbf{x}_r + \mathbf{x}_n) = A\mathbf{x}_r + \mathbf{0}`) #### 2.1.4 — Linear Systems, Rank Consistency & Gauss Elimination - **URL:** https://wanna-math.vercel.app/linear-algebra/vectors-subspaces/linear-systems-gauss-elimination - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Reduce augmented matrices [A | b] to REF/RREF, apply Rouché–Capelli rank tests, and extract homogeneous vs. non-homogeneous solutions. - **Engineering Context:** Kirchhoff circuit mesh/nodal analyzers, structural truss stiffness solvers, chemical stoichiometry balancing, and CFD sparse direct elimination. - **Prerequisites:** 2.1.2, 2.1.3 - **Key Equations (LaTeX):** `\operatorname{rank}(A) = \operatorname{rank}\bigl([A \mid \mathbf{b}]\bigr)` | `\mathbf{x} = \mathbf{x}_p + \mathbf{x}_h \quad (A\mathbf{x}_h = \mathbf{0})` - **Guiding Question:** When can row operations eliminate unknowns to pinpoint a unique solution, produce an entire nullspace family, or prove inconsistency? - **Formalization Formula:** `\operatorname{rank}(A) = \operatorname{rank}([A \mid \mathbf{b}]) = r \implies \mathbf{x} = \mathbf{x}_p + \sum_{k=1}^{n-r} t_k\mathbf{v}_k` - **Edge Cases & Next Bridge:** A contradiction row [0 ... 0 | c] with c ≠ 0 bumps rank([A | b]) above rank(A) and forces empty solution set; homogeneous systems Ax = 0 never contradict and yield nontrivial rays iff r < n. - **Interactive Laboratories:** - **Gaussian Elimination, REF/RREF & Rank Consistency Lab** [2D + 3D]: Step through row operations on [A | b], test homogeneous vs. non-homogeneous rank criteria, and inspect parametric solutions. (Formula: `[A \mid \mathbf{b}] \longrightarrow [R \mid \mathbf{d}]`) ### Module 2.2: Matrices as Linear Transformations & Determinants (https://wanna-math.vercel.app/linear-algebra/linear-transformations) Shear, rotation, reflection, projection, determinants as signed area/volume scaling, and orthogonal least-squares. #### 2.2.1 — Matrix Multiplication as Composition of Transformations - **URL:** https://wanna-math.vercel.app/linear-algebra/linear-transformations/matrix-transformations-2d-3d - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** Follow where the basis columns [a₁ | a₂] land to read any 2×2 or 3×3 matrix geometrically. - **Engineering Context:** Every linear neural-network layer, robot arm forward-kinematic Jacobian, finite-element stiffness stencil, and 3D graphics pipeline composes transformations by stacking matrices from right to left. - **Prerequisites:** 2.1.1 - **Key Equations (LaTeX):** `A\mathbf{x} = x\,\mathbf{a}_1 + y\,\mathbf{a}_2` | `(BA)\mathbf{x} = B(A\mathbf{x})` - **Guiding Question:** How can we read any 2×2 matrix geometrically at a glance—and why does changing multiplication order from BA to AB land at a completely different point? - **Formalization Formula:** `A\mathbf{x} = \color{#8D9FCE}{x\,\mathbf{a}_1} + \color{#96B898}{y\,\mathbf{a}_2}, \qquad (BA)\mathbf{x} = B(A\mathbf{x})` - **Edge Cases & Next Bridge:** When rank drops, grid cells collapse into lines or the origin—whose signed scaling factor is quantified by det(A) in Chapter 2.2.2. - **Interactive Laboratories:** - **Interactive Matrix Grid Homotopy & Composition Lab** [2D]: Animate the grid deformation I → A and compare (BA)x vs. (AB)x non-commutativity. (Formula: `T(\mathbf{x}) = A\mathbf{x}`) #### 2.2.2 — Determinants as Oriented Area & Parallelepiped Volume Scaling - **URL:** https://wanna-math.vercel.app/linear-algebra/linear-transformations/determinants-volume-scaling - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** See det(A) as the signed scaling factor of any region's area/volume and why det(A) = 0 collapses dimension. - **Engineering Context:** Jacobians in multivariable change-of-variables, finite-element mesh element quality checks, and 3D rigid-body inertia tensors all rely on det(A) to track volume distortion and orientation preservation. - **Prerequisites:** 2.2.1 - **Key Equations (LaTeX):** `\text{Area}(A(S)) = |\det A|\cdot\text{Area}(S)` | `\det[\mathbf{a}_1\;\mathbf{a}_2\;\mathbf{a}_3] = \mathbf{a}_1 \cdot (\mathbf{a}_2 \times \mathbf{a}_3)` - **Guiding Question:** What does det(A) actually measure in 2D and 3D space—and what geometric catastrophe happens when det(A) crosses zero? - **Formalization Formula:** `\text{Vol}(A(\Omega)) = |\det A|\cdot\text{Vol}(\Omega), \qquad \det[\mathbf{a}_1\;\mathbf{a}_2\;\mathbf{a}_3] = \mathbf{a}_1\cdot(\mathbf{a}_2\times\mathbf{a}_3)` - **Edge Cases & Next Bridge:** When det(A) = 0 or a system is overdetermined (m > n), exact inversion fails and we project orthogonally onto C(A) via Least Squares in Chapter 2.2.3. - **Interactive Laboratories:** - **2D Parallelogram & 3D Parallelepiped Determinant Inspector** [2D + 3D]: Manipulate column vectors to observe area/volume scaling, orientation flip (det < 0), and singular collapse (det = 0). (Formula: `\det(AB) = (\det A)(\det B)`) #### 2.2.3 — Orthogonality, Projections & Least-Squares Fitting - **URL:** https://wanna-math.vercel.app/linear-algebra/linear-transformations/orthogonality-least-squares - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Project an unreachable vector b orthogonally onto Column Space C(A) so the residual e = b - Âx is perpendicular. - **Engineering Context:** Linear regression, GPS trilateration, Kalman filter measurement updates, and sensor calibration all solve overdetermined systems Ax ≈ b by dropping the shortest perpendicular from b to C(A). - **Prerequisites:** 2.1.3 - **Key Equations (LaTeX):** `A^T A\,\hat{\mathbf{x}} = A^T\mathbf{b}` | `P = A(A^T A)^{-1}A^T` - **Guiding Question:** When an overdetermined data vector b lies outside the Column Space plane C(A), how do we find the unique closest vector p = A x̂ inside C(A)? - **Formalization Formula:** `\mathbf{e} = \mathbf{b} - A\hat{\mathbf{x}} \in \mathcal{C}(A)^\perp = \mathcal{N}(A^T) \;\Longrightarrow\; A^T A\,\hat{\mathbf{x}} = A^T\mathbf{b}` - **Edge Cases & Next Bridge:** If all tᵢ coincide, columns become linearly dependent (AᵀA is singular) and slope d is undetermined; next, Module 2.3 reveals eigenvalues, diagonalization, and SVD. - **Interactive Laboratories:** - **3D Subspace Orthogonal Projection & Regression Line Lab** [2D + 3D]: Synchronize 3D column-space projection p = A x̂ with 2D least-squares data fitting. (Formula: `\|\mathbf{b} - A\hat{\mathbf{x}}\|_2 = \min`) #### 2.2.4 — Inner Products, Norms, Orthogonality & Cauchy–Schwarz - **URL:** https://wanna-math.vercel.app/linear-algebra/linear-transformations/inner-products-norms-cauchy-schwarz - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Explore Euclidean, weighted, and complex Hermitian inner products, L₁/L₂/L∞ norm balls, and Cauchy–Schwarz equality. - **Engineering Context:** Signal correlation & matched filtering, Mahalanobis weighted covariance metrics, quantum Hilbert state overlaps ⟨ψ|φ⟩, and L₁/L₂ regularization balls. - **Prerequisites:** 2.1.1, 2.2.3 - **Key Equations (LaTeX):** `|\langle \mathbf{u}, \mathbf{v}\rangle| \le \|\mathbf{u}\|\,\|\mathbf{v}\|` | `\langle \mathbf{u}, \mathbf{v}\rangle_{\mathbb{C}^n} = \mathbf{u}^*\mathbf{v} = \sum_{i=1}^n \overline{u_i}\,v_i` - **Guiding Question:** How can two non-perpendicular arrows in standard Euclidean coordinates still be genuinely orthogonal under a weighted or complex Hermitian inner product? - **Formalization Formula:** `|\langle \mathbf{u}, \mathbf{v}\rangle| \le \|\mathbf{u}\|\,\|\mathbf{v}\|, \qquad \langle \mathbf{u}, \mathbf{v}\rangle = 0 \implies \|\mathbf{u}+\mathbf{v}\|^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2` - **Edge Cases & Next Bridge:** Only norms obeying the Parallelogram Law come from an inner product (L₂ does, whereas L₁ and L∞ unit diamonds/squares violate it). Complex Hermitian products directly govern Module 2.3's Hermitian & Unitary eigensystems. - **Interactive Laboratories:** - **Inner Products, Unit Norm Balls & Cauchy–Schwarz Explorer** [2D]: Compare Euclidean, weighted, and complex Hermitian inner products, L₁/L₂/L∞ balls, and Cauchy–Schwarz equality. (Formula: `|\langle \mathbf{u}, \mathbf{v}\rangle| \le \|\mathbf{u}\|\,\|\mathbf{v}\|`) ### Module 2.3: Eigen-Systems, Diagonalization & SVD (https://wanna-math.vercel.app/linear-algebra/eigen-systems-svd) Invariant eigenvector axes, coupled dynamical diagonalization, symmetric quadratic forms, and Singular Value Decomposition. #### 2.3.1 — Eigenvalues, Eigenvectors & Invariant Directions - **URL:** https://wanna-math.vercel.app/linear-algebra/eigen-systems-svd/eigenvalues-eigenvectors - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Sweep unit circle vector v until Av aligns collinearly with v, revealing the invariant axes of A. - **Engineering Context:** Structural vibration normal modes, Markov steady-state PageRank vectors, decoupled differential-equation eigensolutions, and robotic stability poles. - **Prerequisites:** 2.2.1, 2.2.2 - **Key Equations (LaTeX):** `A\mathbf{v} = \lambda\mathbf{v} \iff \det(A - \lambda I) = 0` | `A = P\Lambda P^{-1}` - **Guiding Question:** When a matrix twists almost every vector in space onto a new direction, which special invariant rays merely stretch or flip without rotating? - **Formalization Formula:** `A\mathbf{v} = \lambda\mathbf{v} \iff (A - \lambda I)\mathbf{v} = \mathbf{0} \implies \det(A - \lambda I) = 0` - **Edge Cases & Next Bridge:** Rotation matrices have Δ < 0 (complex eigenvalues, zero real rays), while defective shears have repeated roots with only 1 eigendirection. Next, symmetric matrices unlock orthogonal diagonalization in Chapter 2.3.2. - **Interactive Laboratories:** - **Interactive Eigenvector Compass & Characteristic Polynomial Lab** [2D]: Rotate input vector v around the unit circle and track Av alignment. (Formula: `(A - \lambda I)\mathbf{v} = \mathbf{0}`) #### 2.3.2 — Spectral Theorem, Quadratic Forms & Principal Axes - **URL:** https://wanna-math.vercel.app/linear-algebra/eigen-systems-svd/quadratic-forms-spectral - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** Diagonalize symmetric matrices Q = Qᵀ via orthogonal eigenvectors to align ellipses/hyperboloids with principal axes. - **Engineering Context:** Rigid-body principal moments of inertia, multivariable Hessian curvature classification (minima vs. saddles), Gaussian covariance ellipsoids, and strain-energy potentials. - **Prerequisites:** 2.3.1 - **Key Equations (LaTeX):** `q(\mathbf{x}) = \mathbf{x}^T A \mathbf{x} = \lambda_1 y_1^2 + \lambda_2 y_2^2` | `A = Q\Lambda Q^T` - **Guiding Question:** Why do cross-terms 2bxy tilt conic bowls and saddles—and how does an orthogonal rotation Q = [q₁ | q₂] erase every cross-term simultaneously? - **Formalization Formula:** `A = Q\Lambda Q^T \;\Longrightarrow\; q(\mathbf{x}) = \mathbf{x}^T A \mathbf{x} = \color{#8D9FCE}{\lambda_1 y_1^2} + \color{#96B898}{\lambda_2 y_2^2}` - **Edge Cases & Next Bridge:** Every real symmetric matrix has orthogonal eigenvectors, whereas arbitrary rectangular or asymmetric matrices require two distinct orthonormal bases U and V in Singular Value Decomposition (Chapter 2.3.3). - **Interactive Laboratories:** - **3D Quadratic Form Surface & Principal Axis Rotator** [2D + 3D]: Inspect positive-definite bowls, indefinite saddles, and principal axis contours. (Formula: `\mathbf{x}^T A \mathbf{x} = c`) #### 2.3.3 — Singular Value Decomposition (SVD) Geometry - **URL:** https://wanna-math.vercel.app/linear-algebra/eigen-systems-svd/singular-value-decomposition - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Factor any matrix A = U Σ Vᵀ into an input rotation Vᵀ, principal axis stretch Σ, and output rotation U. - **Engineering Context:** Principal Component Analysis (PCA), low-rank image compression, pseudoinverse robot kinematics A⁺, and latent semantic recommendation matrices. - **Prerequisites:** 2.3.2 - **Key Equations (LaTeX):** `A = U\Sigma V^T = \sum_{i=1}^{r} \sigma_i \mathbf{u}_i \mathbf{v}_i^T` - **Guiding Question:** How can ANY matrix—even a rank-deficient shear or rectangular matrix with zero eigenvectors—always turn an orthogonal pair of input axes into an orthogonal pair of ellipse semi-axes? - **Formalization Formula:** `A = U\Sigma V^T = \sum_{i=1}^{r} \sigma_i \mathbf{u}_i \mathbf{v}_i^T, \qquad A\mathbf{v}_i = \sigma_i\mathbf{u}_i` - **Edge Cases & Next Bridge:** While SVD generalizes orthogonal axes to arbitrary rectangular matrices, complex square operators split into Hermitian, Skew-Hermitian, and Unitary spectral classes unified by the Cayley–Hamilton Theorem in Chapter 2.3.4. - **Interactive Laboratories:** - **Three-Stage SVD Unit Circle → Hyperellipse Decomposition Lab** [2D]: Step through Vᵀ (rotate), Σ (stretch by σ₁, σ₂), and U (rotate). (Formula: `A\mathbf{v}_i = \sigma_i\mathbf{u}_i`) #### 2.3.4 — Hermitian, Skew-Hermitian, Unitary Matrices & Cayley–Hamilton - **URL:** https://wanna-math.vercel.app/linear-algebra/eigen-systems-svd/hermitian-unitary-cayley-hamilton - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Inspect complex eigenvalues on the real axis, imaginary axis, and unit circle, and verify Cayley–Hamilton p(A) = 0. - **Engineering Context:** Quantum mechanical Hermitian observables & unitary time-evolution gates, skew-Hermitian gyroscope generators, discrete-time FFT unitary transforms, and control matrix-exponential e^(At) reduction via Cayley–Hamilton. - **Prerequisites:** 2.3.1, 2.3.2 - **Key Equations (LaTeX):** `A^* = A \;(\lambda \in \mathbb{R}), \qquad A^* = -A \;(\lambda \in i\mathbb{R}), \qquad U^*U = I \;(|\lambda| = 1)` | `p(\lambda) = \det(\lambda I - A) \implies p(A) = \mathbf{0}` - **Guiding Question:** Why do Hermitian eigenvalues stay real, Unitary eigenvalues preserve unit magnitude, and defective matrices still obey p(A) = 0? - **Formalization Formula:** `p(\lambda) = \det(\lambda I - A) \implies p(A) = \mathbf{0}, \qquad A^* = A \implies \lambda \in \mathbb{R}` - **Edge Cases & Next Bridge:** This completes Volume II (Linear Algebra & Space Geometry)! Complex matrix spectra connect directly to Complex Analysis in Volume V and Numerical Linear Solvers in Volume VI. - **Interactive Laboratories:** - **Hermitian, Skew-Hermitian, Unitary & Cayley–Hamilton Lab** [2D]: Plot complex eigenvalues on the Argand plane and verify Cayley–Hamilton p(A) = 0 plus polynomial reduction of A⁻¹ and Aᵏ. (Formula: `p(A) = A^2 - \operatorname{tr}(A)A + \det(A)I = \mathbf{0}`) --- ## Volume III: Multivariable & Vector Calculus (https://wanna-math.vercel.app/multivariable-calculus) Spatial geometry of scalar and vector fields in ℝ² and ℝ³: level surfaces, tangent planes, directional gradients, double and triple integration, curvilinear coordinates, Jacobians, and the integral theorems of Green, Stokes, and Gauss. - **Engineering Applications:** Structural Mechanics, Moments of Inertia & 3D Centroids, Thermodynamics, Heat Flux & Control-Volume Conservation, Maxwell's Equations in Electrodynamics & Field Potentials, Finite Element Master-Element Isoparametric Mapping ### Module 3.1: Differential Calculus (https://wanna-math.vercel.app/multivariable-calculus/differential-calculus) Surfaces, multivariable limits & total differentiability, Taylor expansions, partial derivatives & chain rule, homogeneous functions & Euler's theorems, maxima/minima, Lagrange multipliers, and the nested Differential Equations parent unit. #### 3.1.1 — Surfaces, Level Curves & Contour Maps - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/surfaces-level-curves - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** Slice 3D surfaces z = f(x,y) with horizontal planes z = c and project contour elevation maps onto the xy-plane. - **Engineering Context:** Topographic terrain modeling, isobaric weather charts, and equipotential electrostatic surfaces. - **Prerequisites:** 1.1.1 - **Key Equations (LaTeX):** `S = \{(x,y,z) \in \mathbb{R}^3 : z = f(x,y)\}` | `C_k = \{(x,y) \in \mathbb{R}^2 : f(x,y) = k\}` - **Guiding Question:** How can we represent a 3D scalar landscape z = f(x,y) on a flat 2D engineering drawing without losing height and steepness information? - **Formalization Formula:** `f(x,y) = k \implies \nabla f \cdot d\mathbf{r} = 0 \text{ along level curve } C_k` - **Edge Cases & Next Bridge:** Closely packed level curves indicate steep terrain—leading directly to directional rates of change via partial derivatives in Chapter 3.1.2. - **Interactive Laboratories:** - **3D Surface & 2D Level Curve Contour Synchronizer** [2D + 3D]: Sweep altitude plane z = k and inspect xy, xz, and yz trace curves. (Formula: `f(x,y) = k`) #### 3.1.2 — Partial Derivatives, Mixed Partials, Chain Rule & Tangent Planes - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/partial-derivatives-tangent-planes - **Status:** published | **Estimated Time:** 40 min | **Mode:** 2D + 3D - **Summary:** Slice surfaces into 1D partial curves, verify Clairaut's Theorem f_xy = f_yx, trace multivariable chain rule trees, and solve implicit surface tangents. - **Engineering Context:** Multivariable sensitivity analysis, thermodynamic Maxwell relations (Clairaut symmetry), kinematic chain rule rates, and implicit constraint manifolds. - **Prerequisites:** 1.2.1, 1.2.2, 3.1.1 - **Key Equations (LaTeX):** `f_x(x_0,y_0) = \lim_{h\to 0}\frac{f(x_0+h,y_0)-f(x_0,y_0)}{h}, \qquad f_{xy} = f_{yx}\;(C^2)` | `\frac{dz}{dt} = \frac{\partial z}{\partial x}\frac{dx}{dt} + \frac{\partial z}{\partial y}\frac{dy}{dt}, \qquad \frac{\partial z}{\partial x} = -\frac{F_x}{F_z}` - **Guiding Question:** When a surface z = f(x,y) depends on two independent variables, how do first-order partials build a tangent plane—and how do second-order partials, chain rule pathways, and implicit equations generalize differentiation? - **Formalization Formula:** `L(x,y) = f(x_0,y_0) + \color{#8D9FCE}{f_x}(x-x_0) + \color{#96B898}{f_y}(y-y_0), \quad \frac{dz}{dt} = \nabla f \cdot \mathbf{r}'(t)` - **Edge Cases & Next Bridge:** Coordinate partials only measure slope along the x and y axes—to find the slope in any arbitrary compass direction u, we package ⟨f_x, f_y⟩ into the gradient vector ∇f in Chapter 3.1.3. - **Interactive Laboratories:** - **Partial Slice Curves & 3D Tangent Plane Linearization Lab** [2D + 3D]: Inspect tangent vectors T_x = (1, 0, f_x) and T_y = (0, 1, f_y) and their normal n = (-f_x, -f_y, 1). (Formula: `dz = \frac{\partial f}{\partial x}dx + \frac{\partial f}{\partial y}dy`) - **Higher-Order Mixed Partials, Chain Rule & Implicit Differentiation Lab** [2D + 3D]: Test Clairaut symmetry f_xy = f_yx (and its failure), compute live Chain Rule trees, and probe implicit slopes -F_x/F_z. (Formula: `f_{xy} = f_{yx}, \; \frac{\partial z}{\partial x} = -\frac{F_x}{F_z}`) #### 3.1.3 — The Gradient Vector & Directional Derivatives - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/gradient-directional-derivatives - **Status:** published | **Estimated Time:** 40 min | **Mode:** 2D + 3D - **Summary:** Rotate a vertical slicing plane in any unit direction u, trace gradient ascent/descent curves orthogonal to contours, and inspect 3D level-surface normals ∇F. - **Engineering Context:** Gradient descent optimization in machine learning, Fourier heat conduction q = -k∇T, electrostatic fields E = -∇V, and surface normals in CAD/ray-tracing. - **Prerequisites:** 2.1.1, 3.1.2 - **Key Equations (LaTeX):** `D_{\mathbf{u}}f(x,y) = \nabla f(x,y) \cdot \mathbf{u} = \|\nabla f\|\cos\theta` | `\nabla f = \left\langle \frac{\partial f}{\partial x},\; \frac{\partial f}{\partial y} \right\rangle \perp C_k, \qquad \nabla F(x_0,y_0,z_0) \perp S_c` - **Guiding Question:** If you stand on a 3D hillside z = f(x,y) or inside a 3D potential field F(x,y,z) and move along unit heading u, what is your instantaneous rate of change—and why do steepest paths always cut level curves at 90°? - **Formalization Formula:** `df = \nabla f \cdot d\mathbf{r} \implies D_{\mathbf{u}}f = \color{#D35323}{\nabla f} \cdot \color{#8D9FCE}{\mathbf{u}} = \|\nabla f\|\cos\theta \in [-\|\nabla f\|,\; +\|\nabla f\|]` - **Edge Cases & Next Bridge:** Because D_u f = 0 along a level curve or surface, ∇f is strictly perpendicular to contours—powering Lagrange Multipliers (Ch. 3.1.4) and Vector Calculus Gradient & Conservative Fields (Ch. 3.3.1–3.3.3). - **Interactive Laboratories:** - **Directional Derivative Slicing Plane & Gradient Compass Lab** [2D + 3D]: Rotate unit heading vector u through 360° and compare directional slope D_u f against ∇f. (Formula: `D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u}`) - **Gradient Flow, Polar Slope Rose & 3D Level Surface Normal Lab** [2D + 3D]: Trace steepest ascent/descent trajectories crossing contours orthogonally, test discrete step size η stability, and inspect 3D surface normals ∇F. (Formula: `\mathbf{r}'(t) = \pm\nabla f(\mathbf{r}(t)), \qquad \nabla F \cdot d\mathbf{r} = 0`) #### 3.1.4 — Lagrange Multipliers & Constrained Optimization - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/lagrange-multipliers - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Walk along a constraint curve g(x,y) = c until its normal ∇g aligns parallel with the objective gradient ∇f = λ∇g. - **Engineering Context:** Minimum-weight structural design under stress constraints, portfolio optimization, and maximum entropy. - **Prerequisites:** 3.1.3 - **Key Equations (LaTeX):** `\nabla f(x,y) = \lambda\,\nabla g(x,y), \qquad g(x,y) = c` - **Guiding Question:** When our movement is restricted to a constraint path g(x,y) = c, why must the objective contour f(x,y) = k be tangent to the constraint curve at an extremum? - **Formalization Formula:** `\frac{df}{ds} = \nabla f \cdot \hat{\mathbf{T}} = 0 \iff \color{#D35323}{\nabla f(x^*,y^*)} = \lambda\,\color{#8D9FCE}{\nabla g(x^*,y^*)}` - **Edge Cases & Next Bridge:** Watch for constraint cusps where ∇g = 0 (regularity fails and must be checked separately alongside endpoints). Next, Chapter 3.1.5 examines multivariable limits and exact differentiability criteria before we classify unconstrained extrema in Chapter 3.1.8. - **Interactive Laboratories:** - **Constrained Contour Tangency & Gradient Alignment Inspector** [2D + 3D]: Scrub along constraint path g(x,y) = c and observe where ∇f × ∇g = 0. (Formula: `\nabla f = \lambda \nabla g`) #### 3.1.5 — Multivariable Limits, Continuity & Differentiability - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/limits-and-differentiability - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Test limits across lines y = mx, parabolas y = kx², and polar coordinates, and distinguish partial derivative existence from true total differentiability. - **Engineering Context:** Shock fronts, stress concentration corners, and justifying smooth linearization models in control and continuum mechanics. - **Prerequisites:** 1.1.1, 1.1.2, 3.1.1, 3.1.2 - **Key Equations (LaTeX):** `\lim_{(x,y)\to(a,b)} f(x,y) = L \iff \forall \varepsilon>0,\,\exists\delta>0 : 0<\|(x,y)-(a,b)\|<\delta \implies |f-L|<\varepsilon` | `\lim_{(h,k)\to(0,0)} \frac{\bigl|f(x_0+h,y_0+k) - \bigl(f(x_0,y_0)+f_x h + f_y k\bigr)\bigr|}{\sqrt{h^2+k^2}} = 0` - **Guiding Question:** Why can a function approach zero along every straight line through the origin—or even possess both partial derivatives—yet fail to have a genuine limit or tangent plane? - **Formalization Formula:** `C^1 \implies \text{Totally Differentiable} \implies \text{Continuous} \;\text{AND}\; \exists f_x, f_y \;(\text{Converse fails!})` - **Edge Cases & Next Bridge:** Once a function is smooth (Cᵏ), we can go beyond the first-order tangent plane by building higher-degree Taylor polynomial approximations in Chapter 3.1.6. - **Interactive Laboratories:** - **Path-Dependent Limits & Polar Squeeze Laboratory** [2D + 3D]: Sweep rays y = mx, parabolas y = kx², and polar δ-disks approaching (0, 0). (Formula: `y = kx^2 \;\text{vs.}\; r \to 0`) - **Total Differentiability & Normalized Error Cone Inspector** [2D + 3D]: Compare smooth surfaces against sharp cones and √|xy| creases where partials exist yet differentiability fails. (Formula: `\frac{|E(h,k)|}{\sqrt{h^2+k^2}} \to 0`) #### 3.1.6 — Taylor Expansions: Single-Variable & Multivariable - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/taylor-expansions - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Osculating 1D Taylor polynomials T_n(x), Lagrange remainder bounds, and 2D quadratic Hessian expansions T₂(x,y) around (x₀, y₀). - **Engineering Context:** Small-angle nonlinear pendulum linearization, finite-difference truncation error orders, and quadratic optimization trust regions. - **Prerequisites:** 3.1.2, 3.1.5 - **Key Equations (LaTeX):** `T_n(x) = \sum_{k=0}^n \frac{f^{(k)}(x_0)}{k!}(x-x_0)^k` | `T_2(x,y) = f(\mathbf{p}_0) + \nabla f(\mathbf{p}_0)\cdot\mathbf{h} + \frac{1}{2}\mathbf{h}^T \mathbf{H}_f(\mathbf{p}_0)\mathbf{h}` - **Guiding Question:** How do higher-order derivatives let a simple polynomial match not just a function's height and slope, but also its 1D and 2D curvature around an operating point? - **Formalization Formula:** `T_2(\mathbf{p}_0 + \mathbf{h}) = f(\mathbf{p}_0) + \color{#8D9FCE}{\nabla f \cdot \mathbf{h}} + \frac{1}{2}\color{#D35323}{\mathbf{h}^T \mathbf{H}_f \mathbf{h}}` - **Edge Cases & Next Bridge:** Near singularities or poles (such as 1/(1-x) at x = 1), Taylor series diverge outside the distance to the nearest singularity; meanwhile the quadratic Hessian form 1/2 h^T H h directly powers the Second Derivative Test in Chapter 3.1.8. - **Interactive Laboratories:** - **Single-Variable Taylor Polynomial & Remainder Band Lab** [2D]: Adjust degree n and center x₀ to watch osculating convergence. (Formula: `T_n(x) + R_n(x)`) - **Multivariable 2D Taylor & Quadratic Hessian Surface Lab** [3D]: Overlay T₁ tangent plane and T₂ quadratic paraboloid onto z = f(x,y). (Formula: `T_2(x_0+h, y_0+k)`) #### 3.1.7 — Homogeneous Functions & Euler's Theorems - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/homogeneous-functions-eulers-theorem - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Radial scaling invariance f(tx, ty) = tⁿf(x, y), 1st-order Euler theorem xf_x + yf_y = nf, and 2nd-order identity x²f_xx + 2xyf_xy + y²f_yy = n(n-1)f. - **Engineering Context:** Constant returns to scale in production functions, Buckingham Pi dimensional scaling, and Euler's equation of isotropic elasticity. - **Prerequisites:** 3.1.2 - **Key Equations (LaTeX):** `x\frac{\partial f}{\partial x} + y\frac{\partial f}{\partial y} = n f(x,y)` | `x^2 f_{xx} + 2xy f_{xy} + y^2 f_{yy} = n(n-1)f(x,y)` - **Guiding Question:** If scaling every coordinate radially by a factor t scales output by tⁿ, what universal partial differential equation must all such surfaces satisfy—both at 1st and 2nd order? - **Formalization Formula:** `\color{#8D9FCE}{x}\frac{\partial f}{\partial x} + \color{#96B898}{y}\frac{\partial f}{\partial y} = nf \implies \color{#D35323}{x^2 f_{xx} + 2xy f_{xy} + y^2 f_{yy}} = n(n-1)f` - **Edge Cases & Next Bridge:** Even when u = g⁻¹(fₙ) looks non-homogeneous (such as arcsin or arctan quotients), applying Euler's Theorem to g(u) unlocks x u_x + y u_y = n g(u)/g'(u) = φ(u) and 2nd-order deduction φ(u)[φ'(u)-1]. - **Interactive Laboratories:** - **Radial Scaling f(tx, ty) = tⁿf(x,y) & 1st-Order Euler Lab** [2D + 3D]: Scale points radially along rays and verify xf_x + yf_y = nf. (Formula: `xf_x + yf_y = nf`) - **2nd-Order Euler Identity & Composite Homogeneous Deductions** [2D]: Inspect x²f_xx + 2xyf_xy + y²f_yy = n(n-1)f and inverse-trig cases. (Formula: `x^2f_{xx}+2xyf_{xy}+y^2f_{yy}=n(n-1)f`) #### 3.1.8 — Maxima & Minima: General Method & Second Derivative Test - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/maxima-minima-extrema - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Classify critical points via the Hessian discriminant D = rt - s² = f_xx f_yy - f_xy² and resolve D = 0 degeneracies using Δf sign-change analysis. - **Engineering Context:** Structural potential energy stability equilibria, least-squares regression convexity, and multi-well landscape optimization. - **Prerequisites:** 3.1.4, 3.1.6 - **Key Equations (LaTeX):** `D = r t - s^2 = f_{xx}f_{yy} - f_{xy}^2` | `\Delta f(h,k) = f(x_0+h,y_0+k) - f(x_0,y_0)` - **Guiding Question:** Once ∇f = 0 locates a stationary plateau, how does second-order curvature D = rt - s² classify bowls vs. saddles—and what happens when D = 0 renders the Hessian test inconclusive? - **Formalization Formula:** `D = \det(\mathbf{H}_f) = rt - s^2 > 0 \;\text{with}\; r>0 \implies \text{Local Min}; \quad D=0 \implies \text{Inspect } \Delta f(h,k)` - **Edge Cases & Next Bridge:** While Module 3.1 Chapters 3.1.1–3.1.8 explore scalar landscapes in Rⁿ, real engineering states evolve dynamically in time—leading directly into the nested Differential Equations parent starting in Chapter 3.1.9. - **Interactive Laboratories:** - **3D Critical Point Classifier & Hessian Eigen-Curvature Lab** [2D + 3D]: Inspect local minima, maxima, saddles, and principal curvatures. (Formula: `rt - s^2 > 0`) - **General Sign-Change Method for D = 0 & Peano's Saddle** [2D + 3D]: Probe rays & parabolas when D = 0 leaves the second derivative test inconclusive. (Formula: `(y-x^2)(y-2x^2)`) #### 3.1.9 — First-Order ODEs: LDE, Integrating Factors & Bernoulli's Equation - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/first-order-lde-bernoulli - **Status:** published | **Estimated Time:** 35 min | **Mode:** Dual 2D - **Summary:** Solve linear first-order differential equations y' + P(x)y = Q(x) via μ(x) = e^{∫P dx} and linearize Bernoulli equations via v = y^{1-n}. - **Engineering Context:** RC/RL transient electrical circuits, Newton thermal cooling, brine tank mixing, and nonlinear logistic saturation dynamics. - **Prerequisites:** 3.1.2, 3.2.1 - **Key Equations (LaTeX):** `y' + P(x)y = Q(x) \implies \mu(x) = e^{\int P(x)\,dx}` | `y' + P(x)y = Q(x)y^n \xrightarrow{v=y^{1-n}} v' + (1-n)P(x)v = (1-n)Q(x)` - **Guiding Question:** Why does multiplying a non-exact linear equation y' + P(x)y = Q(x) by the integrating factor μ(x) = e^{∫P dx} collapse its left-hand side into a single product derivative—and how does Bernoulli's substitution pull nonlinear flows into the same straight framework? - **Formalization Formula:** `\frac{d}{dx}\!\left[\color{#FBEAA4}{\mu(x)}\,y\right] = \color{#FBEAA4}{\mu(x)}Q(x) \implies y(x) = \frac{1}{\mu(x)}\!\left(\int \mu(x)Q(x)\,dx + C\right)` - **Edge Cases & Next Bridge:** Watch out for division-by-zero coefficient singularities P(x) = 2/x splitting domains at x = 0 and trivial equilibrium loss y = 0 when n > 0; next, Chapter 3.1.10 scales linearity up to 2nd- and higher-order ODEs via the Wronskian. - **Interactive Laboratories:** - **Linear ODE Slope Field & Integrating Factor μ(x) Lab** [2D]: Trace integral curves and inspect exactness under μ(x). (Formula: `(\mu y)' = \mu Q`) - **Bernoulli Nonlinear-to-Linear Substitution v = y^{1-n} Lab** [Dual 2D]: Compare curved (x, y) Bernoulli slopes beside straightened (x, v) LDE slopes. (Formula: `v = y^{1-n}`) #### 3.1.10 — Linear ODEs: Linear Independence, Wronskian & Root Regimes - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/linear-odes-wronskian-roots - **Status:** published | **Estimated Time:** 40 min | **Mode:** 2D - **Summary:** Measure linear independence via the Wronskian area W(y₁, y₂) and construct general and particular solutions for distinct, repeated, and complex characteristic roots. - **Engineering Context:** Mechanical spring-mass-damper suspension tuning (overdamped, critically damped, underdamped), RLC circuit resonance, and structural vibration poles. - **Prerequisites:** 3.1.9 - **Key Equations (LaTeX):** `W(y_1, y_2)(x) = \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} = W(x_0)e^{-\int \frac{b}{a}dx}` | `y_c(x) = C_1 e^{r_1 x} + C_2 e^{r_2 x} \;\big|\; (C_1 + C_2 x)e^{rx} \;\big|\; e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)` - **Guiding Question:** When do two solutions y₁ and y₂ truly span the entire 2D solution space of a second-order ODE—and why does a repeated root r₁ = r₂ force an extra factor of x into the second basis function? - **Formalization Formula:** `a r^2 + b r + c = 0 \implies \begin{cases} \Delta > 0: & C_1 e^{r_1 x} + C_2 e^{r_2 x} \\ \Delta = 0: & (C_1 + C_2 x)e^{rx} \\ \Delta < 0: & e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x) \end{cases}` - **Edge Cases & Next Bridge:** At a repeated root Δ = 0, naive e^{rx} gives W ≡ 0 unless scaled by reduction of order via the limit (e^{(r+ε)x} - e^{rx})/ε → x e^{rx}; next, Chapter 3.1.11 solves non-homogeneous forcing g(x) and Cauchy-Euler equations. - **Interactive Laboratories:** - **Wronskian Determinant & Phase-Plane Area Independence Lab** [2D]: Visualize signed parallelogram area formed by solution state vectors. (Formula: `W \neq 0 \iff \text{Linearly Independent}`) - **Distinct, Repeated & Complex Characteristic Roots Explorer** [2D]: Scrub coefficients a, b, c and watch the r₂ → r₁ repeated-root limit. (Formula: `ar^2 + br + c = 0`) #### 3.1.11 — Operator Method (D), Variation of Parameters & Cauchy-Euler Equations - **URL:** https://wanna-math.vercel.app/multivariable-calculus/differential-calculus/operator-variation-cauchy-euler - **Status:** published | **Estimated Time:** 45 min | **Mode:** 2D - **Summary:** Compute particular integrals with inverse operators 1/f(D), general forcing envelopes via Variation of Parameters, and solve Cauchy-Euler equations via x = e^t. - **Engineering Context:** Forced mechanical resonance, AC circuit steady-state phasor response, radial spherical Laplace potentials (Cauchy-Euler r² R'' + 2r R' - λR = 0), and thick-walled pressure vessel stresses. - **Prerequisites:** 3.1.10 - **Key Equations (LaTeX):** `y_p = \frac{1}{f(D)}g(x), \qquad u_1' = -\frac{y_2 g}{W},\; u_2' = \frac{y_1 g}{W}` | `a x^2 y'' + b x y' + c y = g(x) \xrightarrow{x = e^t,\; \theta = xD} \bigl(a\theta(\theta-1) + b\theta + c\bigr)y = g(e^t)` - **Guiding Question:** How does the algebraic symbol D = d/dx turn particular-integral calculus into fraction algebra—what rescues non-exponential forcings like sec(x)—and why does t = ln x flatten every Cauchy-Euler equation into constant coefficients? - **Formalization Formula:** `x = e^t,\; \theta = x\frac{d}{dx} \implies x^k D^k = \theta(\theta - 1)\cdots(\theta - k + 1)` - **Edge Cases & Next Bridge:** Watch out for resonance poles f(a) = 0 in inverse operators, singularities like sec(x) at x = ±π/2 in Variation of Parameters, and x > 0 domain restrictions (use |x| for x < 0) in Cauchy-Euler equations. With Module 3.1 (Differential Calculus & ODEs) complete, Module 3.2 reverses differentiation to accumulate area, volume, mass, and Eulerian integrals across 2D and 3D domains. - **Interactive Laboratories:** - **Inverse Differential Operator 1/f(D) Tutorial & Step Solver** [2D]: Rules for e^{ax}, sin(ax)/cos(ax), x^m, shift e^{ax}V(x), and resonance failure. (Formula: `y_p = \frac{1}{f(D)}g(x)`) - **Variation of Parameters & Cauchy-Euler Log-Pullback Lab** [2D]: Solve arbitrary forcing functions g(x) and equidimensional ODEs via t = ln x. (Formula: `x = e^t \implies x^2 D^2 = \theta(\theta-1)`) ### Module 3.2: Integral Calculus (https://wanna-math.vercel.app/multivariable-calculus/integral-calculus) Multiple integrals (double, triple, curvilinear, and Jacobians), improper integral & infinite series convergence tests, and Euler's Gamma and Beta functions. #### 3.2.1 — Double Integrals & Fubini's Theorem - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/double-integrals - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Visualize signed volume under z = f(x,y), Riemann prism convergence, Type I vs. Type II domain slicing, and Fubini's Theorem order reversal. - **Engineering Context:** Used across structural mechanics (area moments of inertia, centroids of laminae), hydrostatics (pressure force on submerged plates), and heat flux integration. - **Prerequisites:** 1.3.1, 1.3.2, 3.1.1 - **Key Equations (LaTeX):** `\iint_{R} f(x,y)\,dA = \int_{a}^{b} \int_{g_1(x)}^{g_2(x)} f(x,y)\,dy\,dx = \int_{c}^{d} \int_{h_1(y)}^{h_2(y)} f(x,y)\,dx\,dy` | `V = \lim_{\Delta x, \Delta y \to 0} \sum_{i=1}^{N_x} \sum_{j=1}^{N_y} f(x_i^*, y_j^*)\,\Delta x\,\Delta y` - **Guiding Question:** How do we compute the exact signed volume beneath a curved 3D surface z = f(x,y) over a non-rectangular 2D domain R, and why does swapping dy dx ↔ dx dy often transform an impossible integral into a trivial one? - **Formalization Formula:** `\int_{a}^{b} \left[\int_{\color{#D5658B}{g_1(x)}}^{\color{#B95869}{g_2(x)}} f(x,y)\,\color{#D35323}{dy}\right]\color{#8D9FCE}{dx} = \int_{c}^{d} \left[\int_{\color{#D5658B}{h_1(y)}}^{\color{#B95869}{h_2(y)}} f(x,y)\,\color{#D35323}{dx}\right]\color{#96B898}{dy}` - **Edge Cases & Next Bridge:** When a region boundary changes formula mid-domain, one integration order requires splitting into multiple integrals while the reversed order sweeps cleanly in one pass—setting the stage for 3D solids in Chapter 3.2.2. - **Interactive Laboratories:** - **2D Domain & 3D Riemann Volume Convergence Lab** [2D + 3D]: Interactive subdivision grid (Nx × Ny) showing how rectangular columns over region R in the xy-plane converge to the smooth volume under z = f(x,y). (Formula: `\Delta V_{ij} = f(x_i, y_j)\,\Delta x\,\Delta y`) - **Iterated Integrals, Type I/II Limits & Fubini Order Change Lab** [2D + 3D]: Synchronized 2D domain strip and 3D cross-sectional curtain demonstrating dy dx ↔ dx dy order reversal and custom region bounds. (Formula: `A(x) = \int_{g_1(x)}^{g_2(x)} f(x,y)\,dy \implies V = \int_{a}^{b} A(x)\,dx`) #### 3.2.2 — Triple Integrals, 6-Order Slicing & Density - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/triple-integrals - **Status:** published | **Estimated Time:** 40 min | **Mode:** 3D + 2D Shadow - **Summary:** Master 3D bounded solids E, the 3-stage geometric collapse (1D ray → 2D curtain → 3D solid), coordinate wall shadow projections, and all 6 permutations of dx dy dz. - **Engineering Context:** Essential for computing 3D mass distributions with variable density ρ(x,y,z), moments of inertia of rigid bodies, gravitational potentials, and control-volume conservation laws. - **Prerequisites:** 3.2.1 - **Key Equations (LaTeX):** `\iiint_{E} f(x,y,z)\,dV = \int_{a}^{b} \int_{g_1(x)}^{g_2(x)} \int_{u_1(x,y)}^{u_2(x,y)} f(x,y,z)\,dz\,dy\,dx` | `M = \iiint_{E} \rho(x,y,z)\,dV, \qquad \bar{z} = \frac{1}{M}\iiint_{E} z\,\rho(x,y,z)\,dV` - **Guiding Question:** How do we systematically determine the six bounds of a 3D triple integral over a curved solid E without guessing, and how do the 6 permutations of dx dy dz correspond to shadows on the three coordinate walls? - **Formalization Formula:** `\iiint_{E} f\,dV = \iint_{\pi_{xy}(E)} \left[\int_{\color{#D5658B}{u_1(x,y)}}^{\color{#B95869}{u_2(x,y)}} f(x,y,z)\,\color{#029091}{dz}\right] dA_{xy}` - **Edge Cases & Next Bridge:** Cylindrical and spherical solids produce square-root bounds in Cartesian (x,y,z)—motivating curvilinear coordinate systems in Chapter 3.2.3. - **Interactive Laboratories:** - **3-Stage Geometric Collapse, Shadow Projections & 6-Order Explorer** [2D + 3D]: Step through Ray → Curtain → Solid, orthographic shadow projections on xy/xz/yz walls, and all 6 integration orders with editable limits. (Formula: `\text{Ray } (dz) \longrightarrow \text{Curtain } (dy\,dz) \longrightarrow \text{Solid } (dx\,dy\,dz)`) - **3D Voxel Subdivision, Scalar Density ρ(x,y,z) & Center of Mass Lab** [3D]: Subdivide 3D solids into voxels ΔV = Δx Δy Δz, slice horizontally, and compute live mass M and centroid (x̄, ȳ, z̄). (Formula: `\Delta m_{ijk} = \rho(x_i, y_j, z_k)\,\Delta x\,\Delta y\,\Delta z`) #### 3.2.3 — Curvilinear Coordinates: Polar, Cylindrical & Spherical - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/coordinate-systems - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D & 3D - **Summary:** Explore 2D Cartesian & Polar and 3D Cartesian, Cylindrical (r, θ, z), and Spherical (ρ, φ, θ) coordinate surfaces, local basis vectors, and differential volume elements dV. - **Engineering Context:** Crucial for electromagnetics (spherical/cylindrical symmetry in Gauss's & Ampère's laws), pipe flow fluid mechanics, antenna radiation patterns, and orbital mechanics. - **Prerequisites:** 3.2.1, 3.2.2 - **Key Equations (LaTeX):** `dV = dx\,dy\,dz = r\,dr\,d\theta\,dz = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta` | `(x,y,z) = (\rho\sin\phi\cos\theta,\; \rho\sin\phi\sin\theta,\; \rho\cos\phi)` - **Guiding Question:** Why does a polar area wedge require an extra factor of r (dA = r dr dθ) and a spherical volume box require ρ² sin φ (dV = ρ² sin φ dρ dφ dθ)? - **Formalization Formula:** `dV_{\text{cyl}} = (dr)(r\,d\theta)(dz), \qquad dV_{\text{sph}} = (d\rho)(\rho\,d\phi)(\rho\sin\phi\,d\theta)` - **Edge Cases & Next Bridge:** Orthogonal scale factors h₁ h₂ h₃ are a special case of a universal distortion law for arbitrary coordinate mappings—the Jacobian determinant in Chapter 3.2.4. - **Interactive Laboratories:** - **2D Cartesian (x, y) vs. Polar (r, θ) & Area Element dA Lab** [2D]: Interactive point locator, rotating polar basis vectors, polar wedge magnifier dA = r dr dθ, and custom polar double integral evaluator. (Formula: `dA = dx\,dy = r\,dr\,d\theta`) - **3D Intersecting Coordinate Surfaces, Basis Triads & dV Magnifier** [3D]: Toggle planes, cylinders, cones, and spheres in 3D, zoom into the dV wedge, and evaluate custom 3D curvilinear integrals. (Formula: `dV = h_1 h_2 h_3\,dq_1\,dq_2\,dq_3 = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta`) #### 3.2.4 — The Jacobian & Change of Variables Pullback - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/jacobians - **Status:** published | **Estimated Time:** 40 min | **Mode:** Dual 2D & 3D - **Summary:** Understand the Jacobian matrix and determinant |det J| as the local area/volume distortion factor via continuous (u,v) → (x,y) grid morphing and tangent parallelograms. - **Engineering Context:** Foundation of Finite Element Analysis (isoparametric master element mapping), continuum mechanics deformation gradient tensor F, robotic kinematics, and coordinate transformations. - **Prerequisites:** 2.2.2, 3.1.2, 3.2.1, 3.2.3 - **Key Equations (LaTeX):** `\iint_{R_{xy}} f(x,y)\,dx\,dy = \iint_{R_{uv}} f(x(u,v), y(u,v))\,\left|\frac{\partial(x,y)}{\partial(u,v)}\right|\,du\,dv` | `J = \frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix} \dfrac{\partial x}{\partial u} & \dfrac{\partial x}{\partial v} \\[8pt] \dfrac{\partial y}{\partial u} & \dfrac{\partial y}{\partial v} \end{vmatrix} = \frac{\partial x}{\partial u}\frac{\partial y}{\partial v} - \frac{\partial x}{\partial v}\frac{\partial y}{\partial u}` - **Guiding Question:** When we deform a complicated physical domain R_xy back into a clean rectangle R_uv in parameter space, how much does each infinitesimal grid square stretch, compress, or twist? - **Formalization Formula:** `\Delta A_{xy} \approx \|\mathbf{r}_u \times \mathbf{r}_v\|\,\Delta u\,\Delta v = \left|\det J(u,v)\right|\,\Delta u\,\Delta v` - **Edge Cases & Next Bridge:** Where det J = 0, the coordinate mapping folds or collapses dimension and loses local invertibility—bridging to parametric surfaces and vector flux integrals in Module 3.3. - **Interactive Laboratories:** - **Dual-Space (u, v) ↔ (x, y) Homotopy Morphing & Tangent Parallelogram Lab** [Dual 2D]: Side-by-side parameter and physical space viewports with continuous homotopy slider t ∈ [0,1] and tangent vector parallelogram inspector. (Formula: `\Delta A_{xy} \approx \|\mathbf{r}_u \times \mathbf{r}_v\|\,\Delta u\,\Delta v = |\det J|\,\Delta u\,\Delta v`) - **Integral Domain Pullback Solver & 2D/3D Jacobian Matrix Explorer** [2D + 3D]: Pull slanted or curved physical regions back to parameter space, color-code cells by |det J|, and inspect 3×3 3D Jacobians. (Formula: `\left|\frac{\partial(x,y,z)}{\partial(\rho,\phi,\theta)}\right| = \rho^2\sin\phi`) #### 3.2.5 — Convergence & Divergence (Improper Integrals & Series Tests) - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/convergence-and-divergence - **Status:** published | **Estimated Time:** 45 min | **Mode:** 2D - **Summary:** Master Type I (infinite-tail) and Type II (singular) improper integrals alongside interactive visual tutorials for p-tests, Comparison, Limit Comparison, Integral, Ratio, Root, and Alternating Series tests. - **Engineering Context:** Laplace/Fourier transform existence abscissas, Gaussian probability tail normalization, control stability margins, and infinite-horizon impulse energy bounds. - **Prerequisites:** 1.3.1, 1.4.1, 3.2.1 - **Key Equations (LaTeX):** `\int_{a}^{\infty} f(x)\,dx = \lim_{T \to \infty} \int_{a}^{T} f(x)\,dx, \qquad \int_{1}^{\infty} \frac{dx}{x^p} \text{ converges } \iff p > 1` | `\sum_{n=1}^{\infty} a_n \text{ vs. } \int_1^\infty f(x)\,dx, \quad L = \lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|, \quad R = \lim_{n\to\infty}\sqrt[n]{|a_n|}` - **Guiding Question:** How can an infinitely long region (x → ∞) or an infinitely tall vertical spike enclose a finite area—and which systematic convergence test settles any integral or infinite series? - **Formalization Formula:** `\begin{aligned} &0 \le f(x) \le g(x),\; \int_a^\infty g < \infty \implies \int_a^\infty f < \infty \\ &\lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right| = L \;\begin{cases} < 1 & \text{abs. convergent} \\ > 1 & \text{divergent} \\ = 1 & \text{inconclusive} \end{cases} \end{aligned}` - **Edge Cases & Next Bridge:** Harmonic decay (1/x, ∑1/n) sits directly on the divergence knife-edge (p = 1) even though terms vanish! Exponentially damped power integrals x^(z-1) e^(-x) converge for all z > 0—defining Euler's Gamma Function in Chapter 3.2.6. - **Interactive Laboratories:** - **Improper Integrals (Type I Tail & Type II Singularity) & Comparison Envelope Lab** [2D]: Scrub tail cutoff T or singularity gap ε across p-integrals, Gaussian/Laplace decays, and custom integrands with Direct Comparison envelopes. (Formula: `I(T) = \int_a^T f(x)\,dx \xrightarrow{T\to\infty} L`) - **Convergence Test Tutorials & Visual Comparator (Integral, Comparison, Ratio, Root, Alternating)** [2D]: Step-by-step interactive tutorials, worked proofs, decision rules, and live sequence/partial-sum plots for every convergence test. (Formula: `S_N = \sum_{n=1}^{N} a_n \quad\text{vs.}quad \int_1^N f(x)\,dx`) #### 3.2.6 — Gamma & Beta Functions (Eulerian Integrals) - **URL:** https://wanna-math.vercel.app/multivariable-calculus/integral-calculus/gamma-and-beta-functions - **Status:** published | **Estimated Time:** 40 min | **Mode:** 2D + 3D - **Summary:** Extend factorial n! smoothly to real numbers via Γ(z) = ∫₀^∞ t^(z-1) e^(-t) dt, prove Γ(1/2) = √π, and unify B(p,q) with Γ(p)Γ(q)/Γ(p+q) via polar coordinates. - **Engineering Context:** Probability & statistics (Gamma, Chi-squared, Student-t, and Beta Bayesian priors), fractional calculus, asymptotic Stirling expansions, and quantum statistical partition integrals. - **Prerequisites:** 3.2.3, 3.2.5 - **Key Equations (LaTeX):** `\Gamma(z) = \int_{0}^{\infty} t^{z-1} e^{-t}\,dt \quad (z > 0), \qquad \Gamma(z+1) = z\,\Gamma(z), \qquad \Gamma\!\left(\tfrac{1}{2}\right) = \sqrt{\pi}` | `\mathrm{B}(p,q) = \int_{0}^{1} t^{p-1}(1-t)^{q-1}\,dt = 2\int_{0}^{\pi/2} \sin^{2p-1}\theta\cos^{2q-1}\theta\,d\theta = \frac{\Gamma(p)\Gamma(q)}{\Gamma(p+q)}` - **Guiding Question:** How can we continuously interpolate the discrete factorial n! across fractional and negative values—and how do tricky trigonometric integrals like ∫₀^(π/2) sin⁵θ cos⁴θ dθ evaluate in seconds without repeated parts? - **Formalization Formula:** `\Gamma(p)\Gamma(q) = 4\int_0^\infty\int_0^\infty x^{2p-1}y^{2q-1}e^{-(x^2+y^2)}\,dx\,dy = \left(2\int_0^\infty r^{2(p+q)-1}e^{-r^2}\,dr\right)\left(2\int_0^{\pi/2}\cos^{2p-1}\theta\sin^{2q-1}\theta\,d\theta\right) = \Gamma(p+q)\mathrm{B}(p,q)` - **Edge Cases & Next Bridge:** Γ(z) has simple poles at zero and negative integers z = 0, -1, -2, ... where Γ(z)Γ(1-z) = π/sin(πz) blows up—tying improper convergence directly to the Complex Plane & Residue Calculus in Volume V. - **Interactive Laboratories:** - **Euler's Gamma Function Γ(z), Integration-by-Parts Ladder & Analytic Poles Lab** [2D]: Explore the integrand peak t^(z-1)e^(-t), recurrence Γ(z+1) = z Γ(z), Gaussian half-integer Γ(1/2) = √π, and simple poles at z ≤ 0. (Formula: `\Gamma(z+1) = z\,\Gamma(z)`) - **Beta Function B(p,q), Trigonometric Form & 3D Polar Γ-B Unification Lab** [2D + 3D]: Compare algebraic Beta distributions on [0,1], trigonometric Wallis integrals on [0, π/2], and the 3D polar transformation proving B(p,q) = Γ(p)Γ(q)/Γ(p+q). (Formula: `\mathrm{B}(p,q) = \frac{\Gamma(p)\Gamma(q)}{\Gamma(p+q)}`) ### Module 3.3: Vector Calculus & Integral Theorems (https://wanna-math.vercel.app/multivariable-calculus/vector-calculus) Scalar field gradients (∇φ), directional derivatives (D_û f), 2D/3D vector fields, divergence, curl, work and circulation line integrals, oriented surface flux, and Green's, Stokes', and Gauss's Theorems. #### 3.3.1 — The Gradient Operator (∇φ), Level Surfaces & Normals - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/gradient-of-scalar-fields - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Input any 2D scalar field f(x,y) or 3D scalar point function φ(x,y,z), evaluate ∇φ at a chosen point P, inspect tangent planes, and visualize contour & level-surface orthogonality. - **Engineering Context:** Electric field potentials E = -∇V, Fourier thermal flux q = -k∇T, aerodynamic pressure gradients, CAD level-set surface normals, and steepest-ascent optimization. - **Prerequisites:** 3.1.2, 3.1.3 - **Key Equations (LaTeX):** `\nabla \phi(x,y,z) = \frac{\partial \phi}{\partial x}\,\mathbf{i} + \frac{\partial \phi}{\partial y}\,\mathbf{j} + \frac{\partial \phi}{\partial z}\,\mathbf{k}` | `\hat{\mathbf{n}} = \frac{\nabla \phi(P)}{\|\nabla \phi(P)\|}, \qquad \nabla\phi(P)\cdot(\mathbf{r} - \mathbf{r}_0) = 0` - **Guiding Question:** How does the vector differential operator Del (∇) turn a scalar potential field φ(x,y,z) into a normal vector field pointing toward steepest spatial increase? - **Formalization Formula:** `\nabla \phi = \left(\mathbf{i}\frac{\partial}{\partial x} + \mathbf{j}\frac{\partial}{\partial y} + \mathbf{k}\frac{\partial}{\partial z}\right)\phi \perp \{\phi(x,y,z) = c\}` - **Edge Cases & Next Bridge:** Where ∇φ = 0, the point is stationary or singular and the level surface may self-intersect or pinch; away from critical points, projecting ∇φ onto any unit direction û measures directional slope in Chapter 3.3.2. - **Interactive Laboratories:** - **Interactive 2D/3D Gradient Calculator & Level-Surface Normal Lab** [2D + 3D]: Input any 2D f(x,y) or 3D φ(x,y,z) scalar field and point P to compute ∇φ(P), ‖∇φ(P)‖, unit normal n̂, and tangent plane in 2D and 3D. (Formula: `\nabla\phi(P) = \langle \phi_x, \phi_y, \phi_z \rangle`) #### 3.3.2 — Directional Derivatives (D_û f = ∇f · û) & Rate of Change - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/directional-derivatives - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Input any 2D or 3D scalar function, point P, and direction vector v to normalize û = v/‖v‖, calculate D_û f(P) step by step, and visualize slicing planes and 1D ray profiles. - **Engineering Context:** Aircraft glide slope sensitivity along flight velocity v, thermal rate of change measured by a moving probe, angle between intersecting surfaces, and conservative path differentials df = ∇f · dr. - **Prerequisites:** 3.3.1 - **Key Equations (LaTeX):** `D_{\hat{\mathbf{u}}}\phi(P) = \nabla\phi(P)\cdot\hat{\mathbf{u}} = \nabla\phi(P)\cdot\frac{\mathbf{v}}{\|\mathbf{v}\|} = \|\nabla\phi(P)\|\cos\theta` | `-\|\nabla\phi(P)\| \le D_{\hat{\mathbf{u}}}\phi(P) \le +\|\nabla\phi(P)\|` - **Guiding Question:** Given an arbitrary non-unit direction vector v = ⟨v_x, v_y, v_z⟩ starting at P, how fast does a scalar field φ change per unit arc length—and which directions produce extreme or zero change? - **Formalization Formula:** `D_{\hat{\mathbf{u}}}\phi(P) = \left.\frac{d}{ds}\phi(P + s\hat{\mathbf{u}})\right|_{s=0} = \color{#D35323}{\nabla\phi(P)} \cdot \color{#8D9FCE}{\frac{\mathbf{v}}{\|\mathbf{v}\|}}` - **Edge Cases & Next Bridge:** Never dot ∇φ with raw v when ‖v‖ ≠ 1—always normalize to û first! With gradient vectors mastered, Chapter 3.3.3 elevates general vector fields F(x,y,z) via divergence ∇·F and curl ∇×F. - **Interactive Laboratories:** - **Interactive 2D/3D Directional Derivative Calculator & Slicer Lab** [2D + 3D]: Input f(x,y) or φ(x,y,z), point P, and direction vector v to compute û, ∇φ·û, angle θ, and visualize 3D slicing planes, contours, and 1D ray profiles. (Formula: `D_{\hat{\mathbf{u}}}\phi = \nabla\phi\cdot\hat{\mathbf{u}}`) #### 3.3.3 — Vector Fields, Divergence & Curl - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/vector-fields-divergence-curl - **Status:** published | **Estimated Time:** 45 min | **Mode:** 2D + 3D - **Summary:** Explore 2D/3D vector field streamlines, local Jacobian expansion/strain/spin decomposition, microscopic flux boxes (∇·F), and 3D curl axes (∇×F). - **Engineering Context:** Incompressible fluid continuity (∇·u = 0), aerodynamic vorticity, electrostatic potential fields F = -∇φ, Maxwell's differential laws, and continuum strain-rotation splitting. - **Prerequisites:** 3.3.1, 3.3.2 - **Key Equations (LaTeX):** `\operatorname{div}\mathbf{F} = \nabla \cdot \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}` | `\operatorname{curl}\mathbf{F} = \nabla \times \mathbf{F} = \left\langle \frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z},\; \frac{\partial P}{\partial z} - \frac{\partial R}{\partial x},\; \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right\rangle` - **Guiding Question:** Given a vector field F(x,y,z) assigning magnitude and direction to every point in space, how do we trace particle trajectories (streamlines) and separately measure local outward expansion (∇·F) versus 3D local spin (∇×F)? - **Formalization Formula:** `\nabla\cdot\mathbf{F} = \lim_{|V|\to 0}\frac{1}{|V|}\oiint_{\partial V}\mathbf{F}\cdot d\mathbf{S}, \qquad (\nabla\times\mathbf{F})\cdot\hat{\mathbf{n}} = \lim_{|A|\to 0}\frac{1}{|A|}\oint_{\partial A}\mathbf{F}\cdot d\mathbf{r}` - **Edge Cases & Next Bridge:** Straight streamlines like shear flow ⟨y, 0, 0⟩ carry non-zero curl, whereas circular vortex flow ⟨-y, x⟩/r² is irrotational away from 0! Always verify ∇×(∇f) = 0 and ∇·(∇×F) = 0 before accumulating work in Chapter 3.3.4. - **Interactive Laboratories:** - **Interactive Divergence Flux Box & Curl Paddlewheel Probe** [2D + 3D]: Drag a probe across sources, sinks, shears, and vortices to measure net outflow and angular velocity. (Formula: `\nabla \cdot \mathbf{F}, \qquad \nabla \times \mathbf{F}`) - **Vector Field Anatomy, RK4 Streamlines & Velocity-Gradient Tensor Lab** [2D + 3D]: Click to seed 2D/3D streamlines over potential contours and split local DF into expansion, shear strain, and spin. (Formula: `\mathbf{r}'(t) = \mathbf{F}(\mathbf{r}(t)), \qquad D\mathbf{F} = \mathbf{E}_{\text{div}} + \mathbf{S}_{\text{shear}} + \mathbf{\Omega}_{\text{curl}}`) - **Component Flux Budget, Tilted 3D Curl Axis & Del Identity Verifier** [3D]: Compare opposing cube-face fluxes ∂P/∂x + ∂Q/∂y + ∂R/∂z, tilt the 3D curl axis ω = ∇×F, and verify ∇·(∇×F) = 0. (Formula: `\nabla\cdot(\nabla\times\mathbf{F}) = 0, \qquad \nabla\times(\nabla f) = \mathbf{0}`) #### 3.3.4 — Line Integrals (Work & Circulation) - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/line-integrals-work - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Project vector field F onto unit tangent T along curve C to accumulate mechanical work ∫_C F · dr and test path independence. - **Engineering Context:** Mechanical work in conservative gravitational/electrostatic fields vs. dissipative aerodynamic drag and vortex circulation. - **Prerequisites:** 3.3.1, 3.3.3 - **Key Equations (LaTeX):** `W = \int_{C} \mathbf{F}\cdot d\mathbf{r} = \int_{a}^{b} \mathbf{F}(\mathbf{r}(t))\cdot \mathbf{r}'(t)\,dt` | `\mathbf{F} = \nabla f \implies \int_A^B \mathbf{F}\cdot d\mathbf{r} = f(B) - f(A)` - **Guiding Question:** When a particle travels along a curved path C through a force field F, when does the total work depend on the chosen path versus only the endpoints A and B? - **Formalization Formula:** `\int_C \mathbf{F}\cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t))\cdot\mathbf{r}'(t)\,dt` - **Edge Cases & Next Bridge:** When C closes into a loop ∂D, the net circulation equals the interior curl summed over D—which is Green's Theorem in Chapter 3.3.5. - **Interactive Laboratories:** - **Tangential Work Accumulator & Conservative Field Path Explorer** [2D + 3D]: Deform path C between endpoints A and B in conservative vs. non-conservative fields. (Formula: `\int_C \mathbf{F}\cdot \hat{\mathbf{T}}\,ds`) #### 3.3.5 — Green's Theorem - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/greens-theorem - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Subdivide a 2D region D into N×N interior circulation loops to watch adjacent interior edges cancel, leaving only boundary circulation. - **Engineering Context:** Mechanical planimeters, aerodynamic lift circulation, and 2D finite-volume conservation laws. - **Prerequisites:** 3.2.1, 3.3.3, 3.3.4 - **Key Equations (LaTeX):** `\oint_{\partial D} (P\,dx + Q\,dy) = \iint_{D} \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA` - **Guiding Question:** Why does summing microscopic spin (∂Q/∂x - ∂P/∂y) over the entire 2D interior D equal the single 1D line integral around the outer boundary ∂D? - **Formalization Formula:** `\oint_{\partial D} (P\,dx + Q\,dy) = \iint_D \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dA` - **Edge Cases & Next Bridge:** Green's Theorem lives in the flat xy-plane; to generalize flux and circulation to curved 3D surfaces, we first build oriented surface flux integrals in Chapter 3.3.6. - **Interactive Laboratories:** - **Microscopic Curl Cancellation Grid & Boundary Circulation Lab** [2D]: Increase subdivision N to see internal counter-directed edges cancel on screen. (Formula: `\oint_{\partial D} \mathbf{F}\cdot d\mathbf{r} = \iint_D (\nabla \times \mathbf{F})_z\,dA`) #### 3.3.6 — Surface Integrals & Flux - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/surface-integrals-flux - **Status:** published | **Estimated Time:** 35 min | **Mode:** 3D - **Summary:** Map parameter patch (u,v) onto 3D surface S with normal vector r_u × r_v to measure volumetric fluid and electric flux. - **Engineering Context:** Volumetric mass flow rate across turbine blades, Gauss's law for electric flux, and radiative heat transfer. - **Prerequisites:** 3.2.4, 3.3.3 - **Key Equations (LaTeX):** `\Phi = \iint_{S} \mathbf{F}\cdot \hat{\mathbf{n}}\,dS = \iint_{R_{uv}} \mathbf{F}\cdot (\mathbf{r}_u \times \mathbf{r}_v)\,du\,dv` - **Guiding Question:** How do we compute the total volumetric flow piercing a curved 3D canopy S when both the flow F and the surface normal n̂ vary from point to point? - **Formalization Formula:** `\Phi = \iint_S \mathbf{F}\cdot \hat{\mathbf{n}}\,dS = \iint_{R_{xy}} \mathbf{F}\cdot \langle -g_x, -g_y, 1 \rangle\,dx\,dy` - **Edge Cases & Next Bridge:** Non-orientable surfaces (like a Möbius strip) cannot support a consistent global normal n̂. For orientable surfaces, Chapter 3.3.7 unifies flux and curl via Stokes' and Gauss's Theorems. - **Interactive Laboratories:** - **3D Oriented Surface Normal & Vector Flux Inspector** [3D]: Inspect local normal patches dS = (r_u × r_v) du dv inside 3D vector fields. (Formula: `d\mathbf{S} = (\mathbf{r}_u \times \mathbf{r}_v)\,du\,dv`) #### 3.3.7 — The Vector Integral Theorems: Green, Stokes & Gauss Overview - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/stokes-divergence-theorems - **Status:** published | **Estimated Time:** 20 min | **Mode:** Overview • 2D/3D - **Summary:** Compare Green's Theorem (flat 2D), Stokes' Theorem (curved 3D surface-to-rim), and Gauss's Divergence Theorem (3D shell-to-volume) inside the unified Generalized Stokes ladder. - **Engineering Context:** Maxwell's equations in integral and differential form, finite-volume CFD conservation laws, and topological invariance across manifolds. - **Prerequisites:** 3.2.2, 3.3.5, 3.3.6 - **Key Equations (LaTeX):** `\iint_{S} (\nabla \times \mathbf{F})\cdot d\mathbf{S} = \oint_{\partial S} \mathbf{F}\cdot d\mathbf{r}, \qquad \oiint_{\partial E} \mathbf{F}\cdot\hat{\mathbf{n}}\,dS = \iiint_{E} (\nabla \cdot \mathbf{F})\,dV` | `\int_{\Omega} d\omega = \int_{\partial\Omega} \omega` - **Guiding Question:** How do dimension, boundary orientation (right-hand rule vs. outward normal), and interior singularities distinguish Green, Stokes, and Gauss? - **Formalization Formula:** `\text{1D FTLI} \longrightarrow \text{2D Green} \longrightarrow \text{3D Stokes } (\nabla\times\mathbf{F}) \longrightarrow \text{3D Gauss } (\nabla\cdot\mathbf{F})` - **Edge Cases & Next Bridge:** Select Chapter 3.3.7a (Stokes' Theorem) or Chapter 3.3.7b (Gauss's Divergence Theorem) next for full 3D visual experiments and singularity failure tests. #### 3.3.7a — Stokes' Theorem: 3D Cap Surface Invariance & Boundary Rim Work - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/stokes-theorem - **Status:** published | **Estimated Time:** 35 min | **Mode:** 3D - **Summary:** Test four spanning surfaces anchored to the same counterclockwise rim ∂S, verify invariant curl flux numerically, and observe how a punctured z-axis vortex breaks smoothness. - **Engineering Context:** Faraday's law of electromagnetic induction, Ampère–Maxwell magnetostatics, aerodynamic wingtip circulation, and reducing messy 3D surface curl integrals to flat 2D disk caps. - **Prerequisites:** 3.3.5, 3.3.6, 3.3.7 - **Key Equations (LaTeX):** `\iint_{S} (\nabla \times \mathbf{F})\cdot d\mathbf{S} = \oint_{\partial S} \mathbf{F}\cdot d\mathbf{r}` | `\iint_{S_1} (\nabla \times \mathbf{F})\cdot d\mathbf{S} = \iint_{S_2} (\nabla \times \mathbf{F})\cdot d\mathbf{S} \quad (\partial S_1 = \partial S_2)` - **Guiding Question:** Why can you deform a spanning surface S arbitrarily while keeping its curl flux locked to rim ∂S, and when does a hidden vortex line break that equality? - **Formalization Formula:** `\iint_S (\nabla\times\mathbf{F})\cdot\hat{\mathbf{n}}\,dS = \oint_{\partial S}\mathbf{F}\cdot d\mathbf{r}` - **Edge Cases & Next Bridge:** Stokes' Theorem requires an orientable surface S (unlike a Möbius strip) and C¹ smoothness of F across S. Next, Chapter 3.3.7b encloses a full 3D solid E with Gauss's Divergence Theorem. - **Interactive Laboratories:** - **Stokes' Theorem 4-Cap Surface Invariance & Punctured Vortex Lab** [3D]: Compare Paraboloid, Ellipsoid, Flat Disk, and Saddle caps sharing identical CCW rim ∂S alongside right-hand normals, curl vectors, and singularity traps. (Formula: `\iint_S (\nabla\times\mathbf{F})\cdot d\mathbf{S} = \oint_{\partial S}\mathbf{F}\cdot d\mathbf{r}`) #### 3.3.7b — Gauss's Divergence Theorem: Closed-Shell Flux & Volume Divergence - **URL:** https://wanna-math.vercel.app/multivariable-calculus/vector-calculus/divergence-theorem - **Status:** published | **Estimated Time:** 35 min | **Mode:** 3D - **Summary:** Compare closed-surface outward flux across a Cube, Sphere, and Closed Cylinder against interior triple-integral divergence, and explore why a point charge at 0 yields 4π flux. - **Engineering Context:** Gauss's Law in electrostatics and gravitation, finite-volume CFD conservation (mass, momentum, energy), and Fourier heat-equation derivation. - **Prerequisites:** 3.2.2, 3.3.6, 3.3.7 - **Key Equations (LaTeX):** `\oiint_{\partial E} \mathbf{F}\cdot\hat{\mathbf{n}}\,dS = \iiint_E (\nabla\cdot\mathbf{F})\,dV` | `\oiint_{\partial E} \frac{\mathbf{r}}{\|\mathbf{r}\|^3}\cdot\hat{\mathbf{n}}\,dS = 4\pi \quad (\mathbf{0} \in \operatorname{int} E)` - **Guiding Question:** How do 6 cube faces, a sphere shell, and a closed cylinder (top + bottom + lateral wall) balance interior divergence sources and sinks? - **Formalization Formula:** `\oiint_{\partial E}\mathbf{F}\cdot\hat{\mathbf{n}}\,dS = \iiint_E (\nabla\cdot\mathbf{F})\,dV` - **Edge Cases & Next Bridge:** This completes Volume III (Multivariable & Vector Calculus)! The integral theorems and singularities studied here carry directly into complex contour integration and the Residue Theorem in Volume V. - **Interactive Laboratories:** - **Gauss's Divergence Cube, Sphere & Cylinder Flux Budget Lab** [3D]: Verify boundary outward flux against interior divergence across Cube (6 faces), Sphere, and Closed Cylinder (caps + wall), plus inverse-square origin singularity traps. (Formula: `\oiint_{\partial E}\mathbf{F}\cdot\hat{\mathbf{n}}\,dS = \iiint_E (\nabla\cdot\mathbf{F})\,dV`) --- ## Volume IV: Differential Equations & Dynamical Systems (https://wanna-math.vercel.app/differential-equations) Continuous-time dynamical systems and physical field equations: first-order direction fields, damped and forced harmonic oscillators, 2D nonlinear phase portraits, bifurcations, and the Heat and Wave partial differential equations. - **Engineering Applications:** Mechanical & Structural Vibration Isolation (Mass-Spring-Damper), RLC Circuit Transient & Frequency Response, Nonlinear Control Systems, Phase-Locked Loops & Limit Cycles, Transient Heat Conduction & Acoustic Wave Propagation ### Module 4.1: First-Order ODEs, Exactness & Slope Fields (https://wanna-math.vercel.app/differential-equations/first-order-odes) Direction field geometry, existence and uniqueness of integral trajectories, autonomous equilibria, exact differential equations, and integrating factors. #### 4.1.1 — Direction Fields, Integral Curves & Picard Existence - **URL:** https://wanna-math.vercel.app/differential-equations/first-order-odes/direction-fields-integral-curves - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Drop initial conditions (t₀, y₀) into a slope field dy/dt = f(t, y) to trace RK4 solution curves, inspect constant-slope isoclines, and spot Picard–Lindelöf uniqueness traps. - **Engineering Context:** RC circuit transients under AC forcing, aerodynamic glide trajectories, Euler vs. Runge–Kutta flight simulation integrators, and singular boundary-layer uniqueness limits. - **Prerequisites:** 1.2.1, 1.3.2 - **Key Equations (LaTeX):** `\frac{dy}{dt} = f(t, y), \qquad y(t_0) = y_0` | `y_{n+1} = y_n + h f(t_n, y_n) \quad (\text{Euler}) \;\text{ vs. }\; \mathcal{O}(h^4)\text{ RK4}` - **Guiding Question:** Even when an ODE dy/dt = f(t, y) cannot be integrated in closed form, how can we determine every trajectory's shape directly from geometry? - **Formalization Formula:** `\mathbf{T}(t,y) = \langle 1,\; f(t,y) \rangle \quad \text{with unique curves when } f,\; \frac{\partial f}{\partial y} \text{ are continuous}` - **Edge Cases & Next Bridge:** When ∂f/∂y blows up (e.g., y' = 1.4|y|^(2/3) at y = 0), solution curves peel apart and violate uniqueness! Next, Chapter 4.1.2 collapses time-independent flows onto 1D phase lines and bifurcations. - **Interactive Laboratories:** - **Interactive Slope Field, Isocline & Trajectory Tracer** [2D]: Click anywhere in the (t, y) plane to launch forward/backward integral curves. (Formula: `y'(t) = f(t, y(t))`) #### 4.1.2 — Separable, Linear & Autonomous Phase-Line Models - **URL:** https://wanna-math.vercel.app/differential-equations/first-order-odes/separable-linear-odes - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Analyze logistic harvesting, thermal cooling, and parameter bifurcations via 1D phase lines, stability linearization f'(y*), and bifurcation diagrams. - **Engineering Context:** Sustainable fishery & bioreactors harvesting thresholds, structural buckling (pitchfork bifurcation), population carrying capacity, and optical bistability. - **Prerequisites:** 3.1.9, 4.1.1 - **Key Equations (LaTeX):** `\frac{dy}{dt} = f(y; r), \qquad f(y^*) = 0,\; \begin{cases} f'(y^*) < 0 & \text{Sink (Stable)} \\ f'(y^*) > 0 & \text{Source (Unstable)} \end{cases}` | `y' + P(t)y = Q(t) \implies \mu(t) = e^{\int P(t)\,dt}` - **Guiding Question:** For an autonomous system dy/dt = f(y; r), how can we predict the long-term fate of every initial condition—and when does nudging parameter r trigger a sudden regime collapse? - **Formalization Formula:** `\dot{y} = f(y; r) \approx f'(y^*)(y - y^*) \implies y(t) - y^* \sim C e^{f'(y^*)t}` - **Edge Cases & Next Bridge:** Whenever f'(y*) = 0, linear stability stalls—marking a non-hyperbolic bifurcation tipping point! In Module 4.2, second-order inertia turns monotonous phase lines into damped and resonant oscillations. - **Interactive Laboratories:** - **1D Autonomous Phase Line & Saddle-Node Bifurcation Lab** [2D]: Identify stable attractors, unstable repellers, and semi-stable equilibria. (Formula: `f(y^*) = 0,\; f'(y^*) < 0`) #### 4.1.3 — First-Order Exact Differential Equations & Integrating Factors - **URL:** https://wanna-math.vercel.app/differential-equations/first-order-odes/exact-differential-equations - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Test conservative differential forms M(x,y)dx + N(x,y)dy = 0 via the curl condition ∂M/∂y = ∂N/∂x, reconstruct scalar potentials F(x,y) = C, and rescue non-exact forms with integrating factors μ(x) or μ(y). - **Engineering Context:** Conservative potential fields in electrostatics and fluid stream functions, exact thermodynamic differentials (dU, dS, Maxwell relations), and nonlinear curve families. - **Prerequisites:** 3.1.2, 4.1.2 - **Key Equations (LaTeX):** `M(x,y)\,dx + N(x,y)\,dy = 0 \text{ is exact } \iff \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}` | `\mu(x) = \exp\!\left(\int \frac{M_y - N_x}{N}\,dx\right), \qquad \mu(y) = \exp\!\left(\int \frac{N_x - M_y}{M}\,dy\right)` - **Guiding Question:** How can we solve M(x,y)dx + N(x,y)dy = 0 implicitly as F(x,y) = C—and what if M_y ≠ N_x breaks exactness? - **Formalization Formula:** `F(x,y) = \int M(x,y)\,dx + h(y), \qquad h'(y) = N(x,y) - \frac{\partial}{\partial y}\!\int M(x,y)\,dx` - **Edge Cases & Next Bridge:** Along points where μ(x,y) = 0 (like y = 0 for μ(y) = y), check whether the factor introduced or masked a singular equilibrium solution! Next, Module 4.2 shifts to higher-order linear ODEs. - **Interactive Laboratories:** - **Exact Differential Equations, Curl Test & Integrating Factor Lab** [2D]: Click (x₀, y₀) to trace conservative contours F(x,y) = C, verify M_y = N_x, and apply integrating factors μ(x) or μ(y). (Formula: `\frac{\partial (\mu M)}{\partial y} = \frac{\partial (\mu N)}{\partial x}`) ### Module 4.2: Linear Differential Equations, Oscillations & Series Solutions (https://wanna-math.vercel.app/differential-equations/second-order-oscillations) Characteristic roots in the complex plane, damped/forced oscillations, higher-order constant-coefficient ODEs, variation of parameters, Cauchy–Euler equations, and power series / Frobenius solutions. #### 4.2.1 — Harmonic Oscillators: Undamped, Underdamped & Overdamped - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/damped-harmonic-oscillators - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Couple the complex characteristic root plane s₁,₂ with live mass-spring-damper time responses, decay envelopes, and (x, v) phase orbits. - **Engineering Context:** Automotive suspension shock absorbers, MEMS accelerometer damping, seismic building isolators, and series/parallel RLC circuit transients (L, R, 1/C). - **Prerequisites:** 3.1.10, 4.1.2 - **Key Equations (LaTeX):** `m\ddot{x} + c\dot{x} + kx = 0 \implies s^2 + 2\zeta\omega_n s + \omega_n^2 = 0` | `\zeta = \frac{c}{2\sqrt{mk}}, \qquad s_{1,2} = -\zeta\omega_n \pm \omega_n\sqrt{\zeta^2 - 1}` - **Guiding Question:** How does the dimensionless damping ratio ζ steer characteristic roots s₁,₂ in the complex plane—turning perpetual oscillation into decaying ringing or fast non-overshooting return? - **Formalization Formula:** `x(t) = \begin{cases} e^{-\zeta\omega_n t}(A\cos\omega_d t + B\sin\omega_d t) & \zeta < 1 \\ (c_1 + c_2 t)e^{-\omega_n t} & \zeta = 1 \\ c_1 e^{s_1 t} + c_2 e^{s_2 t} & \zeta > 1 \end{cases}` - **Edge Cases & Next Bridge:** At ζ = 1, the double root produces the secular factor t·e^(-ω_n t), giving fastest return without overshoot. Next, Chapter 4.2.2 adds periodic external forcing F₀cos(ωt) to unlock beats and resonance. - **Interactive Laboratories:** - **Damping Ratio ζ Scrubber & Characteristic Root Plane Lab** [2D]: Scrub damping ratio ζ across <1, =1, and >1 while watching roots move from imaginary axis to real axis. (Formula: `s_{1,2} = -\zeta\omega_n \pm \omega_n\sqrt{\zeta^2 - 1}`) #### 4.2.2 — Forced Oscillations, Beats & Resonance Frequency Response - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/forced-oscillations-resonance - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Sweep driving frequency ω against natural frequency ω_n to observe acoustic beats, secular blowup, 90° phase lag, and resonant amplitude peaks. - **Engineering Context:** Bridge structural wind-load resonance (Tacoma Narrows), RF bandpass filter Q-factor tuning, vibration isolation mounts, and acoustic beats. - **Prerequisites:** 4.2.1 - **Key Equations (LaTeX):** `m\ddot{x} + c\dot{x} + kx = F_0\cos(\omega t), \qquad |H(i\omega)| = \frac{1/k}{\sqrt{(1 - (\omega/\omega_n)^2)^2 + (2\zeta\omega/\omega_n)^2}}` | `\omega_{\text{res}} = \omega_n\sqrt{1 - 2\zeta^2} \quad (\zeta < 1/\sqrt{2}), \qquad \phi(\omega) = \operatorname{atan2}(2\zeta r,\; 1 - r^2)` - **Guiding Question:** When an oscillator is pushed periodically at frequency ω, why do small mismatches create slow beats while viscous friction shifts peak amplitude below ω_n? - **Formalization Formula:** `x(t) = x_h(t) + x_p(t), \qquad x_p(t) = \frac{F_0}{m}|H(i\omega)|\cos(\omega t - \phi(\omega))` - **Edge Cases & Next Bridge:** When ζ ≥ 1/√2 ≈ 0.707, 1 - 2ζ² ≤ 0 eliminates the resonance peak completely! Next, Module 4.3 generalizes single oscillators to 2D coupled linear and nonlinear phase-plane systems. - **Interactive Laboratories:** - **Forced Resonance Gain & Phase Lag Inspector** [2D]: Synchronized time-domain waveform and steady-state amplitude-frequency response curve. (Formula: `\omega_{\text{res}} = \omega_n\sqrt{1 - 2\zeta^2}`) #### 4.2.3 — General Linear ODEs with Constant Coefficients - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/general-linear-constant-coefficients - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Factor nth-order characteristic polynomials P(r) = 0 across distinct real, repeated, and complex-conjugate roots, verify linear independence via Wronskians, and construct particular solutions via undetermined coefficients. - **Engineering Context:** Multi-degree-of-freedom structural beams (4th-order Euler–Bernoulli), multi-stage RLC ladder filters, aerospace pitch-heave modes, and linear control pole placement. - **Prerequisites:** 3.1.10, 4.2.1 - **Key Equations (LaTeX):** `P(r) = \sum_{k=0}^{n} a_k r^k = 0, \qquad (r - r_0)^m \implies \{e^{r_0 t},\, t e^{r_0 t},\, \dots,\, t^{m-1}e^{r_0 t}\}` | `y_p(t) = t^s\bigl(P_d(t)\cos\beta t + Q_d(t)\sin\beta t\bigr)e^{\alpha t}, \qquad W(t) = W(t_0)\exp\!\left(-\int_{t_0}^{t} \frac{a_{n-1}}{a_n}\,du\right)` - **Guiding Question:** How do algebraic root multiplicities in P(r) = 0 control both homogeneous basis completeness and particular-solution resonance shifts? - **Formalization Formula:** `y(t) = \sum_{k=1}^{n} C_k y_k(t) + y_p(t), \qquad \det\bigl[y_j^{(i-1)}(0)\bigr] \neq 0` - **Edge Cases & Next Bridge:** Undetermined coefficients works only when g(t) is annihilated by a constant-coefficient operator (polynomials, exponentials, sines/cosines). For general continuous g(t) like sec(t) or ln(t), Chapter 4.2.4 unlocks Variation of Parameters. - **Interactive Laboratories:** - **Higher-Order Characteristic Roots, Wronskian & Undetermined Coefficients Lab** [2D]: Visualize complex root multiplicities, Abel's Wronskian W(t), mode superposition, and t^s resonance shifts. (Formula: `P(D)y = g(t) \implies y = y_h + y_p`) #### 4.2.4 — Method of Variation of Parameters - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/variation-of-parameters - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Replace constant basis weights C₁, C₂ with varying parameter envelopes u₁(x), u₂(x) using Lagrange's zero-constraint system and Wronskian quadrature for arbitrary continuous forcing g(x). - **Engineering Context:** Impulse-driven beams and variable-stiffness spring systems under non-periodic forcing (ln x, 1/x, sec x, arbitrary sensor logs) and Green's function boundary kernels. - **Prerequisites:** 4.2.3 - **Key Equations (LaTeX):** `y_p(x) = u_1(x)y_1(x) + u_2(x)y_2(x), \qquad u_1'y_1 + u_2'y_2 = 0,\quad u_1'y_1' + u_2'y_2' = g(x)` | `u_1'(x) = -\frac{y_2(x)\,g(x)}{W(x)}, \qquad u_2'(x) = \frac{y_1(x)\,g(x)}{W(x)}, \qquad W = y_1 y_2' - y_2 y_1'` - **Guiding Question:** Why does imposing u₁'y₁ + u₂'y₂ = 0 cleanly decouple y_p'' into two first-order integrals over the Wronskian W(x)? - **Formalization Formula:** `y_p(x) = -y_1\!\int \frac{y_2 g}{W}\,dx + y_2\!\int \frac{y_1 g}{W}\,dx \quad (\text{monic form } a_2 = 1)` - **Edge Cases & Next Bridge:** Forgetting to divide by a₂(x) before substituting g(x) creates an off-by-a₂ error! Next, Chapter 4.2.5 solves the variable-coefficient Cauchy–Euler homogeneous basis that feeds this exact method. - **Interactive Laboratories:** - **Method of Variation of Parameters Explorer** [2D]: Inspect varying parameters u₁(x), u₂(x), monic normalization, and Lagrange's constraint u₁'y₁ + u₂'y₂ = 0. (Formula: `u_1' = -\frac{y_2 g}{W},\; u_2' = \frac{y_1 g}{W}`) #### 4.2.5 — Cauchy–Euler (Equidimensional) Equations - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/cauchy-euler-equations - **Status:** published | **Estimated Time:** 35 min | **Mode:** Dual 2D - **Summary:** Solve variable-coefficient power equations x²y'' + bxy' + cy = 0 across real powers xᵐ, logarithmic repeated modes xᵐ ln x, and log-periodic spirals—and straighten them via x = eᵗ. - **Engineering Context:** Laplace potential inside cylindrical pipes and spherical shells (radial Euler operator), stress concentrations around circular holes, and power-law scale-invariant physics. - **Prerequisites:** 4.2.1, 4.2.3 - **Key Equations (LaTeX):** `a x^2 y'' + b x y' + c y = 0 \xrightarrow{\;y = x^m\;} a m(m - 1) + b m + c = 0` | `x = e^t \;(t = \ln x) \implies a \frac{d^2 Y}{dt^2} + (b - a)\frac{dY}{dt} + c Y = 0` - **Guiding Question:** How does the logarithmic coordinate x = eᵗ reveal Cauchy–Euler equations as disguised constant-coefficient oscillators? - **Formalization Formula:** `y(x) = \begin{cases} C_1 x^{m_1} + C_2 x^{m_2} & \Delta > 0 \\ x^m(C_1 + C_2\ln x) & \Delta = 0 \\ x^{\alpha}\bigl(C_1\cos(\beta\ln x) + C_2\sin(\beta\ln x)\bigr) & \Delta < 0 \end{cases}` - **Edge Cases & Next Bridge:** The singular point x = 0 forces logarithmic divergence or infinitely rapid oscillation for x → 0⁺! Chapter 4.2.6 generalizes this equidimensional scaling into full Frobenius power series around regular singular points. - **Interactive Laboratories:** - **Cauchy–Euler Equations & Log-Time Coordinate Equivalence Lab** [Dual 2D]: Cross Δ > 0, Δ = 0, and Δ < 0 regimes while watching t = ln x flatten xᵐ, xᵐ ln x, and log-waves. (Formula: `m^2 + (b - 1)m + c = 0`) #### 4.2.6 — Power Series Solutions of ODEs & Frobenius Method - **URL:** https://wanna-math.vercel.app/differential-equations/second-order-oscillations/power-series-solutions-odes - **Status:** published | **Estimated Time:** 40 min | **Mode:** 2D - **Summary:** Classify ordinary vs. regular singular points, solve Taylor recurrence relations for analytic coefficients, observe complex-pole radius walls |x| = R, and unlock fractional/logarithmic Frobenius modes. - **Engineering Context:** Circular drumhead vibration modes (Bessel J₀, Y₀), optical caustics and quantum turning points (Airy Ai, Bi), spherical multipoles (Legendre), and harmonic oscillator wavefunctions (Hermite). - **Prerequisites:** 1.4.2, 4.2.5 - **Key Equations (LaTeX):** `y(x) = \sum_{n=0}^{\infty} a_n (x - x_0)^n \quad (\text{Ordinary}), \qquad y(x) = (x - x_0)^r \sum_{n=0}^{\infty} a_n (x - x_0)^n \quad (\text{Frobenius})` | `I(r) = r(r - 1) + p_0 r + q_0 = 0, \qquad p_0 = \lim_{x\to 0} x P(x),\; q_0 = \lim_{x\to 0} x^2 Q(x)` - **Guiding Question:** Why can a real ODE solution look smooth everywhere yet have a series that explodes outside |x| = 1, while singular ODEs require fractional Frobenius powers x^r? - **Formalization Formula:** `r_1 - r_2 \notin \mathbb{Z}_{\ge 0} \implies y_2 = x^{r_2}\sum b_n x^n; \quad r_1 = r_2 \implies y_2 = y_1\ln x + x^{r_1}\sum c_n x^n` - **Edge Cases & Next Bridge:** When r₁ − r₂ is a non-negative integer, the smaller root can collide with the higher-root recurrence and force a ln x term—just like Y₀(x) in Bessel's equation! Next, Module 4.3 lifts single ODEs into coupled 2D dynamical systems. - **Interactive Laboratories:** - **Power Series Solutions & Frobenius Method Lab** [2D]: Compare N-term Taylor/Frobenius partial sums against exact Airy, arctan(x), √x, and Bessel J₀ solutions. (Formula: `y = x^r \sum_{n=0}^{\infty} a_n x^n`) ### Module 4.3: Systems of ODEs & Phase Plane Portraits (https://wanna-math.vercel.app/differential-equations/phase-plane-systems) Trace-determinant classification of 2D linear systems, eigenvector manifolds, nullclines, and nonlinear limit cycles. #### 4.3.1 — 2D Linear Phase Portraits: Nodes, Saddles, Spirals & Centers - **URL:** https://wanna-math.vercel.app/differential-equations/phase-plane-systems/linear-phase-portraits - **Status:** published | **Estimated Time:** 35 min | **Mode:** Dual 2D - **Summary:** Click or drag inside the Poincaré Trace–Determinant (τ, Δ) diagram to morph eigenvalues λ₁,₂, eigenvector manifolds, and (x, y) phase portraits in real time. - **Engineering Context:** Coupled spring-mass normal modes, dual-tank chemical mixing networks, linearized state-space control stability (τ < 0, Δ > 0), and orbital station-keeping. - **Prerequisites:** 2.3.1, 4.2.1 - **Key Equations (LaTeX):** `\dot{\mathbf{x}} = A\mathbf{x}, \qquad \lambda^2 - \tau\lambda + \Delta = 0` | `\tau = \operatorname{tr}(A) = \lambda_1 + \lambda_2, \qquad \Delta = \det(A) = \lambda_1\lambda_2` - **Guiding Question:** Why do just two scalar invariants—the trace τ and determinant Δ of a 2×2 matrix A—completely classify every possible linear trajectory pattern around the origin? - **Formalization Formula:** `\lambda_{1,2} = \frac{\tau \pm \sqrt{\tau^2 - 4\Delta}}{2}, \qquad \text{Asymptotically Stable} \iff \tau < 0 \;\land\; \Delta > 0` - **Edge Cases & Next Bridge:** Along the parabola Δ = τ²/4, off-diagonal shear produces defective repeated-root nodes with only one eigenvector! Next, Chapter 4.3.2 computes Jacobians J(x*, y*) to classify nonlinear systems. - **Interactive Laboratories:** - **Poincaré Trace-Determinant Plane & Live Phase Portrait Lab** [Dual 2D]: Explore stable/unstable nodes, saddles, spirals, and centers across Δ = τ²/4. (Formula: `\lambda_{1,2} = \frac{\tau \pm \sqrt{\tau^2 - 4\Delta}}{2}`) #### 4.3.2 — Nonlinear Stability, Nullclines & Limit Cycles - **URL:** https://wanna-math.vercel.app/differential-equations/phase-plane-systems/nonlinear-nullclines-limit-cycles - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Inspect intersecting x/y nullclines, track closed self-sustained limit cycles in the Van der Pol oscillator, and linearize equilibria via J(x*, y*). - **Engineering Context:** Electronic Van der Pol oscillators & neural cardiac pacemakers, biological Lotka–Volterra ecology, nonlinear pendulum dynamics, and bistable genetic toggle switches. - **Prerequisites:** 3.2.4, 4.3.1 - **Key Equations (LaTeX):** `\dot{x} = f(x,y),\; \dot{y} = g(x,y) \implies J(x^*,y^*) = \frac{\partial(f,g)}{\partial(x,y)}` | `f(x^*, y^*) = 0 \;\land\; g(x^*, y^*) = 0 \quad (\text{Nullcline Intersection})` - **Guiding Question:** When nonlinearities bend straight lines into spirals, basins, and isolated closed loops, how do nullclines and the local Jacobian reveal equilibria and sustained limit cycles? - **Formalization Formula:** `\dot{\mathbf{x}} \approx J(\mathbf{x}^*)(\mathbf{x} - \mathbf{x}^*) \quad (\text{Hartman–Grobman valid when } \operatorname{Re}(\lambda_i) \neq 0)` - **Edge Cases & Next Bridge:** When Re(λ) = 0 (non-hyperbolic centers), nonlinear terms can turn closed loops into faint spirals—and self-sustained limit cycles arise via Poincaré–Bendixson trapping regions! Module 4.4 expands from discrete ODE states into continuous PDE fields. - **Interactive Laboratories:** - **Nullcline Intersection & Van der Pol Limit Cycle Explorer** [2D]: Toggle x-nullclines (dx/dt = 0) and y-nullclines (dy/dt = 0) and inspect self-sustained oscillations. (Formula: `\ddot{x} - \mu(1 - x^2)\dot{x} + x = 0`) ### Module 4.4: Partial Differential Equations (Heat & Wave Equations) (https://wanna-math.vercel.app/differential-equations/partial-differential-equations) Separation of variables, Fourier eigenmodes, diffusive curvature smoothing in the Heat Equation, and characteristic wave propagation. #### 4.4.1 — The 1D/2D Heat Equation & Diffusive Smoothing - **URL:** https://wanna-math.vercel.app/differential-equations/partial-differential-equations/heat-equation-diffusion - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** See why ∂u/∂t = α ∇²u damps high-frequency spatial jaggedness exponentially faster than fundamental modes. - **Engineering Context:** Laser annealing & semiconductor thermal dissipation, bridge/slab transient heat conduction, chemical Fickian concentration diffusion, and Gaussian image blur. - **Prerequisites:** 3.1.2, 4.2.1 - **Key Equations (LaTeX):** `\frac{\partial u}{\partial t} = \alpha \nabla^2 u` | `u(x,t) = \sum_{n=1}^{\infty} b_n e^{-\alpha (n\pi/L)^2 t}\sin\!\left(\frac{n\pi x}{L}\right)` - **Guiding Question:** Why does thermal diffusion u_t = α u_xx immediately round sharp corners and spikes into smooth sinusoids instead of translating pulses sideways? - **Formalization Formula:** `b_n(t) = b_n(0)\,e^{-\alpha(n\pi/L)^2 t}, \qquad u_{xx} < 0 \implies u_t < 0` - **Edge Cases & Next Bridge:** Under Neumann insulation u_x = 0, total heat energy is conserved and every initial profile flattens toward its spatial mean a₀/2; in contrast, hyperbolic waves (Chapter 4.4.2) propagate energy across space without decaying. - **Interactive Laboratories:** - **3D Thermal Diffusion Evolution & Curvature Rate Inspector** [2D + 3D]: Play time evolution t ≥ 0 from step, triangular, or custom initial temperature profiles. (Formula: `u_t = \alpha u_{xx}`) #### 4.4.2 — The Wave Equation, Normal Modes & D'Alembert's Solution - **URL:** https://wanna-math.vercel.app/differential-equations/partial-differential-equations/wave-equation-normal-modes - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Compare standing-wave normal modes on strings and 2D membranes against traveling left/right D'Alembert pulses. - **Engineering Context:** Acoustic musical instruments & string harmonics, seismic ground wave propagation, electromagnetic waveguides, and structural membrane vibration (Chladni resonance). - **Prerequisites:** 4.4.1 - **Key Equations (LaTeX):** `\frac{\partial^2 u}{\partial t^2} = c^2 \nabla^2 u` | `u(x,t) = \frac{1}{2}\big[f(x - ct) + f(x + ct)\big]` - **Guiding Question:** How can a single hyperbolic PDE u_tt = c² ∇²u act both as half-height pulses gliding past each other on a string AND stationary geometric Chladni nodal patterns on a drumhead? - **Formalization Formula:** `u_{\xi\eta} = 0 \;(\xi=x-ct,\;\eta=x+ct), \qquad \omega_{mn} = c\pi\sqrt{\frac{m^2}{L_x^2} + \frac{n^2}{L_y^2}}` - **Edge Cases & Next Bridge:** This completes Volume IV (Differential Equations & Dynamical Systems)! Separation of variables and Fourier modes lead directly into Fourier & Laplace Transform Spectra in Volume V. - **Interactive Laboratories:** - **D'Alembert Traveling Pulse & 3D Drumhead Chladni Mode Lab** [2D + 3D]: Inspect 1D pulse superposition and 2D rectangular/circular membrane eigenmodes (m, n). (Formula: `u_{tt} = c^2(u_{xx} + u_{yy})`) --- ## Volume V: Transforms & Complex Analysis (https://wanna-math.vercel.app/transforms-complex-analysis) Complex analytic geometry and frequency-domain engineering: conformal mappings, Cauchy-Riemann orthogonality, contour residue integration, Laplace s-plane pole-zero surfaces, and Fourier harmonic analysis. - **Engineering Applications:** Control Theory Transfer Functions & s-Plane Root Stability, Digital Signal Processing (DSP) & Spectral Filtering, 2D Airfoil Potential Flow via Joukowski Conformal Mapping, Impedance Networks, Phasors & Diffraction Integrals ### Module 5.1: Complex Numbers & Conformal Mappings (https://wanna-math.vercel.app/transforms-complex-analysis/complex-functions-conformal) Euler's formula phasors, complex mappings w = f(z), Cauchy-Riemann local angle preservation, and harmonic conjugates. #### 5.1.1 — Complex Plane, Euler's Formula & Phasor Geometry - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/complex-functions-conformal/euler-formula-complex-plane - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D + 3D - **Summary:** See multiplication by r e^(iθ) as simultaneous radial scaling and rotation in the Argand plane. - **Engineering Context:** AC impedance phasor networks, quadrature RF I/Q modulation, quantum probability-amplitude phase evolution, and damping/oscillation envelopes. - **Prerequisites:** 1.4.2 - **Key Equations (LaTeX):** `e^{i\theta} = \cos\theta + i\sin\theta` | `z_1 z_2 = r_1 r_2 e^{i(\theta_1 + \theta_2)}` - **Guiding Question:** Why does imaginary exponentiation e^{iωt} produce circles and waves instead of blowing up like e^{σt}—and what does multiplying complex numbers look like geometrically? - **Formalization Formula:** `e^{(\sigma + i\omega)t} = e^{\sigma t}(\color{#8D9FCE}{\cos\omega t} + i\,\color{#96B898}{\sin\omega t}), \qquad z_1 z_2 = r_1 r_2 e^{i(\theta_1 + \theta_2)}` - **Edge Cases & Next Bridge:** Setting σ = 0 confines the spiral onto a constant cylinder; negative σ decays inward toward stability. Next, letting the full 2D plane transform under w = f(z) introduces Analyticity & Harmonic Conjugates in Chapter 5.1.2. - **Interactive Laboratories:** - **3D Complex Exponential Helix (t, Re, Im) & Phasor Lab** [2D + 3D]: Project the 3D helix e^(iωt) onto real cos(ωt) and imaginary sin(ωt) walls. (Formula: `e^{(\sigma + i\omega)t} = e^{\sigma t}(\cos\omega t + i\sin\omega t)`) #### 5.1.2 — Complex Limits, Analyticity, Cauchy-Riemann & Harmonic Conjugates - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/complex-functions-conformal/cauchy-riemann-conformal - **Status:** published | **Estimated Time:** 35 min | **Mode:** Dual 2D - **Summary:** Test directional complex limits, verify Cauchy–Riemann equations, build harmonic conjugates via Milne–Thomson, and morph conformal grids. - **Engineering Context:** Joukowski airfoil aerodynamics, electrostatic Laplace boundary-value mapping, 2D incompressible potential flow streamlines, and microwave waveguide design. - **Prerequisites:** 3.2.4, 5.1.1 - **Key Equations (LaTeX):** `f(x+iy) = u(x,y) + i\,v(x,y)` | `\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \qquad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}` - **Guiding Question:** Out of all smooth 2D coordinate maps (u(x,y), v(x,y)), what extraordinary algebraic symmetry makes a function complex-differentiable, harmonic, and angle-preserving all at once? - **Formalization Formula:** `\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \qquad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x} \;\Longrightarrow\; \nabla^2 u = 0,\; \nabla u \cdot \nabla v = 0` - **Edge Cases & Next Bridge:** Pointwise differentiability at z = 0 alone (like |z|²) is NOT enough for analyticity—differentiability must hold on an open disk! Module 5.2 next builds complex line and contour integration. - **Interactive Laboratories:** - **Directional Complex Limits, Analyticity & Milne–Thomson Lab** [Dual 2D]: Compare ray-dependent quotients (|z|², z̄, z̄/z) against analytic z² and plot orthogonal harmonic conjugates. (Formula: `\nabla^2 u = 0, \quad f'(z) = \phi_1(z, 0) - i\phi_2(z, 0)`) - **Conformal Mapping Grid Morpher (z², e^z, 1/z, Joukowski)** [Dual 2D]: Verify 90° angle preservation between level curves of u(x,y) and v(x,y). (Formula: `f'(z) = u_x + i v_x \ne 0`) ### Module 5.2: Contour Integration, Laurent Series & Residues (https://wanna-math.vercel.app/transforms-complex-analysis/contour-integration) Complex line integrals ∫_γ f(z) dz & path independence, Cauchy's Integral Theorem & n-th derivatives, Taylor/Laurent annular series, and Residue evaluation of real integrals. #### 5.2.1 — Complex Line Integrals, Path Independence & ML-Bound - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/contour-integration/complex-line-integrals-path-independence - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Compare open paths γ₁, γ₂, γ₃ from z_A to z_B to see why analytic integrands depend only on endpoints while z̄ depends on route. - **Engineering Context:** Electromagnetic complex potential drops, 2D vortex-free aerodynamic circulation, and large-arc decay estimates via the ML-inequality. - **Prerequisites:** 3.3.4, 5.1.2 - **Key Equations (LaTeX):** `\int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt` | `\left|\int_\gamma f(z)\,dz\right| \le M\,L` - **Guiding Question:** Why do three completely different routes from z_A to z_B give identical answers for z², e^z, and cos(z), yet diverge for z̄ and |z|²? - **Formalization Formula:** `\int_{z_A}^{z_B} f(z)\,dz = F(z_B) - F(z_A), \qquad \left|\int_\gamma f(z)\,dz\right| \le M\,L` - **Edge Cases & Next Bridge:** Closing two distinct paths into a single loop proves path independence is equivalent to ∮_C f(z) dz = 0 — unlocking Cauchy's Integral Theorem & Formula in Chapter 5.2.2. - **Interactive Laboratories:** - **Complex Line Integrals, Path Independence & ML-Inequality Lab** [2D]: Compare straight, parabolic, and polygonal integrals across analytic vs. non-analytic functions. (Formula: `\int_\gamma f(z)\,dz = F(z_B) - F(z_A)`) #### 5.2.2 — Cauchy's Integral Theorem, Integral Formula & Derivatives - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/contour-integration/cauchy-integral-formula - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Deform closed contours C in the z-plane to see why ∮ f(z) dz = 0 in analytic domains, recover f(z₀), and compute n-th derivatives from boundary loops. - **Engineering Context:** Nyquist stability criterion encirclement counts in feedback control, electromagnetic Biot–Savart complex potentials, and Liouville / Fundamental Theorem of Algebra proofs. - **Prerequisites:** 3.3.5, 5.2.1 - **Key Equations (LaTeX):** `\oint_{C} f(z)\,dz = 0, \qquad f^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_{C} \frac{f(z)}{(z - z_0)^{n+1}}\,dz` - **Guiding Question:** Why can you stretch and wiggle a closed contour C arbitrarily in the complex plane without changing ∮ f(z) dz—unless the loop crosses a singularity? - **Formalization Formula:** `\oint_{C} f(z)\,dz = 0 \;\text{(analytic inside }C\text{)}, \qquad f^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_{C} \frac{f(z)}{(z - z_0)^{n+1}}\,dz` - **Edge Cases & Next Bridge:** Because an analytic function is infinitely differentiable inside every pole-free disk, it admits exact Taylor disks and Laurent annular expansions in Chapter 5.2.3. - **Interactive Laboratories:** - **Interactive Contour Winding & Cauchy Integral Inspector** [2D]: Drag contour C across singularities and verify Cauchy's Integral Formula & n-th derivatives. (Formula: `\oint_C \frac{f(z)}{(z - z_0)^{n+1}}\,dz = \frac{2\pi i}{n!}f^{(n)}(z_0)`) #### 5.2.3 — Singularities, Taylor Series & Laurent Annular Expansions - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/contour-integration/singularities-taylor-laurent-series - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Classify removable, pole, and essential singularities, and expand rational functions across distinct concentric Taylor disks and Laurent annuli. - **Engineering Context:** Digital filter stability shells (Z-transform Laurent ROC), asymptotic multipole potential expansions, and transfer-function partial-fraction synthesis. - **Prerequisites:** 1.4.2, 5.2.2 - **Key Equations (LaTeX):** `f(z) = \sum_{n=0}^{\infty} a_n(z-z_0)^n + \sum_{n=1}^{\infty} b_n(z-z_0)^{-n}` - **Guiding Question:** Why do 1/((z−1)(z−2)) expansions jump completely across |z|<1, 1<|z|<2, and |z|>2 — and how wild does e^(1/z) get near z = 0? - **Formalization Formula:** `f(z) = \sum_{n=0}^{\infty} a_n(z-z_0)^n + \sum_{n=1}^{\infty} \frac{b_n}{(z-z_0)^n}` - **Edge Cases & Next Bridge:** Out of the entire Laurent series, the single coefficient b₁ = a₋₁ multiplies 1/(z − z₀) to survive contour integration — powering Chapter 5.2.4's Residue Theorem. - **Interactive Laboratories:** - **Taylor Disks, Multi-Region Laurent Annuli & Singularity Classifier** [2D]: Compare concentric series convergence regions and inspect removable, pole, and essential singularities. (Formula: `\operatorname{Res}(f, z_0) = b_1 = a_{-1}`) #### 5.2.4 — Residue Theorem & Evaluation of Real Integrals - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/contour-integration/poles-residue-theorem - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Sum local residues at enclosed poles inside a contour to evaluate real trigonometric, rational, and Fourier integrals effortlessly. - **Engineering Context:** Inverse Laplace Bromwich integration, quantum scattering amplitude poles, improper Fourier transform integrals, and trigonometric real definite integrals. - **Prerequisites:** 5.2.3 - **Key Equations (LaTeX):** `\oint_{C} f(z)\,dz = 2\pi i \sum_{k} \operatorname{Res}(f, z_k)` - **Guiding Question:** How can a single coefficient a₋₁ in the Laurent expansion around each pole collapse an entire boundary integral ∮ f(z) dz—and even solve real improper integrals ∫_{-∞}^∞ f(x) dx? - **Formalization Formula:** `\oint_{C} f(z)\,dz = 2\pi i \sum_{z_k \in \operatorname{int}(C)} \operatorname{Res}(f, z_k), \qquad \operatorname{Res}\!\left(f, z_0\right) = a_{-1}` - **Edge Cases & Next Bridge:** For higher-order poles of order m, pure 1/(z−z₀)^m loops integrate to 0 unless lower-order terms exist via derivatives of (z−z₀)^m f(z). Module 5.3 applies these poles directly to Laplace Transforms. - **Interactive Laboratories:** - **Complex Modulus Pole Surface |f(z)| & Residue Summing Lab** [2D + 3D]: Inspect 3D pole chimneys |f(z)| and enclose subsets of poles with contour C. (Formula: `\operatorname{Res}(f, z_0) = a_{-1}`) ### Module 5.3: Laplace Transforms & s-Plane Poles/Zeros (https://wanna-math.vercel.app/transforms-complex-analysis/laplace-transforms) Complex frequency s = σ + iω, 3D transfer function magnitude surfaces |F(s)|, Regions of Convergence, and impulse/step dynamics. #### 5.3.1 — The s-Plane Surface, Poles/Zeros & Region of Convergence - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/laplace-transforms/s-plane-poles-zeros - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Slice the 3D surface |F(σ + iω)| along the imaginary axis σ = 0 to reveal how nearby poles sculpt the frequency response. - **Engineering Context:** PID flight control root-locus tuning, analog/IIR Butterworth and Chebyshev filter synthesis, MEMS accelerometer damping, and RLC impedance analysis. - **Prerequisites:** 4.2.1, 5.1.1 - **Key Equations (LaTeX):** `F(s) = \mathcal{L}\{f(t)\} = \int_{0}^{\infty} f(t)e^{-st}\,dt, \qquad s = \sigma + i\omega` - **Guiding Question:** Where does the Bode frequency-response curve |H(iω)| come from geometrically—and why does a single pole crossing Re(s) > 0 destabilize an LTI system? - **Formalization Formula:** `F(s) = \mathcal{L}\{f(t)\} = \int_{0}^{\infty} f(t)e^{-(\sigma + i\omega)t}\,dt, \qquad \text{Stable} \iff \text{ROC} \supset i\omega` - **Edge Cases & Next Bridge:** Pulling σ_p → 0⁻ causes a needle-sharp resonant spike on the jω slice; pushing σ_p > 0 excludes the imaginary axis from the ROC so h(t) blows up. Next, Chapter 5.3.2 reveals why multiplying H(s)X(s) equals time-domain convolution. - **Interactive Laboratories:** - **3D s-Plane Pole-Zero Tent Surface & jω Bode Slicer** [2D + 3D]: Drag poles (×) and zeros (○) in the s-plane and inspect 3D |F(s)|, step response, and Bode plot. (Formula: `H(s) = K\frac{\prod (s - z_i)}{\prod (s - p_j)}`) #### 5.3.2 — Impulse Response, Step Response & Convolution Integral - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/laplace-transforms/impulse-response-convolution - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Slide flipped kernel h(t - τ) across input x(τ) to visualize the convolution integral (x * h)(t) step by step. - **Engineering Context:** Audio room-impulse reverb, camera Gaussian optical blur, matched radar pulse detection, and LTI circuit zero-state transient response. - **Prerequisites:** 5.3.1 - **Key Equations (LaTeX):** `(x * h)(t) = \int_{0}^{t} x(\tau)\,h(t - \tau)\,d\tau \;\longleftrightarrow\; X(s)H(s)` - **Guiding Question:** Why do we flip the impulse kernel backward in dummy time τ and slide it past t to compute the causal output of a linear time-invariant filter? - **Formalization Formula:** `(x * h)(t) = \int_{0}^{t} x(\tau)\,h(t - \tau)\,d\tau \;\longleftrightarrow\; Y(s) = X(s)H(s)` - **Edge Cases & Next Bridge:** When an input sharp step enters a first-order RC exponential kernel, corners smooth out cleanly into 1 − e^{-at}. Module 5.4 specializes this Laplace jω-axis slice into Fourier Series & Transforms. - **Interactive Laboratories:** - **Interactive Flip-and-Slide Convolution Accumulator** [2D]: Scrub time t to watch overlap area ∫ x(τ)h(t-τ) dτ trace the output waveform. (Formula: `y(t) = \int_0^t x(\tau)h(t-\tau)\,d\tau`) ### Module 5.4: Fourier Series & Fourier Transforms (https://wanna-math.vercel.app/transforms-complex-analysis/fourier-analysis) Orthogonal harmonic synthesis, Gibbs overshoot at discontinuities, and continuous time-frequency duality. #### 5.4.1 — Orthogonal Harmonics, Epicycles & Gibbs Phenomenon - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/fourier-analysis/fourier-series-gibbs - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Build square, sawtooth, and triangle waves from N sinusoids and inspect the 9% Gibbs overshoot near jump discontinuities. - **Engineering Context:** Digital audio harmonic synthesis, JPEG/MP3 spectral compression, JPEG blocking ringing artifacts, and structural harmonic resonance balancing. - **Prerequisites:** 1.3.1, 5.1.1 - **Key Equations (LaTeX):** `f(t) \sim \frac{a_0}{2} + \sum_{n=1}^{N} \big(a_n\cos(n\omega_0 t) + b_n\sin(n\omega_0 t)\big)` - **Guiding Question:** Why do sine and cosine harmonics form perpendicular basis axes for periodic signals—and why does a ~9% Gibbs spike refuse to vanish near sudden jumps? - **Formalization Formula:** `f(t) \sim \frac{a_0}{2} + \sum_{n=1}^{N} \big(a_n\cos(n\omega_0 t) + b_n\sin(n\omega_0 t)\big), \qquad \|f\|_2^2 = \text{Parseval}` - **Edge Cases & Next Bridge:** Notice that continuous Triangle waves decay at O(1/n²) with zero Gibbs overshoot, whereas jump-discontinuous Square waves decay at O(1/n) and lock at ~8.95% peak overshoot. Chapter 5.4.2 opens the period T → ∞ to reach the continuous Fourier Transform. - **Interactive Laboratories:** - **Fourier Harmonic Synthesizer, Spectrum & Gibbs Inspector** [2D]: Scrub harmonic count N ∈ [1, 50] and inspect orthogonal inner-product coefficients. (Formula: `c_n = \frac{1}{T}\int_0^T f(t)e^{-in\omega_0 t}\,dt`) #### 5.4.2 — Continuous Fourier Transform & Time-Frequency Uncertainty - **URL:** https://wanna-math.vercel.app/transforms-complex-analysis/fourier-analysis/fourier-transform-spectra - **Status:** published | **Estimated Time:** 30 min | **Mode:** Dual 2D - **Summary:** Wrap signal f(t) around the origin in the complex plane at winding frequency ω to see why narrow pulses have wide spectra. - **Engineering Context:** 5G OFDM spectrum allocation, radar chirp Doppler resolution, MRI k-space image reconstruction, and quantum Heisenberg position-momentum duality. - **Prerequisites:** 5.4.1 - **Key Equations (LaTeX):** `\hat{f}(\omega) = \int_{-\infty}^{\infty} f(t)e^{-i\omega t}\,dt` | `\Delta t \cdot \Delta \omega \ge \frac{1}{2}` - **Guiding Question:** How does winding a continuous signal f(t) around the complex origin detect hidden frequencies—and why does squeezing a pulse narrower in time force its spectrum wider? - **Formalization Formula:** `\hat{f}(\omega) = \int_{-\infty}^{\infty} f(t)e^{-i\omega t}\,dt, \qquad \Delta t \cdot \Delta \omega \ge \frac{1}{2}` - **Edge Cases & Next Bridge:** This completes Volume V (Transforms & Complex Analysis)! From Euler helices and Cauchy residues to Laplace s-planes and Fourier duality, time and frequency now form one unified lens. - **Interactive Laboratories:** - **Complex Winding Machine & Time-Bandwidth Duality Lab** [Dual 2D]: Track center-of-mass of f(t)e^(-iωt) as winding frequency ω sweeps. (Formula: `\mathcal{F}\{f(a t)\} = \frac{1}{|a|}\hat{f}\!\left(\frac{\omega}{a}\right)`) --- ## Volume VI: Probability, Statistics & Numerical Methods (https://wanna-math.vercel.app/probability-numerical-methods) Stochastic modeling and computational engineering mathematics: continuous probability densities, bivariate joint distributions, covariance ellipses, Jacobi/Gauss–Seidel linear solvers, transcendental root finding, finite-difference/Lagrange interpolation, Gauss–Legendre quadrature, and Runge–Kutta ODE solvers. - **Engineering Applications:** Reliability Engineering, Sensor Noise & Kalman Filtering, Monte Carlo Simulation & Uncertainty Quantification, Gauss-Legendre Quadrature in Finite Element Stiffness Integration, Runge-Kutta (RK4) Trajectory Simulation & Stability ### Module 6.1: Engineering Probability & Joint Distributions (https://wanna-math.vercel.app/probability-numerical-methods/probability-distributions) Continuous PDFs and CDFs as definite integrals, bivariate joint density surfaces f(x,y), marginal projections, and covariance ellipses. #### 6.1.1 — Continuous PDFs, CDFs & Expectation Integrals - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/probability-distributions/continuous-pdfs-cdfs - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Connect probability P(a ≤ X ≤ b) directly to the area under density f_X(x) and the height difference of F_X(x). - **Engineering Context:** Component MTBF reliability lifetimes (Weibull/Exponential), Gaussian thermal sensor noise bounds, and Bayesian Beta prior updating. - **Prerequisites:** 1.3.2 - **Key Equations (LaTeX):** `P(a \le X \le b) = \int_{a}^{b} f_X(x)\,dx = F_X(b) - F_X(a)` | `\mathbb{E}[X] = \int_{-\infty}^{\infty} x\,f_X(x)\,dx` - **Guiding Question:** If a single continuous outcome x has zero probability P(X = x) = 0, how does density f_X(x) determine interval probabilities—and why does F_X(b) − F_X(a) match the shaded area? - **Formalization Formula:** `P(a \le X \le b) = \int_{a}^{b} f_X(x)\,dx = F_X(b) - F_X(a), \qquad F'_X(x) = f_X(x)` - **Edge Cases & Next Bridge:** Skewed right-tail laws (Exponential & Weibull with k ≤ 1) pull E[X] above the peak mode; for joint multivariate noise, single curves expand into 3D surfaces in Chapter 6.1.2. - **Interactive Laboratories:** - **Synchronized PDF Area, CDF Curve & Moment Inspector** [2D]: Explore Gaussian, Weibull, and Exponential distributions with live mean μ and variance σ². (Formula: `F'_X(x) = f_X(x)`) #### 6.1.2 — Joint Bivariate Distributions, Marginalization & Covariance - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/probability-distributions/joint-bivariate-distributions - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D + 3D - **Summary:** Integrate 3D joint density surface f(x,y) along x or y to project marginal distributions onto coordinate walls and slice conditional densities. - **Engineering Context:** Kalman filter covariance prediction ellipsoids, radar (range, azimuth) correlated measurement fusion, and Gaussian Mixture anomaly detection. - **Prerequisites:** 2.3.2, 3.2.1, 6.1.1 - **Key Equations (LaTeX):** `f_X(x) = \int_{-\infty}^{\infty} f_{X,Y}(x,y)\,dy, \qquad f_{Y|X}(y|x) = \frac{f_{X,Y}(x,y)}{f_X(x)}` - **Guiding Question:** How does correlation ρ tilt a 3D joint probability bell—and why does observing X = x₀ both shift E[Y | x₀] and shrink remaining uncertainty σ_y²(1 − ρ²)? - **Formalization Formula:** `f_X(x) = \int_{-\infty}^{\infty} f_{X,Y}(x,y)\,dy, \qquad f_{Y|X}(y\mid x_0) = \frac{f_{X,Y}(x_0,y)}{f_X(x_0)}` - **Edge Cases & Next Bridge:** Notice that rotating ρ tilts the conditional mean E[Y | x₀] = ρ(σ_y/σ_x)x₀ without altering either marginal bell f_X or f_Y! Next, Module 6.2 computes linear systems, roots, interpolants, integrals, and ODE flows numerically. - **Interactive Laboratories:** - **3D Bivariate Gaussian Bell, Marginal Wall & Covariance Ellipse Lab** [2D + 3D]: Scrub correlation coefficient ρ ∈ (-1, 1) and slice conditional cross-sections. (Formula: `\Sigma = \begin{bmatrix} \sigma_x^2 & \rho\sigma_x\sigma_y \\ \rho\sigma_x\sigma_y & \sigma_y^2 \end{bmatrix}`) ### Module 6.2: Numerical Linear Solvers, Root-Finding, Interpolation & Quadrature (https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods) Jacobi and Gauss–Seidel linear iterations, Bisection, Regula Falsi, Fixed-Point & Newton–Raphson root solvers, finite-difference/Lagrange interpolation, Trapezoidal, Simpson's 1/3, Gauss–Legendre quadrature, and RK4 ODE stepping. #### 6.2.1 — Iterative Linear Solvers: Jacobi & Gauss–Seidel - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods/iterative-linear-solvers - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Compare simultaneous Jacobi updates against sequential Gauss–Seidel sweeps and test strict diagonal dominance. - **Engineering Context:** Large sparse finite-difference Poisson grids, power-grid load-flow iterative solvers, structural relaxation sweeps, and circuit nodal analysis. - **Prerequisites:** 2.1.4 - **Key Equations (LaTeX):** `x_i^{(k+1)} = \frac{1}{a_{ii}}\left(b_i - \sum_{j\neq i}a_{ij}x_j^{(k)}\right)` | `|a_{ii}| > \sum_{j\neq i}|a_{ij}|` - **Guiding Question:** Why does using fresh Gauss–Seidel coordinates cut error roughly twice as fast as Jacobi—and what happens when diagonal dominance fails? - **Formalization Formula:** `x_i^{(k+1)} = \frac{1}{a_{ii}}\Bigl(b_i - \sum_{ji}a_{ij}x_j^{(k)}\Bigr)` - **Edge Cases & Next Bridge:** Just as matrix splitting turns Ax = b into a contracting fixed point, Chapter 6.2.2 applies fixed-point iteration, bracketing, and tangent drops to nonlinear equations f(x) = 0. - **Interactive Laboratories:** - **Jacobi vs. Gauss–Seidel Convergence & Diagonal Dominance Lab** [2D]: Compare Jacobi and Gauss–Seidel trajectories, check row diagonal dominance, and track log₁₀ residual decay. (Formula: `\mathbf{x}^{(k+1)} = T\mathbf{x}^{(k)} + \mathbf{c}`) #### 6.2.2 — Transcendental Equations: Bisection, Regula Falsi, Fixed-Point & Newton–Raphson - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods/transcendental-root-finding - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Compare guaranteed bracketing methods against fixed-point cobwebs and quadratic Newton–Raphson tangent drops. - **Engineering Context:** Kepler orbital anomaly equations, Colebrook pipe friction roots, diode I–V nonlinear circuit operating points, and thermodynamic equations of state. - **Prerequisites:** 1.1.3, 1.2.2 - **Key Equations (LaTeX):** `|r - m_k| \le \frac{b_0 - a_0}{2^k}, \qquad x_{n+1} = g(x_n) \;(|g'(r)| < 1)` | `x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}` - **Guiding Question:** When can secant chords stall in Regula Falsi, why does rewriting x³ − x − 2 = 0 converge one way and diverge another, and how fast does Newton–Raphson lock on? - **Formalization Formula:** `c_k = \frac{a_k f(b_k) - b_k f(a_k)}{f(b_k) - f(a_k)}, \qquad x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}` - **Edge Cases & Next Bridge:** Once discrete roots and function values are tabulated, Chapter 6.2.3 builds polynomial interpolants through finite differences and Lagrange basis curves. - **Interactive Laboratories:** - **Bisection vs. Regula Falsi (False Position) Comparator** [2D]: Step through [a_k, b_k] brackets, secant intercepts, and convex Regula Falsi endpoint stagnation. (Formula: `c_k = \frac{a_k f(b_k) - b_k f(a_k)}{f(b_k) - f(a_k)}`) - **Fixed-Point Cobweb Diagrams & Newton–Raphson Explorer** [2D]: Test |g'(r)| < 1 vs. > 1 cobweb stability and custom f(x) Newton–Raphson tangent descent. (Formula: `x_{n+1} = g(x_n) \quad \text{vs.} \quad x_n - \frac{f(x_n)}{f'(x_n)}`) #### 6.2.3 — Finite Differences, Newton & Lagrange Interpolation - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods/finite-differences-interpolation - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Build forward/backward difference triangles, evaluate non-uniform Lagrange cardinal basis polynomials L_k(x), and bound remainder error. - **Engineering Context:** Steam/thermodynamic property table lookup, sensor calibration curves, CNC spline interpolation, and CFD staggered finite-difference stencils. - **Prerequisites:** 1.2.4, 6.2.2 - **Key Equations (LaTeX):** `P_n(x_0+uh) = y_0 + u\Delta y_0 + \frac{u(u-1)}{2!}\Delta^2 y_0 + \cdots` | `P_n(x) = \sum_{k=0}^{n} y_k\prod_{j\neq k}\frac{x-x_j}{x_k-x_j}` - **Guiding Question:** Why do truncated Newton Forward and Backward curves differ mid-table yet coincide at degree n—and why can high-degree uniform interpolation blow up near edges? - **Formalization Formula:** `P_n(x) = \sum_{k=0}^{n} y_k L_k(x), \qquad R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}\prod_{i=0}^{n}(x - x_i)` - **Edge Cases & Next Bridge:** Once discrete samples are interpolated by quadratics or cubics, integrating those local interpolants yields the Trapezoidal and Simpson's 1/3 quadrature rules in Chapter 6.2.4. - **Interactive Laboratories:** - **Finite Difference Table & Newton Forward/Backward Lab** [2D]: Edit equispaced tables to inspect Δᵏ/∇ᵏ diagonals, truncated degree behavior, and remainder bounds. (Formula: `u = \frac{x-x_0}{h}, \qquad v = \frac{x-x_n}{h}`) - **Lagrange Basis Polynomials Lₖ(x) & Non-Uniform Interpolant** [2D]: Verify L_k(x_j) = δ_{kj}, partition of unity Σ L_k(x) = 1, and non-uniform polynomial curves. (Formula: `L_k(x) = \prod_{j\neq k}\frac{x-x_j}{x_k-x_j}`) #### 6.2.4 — Trapezoidal, Simpson's & Gauss-Legendre Quadrature - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods/numerical-quadrature-error - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Compare equispaced Newton-Cotes rules against optimal Gauss-Legendre nodes that integrate degree-(2n-1) polynomials exactly. - **Engineering Context:** Finite-element stiffness matrix assembly, robotic trajectory arc-length computation, and aerospace aerodynamic pressure integration. - **Prerequisites:** 1.2.4, 1.3.1, 6.2.3 - **Key Equations (LaTeX):** `\int_{-1}^{1} f(x)\,dx \approx \sum_{i=1}^{n} w_i\,f(x_i)` - **Guiding Question:** Why can just n = 3 optimally placed Gauss–Legendre nodes integrate every degree-5 polynomial to machine precision, while equispaced Trapezoidal panels stall at O(h²)? - **Formalization Formula:** `\int_{-1}^{1} f(x)\,dx \approx \sum_{i=1}^{n} w_i\,f(x_i), \qquad P_n(x_i) = 0` - **Edge Cases & Next Bridge:** Select Polynomial Degree 5 and slide N = 2 → 3 under Gauss–Legendre to witness an instantaneous plunge to 10⁻¹³! Next, carry Simpson's midpoint insight into ODE stepping. - **Interactive Laboratories:** - **Midpoint, Trapezoidal, Simpson & Gauss-Legendre Error Lab** [2D]: Compare piecewise linear, parabolic, and Legendre-node approximations and log-log error slope. (Formula: `E_{\text{Simpson}} = O(h^4), \quad E_{\text{Gauss}} = O(h^{2n})`) #### 6.2.5 — Euler, Heun & Runge-Kutta (RK4) Trajectory Stepping - **URL:** https://wanna-math.vercel.app/probability-numerical-methods/numerical-methods/runge-kutta-ode-solvers - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Inspect the four intermediate slope probes (k₁, k₂, k₃, k₄) inside a single step h to see how RK4 achieves fourth-order accuracy. - **Engineering Context:** Orbital propagator integration, flight dynamics simulation, autonomous vehicle MPC rollouts, and thermal transient circuit solvers. - **Prerequisites:** 4.1.1, 6.2.4 - **Key Equations (LaTeX):** `y_{n+1} = y_n + \frac{h}{6}(k_1 + 2k_2 + 2k_3 + k_4)` - **Guiding Question:** Why does Euler drift rapidly off curved trajectories—and how do four intermediate slope probes (k₁, k₂, k₃, k₄) with weights (1, 2, 2, 1)/6 achieve O(h⁴) global accuracy? - **Formalization Formula:** `y_{n+1} = y_n + \frac{h}{6}(k_1 + 2k_2 + 2k_3 + k_4)` - **Edge Cases & Next Bridge:** Test the Stiff Relaxation preset near h = 0.75: Forward Euler crosses 2/|λ| and oscillates violently while RK4 tracks the decaying solution—closing all 6 textbook volumes! - **Interactive Laboratories:** - **Euler vs. Heun vs. RK4 Slope Probe Magnifier** [2D]: Adjust step size h and zoom into a single time step [t_n, t_n + h] to compare k₁, k₂, k₃, k₄. (Formula: `k_1 = f(t_n, y_n),\; k_2 = f(t_n + \tfrac{h}{2}, y_n + \tfrac{h}{2}k_1)`) --- ## Volume S: Interactive Statistics: Foundations to Inference (https://wanna-math.vercel.app/statistics) A complete first-principles journey through statistics: from visualizing raw data, center, and spread to probability axioms, Bayes' theorem, the Central Limit Theorem, confidence intervals, hypothesis testing, ANOVA, regression, and Bayesian inference. - **Engineering Applications:** Exploratory Data Analysis (EDA), Quality Control & Anomaly Detection, A/B Testing, Experimental Power & Clinical/Product Decision Theory, Signal-to-Noise Decomposition (ANOVA), Regression & Regularization, Bayesian Belief Updating & Nonparametric Bootstrap Uncertainty ### Module S.1: Descriptive Statistics & Exploratory Data Analysis (https://wanna-math.vercel.app/statistics/descriptive-statistics) Learn how to see the story hidden in raw numbers: classifying data types, choosing honest histogram bins, balancing center against outliers, and measuring spread with IQR and Bessel-corrected variance. #### S.1.1 — Data Types, Histograms, Binning & Empirical Distributions - **URL:** https://wanna-math.vercel.app/statistics/descriptive-statistics/data-types-histograms-eda - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Turn a messy list of raw measurements into a clear visual shape—and see how bin width and density scaling shape what your eyes notice. - **Engineering Context:** Manufacturing tolerance histograms, web-latency distribution profiling, and identifying multimodal regimes before fitting any model. - **Key Equations (LaTeX):** `\text{Density}_j = \frac{\text{Count}_j}{n \cdot \Delta x}, \qquad \sum_{j=1}^{k} (\text{Density}_j \cdot \Delta x) = 1` | `\hat{f}_h(x) = \frac{1}{n h} \sum_{i=1}^{n} K\!\left(\frac{x - x_i}{h}\right)` - **Guiding Question:** If someone hands you 100 raw test scores or response times, why does staring at a table fail—and how can changing a histogram's bin width either reveal a hidden second peak or create fake spikes? - **Formalization Formula:** `\text{Density}_j = \frac{n_j}{n \cdot \Delta x}, \qquad \sum_{j=1}^{k} \text{Density}_j \cdot \Delta x = 1` - **Edge Cases & Next Bridge:** Very wide bins hide bimodal peaks, while ultra-narrow bins turn noise into jagged teeth. Once you can see a distribution's shape, Chapter S.1.2 asks: which single number best marks its center? - **Interactive Laboratories:** - **Interactive Histogram Binning, Density & KDE Shape Explorer** [2D]: Add or inspect sample observations, scrub bin count k ∈ [3, 24] and KDE bandwidth h, and compare count histograms, area-1 density histograms, and cumulative ogives. (Formula: `\text{Area}_j = \text{Density}_j \cdot \Delta x = \frac{n_j}{n}`) #### S.1.2 — Measures of Center: Mean, Median, Mode & Outlier Leverage - **URL:** https://wanna-math.vercel.app/statistics/descriptive-statistics/central-tendency-mean-median-mode - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** See the arithmetic mean as a physical balance fulcrum on a seesaw—and discover why a single extreme outlier drags the mean while leaving the median unmoved. - **Engineering Context:** Why household income, housing prices, and server latency SLAs rely on medians and trimmed means instead of raw arithmetic averages. - **Prerequisites:** S.1.1 - **Key Equations (LaTeX):** `\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i \quad\Longleftrightarrow\quad \sum_{i=1}^{n}(x_i - \bar{x}) = 0` | `L_2(c) = \sum_{i=1}^{n}(x_i - c)^2 \;\text{(Mean)}, \qquad L_1(c) = \sum_{i=1}^{n}|x_i - c| \;\text{(Median)}` - **Guiding Question:** If a billionaire walks into a coffee shop of 20 students, everyone's 'average' net worth jumps into the millions—yet nobody got richer. Why is the mean so vulnerable, while the median stays calm? - **Formalization Formula:** `\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i = \arg\min_{c} \sum_{i=1}^{n}(x_i - c)^2, \qquad \text{Med} = \arg\min_{c} \sum_{i=1}^{n}|x_i - c|` - **Edge Cases & Next Bridge:** In right-skewed data, the tail pulls Mean > Median > Mode. Yet two neighborhoods can share the exact same Mean and Median while having wildly different spreads—leading directly to Chapter S.1.3. - **Interactive Laboratories:** - **Center-of-Mass Seesaw & L1/L2 Loss Minimizer Lab** [2D]: Drop weights onto a physical balance beam, drag an outlier to watch lever-arm torque shift the mean, and compare L2 squared error vs. L1 absolute error. (Formula: `\sum_{i=1}^{n} (x_i - \bar{x}) = 0`) #### S.1.3 — Spread, Variance (n − 1 Bessel's Correction), Boxplots & Skewness - **URL:** https://wanna-math.vercel.app/statistics/descriptive-statistics/dispersion-variance-iqr-boxplots - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Measure consistency and risk with deviation squares, interquartile boxplots, and a live sampling simulator proving why sample variance divides by n − 1. - **Engineering Context:** Six-Sigma process capability, sensor noise standard deviation, financial return volatility, and automated IQR outlier flagging. - **Prerequisites:** S.1.1, S.1.2 - **Key Equations (LaTeX):** `s^2 = \frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2, \qquad s = \sqrt{s^2}` | `\text{Outliers}: \; x < Q_1 - 1.5\,\text{IQR} \;\lor\; x > Q_3 + 1.5\,\text{IQR}` - **Guiding Question:** Why can't we just average the signed distances (xᵢ − x̄) to measure spread—and why do textbooks insist on dividing sample variance by n − 1 instead of n? - **Formalization Formula:** `s^2 = \frac{1}{n - 1}\sum_{i=1}^{n}(x_i - \bar{x})^2, \qquad \text{IQR} = Q_3 - Q_1` - **Edge Cases & Next Bridge:** Sample mean x̄ hugs its own sample slightly closer than the true population μ, shrinking ∑(xᵢ − x̄)² by (n−1)/n on average. With descriptive summaries mastered, Module S.2 builds the probability laws behind random data. - **Interactive Laboratories:** - **Deviation Squares, Tukey Boxplot & Bessel (n − 1) Simulator** [2D]: Visualize variance as literal average square area alongside a 1.5×IQR boxplot, then simulate repeated samples to watch 1/(n−1) eliminate bias. (Formula: `\mathbb{E}\!\left[\frac{1}{n-1}\sum_{i=1}^{n}(X_i - \bar{X})^2\right] = \sigma^2`) ### Module S.2: Probability Foundations, Bayes' Theorem & Discrete Laws (https://wanna-math.vercel.app/statistics/probability-foundations-discrete) Build probability from visual area and set logic: Kolmogorov's axioms, why disjoint ≠ independent, Bayes' belief updating with frequency grids, and Binomial/Poisson counting laws. #### S.2.1 — Sample Spaces, Events, Set Operations & Kolmogorov Axioms - **URL:** https://wanna-math.vercel.app/statistics/probability-foundations-discrete/sample-spaces-venn-axioms - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** See probability as normalized area inside a unit sample space—and resolve the classic confusion between mutually exclusive and independent events. - **Engineering Context:** Fault-tree reliability for redundant aircraft sensors and parallel vs. series system failure probabilities. - **Prerequisites:** S.1.1 - **Key Equations (LaTeX):** `P(A \cup B) = P(A) + P(B) - P(A \cap B)` | `P(A^c) = 1 - P(A), \qquad P(\Omega) = 1` - **Guiding Question:** If two events A and B can never happen at the same time (disjoint), does that make them independent—or maximally dependent? - **Formalization Formula:** `P(A \cup B) = P(A) + P(B) - P(A \cap B), \qquad A \perp B \iff P(A \cap B) = P(A)P(B)` - **Edge Cases & Next Bridge:** Whenever P(A) > 0 and P(B) > 0, disjointness forces P(A ∩ B) = 0 ≠ P(A)P(B): knowing A happened guarantees B did NOT! Next, Chapter S.2.2 formalizes how new evidence updates probability. - **Interactive Laboratories:** - **Unit-Area Venn Sample Space & Independence Lab** [2D]: Manipulate event areas and overlaps to test set algebra, Inclusion–Exclusion, and independence vs. disjointness. (Formula: `P(A \cap B) = P(A)P(B)`) #### S.2.2 — Conditional Probability, Tree Diagrams & Bayes' Theorem Intuition - **URL:** https://wanna-math.vercel.app/statistics/probability-foundations-discrete/conditional-probability-bayes-theorem - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Watch conditioning shrink the entire universe to what actually happened—and see why rare conditions make positive tests surprising. - **Engineering Context:** Medical diagnostics, email spam classification, sensor anomaly filtering, and forensic evidence evaluation. - **Prerequisites:** S.2.1 - **Key Equations (LaTeX):** `P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \qquad P(H \mid E) = \frac{P(E \mid H)P(H)}{P(E)}` - **Guiding Question:** If a medical test is 95% accurate and you test positive for a 1%-prevalence condition, why is your real chance of having it nowhere near 95%? - **Formalization Formula:** `P(H \mid E) = \frac{P(E \mid H)P(H)}{P(E \mid H)P(H) + P(E \mid H^c)P(H^c)}` - **Edge Cases & Next Bridge:** Base-rate neglect confuses P(E|H) with P(H|E). Next, Chapter S.2.3 tracks discrete counts and waiting times generated by repeated random trials. - **Interactive Laboratories:** - **1,000-Person Frequency Grid & Bayes' Tree Explorer** [2D]: Visualize prior prevalence, true positives, and false positives as concrete counts in a unit square and probability tree. (Formula: `P(H \mid E) = \frac{\text{True Positives}}{\text{All Positives}}`) #### S.2.3 — Discrete Random Variables: Bernoulli, Binomial, Geometric & Poisson - **URL:** https://wanna-math.vercel.app/statistics/probability-foundations-discrete/discrete-distributions-binomial-poisson - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Drop balls through a Galton pegboard to connect coin flips, waiting times, and rare-event Poisson arrivals. - **Engineering Context:** Packet loss bursts, manufacturing defect counts, radioactive decay arrivals, and A/B conversion counts. - **Prerequisites:** S.2.1, S.2.2 - **Key Equations (LaTeX):** `P(X = k) = \binom{n}{k}p^k(1-p)^{n-k}, \qquad P(Y = k) = \frac{\lambda^k e^{-\lambda}}{k!}` - **Guiding Question:** How do simple yes/no coin flips build the Binomial bell—and why does Binomial morph seamlessly into the Poisson law when trials are huge and events are rare? - **Formalization Formula:** `P(X = k) = \binom{n}{k}p^k(1-p)^{n-k} \xrightarrow{n\to\infty,\; np=\lambda} \frac{\lambda^k e^{-\lambda}}{k!}` - **Edge Cases & Next Bridge:** Discrete PMFs assign probability to individual spikes; in Module S.3, smooth continuous measurements replace bars with curves and reveal the Central Limit Theorem. - **Interactive Laboratories:** - **Galton Pegboard, Binomial & Poisson Limit Lab** [2D]: Animate Galton board drops and compare theoretical PMFs and step-CDFs across Bernoulli, Binomial, Geometric, and Poisson laws. (Formula: `\mathbb{E}[X] = np, \quad \operatorname{Var}(X) = np(1-p)`) ### Module S.3: Continuous Laws, Sampling & The Central Limit Theorem (https://wanna-math.vercel.app/statistics/sampling-central-limit-theorem) Bridge raw samples to universal sampling laws: Z-scores and Q-Q normality diagnostics, animated LLN and Central Limit Theorem convergence, and exact t, χ², and F distributions. #### S.3.1 — The Normal Bell Curve, Z-Scores, 68–95–99.7 Rule & Q-Q Plots - **URL:** https://wanna-math.vercel.app/statistics/sampling-central-limit-theorem/normal-distribution-z-scores-68-95-997 - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Turn any Normal measurement into unitless standard deviations from the mean—and learn to spot fat tails or skew on a Q-Q plot. - **Engineering Context:** Standardized grading, sensor calibration tolerances, process capability indices, and normality residual diagnostics. - **Prerequisites:** S.1.3, S.2.3 - **Key Equations (LaTeX):** `Z = \frac{X - \mu}{\sigma}, \qquad f(x) = \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}((x-\mu)/\sigma)^2}` - **Guiding Question:** How can one universal Z-table answer probabilities for SAT scores, bolt diameters, and human heights—and how do Q-Q plots warn us when data isn't Normal at all? - **Formalization Formula:** `Z = \frac{X - \mu}{\sigma} \sim \mathcal{N}(0, 1), \qquad P(|X-\mu| \le k\sigma) \approx 68.3\%,\; 95.4\%,\; 99.7\%` - **Edge Cases & Next Bridge:** Real-world measurements are often skewed—yet Chapter S.3.2 reveals why their sample averages still converge to a Normal bell! - **Interactive Laboratories:** - **Standardization (X ↔ Z) & Normal Q-Q Plot Lab** [2D]: Explore the 68-95-99.7 rule, map raw intervals to Z-scores, and read S-curves and bends on an interactive Normal Q-Q diagnostic plot. (Formula: `Z = \frac{X - \mu}{\sigma}`) #### S.3.2 — The Law of Large Numbers (LLN) & The Central Limit Theorem (CLT) - **URL:** https://wanna-math.vercel.app/statistics/sampling-central-limit-theorem/law-of-large-numbers-central-limit-theorem - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Watch sample averages from skewed, uniform, and U-shaped populations morph into a tight Gaussian bell at speed 1/√n. - **Engineering Context:** Why Monte Carlo estimates converge, why election polling margins shrink with √n, and why sum-of-errors noise looks Gaussian. - **Prerequisites:** S.1.2, S.3.1 - **Key Equations (LaTeX):** `\operatorname{SE}(\bar{X}) = \frac{\sigma}{\sqrt{n}}, \qquad \bar{X}_n \approx \mathcal{N}\!\left(\mu,\; \frac{\sigma^2}{n}\right)` - **Guiding Question:** If individual wait times are heavily right-skewed, why do the averages of 30 wait times suddenly line up in a symmetric bell curve? - **Formalization Formula:** `\bar{X}_n \xrightarrow{p} \mu \;(\text{LLN}), \qquad \frac{\bar{X}_n - \mu}{\sigma/\sqrt{n}} \xrightarrow{d} \mathcal{N}(0, 1) \;(\text{CLT})` - **Edge Cases & Next Bridge:** To cut Standard Error σ/√n in half, you must quadruple sample size n! Next, Chapter S.3.3 shows what happens when σ itself is unknown and must be estimated from the sample. - **Interactive Laboratories:** - **LLN Running Mean & Central Limit Theorem Sampling Animator** [2D]: Draw single or batched samples of size n from skewed and bimodal populations and watch sampling means tighten into N(μ, σ²/n). (Formula: `\operatorname{Var}(\bar{X}_n) = \frac{\sigma^2}{n}`) #### S.3.3 — Exact Sampling Distributions: Student's t, Chi-Square (χ²) & Fisher's F - **URL:** https://wanna-math.vercel.app/statistics/sampling-central-limit-theorem/sampling-distributions-student-t-chi2-f - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** See how Student's t, χ², and F emerge naturally by combining standard Normal draws when estimating means and variances. - **Engineering Context:** Small-sample calibration tests (t), goodness-of-fit & variance intervals (χ²), and ANOVA/regression F-ratios. - **Prerequisites:** S.1.3, S.3.2 - **Key Equations (LaTeX):** `t_\nu = \frac{\bar{X} - \mu}{S/\sqrt{n}}, \qquad \chi^2_{n-1} = \frac{(n-1)S^2}{\sigma^2}` - **Guiding Question:** Why did William Gosset ('Student') discover wider tails when dividing (x̄ − μ) by s/√n instead of σ/√n—and how do χ² and F arise from squaring Normal errors? - **Formalization Formula:** `\chi^2_k = \sum_{i=1}^{k} Z_i^2, \qquad t_\nu = \frac{Z}{\sqrt{\chi^2_\nu/\nu}}, \qquad F_{d_1,d_2} = \frac{\chi^2_{d_1}/d_1}{\chi^2_{d_2}/d_2}` - **Edge Cases & Next Bridge:** As ν → ∞, sample s locks onto σ and Student's t merges seamlessly into N(0,1). With all sampling distributions in place, Module S.4 enters Statistical Inference. - **Interactive Laboratories:** - **Student's t, Chi-Square (χ²) & Fisher's F Generator Lab** [2D]: Adjust degrees of freedom (ν, k, d₁, d₂) and generate live Normal draws to build empirical t, χ², and F sampling distributions. (Formula: `t_\nu \xrightarrow{\nu\to\infty} \mathcal{N}(0,1)`) ### Module S.4: Statistical Inference: Estimation, Confidence Intervals & Hypothesis Testing (https://wanna-math.vercel.app/statistics/statistical-inference) Use partial sample data to reason backwards about unknown populations: Maximum Likelihood Estimation, Bias–Variance tradeoffs, Confidence Interval coverage, p-values, and Statistical Power. #### S.4.1 — Point Estimation, Maximum Likelihood (MLE) & The Bias–Variance Tradeoff - **URL:** https://wanna-math.vercel.app/statistics/statistical-inference/point-estimation-mle-bias-variance - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Flip probability around: hold the observed data fixed, slide candidate parameters, and climb the Log-Likelihood peak. - **Engineering Context:** Parameter fitting in reliability life testing, logistic/neural cross-entropy loss, and Kalman estimation. - **Prerequisites:** S.3.2 - **Key Equations (LaTeX):** `\ell(\theta) = \sum_{i=1}^{n}\ln f(x_i \mid \theta), \qquad \operatorname{MSE}(\hat{\theta}) = \operatorname{Bias}(\hat{\theta})^2 + \operatorname{Var}(\hat{\theta})` - **Guiding Question:** When data is already collected, what makes one guess for an unknown parameter better than another—and why can a slightly biased estimator beat an unbiased one? - **Formalization Formula:** `\hat{\theta}_{\text{MLE}} = \arg\max_{\theta} \sum_{i=1}^{n} \ln f(x_i \mid \theta), \qquad \operatorname{MSE}(\hat{\theta}) = \operatorname{Bias}^2 + \operatorname{Var}` - **Edge Cases & Next Bridge:** A single point estimate hides how uncertain it is. Chapter S.4.2 wraps every estimate in a calibrated Confidence Interval. - **Interactive Laboratories:** - **Interactive Likelihood Climber & Bias–Variance Dartboard** [2D]: Slide model parameters to maximize log-likelihood ℓ(θ) over sample points and visualize MSE = Bias² + Variance. (Formula: `\ell(\theta) = \ln L(\theta)`) #### S.4.2 — Confidence Intervals: Z vs. t Intervals, Margin of Error & Coverage - **URL:** https://wanna-math.vercel.app/statistics/statistical-inference/confidence-intervals-coverage - **Status:** published | **Estimated Time:** 25 min | **Mode:** 2D - **Summary:** Run 100 repeated experiments at once to see what '95% confidence' truly means—it is the intervals that dance around fixed μ, not vice versa. - **Engineering Context:** Polling error bars (±3%), manufacturing tolerance bounds, and A/B uplift uncertainty intervals. - **Prerequisites:** S.3.3, S.4.1 - **Key Equations (LaTeX):** `\text{CI}_{1-\alpha} = \bar{x} \pm t_{\alpha/2,\, n-1}\frac{s}{\sqrt{n}}` - **Guiding Question:** Does a 95% confidence interval mean there is a 95% probability that μ jumps inside your specific interval—or something subtly deeper about the sampling procedure? - **Formalization Formula:** `\bar{x} \pm t_{\alpha/2,\, n-1}\frac{s}{\sqrt{n}}` - **Edge Cases & Next Bridge:** Tight intervals estimate effects accurately; next, Chapter S.4.3 tests sharp yes/no scientific claims using p-values and Statistical Power. - **Interactive Laboratories:** - **100-Sample Confidence Interval Coverage Simulator** [2D]: Simulate 100 random confidence intervals simultaneously to observe empirical coverage rate, Z vs. t width, and 1/√n scaling. (Formula: `P(\bar{X} - \text{ME} \le \mu \le \bar{X} + \text{ME}) = 1 - \alpha`) #### S.4.3 — Hypothesis Testing, p-Values, Type I/II Errors & Statistical Power - **URL:** https://wanna-math.vercel.app/statistics/statistical-inference/hypothesis-testing-p-values-power - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Balance false alarms (α) against missed discoveries (β) on overlapping H₀ and H₁ bells—and cure the #1 p-value misconception forever. - **Engineering Context:** Clinical trial sample-size calculation, quality defect alarms, and digital experiment stopping rules. - **Prerequisites:** S.4.2 - **Key Equations (LaTeX):** `\alpha = P(\text{Type I Error}), \qquad \beta = P(\text{Type II Error}), \qquad \text{Power} = 1 - \beta` - **Guiding Question:** If you get p = 0.03, does that mean there is a 3% chance the null hypothesis is true—and why can an underpowered study miss a real cure half the time? - **Formalization Formula:** `p = P(|\bar{X} - \mu_0| \ge |\bar{x}_{\text{obs}} - \mu_0| \mid H_0), \qquad \text{Power} = 1 - \beta = P(\text{Reject } H_0 \mid H_1)` - **Edge Cases & Next Bridge:** Statistical significance (small p) ≠ large practical effect when n is huge. Module S.5 extends these tests to comparing two groups, tables, and multiple treatments. - **Interactive Laboratories:** - **Dual-Curve H₀ vs. H₁ p-Value & Statistical Power Lab** [2D]: Click observed statistics to shade exact one/two-tailed p-values and inspect Type I (α), Type II (β), and Power (1−β) dynamically. (Formula: `\text{Power} = 1 - \beta`) ### Module S.5: Comparing Groups, Categorical Tests, Simpson's Paradox & ANOVA (https://wanna-math.vercel.app/statistics/group-comparisons-anova) Move from single samples to real comparative experiments: Paired vs. Welch's two-sample t-tests, Chi-Square tables, confounding reversals in Simpson's Paradox, and Variance Decomposition (ANOVA). #### S.5.1 — Comparing Two Groups: Paired vs. Independent Welch's t-Tests & Cohen's d - **URL:** https://wanna-math.vercel.app/statistics/group-comparisons-anova/two-sample-tests-paired-welch - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** See how pairing before-and-after measurements cancels subject-to-subject noise—and why Welch's test outperforms equal-variance pooling. - **Engineering Context:** A/B web conversion experiments, before/after medical treatments, and fuel-additive engine comparisons. - **Prerequisites:** S.4.3 - **Key Equations (LaTeX):** `t_{\text{paired}} = \frac{\bar{d}}{s_d/\sqrt{n}}, \qquad t_{\text{Welch}} = \frac{\bar{X}_1 - \bar{X}_2}{\sqrt{s_1^2/n_1 + s_2^2/n_2}}` - **Guiding Question:** Why can a before-and-after paired experiment detect a tiny treatment shift that an unpaired two-group test completely misses? - **Formalization Formula:** `t_{\text{Welch}} = \frac{\bar{X}_1 - \bar{X}_2}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}, \qquad d = \frac{\bar{X}_1 - \bar{X}_2}{s_{\text{pooled}}}` - **Edge Cases & Next Bridge:** When outcomes are counts/categories rather than continuous numbers, Chapter S.5.2 introduces Chi-Square tables and the mind-bending Simpson's Paradox. - **Interactive Laboratories:** - **Paired Slopegraph & Independent Welch's t-Test Lab** [2D]: Compare paired difference cancellation against unpooled Welch two-sample t-tests, confidence intervals, and Cohen's d effect size. (Formula: `d = \frac{\bar{x}_1 - \bar{x}_2}{s_p}`) #### S.5.2 — Chi-Square Goodness-of-Fit, Contingency Tables & Simpson's Paradox - **URL:** https://wanna-math.vercel.app/statistics/group-comparisons-anova/chi-square-goodness-of-fit-independence - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Compare observed counts against expected independence—and witness how combining two departments can completely reverse a winning rate. - **Engineering Context:** Loaded die / Benford fraud checks, A/B categorical conversions, and confounding bias in observational studies. - **Prerequisites:** S.2.2, S.4.3 - **Key Equations (LaTeX):** `\chi^2 = \sum \frac{(O - E)^2}{E}, \qquad \text{df} = (r-1)(c-1)` - **Guiding Question:** How can Treatment A beat Treatment B inside BOTH mild and severe patient subgroups, yet lose to Treatment B when the hospital combines everyone together? - **Formalization Formula:** `\chi^2 = \sum_{i,j} \frac{(O_{ij} - E_{ij})^2}{E_{ij}}, \qquad E_{ij} = \frac{R_i C_j}{N}` - **Edge Cases & Next Bridge:** Observational totals without stratification hide confounding variables! Next, Chapter S.5.3 compares 3 or more continuous groups at once via One-Way ANOVA. - **Interactive Laboratories:** - **Chi-Square Contingency Cells & Simpson's Paradox Reverser** [2D]: Inspect (O − E)²/E cell contributions and dynamically reverse aggregated rates in Simpson's Paradox via subgroup weighting. (Formula: `\chi^2 = \sum \frac{(O_{ij} - E_{ij})^2}{E_{ij}}`) #### S.5.3 — One-Way ANOVA: Between vs. Within Variance & Multiple Comparisons - **URL:** https://wanna-math.vercel.app/statistics/group-comparisons-anova/one-way-anova-f-test-variance-decomposition - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Test whether 3+ group means differ by comparing signal variance between groups against background noise variance within groups. - **Engineering Context:** Multi-variant design optimization, agricultural yield trials, and material alloy strength comparisons. - **Prerequisites:** S.3.3, S.5.1 - **Key Equations (LaTeX):** `\sum_{i,j}(y_{ij} - \bar{y})^2 = \sum_i n_i(\bar{y}_i - \bar{y})^2 + \sum_{i,j}(y_{ij} - \bar{y}_i)^2` - **Guiding Question:** Why shouldn't we just run ten separate t-tests to compare 5 drugs—and why is a test of means literally named 'Analysis of Variance'? - **Formalization Formula:** `\text{SST} = \text{SSB} + \text{SSW}, \qquad F = \frac{\text{MSB}}{\text{MSW}} = \frac{\text{SSB}/(k-1)}{\text{SSW}/(N-k)}` - **Edge Cases & Next Bridge:** ANOVA detects group differences across discrete treatments; Module S.6 models continuous predictors with Regression, Regularization, and Bayesian updating. - **Interactive Laboratories:** - **ANOVA Between-vs-Within Variance & Multiple Testing Lab** [2D]: Manipulate group separation and within-group jitter to decompose SST = SSB + SSW and see why multiple t-tests inflate α. (Formula: `F = \frac{\text{Between-Group Variance}}{\text{Within-Group Variance}}`) ### Module S.6: Regression, Regularization, Bayesian Updating & Resampling (https://wanna-math.vercel.app/statistics/regression-bayesian-advanced) Connect classical statistics to modern data science: OLS geometric squared-residual fitting, Anscombe's warning, 3D multiple regression with Ridge/Lasso geometry, Bayesian conjugate updating, and Efron's Bootstrap. #### S.6.1 — Correlation (r), OLS Linear Regression, R² & Anscombe's Quartet - **URL:** https://wanna-math.vercel.app/statistics/regression-bayesian-advanced/correlation-ols-linear-regression - **Status:** published | **Estimated Time:** 30 min | **Mode:** 2D - **Summary:** Draw literal squared residuals to see what Least Squares minimizes—and load Anscombe's Quartet to prove why summary numbers never replace plotting. - **Engineering Context:** Sensor calibration curves, trend forecasting, and diagnosing nonlinear patterns or high-leverage anomalies in residuals. - **Prerequisites:** S.1.3, S.5.3 - **Key Equations (LaTeX):** `b_1 = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2} = r\frac{s_y}{s_x}, \qquad R^2 = r^2` - **Guiding Question:** What makes the OLS line the 'best' line through noisy points—and how can four wildly different scatterplots share the exact same mean, r, R², and regression equation? - **Formalization Formula:** `\hat{y} = b_0 + b_1 x, \quad b_1 = r\frac{s_y}{s_x}, \quad R^2 = 1 - \frac{\text{SSE}}{\text{SST}}` - **Edge Cases & Next Bridge:** One predictor is rarely enough in real engineering. Chapter S.6.2 lifts lines into 3D planes and reveals how Ridge and Lasso tame correlated predictors. - **Interactive Laboratories:** - **OLS Squared-Residual Fit, Residual Plot & Anscombe's Quartet Lab** [2D]: Click/drag points with visible squared residual boxes, compare confidence vs. prediction bands, and inspect all four Anscombe datasets. (Formula: `\min_{b_0,b_1} \sum_{i=1}^{n}(y_i - (b_0 + b_1 x_i))^2`) #### S.6.2 — Multiple Linear Regression (3D), Diagnostics & Ridge/Lasso Shrinkage - **URL:** https://wanna-math.vercel.app/statistics/regression-bayesian-advanced/multiple-regression-diagnostics-regularization - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D + 3D - **Summary:** Fit a 3D regression plane to two predictors and see geometrically why Lasso's L₁ diamond snaps coefficients to zero while Ridge's L₂ circle shrinks smoothly. - **Engineering Context:** Multivariable predictive modeling, multicollinearity prevention, feature selection, and preventing overfitting via cross-validation. - **Prerequisites:** 2.2.3, S.6.1 - **Key Equations (LaTeX):** `\hat{\boldsymbol{\beta}} = (X^T X)^{-1}X^T\mathbf{y}, \qquad \text{Ridge } (L_2) \text{ vs. Lasso } (L_1)` - **Guiding Question:** Why does adding correlated features blow up OLS weights—and why does changing β₁² + β₂² to |β₁| + |β₂| suddenly perform automatic feature selection? - **Formalization Formula:** `\hat{\boldsymbol{\beta}}_{\text{OLS}} = (X^T X)^{-1} X^T \mathbf{y}, \qquad \min_{\boldsymbol{\beta}} \|\mathbf{y} - X\boldsymbol{\beta}\|_2^2 + \lambda \|\boldsymbol{\beta}\|_p^p` - **Edge Cases & Next Bridge:** Regularization shrinks noisy estimates toward stability; our final chapter S.6.3 unites Bayesian prior-to-posterior updating with computer-age Bootstrap resampling. - **Interactive Laboratories:** - **3D Multiple Regression Plane & Ridge/Lasso Contour Lab** [2D + 3D]: Orbit a 3D OLS plane and watch elliptical RSS contours intersect L₂ circles (Ridge) vs. L₁ diamonds (Lasso) as λ grows. (Formula: `\|\mathbf{y} - X\boldsymbol{\beta}\|_2^2 + \lambda\|\boldsymbol{\beta}\|_1`) #### S.6.3 — Bayesian Conjugate Updating (Prior → Posterior) & Bootstrap Resampling - **URL:** https://wanna-math.vercel.app/statistics/regression-bayesian-advanced/bayesian-updating-bootstrap-mcmc - **Status:** published | **Estimated Time:** 35 min | **Mode:** 2D - **Summary:** Watch prior beliefs update smoothly into posteriors as new data arrives—and compute confidence intervals on messy data via computer resampling. - **Engineering Context:** Bayesian A/B testing, adaptive robotics belief filtering, and nonparametric confidence bounds on non-Gaussian telemetry. - **Prerequisites:** S.2.2, S.4.2, S.6.1 - **Key Equations (LaTeX):** `p(\theta \mid \text{data}) \propto p(\text{data} \mid \theta)\,p(\theta), \qquad \hat{\theta}^*_{(0.025)} \le \theta \le \hat{\theta}^*_{(0.975)}` - **Guiding Question:** How does Bayesian statistics treat parameters as evolving belief curves—and what do you do when you have a small skewed sample and zero closed-form formula for its standard error? - **Formalization Formula:** `\operatorname{Beta}(\alpha_0, \beta_0) \xrightarrow{k \text{ hits in } n} \operatorname{Beta}(\alpha_0 + k,\; \beta_0 + n - k)` - **Edge Cases & Next Bridge:** Today's posterior becomes tomorrow's prior! Together, Bayesian updating and Bootstrap resampling complete your interactive Statistics Volume journey. - **Interactive Laboratories:** - **Beta–Binomial Bayesian Updater & 1,000-Resample Bootstrap Lab** [2D]: Observe Prior × Likelihood → Posterior evolution alongside nonparametric Bootstrap resampling distributions and percentile intervals. (Formula: `p(\theta \mid D) \propto L(\theta; D)\,p(\theta)`)