Mathematics / Pure Mathematics Algebra & Spectral Theory 100% Free Open Access
Chapter 8 โ€ข Theory & Derivations

Unit 8: Canonical Forms, Bilinear, Quadratic & Hermitian Forms

Schur triangularization, generalized eigenspaces, nilpotent operators, Jordan canonical form, rational canonical form, bilinear forms, congruence transformations, quadratic forms, Lagrange reduction, Sylvester's Law of Inertia, definiteness criteria, and Hermitian forms.

ยง8.1 Schur Triangularization, Generalized Eigenspaces & Nilpotent Operators

1. Schur's Triangularization Theorem

Not all square matrices are diagonalizable. However, every square complex matrix can be triangularized by a unitary transformation.

Theorem 8.1 (Schur's Triangularization Theorem):

Let $A \in M_n(\mathbb{C})$. There exists a unitary matrix $U \in U(n)$ ($U^\dagger U = I_n$) such that:

$$U^\dagger A U = T$$

where $T$ is an upper triangular matrix:

$$T = \begin{pmatrix} \lambda_1 & t_{12} & \cdots & t_{1n} \\ 0 & \lambda_2 & \cdots & t_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n \end{pmatrix}$$

The diagonal entries $\lambda_1, \dots, \lambda_n$ of $T$ are precisely the eigenvalues of $A$ (counted with algebraic multiplicities).

Proof (by Induction on $n$):
  • Base Case: For $n = 1$, $A$ is a $1 \times 1$ scalar; $U = (1)$ is unitary and $T = A$ is triangular.
  • Inductive Hypothesis: Assume every $(n-1) \times (n-1)$ matrix is unitarily triangularizable.
  • Inductive Step:

By the Fundamental Theorem of Algebra, $A$ has at least one eigenvalue $\lambda_1 \in \mathbb{C}$ with unit eigenvector $\vec{u}_1$ ($\|\vec{u}_1\| = 1$). Using Gram-Schmidt, extend $\{\vec{u}_1\}$ to an orthonormal basis $\{\vec{u}_1, \vec{w}_2, \dots, \vec{w}_n\}$ of $\mathbb{C}^n$. Form the unitary matrix $U_1 = \begin{pmatrix} \vec{u}_1 & \vec{w}_2 & \cdots & \vec{w}_n \end{pmatrix}$. Then:

$$U_1^\dagger A U_1 = \begin{pmatrix} \vec{u}_1^\dagger \\ \vec{w}_2^\dagger \\ \vdots \end{pmatrix} \begin{pmatrix} A\vec{u}_1 & A\vec{w}_2 & \cdots \end{pmatrix} = \begin{pmatrix} \lambda_1 & \vec{r}^T \\ \vec{0} & A_1 \end{pmatrix}$$

where $A_1 \in M_{n-1}(\mathbb{C})$. By induction, there exists unitary $U_2 \in U(n-1)$ such that $U_2^\dagger A_1 U_2 = T_1$ is upper triangular. Setting $U = U_1 \begin{pmatrix} 1 & \vec{0}^T \\ \vec{0} & U_2 \end{pmatrix}$, we find $U^\dagger A U = \begin{pmatrix} \lambda_1 & \vec{r}^T U_2 \\ \vec{0} & T_1 \end{pmatrix} = T$ is upper triangular. $\blacksquare$


2. Generalized Eigenvectors and Eigenspaces

When a matrix $A$ has an eigenvalue $\lambda$ whose geometric multiplicity $g_\lambda = \dim \ker(A - \lambda I)$ is strictly less than its algebraic multiplicity $a_\lambda$, the eigenspace $E_\lambda$ is insufficient to span $\mathbb{C}^{a_\lambda}$. We must seek generalized eigenvectors.

Definition:

A non-zero vector $\vec{v} \in V$ is a Generalized Eigenvector of rank $k$ corresponding to eigenvalue $\lambda$ if:

$$(A - \lambda I)^k \vec{v} = \vec{0} \quad \text{and} \quad (A - \lambda I)^{k-1} \vec{v} \neq \vec{0}$$
Generalized Eigenspace:

The Generalized Eigenspace corresponding to eigenvalue $\lambda$ is:

$$K_\lambda = \ker\left((A - \lambda I)^n\right) = \{\vec{v} \in V : \exists k \ge 1 \text{ such that } (A - \lambda I)^k \vec{v} = \vec{0}\}$$
Fundamental Properties:
  1. $E_\lambda \subseteq K_\lambda$.
  2. $\dim K_\lambda = a_\lambda$ (the algebraic multiplicity of $\lambda$).
  3. $K_\lambda$ is an $A$-invariant subspace: $A(K_\lambda) \subseteq K_\lambda$.
Theorem 8.2 (Primary Decomposition Theorem):

Let $T: V \to V$ be a linear operator on a finite-dimensional complex vector space $V$, with distinct eigenvalues $\lambda_1, \dots, \lambda_k$. Then $V$ decomposes into the direct sum of its generalized eigenspaces:

$$V = K_{\lambda_1} \oplus K_{\lambda_2} \oplus \cdots \oplus K_{\lambda_k}$$

Each $K_{\lambda_i}$ is $T$-invariant, and $(T - \lambda_i I)$ restricted to $K_{\lambda_i}$ is nilpotent.


3. Nilpotent Operators and Jordan Chains

An operator $N: W \to W$ is nilpotent if $N^p = O$ for some positive integer $p$. The smallest such $p$ is the index of nilpotency of $N$.

Jordan Chains (Cyclic Subspaces for Nilpotent Operators):

Let $\vec{v}$ be a vector such that $N^{k-1} \vec{v} \neq \vec{0}$ but $N^k \vec{v} = \vec{0}$. The sequence of $k$ vectors:

$$\beta_k = \{N^{k-1}\vec{v}, \, N^{k-2}\vec{v}, \, \dots, \, N\vec{v}, \, \vec{v}\}$$

is linearly independent and spans an $N$-invariant subspace of dimension $k$. With respect to this ordered basis, the matrix of $N$ is the standard nilpotent Jordan block:

$$[N]_{\beta_k} = \begin{pmatrix} 0 & 1 & 0 & \cdots & 0 \\ 0 & 0 & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \ddots & \vdots \\ 0 & 0 & \cdots & 0 & 1 \\ 0 & 0 & \cdots & 0 & 0 \end{pmatrix}_{k \times k}$$

ยง8.2 The Jordan Canonical Form & Rational Canonical Form

### 1. The Jordan Canonical Form (JCF) #### Definition of a Jordan Block: A **Jordan Block** of size $k$ corresponding to eigenvalue $\lambda$, denoted $J_k(\lambda)$, is a $k \times k$ upper bidiagonal matrix: $$J_k(\lambda) = \begin{pmatrix} \lambda & 1 & 0 & \cdots & 0 \\ 0 & \lambda & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda & 1 \\ 0 & 0 & \cdots & 0 & \lambda \end{pmatrix}_{k \times k} = \lambda I_k + N_k$$ #### Theorem 8.3 (Jordan Canonical Form Theorem): Let $A \in M_n(\mathbb{C})$. There exists an invertible matrix $P \in GL_n(\mathbb{C})$ such that: $$P^{-1} A P = J = \begin{pmatrix} J_{k_1}(\lambda_1) & O & \cdots & O \\ O & J_{k_2}(\lambda_2) & \cdots & O \\ \vdots & \vdots & \ddots & \vdots \\ O & O & \cdots & J_{k_m}(\lambda_m) \end{pmatrix}$$ where each $J_{k_i}(\lambda_i)$ is a Jordan block. The matrix $J$ is unique up to the ordering of the blocks. ---
--- ### 2. Determining Jordan Block Structure from Ranks Let $\lambda$ be an eigenvalue of $A$, and define $r_k = \text{rank}(A - \lambda I)^k$ (with $r_0 = n$). - **Total number of Jordan blocks for $\lambda$:** $$\text{Number of blocks} = \dim \ker(A - \lambda I) = n - r_1 = g_\lambda \quad (\text{geometric multiplicity})$$ - **Number of Jordan blocks of size $\ge k$:** $$N_{\ge k} = r_{k-1} - r_k$$ - **Number of Jordan blocks of size exactly $k$:** $$N_k = N_{\ge k} - N_{\ge k+1} = (r_{k-1} - r_k) - (r_k - r_{k+1}) = r_{k-1} - 2r_k + r_{k+1}$$ #### Relation to the Minimal Polynomial: The size of the **largest** Jordan block associated with eigenvalue $\lambda_i$ equals the multiplicity of $(x - \lambda_i)$ in the **minimal polynomial** $m_A(x)$. That is, if: $$p_A(x) = \prod_{i=1}^d (x - \lambda_i)^{a_i} \quad \text{and} \quad m_A(x) = \prod_{i=1}^d (x - \lambda_i)^{m_i}$$ then: - $\sum (\text{sizes of all blocks for } \lambda_i) = a_i$ - $\max (\text{size of a block for } \lambda_i) = m_i$ --- ### 3. The Rational Canonical Form (Frobenius Normal Form) Unlike the Jordan form, which requires the scalar field to contain all eigenvalues (algebraically closed field like $\mathbb{C}$), the **Rational Canonical Form** is valid over **any** field $F$ (such as $\mathbb{Q}$ or $\mathbb{R}$). #### Companion Matrix: For a monic polynomial $p(x) = x^k + c_{k-1} x^{k-1} + \cdots + c_1 x + c_0$, its **Companion Matrix** is: $$C(p) = \begin{pmatrix} 0 & 0 & \cdots & 0 & -c_0 \\ 1 & 0 & \cdots & 0 & -c_1 \\ 0 & 1 & \cdots & 0 & -c_2 \\ \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & \cdots & 1 & -c_{k-1} \end{pmatrix}$$ The characteristic polynomial and minimal polynomial of $C(p)$ are both equal to $p(x)$. #### Invariant Factor Decomposition: Every matrix $A \in M_n(F)$ is similar over $F$ to a unique block-diagonal matrix: $$R = \text{diag}(C(d_1(x)), \, C(d_2(x)), \, \dots, \, C(d_m(x)))$$ where the monic polynomials $d_1(x), \dots, d_m(x)$ are the **Invariant Factors** of $A$, satisfying: $$d_1(x) \mid d_2(x) \mid \cdots \mid d_m(x)$$ Moreover: - $d_m(x) = m_A(x)$ (the minimal polynomial of $A$) - $d_1(x) d_2(x) \cdots d_m(x) = p_A(x)$ (the characteristic polynomial of $A$)

ยง8.3 Bilinear and Quadratic Forms, Congruence & Lagrange Reduction

1. Bilinear Forms

Let $V$ be a vector space over field $F$. A function $B: V \times V \to F$ is a Bilinear Form if it is linear in each argument separately:

  1. $B(c_1 \vec{u}_1 + c_2 \vec{u}_2, \, \vec{v}) = c_1 B(\vec{u}_1, \vec{v}) + c_2 B(\vec{u}_2, \vec{v})$
  2. $B(\vec{u}, \, c_1 \vec{v}_1 + c_2 \vec{v}_2) = c_1 B(\vec{u}, \vec{v}_1) + c_2 B(\vec{u}, \vec{v}_2)$
Matrix Representation:

Let $\beta = \{\vec{e}_1, \dots, \vec{e}_n\}$ be an ordered basis of $V$. The matrix of $B$ relative to $\beta$ is $[B]_\beta = (b_{ij}) \in M_n(F)$, where:

$$b_{ij} = B(\vec{e}_i, \vec{e}_j)$$

For any vectors $\vec{x} = \sum x_i \vec{e}_i$ and $\vec{y} = \sum y_j \vec{e}_j$:

$$B(\vec{x}, \vec{y}) = [\vec{x}]_\beta^T [B]_\beta [\vec{y}]_\beta$$
Congruence Transformation under Change of Basis:

If $\beta'$ is another basis of $V$ with transition matrix $P$ ($[\vec{x}]_\beta = P [\vec{x}]_{\beta'}$), then:

