The matrix with rows and has eigenvalues and . The matrix sends every vector onto the eigenline for , the matrix sends every vector onto the eigenline for , and the two outputs add up to the original vector because , an evaluation of the scalar identity . This lesson turns that observation into a method, using the Euclidean algorithm and Bézout’s identity to build projectors from any factorization of an annihilating polynomial into two coprime factors. The method gives an exact test for diagonalizability and a common eigenbasis for commuting diagonalizable operators. Throughout, is or , is a nonzero finite-dimensional vector space over , , an matrix over stands for the operator on given by multiplication by that matrix, and a tuple such as stands for a column vector.
Key terms
Polynomial Euclidean algorithm
Definition Let , not both zero. A common divisor of and is a polynomial that divides both. The greatest common divisor is the monic common divisor that is divisible by every common divisor, and it is also the monic common divisor of largest degree. The Euclidean algorithm computes it when . Set and , and as long as divide
with or . The degrees of the nonzero remainders strictly decrease, so after finitely many steps while . Because , a polynomial divides both and exactly when it divides both and . Following the chain to the pair shows that the common divisors of and are exactly the divisors of . So exists and equals divided by its leading coefficient. The algorithm uses only arithmetic with the coefficients, so for real polynomials it gives the same greatest common divisor over as over .
In plain words Divide, then divide the divisor by the remainder, and repeat. Each step replaces a pair of polynomials by a smaller pair with the same common divisors, and the last nonzero remainder, made monic, is the largest of them.
Example For and ,
The last nonzero remainder is already monic, so . Over this matches the roots, since is the only common root of the two polynomials.
Coprime polynomials
Definition Polynomials , not both zero, are coprime if , that is, if their only common divisors are the nonzero constants. Over two nonzero polynomials are coprime exactly when they have no common root. A common root gives the common factor , and a nonconstant greatest common divisor has a complex root by the fundamental theorem of algebra. Since the greatest common divisor does not change from to , two real polynomials are coprime exactly when they have no common complex root. Comparing roots also shows that if are pairwise coprime, then is coprime to the product .
In plain words Coprime polynomials share no nonconstant factor. Over the complex numbers this simply means that they never vanish at the same point. Repeated factors inside one of the polynomials do not matter.
Example The polynomials and are coprime, even though the first has a repeated factor. The polynomials and have no common real root, because has no real roots at all, yet they are not coprime, because their greatest common divisor is . A nonconstant polynomial, such as , is never coprime to itself. This matters for the projectors below. For and the product is , yet and are both all of , so is not their direct sum.
Bézout’s identity
Definition Let , not both zero, and . Bézout’s identity says that there are with
To find them, run the Euclidean algorithm. Each remainder is a combination of the two before it, so substituting backward expresses the last nonzero remainder as a combination of and , and dividing by its leading coefficient gives . In particular and are coprime if and only if for some . The converse direction holds because a common divisor of and divides and so is constant. The pair is not unique. For coprime and every , the polynomials and form a valid pair as well.
In plain words Bézout’s identity turns the absence of a common factor into an equation. Polynomial combinations of coprime and can produce exactly the constant , and that equation is what splits the space in the next card.
Example For and the algorithm runs
so the greatest common divisor is . The second line gives , and the first line gives . Substituting,
So and , and expanding confirms .
Polynomial projector
Definition Let be coprime with , which holds for example when or . Choose with and set
Then , , and , both commute with , and
where both kernels are invariant under . So is the projection onto along , and it does not depend on the choice of and . Evaluating at gives . Next , so , and for we get , hence . So maps onto and fixes it, which gives . The same argument works for . If lies in both kernels, then , so the sum is direct, and shows that it is all of . The product contains the factor , so it is . A kernel is invariant because . For pairwise coprime with , splitting off one factor at a time gives
In plain words The projector onto the kernel of contains the other factor , which kills the competing piece, and the Bézout weight undoes what does to the surviving piece, so that piece comes out unchanged. Nothing here involves orthogonality. A polynomial projector satisfies , and being an orthogonal projection would need an inner product and extra structure.
Example Let
with , so by the Cayley-Hamilton theorem. Take and . Division gives , so and . Then
The image of is spanned by , and , an eigenvector for . The image of is the plane spanned by and , which is . For instance , and the first piece lies in without being an eigenvector, since . Here the eigenvalue has only the eigenline through , so the kernel of the repeated factor is larger than the eigenspace.
Distinct-root criterion for diagonalizability
Definition The operator is diagonalizable over , meaning that has a basis of eigenvectors of , if and only if
for distinct . Then the are the distinct eigenvalues, with , and the projection onto along the other eigenspaces is
To prove that the factorization implies diagonalizability, let , so that is for and otherwise. The polynomial has degree at most and the distinct roots , so it is zero, and evaluating at gives . Moreover is a constant multiple of , so and . Every is therefore a sum of vectors from the eigenspaces. Eigenspaces for distinct eigenvalues form a direct sum, so joining bases of the gives an eigenbasis. The same splitting also follows from the decomposition into kernels in the previous card, because distinct linear factors are pairwise coprime. Conversely, if has an eigenbasis and are its distinct eigenvalues, the polynomial satisfies for each basis vector with eigenvalue , so and . Every is a root of , so . Equivalently, is diagonalizable over exactly when some product of distinct linear factors over annihilates it.
In plain words A repeated eigenvalue does not by itself prevent diagonalization, but a repeated factor in the minimal polynomial does. Over the factors must also be linear. The real quarter turn has minimal polynomial , with no repeated roots, and still has no real eigenbasis, while over the same polynomial splits as .
Example Let have rows and . Then has distinct roots, so and is diagonalizable. The projectors are
They add up to , and . Their images are spanned by and , and indeed and . The vector splits as . The two eigenlines are not perpendicular for the dot product, so these are oblique projections.
Simultaneous diagonalization of commuting diagonalizable operators
Definition Let be diagonalizable over and pairwise commuting, . Then has a basis whose vectors are eigenvectors of every . In matrix terms, commuting diagonalizable have one invertible with every diagonal. Conversely, operators with a common eigenbasis commute, because diagonal matrices commute. The proof is by induction on , and is the definition. Let be an eigenspace of for the eigenvalue . For ,
so . The polynomial annihilates the restriction , so the minimal polynomial of the restriction divides and is again a product of distinct linear factors over . By the distinct-root criterion every is diagonalizable, and the restrictions of still commute. By induction has a basis of common eigenvectors of , and they are eigenvectors of too. Joining these bases over the eigenspaces of , whose direct sum is , gives the common eigenbasis. The basis need not be orthonormal. That stronger conclusion holds for a commuting family of normal operators on a finite-dimensional complex inner product space, which has an orthonormal basis of common eigenvectors.
In plain words Commuting operators respect each other’s eigenspaces. Inside an eigenspace of the first operator, that operator acts as a scalar, so any basis suits it, and the freedom can be spent on diagonalizing the next operator.
Example Let be diagonal with entries and let have rows , and . They commute, and , so is diagonalizable. The standard basis diagonalizes but not , since . Inside the eigenspace of spanned by and , the operator swaps the two coordinates, with eigenvectors for and for . Adding gives
For the warning about orthonormality, the matrix with rows and commutes with , and both are diagonalizable. Every common eigenbasis consists of eigenvectors of , which lie on the lines through and . Those lines are not perpendicular, so no common eigenbasis is orthonormal for the dot product.
Check yourself
- Use the Euclidean algorithm to find and write it as a polynomial combination of the two. Are the polynomials coprime?
Show the answer
The first division gives
and the second gives . The last nonzero remainder is , whose monic multiple is . From the first line , so
The polynomials are not coprime. Both vanish at , so every combination of them vanishes there too, and no combination equals .
- The diagonal matrix with entries and the matrix with rows , and have the same characteristic polynomial . Which of them is diagonalizable?
Show the answer
A repeated root of the characteristic polynomial decides nothing, so look at the minimal polynomials. For the product is , so has distinct linear factors and is diagonalizable. For the product has a single nonzero entry in row , column , so it is not zero. The minimal polynomial of has roots and and divides , so it must be . The repeated factor shows that is not diagonalizable. Directly, has rank , so the eigenvalue has only a line of eigenvectors, and the eigenvectors of span at most two dimensions.
- Let be the quarter turn with rows and . Is diagonalizable over ? Over ? If so, find the projectors onto its eigenspaces.
Show the answer
The matrix satisfies and is not a scalar matrix, so . Over this polynomial has no linear factors, so has no real eigenvalues and is not diagonalizable over . Over it factors as with distinct roots, so is diagonalizable over , with projectors
They add up to . The image of is spanned by , and . The image of is spanned by , and .