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.8 • 2D + 3DPublished Interactive Labs~35 min study

Maxima & Minima: General Method & Second Derivative Test

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 & Physical Application Context

Structural potential energy stability equilibria, least-squares regression convexity, and multi-well landscape optimization.

Governing Mathematical Formulation
D=rt−s2=fxxfyy−fxy2D = r t - s^2 = f_{xx}f_{yy} - f_{xy}^2
Δf(h,k)=f(x0+h,y0+k)−f(x0,y0)\Delta f(h,k) = f(x_0+h,y_0+k) - f(x_0,y_0)
Volume III • Module 3.12 Interactive Lab(s)

The Question You Should Ask

Once ∇f=0\nabla f = \mathbf{0} finds a flat spot on a 3D surface, how does the Hessian discriminant D=rt−s2D = rt - s^2 sort bowls from saddles—and what rescues D=0D = 0?

In Simple Words & Math

At a C2C^2 critical point (x0,y0)(x_0, y_0) where fx=fy=0f_x = f_y = 0, set r=fxxr = f_{xx}, s=fxys = f_{xy}, t=fyyt = f_{yy}, and D=rt−s2D = r t - s^2. When D>0D > 0, all cross-sections bend the same way (r>0r > 0 gives a local minimum, r<0r < 0 a local maximum); when D<0D < 0, principal curvatures have opposite signs, forming a saddle point.

When D=0D = 0, the Second Derivative Test is strictly inconclusive—it can hide a valley (x4+y4x^4 + y^4), a degenerate trough, or Peano's surface (y−x2)(y−2x2)(y - x^2)(y - 2x^2), which rises along every line yet dips along intermediate parabolas. Resolving D=0D = 0 requires testing the sign of Δf(h,k)=f(x0+h,y0+k)−f(x0,y0)\Delta f(h, k) = f(x_0 + h, y_0 + k) - f(x_0, y_0) directly.

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

STEP 2 • INTERACTIVE LAB EXPLORATION

Inspect Hessian eigenvalues and discriminant D = rt - s² on multi-critical surfaces in Lab 3.1.8A, then probe rays and parabolic curves y = kx² when D = 0 (including Peano's counterexample) in Lab 3.1.8B.

STEP 3 • SYMBOLIC FORMALIZATION
D=det⁡(Hf)=rt−s2>0  with  r>0  ⟹  Local Min;D=0  ⟹  Inspect Δf(h,k)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)
STEP 4 • 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 in Chapter 3.1.8
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

Completing the Square on T₂ & Degenerate D = 0 Analysis

Why D=rt−s2D = rt - s^2 Classifies Extrema & How Peano's Saddle Breaks Lines

1. QUADRATIC COMPLETING-THE-SQUARE
Δf≈12r[(rh+sk)2+(rt−s2)k2](r≠0)\Delta f \approx \frac{1}{2r}\Bigl[(rh + sk)^2 + (rt - s^2)k^2\Bigr] \quad (r \neq 0)

Since (rh+sk)2≥0(rh + sk)^2 \ge 0, when D=rt−s2>0D = rt - s^2 > 0 the bracket stays strictly positive for all (h,k)≠(0,0)(h,k) \neq (0,0)—so Δf\Delta f carries the exact sign of r=fxxr = f_{xx}. When D<0D < 0, choosing rh+sk=0rh + sk = 0 flips the sign relative to k=0k = 0, proving a saddle!

2. PEANO'S D = 0 COUNTEREXAMPLE
f(x,y)=(y−x2)(y−2x2)  ⟹  f ⁣(x,32x2)=−14x4<0f(x, y) = (y - x^2)(y - 2x^2) \implies f\!\left(x, \tfrac{3}{2}x^2\right) = -\frac{1}{4}x^4 < 0

Along every straight line y=mxy = mx through (0,0)(0,0), f(x,mx)f(x, mx) has a strict local minimum at x=0x = 0! Yet between the two zero parabolas along y=32x2y = \frac{3}{2}x^2, ff dips strictly negative—proving lines alone can mislead when D=0D = 0.

3. GLOBAL EXTREMA ON COMPACT REGIONS
max⁡Kf=max⁡{f(pint),  f(p∂K)}\max_{K} f = \max\bigl\{f(\mathbf{p}_{\text{int}}),\; f(\mathbf{p}_{\partial K})\bigr\}

By the Extreme Value Theorem, a continuous ff on a closed bounded domain K⊂R2K \subset \mathbb{R}^2 attains absolute extrema either at interior critical points (∇f=0\nabla f = \mathbf{0} or undefined) or on boundary curves and corners ∂K\partial K.

Chapter 3.1.8 Laboratory Specifications

2 Interactive Lab(s)
LAB 3.1.8.1Component: HessianSecondDerivativeTestLab

3D Critical Point Classifier & Hessian Eigen-Curvature Lab

Inspect local minima, maxima, saddles, and principal curvatures.

rt−s2>0rt - s^2 > 0
LAB 3.1.8.2Component: GeneralMethodDegenerateExtremaLab

General Sign-Change Method for D = 0 & Peano's Saddle

Probe rays & parabolas when D = 0 leaves the second derivative test inconclusive.

(y−x2)(y−2x2)(y-x^2)(y-2x^2)