Full column matrix rank makes a positive-definite matrix, and its matrix inverse is symmetric. Thus the hat matrix satisfies
Also and the image of is contained in the column space of . These identities show that is the orthogonal projection matrix onto the column space of .
A natural next fit is quadratic regression, which remains a normal linear model in its unknown regression coefficients:
The new design matrix has rows and must have matrix rank three; three distinct predictor values suffice. The curved regression residual pattern suggests trying a positive quadratic term, but its sign and adequacy should be checked after fitting. Inspect the new regression residuals to see whether the systematic curvature has disappeared.
Write a vector in the domain as . The first and third equations defining the kernel of a linear map imply . Substitution into the second equation then gives
For , this forces , and . Hence
The kernel of a linear map has dimension one, so the rank-nullity theorem gives rank three and proves the assertion about the image of a linear map. Alternatively, the minor formed from columns has determinant , including a nonzero value at .
For , the parameters are free and , . Thus
The third row is the first row minus the second. The image of a linear map is therefore contained in . The first and third columns, and , are linearly independent, so the matrix rank is two and this containment is equality:
This is the sole kernel jump in a parameter-dependent linear map; there is no further exceptional case at .
If an arrow map failed to have maximal matrix rank, it would have both a nonzero kernel of a linear map and a nonzero cokernel. Apply the preceding obstruction with . It would give , contrary to the assumption. Therefore every arrow map is injective or surjective, equivalently its rank is the minimum of the two vertex dimensions. This is a necessary property of a rigid quiver representation.
A representation of the one-arrow quiver is an matrix . If , changes of basis put it in the form with an identity block and all other entries zero. Since multiplication by invertible matrices preserves matrix rank,
This describes the orbit for every , including the zero orbit. Its dimension is
Indeed, choosing its -dimensional image contributes parameters in a Grassmannian, and choosing a surjective map from onto that image contributes . This is a rank orbit of a matrix under left-right multiplication.
Adding the three equations for gives the necessary solvability condition . Conversely, subtraction of the first two and use of the third force
If , these values also satisfy the first two equations: for example,
The analogous calculation gives . Thus existence and uniqueness hold exactly under the stated compatibility condition:
For the three-variable system the matrix and data vector are
Perform Gaussian elimination on the augmented matrix. The operations and give
Each operation is an invertible row scaling followed by a row addition, so the solution set is preserved. Next gives
Back substitution now yields
and then
All three pivots are nonzero. Thus the solution exists uniquely for every , the matrix rank is , and the kernel of a linear map represented by is . The general rank-nullity theorem for a matrix with columns is
here .
Finally, reverse the viewpoint and regard as prescribed. The necessary and sufficient condition already proved applies with , , . Their sum is . Consequently can be recovered exactly when
When this holds, their unique values are and . The allowable triples form an affine plane, not all of .
Put and arrange the four vectors as the columns of . On the one-dimensional vector subspace spanned by , the eigenvalue is . On the three-dimensional orthogonal complement , the eigenvalue is . Thus
and the vectors fail to be a basis exactly when or .
For , all four columns equal . The matrix rank is , a basis of their span is , and an extension to a basis of is
The last coordinate first forces the coefficient of to vanish in any linear dependence, after which the other coefficients vanish.
For , the matrix rank is and the span is exactly . A basis consists of the first three original columns,
Indeed, writing them as , a vanishing linear combination has coefficient sum zero by its fourth coordinate, and then each coefficient is zero by the first three coordinates. Adjoin to extend this basis to , since .
Use the normalization
This is ridge regression; the penalty is the squared Euclidean norm. The centering removes the need for an intercept. Differentiating gives the normal equation
For every nonzero , . The coefficient matrix is therefore a positive-definite matrix, even if the design matrix has deficient matrix rank. The objective is a strictly convex function, so the unique minimizer is the closed-form ridge regression estimator, with fitted values
For the primal-dual identity for ridge regression, put and observe
Both parenthesized matrices are positive-definite matrices. Multiplying by their inverses gives
Thus the same fitted vector has the dual expression
No inverse of or alone was needed. This is also the kernel-ridge hat matrix for the linear kernel.
Here a positive-definite kernel means a symmetric real-valued function whose every finite kernel matrix is positive semidefinite: for all , and ,
This is the usual positive-semidefinite kernel convention; strict positivity for distinct points is not required. In particular . Write , and . Positivity of the two-point kernel matrix implies
If , substitute to obtain . If , the affine expression can be nonnegative for every only if . Both cases give the Cauchy-Schwarz inequality for positive-semidefinite kernels:
The zero-diagonal case is essential when the positive-definite kernel is not strictly positive.
To construct a feature map, let be the real vector space of finite formal linear combinations of symbols , one for each . Define a symmetric bilinear form by
The positive-definite kernel property makes this a positive semidefinite bilinear form. It need not yet be an inner product: distinct formal vectors can have zero squared length. The same quadratic-polynomial argument, now applied to , proves
Therefore implies for every . The set
is the radical of a bilinear form, hence a linear subspace. Set
The quotient vector space has a well-defined inner product: changing representatives by elements of changes no pairing, and a zero-length class is exactly the zero class. It is therefore an inner-product space.
Define . By construction,
Every positive-definite kernel thus has a feature representation, including degenerate kernels and the zero kernel. This is its canonical feature space of a positive-semidefinite kernel. The construction already gives the requested inner-product space.
The fitted values are , so the hat matrix is
It is symmetric, and
It fixes every vector in the column space of , and annihilates its orthogonal complement. Thus is the orthogonal projection onto that column space, has matrix rank and trace , and is the complementary orthogonal projection. Consequently
Since , the covariance matrix between the regression residual vector and the coefficient estimate is
These quantities have a joint normal distribution, so they are also independent, a stronger conclusion than zero covariance.
Now has mean zero. Using the expectation of a quadratic form,
Thus the maximum-likelihood estimator has
The unbiased alternative is
The orthogonal projection of a Gaussian vector also yields , explaining the residual degrees of freedom.
Write on and on , and put and . Because the two groups have equal size, are orthonormal. Let and . The expected value of the adjacency matrix of a graph is . Consequently
Both displayed eigenvalues are positive under the stated range of , so the first matrix has matrix rank two. The other eigenvalues are zero. The figure shows the within-group and between-group blocks of this balanced stochastic block model; itself has zero diagonal.
Figure 1.
Expected adjacency blocks and the positive rank-one community signal
.
For a symmetric matrix with simple largest eigenvalue and spectral gap , the Davis-Kahan curvature lemma says , where is its leading unit eigenvector. Applying this to a leading eigenvector of , the maximal Rayleigh quotient and duality of the operator norm and trace norm give ; the projector difference has matrix rank at most two. This is a rank-one eigenprojector perturbation bound.
Here has independent centered bounded upper-triangular entries, apart from symmetry. The spectral norm bound for a centered Bernoulli adjacency matrix gives . Taking and therefore gives, for the largest-eigenvalue estimator,
The printed argmin selects the wrong end of the spectrum. For a minimizing unit eigenvector , compare its Rayleigh quotient with any unit vector orthogonal to . This yields , and hence . Its mean projector error is at least , using . Along with sufficiently large even , the printed parameter restriction holds and this lower bound tends to , contradicting an error of order . Replace argmin by argmax, or negate the entire matrix before minimizing.