From a Quadratic Form to a Distribution
A quadratic form \(Z^{\mathsf T}AZ\) can look complicated when its matrix has off-diagonal entries. For a standard normal vector \(Z\), the spectral decomposition provides a coordinate system in which the form becomes a sum of squares. Those squares are independent, and each has a chi-square distribution with one degree of freedom. The matrix’s eigenvalues determine the weights in that sum.
This representation applies whether the form is positive, negative, or indefinite. A zero eigenvalue contributes nothing; a negative eigenvalue gives a negative weight. The result is therefore more general than a sum of positively weighted squares.
Setup and Orthogonal Invariance
A matrix \(U\) is orthogonal if \(U^{\mathsf T}U=I_p\). Orthogonal matrices change coordinates while preserving Euclidean lengths. The corresponding distributional fact is just as important: applying an orthogonal matrix to a standard normal vector leaves its distribution unchanged.
Proof. The joint density of \(Z\) at \(z\in\mathbb R^p\) is
Set \(Y=U^{\mathsf T}Z\), so \(Z=UY\). The absolute Jacobian determinant of this change of variables is \(|\det(U)|=1\), since \(U^{\mathsf T}U=I_p\). Also,
Therefore the density of \(Y\) at \(y\) is
This is the product of \(p\) standard normal densities, proving both the claimed joint distribution and independence of the coordinates. \(\square\)
The Weighted Chi-Square Representation
Because \(A\) is real and symmetric, the spectral theorem gives an orthogonal matrix \(U\) and real eigenvalues \(\lambda_1,\ldots,\lambda_p\) such that \(A=U\Lambda U^{\mathsf T}\), where \(\Lambda=\operatorname{diag}(\lambda_1,\ldots,\lambda_p)\). The eigenvalues are listed with multiplicity. Define \(Y=U^{\mathsf T}Z\). By orthogonal invariance, the entries of \(Y\) are independent standard normal variables.
Proof. Use the spectral decomposition and let \(Y=U^{\mathsf T}Z\). Since \(Z=UY\),
The lemma shows that \(Y_1,\ldots,Y_p\) are independent \(N(0,1)\) variables. By definition, the square of a standard normal variable has a chi-square distribution with one degree of freedom. Thus \(X_i=Y_i^2\) are independent \(\chi^2_1\) variables, and the displayed identity gives the claimed distribution. \(\square\)
The theorem is an equality in distribution, not a claim that the original coordinates \(Z_i^2\) are weighted by the eigenvalues in their original order. The squares in the representation are the squares of the coordinates after rotating into an eigenvector basis.
Worked Representations
Worked Example: A Positive-Definite Form
Let \(Z=(Z_1,Z_2)^{\mathsf T}\sim N_2(0,I_2)\), and let
The characteristic polynomial is
Thus the eigenvalues are \(3\) and \(1\). Corresponding unit eigenvectors are \((1,1)^{\mathsf T}/\sqrt{2}\) and \((1,-1)^{\mathsf T}/\sqrt{2}\). Take
The coordinates \(Y_1,Y_2\) are independent \(N(0,1)\), so
where \(X_1,X_2\) are independent \(\chi^2_1\) variables. The coefficients are the eigenvalues \(3\) and \(1\), not the diagonal entries \(2\) and \(2\).
Worked Example: An Indefinite Form
Let
The characteristic polynomial is \(\lambda^2-1\), so the eigenvalues are \(1\) and \(-1\). Unit eigenvectors for these eigenvalues are \((1,1)^{\mathsf T}/\sqrt{2}\) and \((1,-1)^{\mathsf T}/\sqrt{2}\), respectively. With the corresponding orthogonal matrix \(U\), the transformed coordinates are \(Y_1=(Z_1+Z_2)/\sqrt{2}\) and \(Y_2=(Z_1-Z_2)/\sqrt{2}\). Hence
where \(X_1\) and \(X_2\) are independent \(\chi^2_1\) variables. The negative eigenvalue produces a negative weight. The representation is valid even though the form is not nonnegative for every vector: for instance, \(z=(1,-1)^{\mathsf T}\) gives \(z^{\mathsf T}Az=-2\), while \(z=(1,1)^{\mathsf T}\) gives \(z^{\mathsf T}Az=2\).
Worked Example: A Singular Form With a Zero Weight
Let \(Z=(Z_1,Z_2,Z_3)^{\mathsf T}\sim N_3(0,I_3)\) and
This matrix is already diagonal, so its eigenvalues are \(4,0,1\), with the coordinate axes as eigenvectors. Direct substitution gives
The variables \(Z_1^2\) and \(Z_3^2\) are independent \(\chi^2_1\) variables. Therefore
where \(X_1,X_3\) are independent \(\chi^2_1\) variables. The term with coefficient zero is identically zero, so it can be omitted from the sum. The matrix is singular, but singularity does not prevent the representation.
What the Weights Tell You
The eigenvalues describe how the quadratic form acts along mutually perpendicular directions. In an eigenvector coordinate system, each direction contributes its squared standard normal coordinate multiplied by the eigenvalue for that direction. This is why the weights arise from the spectrum of \(A\).
The representation also makes the role of repeated and zero eigenvalues explicit. If an eigenvalue occurs more than once, it appears once for each occurrence, with an independent \(\chi^2_1\) term. If an eigenvalue is zero, its coordinate contributes nothing. No assumption that \(A\) is invertible or positive definite is needed; symmetry is the condition that ensures an orthogonal diagonalization with real eigenvalues.
This form of the distribution is useful because it translates a matrix problem into a sum of familiar one-dimensional random variables. It is a starting point for further analysis of Gaussian quadratic forms. Here, the essential conclusion is the distributional identity itself, including the independence of its chi-square components.
Common Pitfall
Correction: The weights are the eigenvalues, which need not equal the diagonal entries in the original coordinates. Diagonalize \(A\) orthogonally first. For example, in the first worked example the diagonal entries are \(2,2\), but the eigenvalues are \(3,1\). An indefinite matrix can also have negative eigenvalues, as the second example shows.
Check Your Understanding
For each question, use orthogonal diagonalization and keep track of the eigenvalues with their multiplicities.
- What property of the transformed vector ensures that the squared coordinates in the representation are independent?
- For a symmetric matrix with eigenvalues \(5,2,0\), write the distributional representation of its central quadratic form in a standard normal vector.
- Can a central quadratic form have a negative value? Explain what the eigenvalues imply.
- Why are the diagonal entries of a symmetric matrix not generally the weights in the representation?
- What contribution does a zero eigenvalue make to the weighted sum?