$$B(\vec{x}, \vec{y}) = (P [\vec{x}]_{\beta'})^T [B]_\beta (P [\vec{y}]_{\beta'}) = [\vec{x}]_{\beta'}^T (P^T [B]_\beta P) [\vec{y}]_{\beta'}$$

Thus the matrix transforms by Congruence:

$$[B]_{\beta'} = P^T [B]_\beta P$$

Two matrices $A, B$ are congruent if there exists an invertible matrix $P$ such that $B = P^T A P$.


2. Quadratic Forms

Let $V$ be a vector space over $\mathbb{R}$. A function $q: V \to \mathbb{R}$ is a Quadratic Form if $q(\vec{x}) = B(\vec{x}, \vec{x})$ for some symmetric bilinear form $B$. In coordinates:

$$q(\vec{x}) = \vec{x}^T A \vec{x} = \sum_{i=1}^n \sum_{j=1}^n a_{ij} x_i x_j$$

where $A = A^T = \frac{1}{2}(M + M^T)$ is the unique symmetric matrix associated with $q$. Expanding explicitly:

$$q(x_1, \dots, x_n) = \sum_{i=1}^n a_{ii} x_i^2 + 2 \sum_{1 \le i < j \le n} a_{ij} x_i x_j$$

3. Diagonalization of Quadratic Forms

Every quadratic form can be reduced to a diagonal form (sum and difference of squares) by a non-singular linear change of variables $\vec{x} = P \vec{y}$:

$$q(\vec{x}) = \vec{y}^T (P^T A P) \vec{y} = \sum_{i=1}^r c_i y_i^2$$
Method 1: Lagrange's Method of Completing Squares

An algebraic, non-orthogonal procedure:

  • Case 1 (At least one diagonal coefficient $a_{ii} \neq 0$):

Suppose $a_{11} \neq 0$. Group all terms containing $x_1$:

$$q = a_{11} x_1^2 + 2x_1 \sum_{j=2}^n a_{1j} x_j + q_{\text{rest}}(x_2, \dots, x_n)$$

Complete the square:

$$q = a_{11} \left( x_1 + \sum_{j=2}^n \frac{a_{1j}}{a_{11}} x_j \right)^2 + q'(x_2, \dots, x_n)$$

Set $y_1 = x_1 + \sum_{j=2}^n \frac{a_{1j}}{a_{11}} x_j$, and repeat inductively on $q'(x_2, \dots, x_n)$.

  • Case 2 (All $a_{ii} = 0$, but some cross term $a_{ij} \neq 0$):

Make the non-singular substitution $x_i = u_i + u_j$, $x_j = u_i - u_j$, so $2 a_{ij} x_i x_j = 2 a_{ij}(u_i^2 - u_j^2)$, producing non-zero diagonal coefficients, and revert to Case 1.

Method 2: Orthogonal Diagonalization (Principal Axis Theorem)

By the Real Spectral Theorem, $A = Q \Lambda Q^T$ with $Q \in O(n)$ orthogonal ($Q^T = Q^{-1}$). Letting $\vec{x} = Q \vec{y}$ gives:

$$q(\vec{x}) = \vec{x}^T A \vec{x} = (Q\vec{y})^T A (Q\vec{y}) = \vec{y}^T (Q^T A Q) \vec{y} = \vec{y}^T \Lambda \vec{y} = \sum_{i=1}^n \lambda_i y_i^2$$

This rotation eliminates cross-terms while geometrically preserving angles and distances!

ยง8.4 Sylvester's Law of Inertia, Definiteness & Hermitian Forms

1. Sylvester's Law of Inertia

Let $q$ be a real quadratic form on an $n$-dimensional real vector space $V$. Through an invertible change of variables $\vec{x} = P \vec{y}$, $q$ can always be brought into its Canonical Form:

$$q(\vec{y}) = y_1^2 + y_2^2 + \cdots + y_p^2 - y_{p+1}^2 - \cdots - y_{p+q}^2$$

where:

  • $p$ is the number of positive squares (positive index of inertia).
  • $q$ is the number of negative squares (negative index of inertia).
  • $r = p + q$ is the rank of the quadratic form ($r = \text{rank}(A)$).
  • $z = n - r$ is the nullity (number of missing variables).
  • $s = p - q$ is the signature of the form.
Theorem 8.4 (Sylvester's Law of Inertia):

The integers $p$ and $q$ are independent of the choice of diagonalizing coordinate transformation. They depend solely on the quadratic form $q$ itself.

Proof: Suppose there exist two non-singular changes of coordinates reducing $q$ to:

$$q(\vec{y}) = \sum_{i=1}^p y_i^2 - \sum_{j=1}^q y_{p+j}^2 \quad \text{and} \quad q(\vec{z}) = \sum_{i=1}^{p'} z_i^2 - \sum_{j=1}^{q'} z_{p'+j}^2$$

Assume, for contradiction, that $p > p'$. Let $\beta = \{\vec{u}_1, \dots, \vec{u}_n\}$ be the basis in which $q$ has coordinates $\vec{y}$, and $\gamma = \{\vec{w}_1, \dots, \vec{w}_n\}$ the basis for $\vec{z}$. Define two subspaces of $V$:

$$V^+ = \text{span}\{\vec{u}_1, \dots, \vec{u}_p\} \implies \dim V^+ = p$$
$$V^- = \text{span}\{\vec{w}_{p'+1}, \dots, \vec{w}_n\} \implies \dim V^- = n - p'$$

For any non-zero $\vec{v} \in V^+$: $q(\vec{v}) = y_1^2 + \cdots + y_p^2 > 0$. For any $\vec{v} \in V^-$: $q(\vec{v}) = -z_{p'+1}^2 - \cdots - z_{p'+q'}^2 \le 0$. Hence $V^+ \cap V^- = \{\vec{0}\}$. By the dimension formula for subspace sums:

$$\dim(V^+ + V^-) = \dim V^+ + \dim V^- - \dim(V^+ \cap V^-) = p + (n - p') - 0 = n + (p - p')$$

Since $p > p'$, $n + (p - p') > n = \dim V$, which contradicts the fact that $V^+ + V^- \subseteq V$ cannot have dimension strictly exceeding $n$. Therefore $p \le p'$. By symmetry, $p' \le p \implies p = p'$. Since the rank $r = p + q = p' + q'$ is invariant (it is the rank of the matrix $A$), it follows that $q = q'$. $\blacksquare$


2. Definiteness Classification of Quadratic Forms

A real quadratic form $q(\vec{x}) = \vec{x}^T A \vec{x}$ is classified as:

1. Positive Definite: $q(\vec{x}) > 0$ for all $\vec{x} \neq \vec{0}$.

  • Spectrum: All eigenvalues $\lambda_i > 0$.
  • Inertia: $p = n, q = 0$.

2. Positive Semidefinite: $q(\vec{x}) \ge 0$ for all $\vec{x} \in \mathbb{R}^n$.

  • Spectrum: All eigenvalues $\lambda_i \ge 0$.
  • Inertia: $p \le n, q = 0$.

3. Negative Definite: $q(\vec{x}) < 0$ for all $\vec{x} \neq \vec{0}$.

  • Spectrum: All eigenvalues $\lambda_i < 0$.
  • Inertia: $p = 0, q = n$.

4. Negative Semidefinite: $q(\vec{x}) \le 0$ for all $\vec{x} \in \mathbb{R}^n$.

  • Spectrum: All eigenvalues $\lambda_i \le 0$.
  • Inertia: $p = 0, q \le n$.

5. Indefinite: $q(\vec{x})$ takes both strictly positive and strictly negative values.

  • Spectrum: There exists at least one $\lambda_i > 0$ and at least one $\lambda_j < 0$.
  • Inertia: $p > 0$ and $q > 0$.

3. Sylvester's Leading Principal Minors Criterion

The Leading Principal Submatrices of $A = (a_{ij}) \in M_n(\mathbb{R})$ are:

$$A_k = \begin{pmatrix} a_{11} & \cdots & a_{1k} \\ \vdots & \ddots & \vdots \\ a_{k1} & \cdots & a_{kk} \end{pmatrix}, \quad k = 1, 2, \dots, n$$

Their determinants $\Delta_k = \det(A_k)$ are called the Leading Principal Minors.

Theorem 8.5 (Sylvester's Criterion):
  1. $A$ is Positive Definite if and only if all leading principal minors are strictly positive:
$$\Delta_1 > 0, \quad \Delta_2 > 0, \quad \Delta_3 > 0, \quad \dots, \quad \Delta_n = \det(A) > 0$$
  1. $A$ is Negative Definite if and only if the leading principal minors alternate in sign, starting negative:
$$(-1)^k \Delta_k > 0 \iff \Delta_1 < 0, \quad \Delta_2 > 0, \quad \Delta_3 < 0, \quad \Delta_4 > 0, \quad \dots$$

4. Hermitian Forms

Over the complex field $\mathbb{C}$, the analogue of a symmetric bilinear form is a Hermitian Form $H: V \times V \to \mathbb{C}$:

  1. $H(c_1 \vec{u}_1 + c_2 \vec{u}_2, \, \vec{v}) = c_1 H(\vec{u}_1, \vec{v}) + c_2 H(\vec{u}_2, \vec{v})$
  2. $H(\vec{v}, \vec{u}) = \overline{H(\vec{u}, \vec{v})}$

The associated complex quadratic form is:

$$q(\vec{x}) = H(\vec{x}, \vec{x}) = \vec{x}^\dagger A \vec{x}$$

where $A^\dagger = A$ is a Hermitian matrix. Crucially, $q(\vec{x})$ is always real-valued:

$$\overline{q(\vec{x})} = \overline{\vec{x}^\dagger A \vec{x}} = (\vec{x}^\dagger A \vec{x})^\dagger = \vec{x}^\dagger A^\dagger \vec{x} = \vec{x}^\dagger A \vec{x} = q(\vec{x})$$

Under a non-singular complex change of basis $\vec{x} = P \vec{y}$, the matrix transforms by Hermitian Congruence:

$$A' = P^\dagger A P$$

Sylvester's Law of Inertia holds identically for Hermitian forms: every Hermitian matrix is congruent to a diagonal matrix with entries $\{+1, -1, 0\}$, with the counts of $+1$ and $-1$ being invariant.

TIERED UNIVERSITY HONORS PROBLEMS

Step-by-Step Solved Examination Problems

Comprehensive analytical derivations, multi-tier solutions (Foundational, Intermediate Exam, and Honors/Proof Challenge) with complete line-by-line verification.

Solved Problem Example 8.1: Lagrange Reduction and Definiteness of a Quadratic Form

Consider the real quadratic form on $\mathbb{R}^3$:

$$q(x_1, x_2, x_3) = x_1^2 + 5x_2^2 + 11x_3^2 + 4x_1 x_2 - 2x_1 x_3 - 10x_2 x_3$$
  1. Express $q$ in matrix form $q(\vec{x}) = \vec{x}^T A \vec{x}$, identifying the symmetric matrix $A$.
  2. Diagonalize $q$ using Lagrange's method of completing the square, finding the linear coordinate transformation $\vec{y} = C \vec{x}$.
  3. Determine the canonical form, rank, positive index of inertia $p$, negative index of inertia $q$, signature, and classify the definiteness of $q$ using both the canonical form and Sylvester's criterion.
Final Answer & Physical Insight

Symmetric matrix $A = \begin{pmatrix} 1 & 2 & -1 \\ 2 & 5 & -5 \\ -1 & -5 & 11 \end{pmatrix}$. Completed squares: $q = y_1^2 + y_2^2 + y_3^2$ where $y_1 = x_1 + 2x_2 - x_3, y_2 = x_2 - 3x_3, y_3 = x_3$. Rank $r=3$, positive index $p=3$, negative index $q=0$, signature $s=3$. Definiteness: strictly Positive Definite (confirmed by $\Delta_1 = 1, \Delta_2 = 1, \Delta_3 = 1 > 0$).

Solved Problem Example 8.2: Jordan Canonical Form and Generalized Eigenvectors of a Defective Matrix

Consider the real matrix:

$$A = \begin{pmatrix} 3 & 1 & 0 \\ -1 & 1 & 0 \\ 3 & 2 & 2 \end{pmatrix}$$
  1. Compute the characteristic polynomial $p_A(\lambda)$ and find all eigenvalues.
  2. Determine the geometric multiplicity and generalized eigenspaces for each eigenvalue.
  3. Find the Jordan Canonical Form $J$ and determine the minimal polynomial $m_A(\lambda)$.
  4. Construct an invertible transition matrix $P$ such that $P^{-1} A P = J$.
Final Answer & Physical Insight

Eigenvalue $\lambda = 2$ with algebraic multiplicity $a = 3$ and geometric multiplicity $g = 1$. JCF is a single block $J = \begin{pmatrix} 2 & 1 & 0 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix}$; minimal polynomial $m_A(\lambda) = (\lambda - 2)^3$. Transition matrix $P = \begin{pmatrix} 0 & 1 & 1 \\ 0 & -1 & 0 \\ 1 & 3 & 0 \end{pmatrix}$ satisfying $P^{-1} A P = J$.

Solved Problem Example 8.3: Complete Rigorous Proof of Sylvester's Law of Inertia

Provide a complete, unskipped proof of Sylvester's Law of Inertia: Let $q: V \to \mathbb{R}$ be a real quadratic form on an $n$-dimensional real vector space $V$. If $q$ is reduced to diagonal canonical forms by two invertible coordinate transformations:

$$q(\vec{y}) = \sum_{i=1}^p y_i^2 - \sum_{j=1}^q y_{p+j}^2 \quad \text{and} \quad q(\vec{z}) = \sum_{i=1}^{p'} z_i^2 - \sum_{j=1}^{q'} z_{p'+j}^2$$

prove that:

$$p = p' \quad \text{and} \quad q = q'$$

using subspace dimension arguments and the Grassmann dimension identity.

Final Answer & Physical Insight

Complete rigorous proof established: (1) Invariance of matrix rank under congruence proves $p + q = p' + q'$; (2) Defining positive subspace $V^+$ ($\dim = p$) and non-positive subspace $W^-$ ($\dim = n - p'$) shows $V^+ \cap W^- = \{\vec{0}\}$; (3) Grassmann formula gives $\dim(V^+ + W^-) = n + p - p' \le n \implies p \le p'$, which by symmetry forces $p = p'$ and consequently $q = q'$.