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 2.3.2 • 2D + 3DPublished Interactive Labs~25 min study

Spectral Theorem, Quadratic Forms & Principal Axes

Diagonalize symmetric matrices Q = Qᵀ via orthogonal eigenvectors to align ellipses/hyperboloids with principal axes.

Engineering & Physical Application Context

Rigid-body principal moments of inertia, multivariable Hessian curvature classification (minima vs. saddles), Gaussian covariance ellipsoids, and strain-energy potentials.

Governing Mathematical Formulation
q(x)=xTAx=λ1y12+λ2y22q(\mathbf{x}) = \mathbf{x}^T A \mathbf{x} = \lambda_1 y_1^2 + \lambda_2 y_2^2
A=QΛQTA = Q\Lambda Q^T
Volume II • Module 2.31 Interactive Lab(s)

The Question You Should Ask

Why do real symmetric (and complex Hermitian) matrices guarantee strictly real eigenvalues and orthogonal axes that un-tilt any quadratic surface?

In Simple Words & Math

Symmetry A=ATA = A^T (or its complex counterpart A∗=AA^* = A) forces all eigenvalues to be real and eigenvectors from distinct eigenspaces to meet at 90∘90^\circ, yielding orthogonal diagonalization A=QΛQTA = Q\Lambda Q^T.

Substituting x=Qy\mathbf{x} = Q\mathbf{y} eliminates cross-terms 2bxy2bxy from the quadratic form xTAx=λ1y12+λ2y22\mathbf{x}^T A\mathbf{x} = \lambda_1 y_1^2 + \lambda_2 y_2^2, letting eigenvalue signs immediately classify elliptic bowls (λi>0\lambda_i > 0) vs. hyperbolic saddles.

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

STEP 2 • INTERACTIVE LAB EXPLORATION

Adjust symmetric entries a, b, c to morph between elliptic bowls, hyperbolic saddles, and semidefinite troughs while clicking level contours to verify xᵀAx = λ₁y₁² + λ₂y₂².

STEP 3 • SYMBOLIC FORMALIZATION
A=QΛQT  ⟹  q(x)=xTAx=λ1y12+λ2y22A = 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}
STEP 4 • 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 in Chapter 2.3.2
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Spectral Theorem: Orthogonal Diagonalization & Quadratic Curvature

1. REAL SYMMETRIC DECOMPOSITION
A=AT  ⟹  A=QΛQT,QTQ=IA = A^T \implies A = Q\Lambda Q^T,\quad Q^T Q = I

Distinct eigenvalues of any symmetric matrix force perpendicular eigenvectors q1⊥q2\mathbf{q}_1 \perp \mathbf{q}_2.

2. ERASING CROSS-TERMS
xTAx=λ1y12+λ2y22,y=QTx\mathbf{x}^T A \mathbf{x} = \lambda_1 y_1^2 + \lambda_2 y_2^2,\quad \mathbf{y}=Q^T\mathbf{x}

Rotating into the principal frame decouples 2bxy2bxy into pure squared curvatures weighted by eigenvalues.

3. DEFINITENESS SIGN TEST
λ1,λ2>0  (Bowl),λ1λ2<0  (Saddle)\lambda_1,\lambda_2 > 0 \;\text{(Bowl)},\quad \lambda_1\lambda_2 < 0 \;\text{(Saddle)}

Eigenvalue signs classify energy bowls, valleys (λ2=0\lambda_2=0), and unstable saddle critical points directly.

Symmetric Spectral Theory & Inertia • Ch. 2.3.2

Symmetric Matrices, Sylvester's Criterion, Law of Inertia & Rayleigh Quotients

Open Quadratic Forms Formulas →
1. SYMMETRIZATION & PRINCIPAL AXES
Q(x)=xTAx=∑i=1nλiyi2,A=QΛQT,  QTQ=IQ(\mathbf{x}) = \mathbf{x}^T A \mathbf{x} = \sum_{i=1}^n \lambda_i y_i^2,\qquad A = Q\Lambda Q^T,\; Q^T Q = I

Any quadratic polynomial is written uniquely with a symmetric matrix A=ATA = A^T by splitting each cross term 2bijxixj2b_{ij}x_i x_j equally off the diagonal. By the Spectral Theorem, orthogonal axes y=QTx\mathbf{y} = Q^T\mathbf{x} eliminate every cross product.

2. SYLVESTER'S MINORS & INERTIA
Δk>0  ∀k  (PD),(−1)kΔk>0  ∀k  (ND)\Delta_k > 0\;\forall k\;\text{(PD)},\qquad (-1)^k\Delta_k > 0\;\forall k\;\text{(ND)}

Sylvester's criterion classifies strict definiteness directly from the leading principal minors Δ1,…,Δn\Delta_1, \dots, \Delta_n without solving for eigenvalues. Under any invertible change of variables STASS^T A S, Sylvester's Law of Inertia keeps the sign counts (n+,n−,n0)(n_+, n_-, n_0) invariant.

3. RAYLEIGH QUOTIENT & HESSIANS
λmin⁡≤xTAxxTx≤λmax⁡\lambda_{\min} \le \frac{\mathbf{x}^T A \mathbf{x}}{\mathbf{x}^T \mathbf{x}} \le \lambda_{\max}

Normalizing onto the unit sphere bounds quadratic energy sharply between the extreme eigenvalues, attained exclusively along the corresponding unit eigenvectors. This directly powers the multivariable Hessian second-derivative test and structural stiffness stability.

Chapter 2.3.2 Laboratory Specifications

1 Interactive Lab(s)
LAB 2.3.2.1Component: QuadraticFormLab

3D Quadratic Form Surface & Principal Axis Rotator

Inspect positive-definite bowls, indefinite saddles, and principal axis contours.

xTAx=c\mathbf{x}^T A \mathbf{x} = c