wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 3.1.6 • 2D + 3DPublished Interactive Labs~35 min study

Taylor Expansions: Single-Variable & Multivariable

Osculating 1D Taylor polynomials T_n(x), Lagrange remainder bounds, and 2D quadratic Hessian expansions T₂(x,y) around (x₀, y₀).

Engineering & Physical Application Context

Small-angle nonlinear pendulum linearization, finite-difference truncation error orders, and quadratic optimization trust regions.

Governing Mathematical Formulation
Tn(x)=∑k=0nf(k)(x0)k!(x−x0)kT_n(x) = \sum_{k=0}^n \frac{f^{(k)}(x_0)}{k!}(x-x_0)^k
T2(x,y)=f(p0)+∇f(p0)⋅h+12hTHf(p0)hT_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}
Volume III • Module 3.12 Interactive Lab(s)

The Question You Should Ask

How do second- and higher-order derivatives bend a flat tangent line or tangent plane into a curved polynomial that hugs a function locally?

In Simple Words & Math

In one variable, the degree-nn Taylor polynomial Tn(x)=∑k=0nf(k)(x0)k!(x−x0)kT_n(x) = \sum_{k=0}^n \frac{f^{(k)}(x_0)}{k!}(x - x_0)^k matches the height and first nn derivatives of ff at x0x_0, with accuracy bounded by the Lagrange remainder Rn(x)R_n(x).

In two variables, adding second partials yields the quadratic Taylor surface T2(p0+h)=f(p0)+∇f(p0)⋅h+12hTHf(p0)hT_2(\mathbf{p}_0 + \mathbf{h}) = 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}. Here the symmetric Hessian matrix Hf\mathbf{H}_f captures elliptical bowls versus hyperbolic saddles, forming the foundation of the Second Derivative Test.

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 3.1.6
STEP 1 • GEOMETRIC 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?

STEP 2 • INTERACTIVE LAB EXPLORATION

Vary degree n and center x₀ in Lab 3.1.6A to see the Lagrange remainder |R_n(x)| shrink inside the convergence disk, then compare T₁ tangent planes against quadratic Hessian bowls T₂(x,y) in Lab 3.1.6B.

STEP 3 • SYMBOLIC FORMALIZATION
T2(p0+h)=f(p0)+∇f⋅h+12hTHfhT_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}}
STEP 4 • 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 in Chapter 3.1.6
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Taylor Reference: 1D Remainder, 2D Hessian Quadratic Form & Classical Maclaurin Series

1. LAGRANGE REMAINDER THEOREM
Rn(x)=f(n+1)(ξ)(n+1)!(x−x0)n+1R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}(x - x_0)^{n+1}

For some intermediate ξ\xi between x0x_0 and xx, the truncation error scales with ∣x−x0∣n+1|x-x_0|^{n+1}.

2. MULTIVARIABLE 2ND-ORDER TAYLOR
T2(x0+h,y0+k)=f+(h∂x+k∂y)f+12!(h∂x+k∂y)2fT_2(x_0+h,y_0+k) = f + (h\partial_x + k\partial_y)f + \frac{1}{2!}(h\partial_x + k\partial_y)^2 f

Expands cleanly using the binomial operator (h∂x+k∂y)mf(h\partial_x + k\partial_y)^m f when Clairaut symmetry fxy=fyxf_{xy} = f_{yx} holds.

3. CONVERGENCE DISK BOUNDARY
11+x2=∑k=0∞(−1)kx2k(∣x∣<1)\frac{1}{1+x^2} = \sum_{k=0}^\infty (-1)^k x^{2k} \quad (|x|<1)

Even if smooth on ℝ, complex singularities (e.g. x=±ix = \pm i) limit the real Maclaurin radius of convergence to R=1R = 1.

Quadratic Approximation & Remainder • Ch. 3.1.6

Quadratic Hessian Forms, Lagrange Remainder & Local Error Decay

Open Taylor & Hessian Formulas →
1. MATRIX QUADRATIC TAYLOR EXPANSION
f(a+h)=f(a)+∇f(a)⋅h+12hTHf(a)h+R2(h)f(\mathbf{a}+\mathbf{h}) = f(\mathbf{a}) + \nabla f(\mathbf{a})\cdot\mathbf{h} + \frac{1}{2}\mathbf{h}^T H_f(\mathbf{a})\mathbf{h} + R_2(\mathbf{h})

Packaging mixed second partials into the symmetric Hessian HfH_f upgrades flat linear tangent planes into curved osculating paraboloids that capture bowls, domes, and saddles cleanly.

2. LAGRANGE REMAINDER & ORDER O(||h||^{k+1})
∣Rk(h)∣=O ⁣(∥h∥k+1)|R_k(\mathbf{h})| = O\!\left(\|\mathbf{h}\|^{k+1}\right)

Halving step size ∥h∥\|\mathbf{h}\| shrinks linear error by 4×4\times and quadratic Taylor error by 8×8\times whenever f∈Ck+1f \in C^{k+1} on the neighborhood, within radius bounded by nearest complex or domain singularities.

3. BRIDGE TO CRITICAL-POINT CURVATURE
∇f(a)=0  ⟹  Δf≈12hTHf(a)h\nabla f(\mathbf{a})=\mathbf{0} \implies \Delta f \approx \frac{1}{2}\mathbf{h}^T H_f(\mathbf{a})\mathbf{h}

At stationary points where linear slope vanishes, local sign behavior reduces directly to the definiteness of Hf(a)H_f(\mathbf{a})—which drives Chapter 3.1.8's Second Derivative Test unless det⁡Hf=0\det H_f = 0.

Chapter 3.1.6 Laboratory Specifications

2 Interactive Lab(s)
LAB 3.1.6.1Component: SingleVariableTaylorLab

Single-Variable Taylor Polynomial & Remainder Band Lab

Adjust degree n and center x₀ to watch osculating convergence.

Tn(x)+Rn(x)T_n(x) + R_n(x)
LAB 3.1.6.2Component: MultivariableTaylorHessianLab

Multivariable 2D Taylor & Quadratic Hessian Surface Lab

Overlay T₁ tangent plane and T₂ quadratic paraboloid onto z = f(x,y).

T2(x0+h,y0+k)T_2(x_0+h, y_0+k)