Conjugate transpose, Hermitian and unitary matrices and the Schur form. SVD later needs unitary bases.
Open the interactive lessons →Complex Matrices and Schur Form past questions
Contents
- Conjugate transpose and orthonormal vectors
- Testing for Hermitian
- Eigenvalues of Hermitian matrices
- Unitary matrices
- Sums, products and matrices in both families
- Unitary diagonalisation and Schur form
1. Conjugate transpose and orthonormal vectors
To flip a complex matrix you also change the sign of every $i$.
the conjugate transpose, the complex inner product and orthonormal sets
The question this lesson answers. How do you measure length when the entries are complex numbers?
Start with one number. For $z=a+bi$ the conjugate is $\bar z=a-bi$. It is the mirror image of $z$ in the real axis. The product $z\bar z=a^2+b^2$ is real and never negative, and it is the squared length $\lvert z\rvert^2$ of the arrow from $0$ to $z$.
Now take a vector with complex entries. If we copied the real formula $\lVert x\rVert^2=x^Tx$, the vector $x=(1,i)$ would have squared length $1^2+i^2=0$, although it is not zero. The repair is to conjugate one of the two copies. We use $\lVert x\rVert^2=\bar x^Tx$, which gives $1\cdot1+(-i)(i)=2$. Every term is now of the form $\bar z z$, so it cannot be negative.
Building the conjugate transpose: matrix A, then swap rows and columns, then flip the sign of every i, then the result is A*
Think of a seating chart written on glass. The transpose flips the chart across its main diagonal. Conjugation then reflects every number in the real axis. The analogy stops here: the two moves can be done in either order, and for a real matrix the second move changes nothing.
For an $m\times n$ complex matrix $A$, the conjugate transpose $A^*$ (also written $A^H$) is the $n\times m$ matrix with $(A^*)_{jk}=\overline{A_{kj}}$. In words: transpose, then conjugate every entry.
Why it works this way. A length must be real and never negative. Multiplying a number by its conjugate gives its squared size, so one copy of the vector has to be conjugated.
$$\langle x,y\rangle = x^*y=\sum_{k}\overline{x_k}\,y_k$$ The left vector is the one that gets conjugated. Then $\lVert x\rVert^2=x^*x=\sum_k\lvert x_k\rvert^2$.
Rules you will use again and again
| Rule | Why it holds |
|---|---|
| $(A^*)^*=A$ | Two flips and two sign changes undo each other. |
| $(A+B)^*=A^*+B^*$ | Each entry is handled separately. |
| $(AB)^*=B^*A^*$ | Same order reversal as the transpose. |
| $(cA)^*=\bar c\,A^*$ | The scalar is conjugated too. |
| $\det(A^*)=\overline{\det A}$ | A transpose keeps the determinant, conjugation conjugates it. |
The last rule has an immediate consequence for eigenvalues. The characteristic polynomial of $A^*$ is $\det(A^*-\mu I)$. Write $A^*-\mu I=(A-\bar\mu I)^*$. Its determinant is the conjugate of $\det(A-\bar\mu I)$. So $\mu$ is an eigenvalue of $A^*$ exactly when $\bar\mu$ is an eigenvalue of $A$. The eigenvalues of $A^*$ are the conjugates of the eigenvalues of $A$. The eigenvectors, however, are usually different vectors.
Two vectors are orthogonal when $x^*y=0$. A list of vectors is orthonormal when each has length 1 and every two different ones are orthogonal. In symbols, $q_j^*q_k=0$ for $j\ne k$ and $q_j^*q_j=1$. If you put the vectors into the columns of a matrix $Q$, then the entry of $Q^*Q$ in row $j$, column $k$ is exactly $q_j^*q_k$. So orthonormal columns and $Q^*Q=I$ say the same thing. When $Q$ is square this makes $Q^*$ the inverse of $Q$. A real square matrix with this property is called orthogonal, and then $Q^TQ=I$. Notice the naming trap: an orthogonal matrix has orthonormal columns, not merely orthogonal ones.
Worked example: Build $A^*$ and an inner product
Problem.
Let $A=\begin{bmatrix}2&1+i\\3i&4\end{bmatrix}$ and $x=(1,i)$. Find $A^*$ and $\lVert x\rVert^2$.
Idea.
Transpose first, then conjugate. For the length, conjugate one copy.
- Transpose: $A^T=\begin{bmatrix}2&3i\\1+i&4\end{bmatrix}$. Rows have become columns.
- Conjugate every entry: $A^*=\begin{bmatrix}2&-3i\\1-i&4\end{bmatrix}$. The real entries 2 and 4 do not change.
- $x^*x=\overline{1}\cdot1+\overline{i}\cdot i=1+(-i)(i)=1+1=2$.
Answer.
$A^*=\begin{bmatrix}2&-3i\\1-i&4\end{bmatrix}$, $\lVert x\rVert^2=2$.
Common mistake.
Using $x^Tx=0$ and concluding that $x$ has no length.
Worked example: Are these columns orthonormal?
Problem.
Check whether $q_1=\tfrac1{\sqrt2}(1,i)$ and $q_2=\tfrac1{\sqrt2}(1,-i)$ are orthonormal.
Idea.
Conjugate the left vector every time.
- $q_1^*q_1=\tfrac12\big(1+(-i)(i)\big)=\tfrac12(2)=1$.
- $q_2^*q_2=\tfrac12\big(1+(i)(-i)\big)=1$.
- $q_1^*q_2=\tfrac12\big(1\cdot1+(-i)(-i)\big)=\tfrac12(1+i^2)=0$.
Answer.
Yes, they are orthonormal.
Common mistake.
Without the conjugate you would get $q_1^*q_2$ wrong: $\tfrac12(1+(i)(-i))=1$.
Orthonormal vectors say nothing about symmetry. Putting $n$ orthonormal vectors of $\mathbb R^n$ side by side always gives an orthogonal matrix, but that matrix is symmetric only in special cases.
$$z=re^{i\theta}=r(\cos\theta+i\sin\theta),\qquad\bar z=re^{-i\theta}$$ $z=\bar z$ exactly when $z$ is real, and $\overline{zw}=\bar z\,\bar w$. Order matters in the inner product: $x^*y=\overline{y^*x}$.
Worked example: A non-zero vector of length zero?
Problem.
For $x=(1,i)$ compare $x^Tx$ with $x^*x$.
Idea.
Only the second one conjugates.
- $x^Tx=1+i^2=0$.
- $x^*x=1+(-i)(i)=2$.
Answer.
$0$ and $2$; the length is $\sqrt2$.
Common mistake.
Concluding that $x$ is the zero vector.
- Do the two steps in a fixed order: swap rows with columns, then flip the sign of every $i$. Real diagonal entries do not change.
- In $x^*y$ the conjugate sits on the first vector. Swapping the order conjugates the answer.
- Check a norm: $x^*x$ must come out real and not negative. An $i$ left over means you forgot a conjugate.
Flip and conjugate.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Transpose. |
| 2 | Conjugate every entry. |
| 3 | For an inner product, conjugate the left vector. |
| 4 | Check orthonormal columns with $Q^*Q=I$. |
2. Testing for Hermitian
Mirror entries must be conjugates of each other, and the diagonal must be real.
how to decide quickly whether a matrix equals its own conjugate transpose
The question this lesson answers. Which complex matrices play the role of real symmetric matrices?
The main diagonal is a mirror. Each entry must be the conjugate of its reflection, so the entries on the mirror must be real.
A square matrix is Hermitian when $A^*=A$. Entry by entry: $a_{kj}=\overline{a_{jk}}$ for all $j,k$.
Why it works this way. The condition $A^*=A$ is what makes $x^*Ax$ equal its own conjugate, so that it is always real. Most good properties of these matrices come from that.
In plain words, reflect the matrix across its main diagonal. Each entry must land on the conjugate of the entry that was there. Two things follow immediately.
First, a diagonal entry reflects onto itself, so it must equal its own conjugate: $a_{jj}=\overline{a_{jj}}$. A number equals its conjugate only when its imaginary part is zero. A Hermitian matrix has a real diagonal. A diagonal entry such as $2i$ is impossible.
Second, the entries off the diagonal come in conjugate pairs. Once you know the part above the diagonal and the real diagonal, the whole matrix is fixed. So a $2\times2$ Hermitian matrix looks like $\begin{bmatrix}p&b\\\bar b&q\end{bmatrix}$ with $p,q$ real and $b$ any complex number.
Two ideas that are easy to mix up
| Property | Symmetric ($A^T=A$) | Hermitian ($A^*=A$) |
|---|---|---|
| Diagonal | any numbers | real only |
| Mirror pair | equal | conjugates |
| Real matrices | the two ideas agree | the two ideas agree |
| Complex example | $\begin{bmatrix}i&0\\0&1\end{bmatrix}$ is symmetric | $\begin{bmatrix}1&i\\-i&1\end{bmatrix}$ is Hermitian |
For complex matrices, "symmetric" and "Hermitian" are different. The matrix $\begin{bmatrix}i&0\\0&1\end{bmatrix}$ is symmetric but not Hermitian. The matrix $\begin{bmatrix}1&i\\-i&1\end{bmatrix}$ is Hermitian but not symmetric. Only for real matrices do the two words mean the same.
A routine that never fails: (1) read the diagonal and stop if any entry has a non-zero imaginary part; (2) walk through the pairs $(1,2),(1,3),(2,3),\dots$, and for each pair conjugate one entry and compare it with the other; (3) stop at the first pair that fails. For a $3\times3$ matrix that is three diagonal checks and three pair checks. Real off-diagonal entries must be equal. Purely imaginary ones must be negatives of each other, for example $-2i$ above and $2i$ below.
Worked example: A quick verdict
Problem.
Is $B=\begin{bmatrix}1&3i&2\\-3i&5&1+i\\2&1-i&0\end{bmatrix}$ Hermitian?
Idea.
Diagonal, then three pairs.
- Diagonal $1,5,0$ is real.
- Pair $(1,2)$: $\overline{3i}=-3i$, which matches the entry below.
- Pair $(1,3)$: $\overline{2}=2$, which matches.
- Pair $(2,3)$: $\overline{1+i}=1-i$, which matches.
Answer.
$B^*=B$, so $B$ is Hermitian.
Common mistake.
Comparing $3i$ with $-3i$ and saying "they differ, so no". They are supposed to be conjugates.
Worked example: Find the unknowns
Problem.
$A=\begin{bmatrix}1&a+2i\\3-bi&5\end{bmatrix}$ is Hermitian with $a,b$ real. Find $a$ and $b$.
Idea.
Set the lower entry equal to the conjugate of the upper entry.
- $\overline{a+2i}=a-2i$.
- So $3-bi=a-2i$.
- Compare real parts: $a=3$. Compare imaginary parts: $-b=-2$, so $b=2$.
Answer.
$a=3$, $b=2$.
Common mistake.
Writing $a+2i=3-bi$ without conjugating, which gives $b=-2$.
Real diagonal, conjugate pairs.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Check that the diagonal is real. |
| 2 | Compare each pair across the diagonal. |
| 3 | One failed pair is enough to reject. |
If any diagonal entry contains a non-zero imaginary part, reject at once. If one pair below the diagonal is equal to a non-real entry above it, reject at once.
3. Eigenvalues of Hermitian matrices
Real eigenvalues, perpendicular eigenvectors, and always enough of them.
the three guarantees a Hermitian matrix gives about eigenvalues and eigenvectors
The question this lesson answers. Why can a Hermitian matrix never have a non-real eigenvalue?
For a Hermitian matrix, $x^*Ax$ behaves like a measurement: it always comes out real. An eigenvalue is that measurement on an eigenvector.
For a general real matrix the eigenvalues can be complex, repeated, or short of eigenvectors. A Hermitian matrix is free of all three problems.
If $A$ is Hermitian then: (1) every eigenvalue is real; (2) eigenvectors that belong to different eigenvalues are orthogonal; (3) there is an orthonormal basis made of eigenvectors, so $A=U\Lambda U^*$ with $U$ unitary and $\Lambda$ real and diagonal.
Why it works this way. For a unit eigenvector, $x^*Ax=\lambda x^*x=\lambda$. The left side is real, so $\lambda$ is real.
Here is the proof of (1), which is short and worth knowing. Let $Av=\lambda v$ with $v\ne0$. Multiply on the left by $v^*$: $v^*Av=\lambda v^*v$. The left side is real, because $A$ is Hermitian. On the right, $v^*v=\lVert v\rVert^2$ is real and positive. So $\lambda$ is a real number divided by a positive real number.
For (2), let $Av=\lambda v$ and $Aw=\mu w$ with $\lambda\ne\mu$. Compute $w^*Av$ in two ways. Acting to the right gives $\lambda w^*v$. Moving $A$ to the left gives $(Aw)^*v=\mu w^*v$, using that $\mu$ is real. So $(\lambda-\mu)w^*v=0$. Since $\lambda\ne\mu$, we get $w^*v=0$.
Orthogonal non-zero vectors are automatically linearly independent. So statement (2) is stronger than independence: if a question offers both "independent" and "orthogonal", both are true.
Guarantee (3) holds even when eigenvalues repeat. Inside a repeated eigenvalue you can choose perpendicular eigenvectors. It does not say that any two eigenvectors you happen to pick are perpendicular: inside a two-dimensional eigenspace you may pick two slanted ones.
$$\operatorname{tr}A=\sum_i\lambda_i,\qquad \det A=\prod_i\lambda_i$$ Here $\lambda_i$ runs over all eigenvalues, counted with multiplicity. For a $2\times2$ matrix these two numbers fix both eigenvalues.
Worked example: Eigenvalues of a $2\times2$ Hermitian matrix
Problem.
Find the eigenvalues of $A=\begin{bmatrix}1&2i\\-2i&1\end{bmatrix}$.
Idea.
Characteristic equation $\lambda^2-(\text{tr})\lambda+\det=0$.
- Trace $=2$. Determinant $=1\cdot1-(2i)(-2i)=1-4=-3$.
- Solve $\lambda^2-2\lambda-3=0$, that is $(\lambda-3)(\lambda+1)=0$.
Answer.
$3$ and $-1$.
Common mistake.
Computing $(2i)(-2i)$ as $-4$. It is $+4$.
Worked example: Which values are possible?
Problem.
$A$ is Hermitian and $A^2=4I$. Which numbers can be eigenvalues?
Idea.
An eigenvalue obeys every polynomial equation the matrix obeys.
- If $Av=\lambda v$ then $A^2v=\lambda^2v$.
- $A^2=4I$ gives $\lambda^2v=4v$, and $v\ne0$, so $\lambda^2=4$.
- So $\lambda=2$ or $\lambda=-2$. Hermitian also requires real, which both are.
Answer.
Only $\pm2$.
Common mistake.
Concluding that both $2$ and $-2$ must occur. $A=2I$ uses only one of them.
The converse of guarantee (1) is false. $\begin{bmatrix}1&1\\0&2\end{bmatrix}$ has real eigenvalues but is not Hermitian. Real eigenvalues alone prove nothing about $A^*$.
Worked example: Hermitian does not mean unitary
Problem.
$A$ is $\begin{bmatrix}1&1\\1&1\end{bmatrix}$. It is Hermitian. Is it unitary?
Idea.
Test $A^*A=I$.
- $A^*A$ has every entry 2.
- That is not the identity.
Answer.
No.
Common mistake.
Treating the two families as the same.
- Before any calculation, check $A^*=A$ from the diagonal: a non-real diagonal entry rules out Hermitian at once.
- For $2\times2$ answers, test the eigenvalues against the trace (sum) and determinant (product).
- If $A$ satisfies an equation such as $A^2=A$, every eigenvalue satisfies $\lambda^2=\lambda$. This lists the only possible values.
Hermitian means real eigenvalues and perpendicular eigenvectors.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Confirm the matrix is Hermitian. |
| 2 | Use trace and determinant for a small matrix. |
| 3 | Reject any non-real option. |
| 4 | Eigenvectors for different values are orthogonal. |
4. Unitary matrices
A unitary matrix moves vectors around without ever changing their lengths.
how to test a matrix for being unitary and what such a matrix preserves
The question this lesson answers. Which matrices move vectors without changing any length?
A square matrix $U$ is unitary when $U^*U=I$. Then also $UU^*=I$, and $U^{-1}=U^*$. Its columns (and its rows) form an orthonormal basis of $\mathbb C^n$.
Why it works this way. $\lVert Ux\rVert^2=x^*U^*Ux=x^*x$. If an eigenvector keeps its length, its eigenvalue must have size 1.
Think of rotating or reflecting a rigid object: every distance and angle survives. A unitary matrix is the complex version. The analogy stops at the picture, since in $\mathbb C^n$ you cannot see the rotation.
$$(Ux)^*(Uy)=x^*U^*Uy=x^*y$$ Symbols: $x,y$ any vectors, $U$ unitary. Inner products are kept, so lengths are kept: $\lVert Ux\rVert=\lVert x\rVert$ for every $x$, real or complex.
Apply this to an eigenvector, $Uv=\lambda v$. The left side of $\lVert Uv\rVert=\lVert v\rVert$ is $\lvert\lambda\rvert\,\lVert v\rVert$. Since $v\ne0$, we get $\lvert\lambda\rvert=1$. Every eigenvalue of a unitary matrix lies on the unit circle. It need not be $\pm1$: values such as $i$ or $\tfrac12+\tfrac{\sqrt3}{2}i$ are allowed. Taking determinants of $U^*U=I$ also gives $\lvert\det U\rvert=1$.
The same argument as for Hermitian matrices shows that eigenvectors for different eigenvalues are orthogonal, and in fact every unitary matrix has an orthonormal basis of eigenvectors. Be careful with the wording: you can always choose orthonormal eigenvectors, but an eigenvector multiplied by 7 is still an eigenvector, so "all eigenvectors are orthonormal" is loose language.
How to test. Compute column inner products with the left column conjugated. A matrix of the form $\tfrac1kM$ is unitary exactly when $M^*M=\lvert k\rvert^2I$. So first check that the columns of $M$ are orthogonal (no value of $k$ can repair this if it fails), then set $\lvert k\rvert^2$ equal to the squared length of a column.
Worked example: Test a matrix
Problem.
Is $U=\tfrac1{\sqrt2}\begin{bmatrix}1&1\\i&-i\end{bmatrix}$ unitary?
Idea.
Check two lengths and one inner product.
- Column 1: $\tfrac12(1+\lvert i\rvert^2)=1$.
- Column 2: $\tfrac12(1+\lvert -i\rvert^2)=1$.
- Inner product: $\tfrac12\big(1\cdot1+\overline{i}(-i)\big)=\tfrac12\big(1+(-i)(-i)\big)=\tfrac12(1-1)=0$.
Answer.
Yes, it is unitary.
Common mistake.
Forgetting to conjugate $i$ in the inner product, which gives 1 instead of 0.
Worked example: Find the scale factor
Problem.
For which positive $k$ is $\tfrac1k\begin{bmatrix}1&2i\\2i&1\end{bmatrix}$ unitary?
Idea.
Orthogonality first, then the length.
- Column inner product of $M$: $\overline1\cdot 2i+\overline{2i}\cdot1=2i-2i=0$. Good.
- Squared length of column 1: $1+4=5$.
- So $k^2=5$ and $k=\sqrt5$.
Answer.
$k=\sqrt5$.
Common mistake.
Using $1+(2i)^2=-3$. A squared length uses $\lvert 2i\rvert^2=4$.
Worked example: Length through a unitary matrix
Problem.
$U$ is unitary and $Ux=(1+i,\,2)$. Find $\lVert x\rVert^2$.
Idea.
No need to find $U$ or $x$.
- $\lVert x\rVert=\lVert Ux\rVert$.
- $\lVert Ux\rVert^2=\lvert1+i\rvert^2+\lvert2\rvert^2=2+4=6$.
Answer.
$\lVert x\rVert^2=6$.
Common mistake.
Squaring $1+i$ to get $2i$ instead of taking $\lvert1+i\rvert^2=2$.
$\lvert\det U\rvert=1$ only says that $\det U=e^{i\theta}$ for some angle. It can be a non-real number such as $i$.
Write $\lambda=re^{i\theta}$ for a complex eigenvalue of a real matrix. The angle $\theta$ gives rotation and $r$ gives scaling: $r=1$ keeps the orbit on a closed curve, $r>1$ spirals out, $r<1$ spirals in. The $90^\circ$ rotation $\begin{bmatrix}0&-1\\1&0\end{bmatrix}$ has $\lambda=\pm i$.
- Fastest unitary test: each column has length 1, and different columns have inner product 0.
- $|\lambda|=1$ for all eigenvalues is necessary but not enough: $\begin{bmatrix}1&1\\0&1\end{bmatrix}$ passes it and is not unitary.
- Powers, inverses and conjugate transposes of a unitary matrix stay unitary.
Orthonormal columns: lengths survive.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Compute inner products of the columns. |
| 2 | Each column must have length 1. |
| 3 | Different columns must give 0. |
| 4 | Eigenvalues and determinant have size 1. |
5. Sums, products and matrices in both families
Products keep unitarity; sums keep the Hermitian property; do not swap them.
which operations keep a matrix Hermitian or unitary, and what being both means
The question this lesson answers. If two matrices are Hermitian or unitary, is their sum or product still so?
A property of each part need not survive a combination. Apply the defining equation to the combined matrix and see whether it holds.
What survives which operation
| Operation | Two Hermitian matrices | Two unitary matrices |
|---|---|---|
| Sum | always Hermitian | usually not unitary |
| Product | Hermitian only if $AB=BA$ | always unitary |
| Conjugate $\overline{M}$ | stays Hermitian | stays unitary |
| $M^*$ and $M^{-1}$ | Hermitian (inverse if it exists) | unitary |
Each cell has a one-line proof or a tiny counter-example, and it is better to rebuild the table than to memorise it. For Hermitian $A,B$: $(A+B)^*=A^*+B^*=A+B$. For the product, $(AB)^*=B^*A^*=BA$. This equals $AB$ exactly when the two matrices commute. For unitary $U,V$: $(UV)^*(UV)=V^*U^*UV=V^*V=I$. For the sum, take $U=V=I$: then $U+V=2I$, which doubles every length. The counter-example needs only one line.
For the entry-wise conjugate, use $(\overline{A})^*=\overline{A^*}$. So if $A^*=A$, then $(\overline A)^*=\overline A$. This also explains why $\overline{A+B}$ is Hermitian, while $\overline{AB}$ is Hermitian only under the same commuting condition as $AB$.
Real multiples of a Hermitian matrix stay Hermitian. A complex multiple such as $iA$ does not, because the scalar is conjugated. A unitary matrix stays unitary when multiplied by a scalar of size 1, and only then.
If $A^*=A$ and $A^*A=I$, then $A^2=I$. So $A$ is its own inverse. Its eigenvalues are real and have size 1, so each one is $+1$ or $-1$.
Why it works this way. Taking a conjugate transpose reverses the order of a product, so $(AB)^*=BA$ for Hermitian $A,B$. That equals $AB$ only when they commute.
Geometrically such a matrix is a reflection: some directions are kept ($+1$) and the perpendicular ones are flipped ($-1$). The extreme cases are $I$ and $-I$. A reflection does not have to be diagonal: $\begin{bmatrix}0&1\\1&0\end{bmatrix}$ swaps the two coordinates, and it is Hermitian and unitary.
A very useful example is $A=I-2uu^*$ for a unit vector $u$. It flips $u$ to $-u$ and leaves every vector orthogonal to $u$ alone.
Worked example: Check a reflection
Problem.
Show that $A=\tfrac1{\sqrt2}\begin{bmatrix}1&i\\-i&-1\end{bmatrix}$ is Hermitian and unitary.
Idea.
Compare with $A^*$, then square.
- Pair: $\overline{i}=-i$, the entry below. The diagonal is real. So $A^*=A$.
- $A^2=\tfrac12\begin{bmatrix}1+(i)(-i)&i-i\\-i+i&(-i)(i)+1\end{bmatrix}=I$.
- Since $A^*=A$, this says $A^*A=I$.
Answer.
Hermitian and unitary.
Common mistake.
Forgetting that the factor $\tfrac1{\sqrt2}$ squares to $\tfrac12$.
Worked example: Householder reflection
Problem.
Take $u=\tfrac15(3,\,4i)^T$ and $A=I-2uu^*$. Write $A$ and check whether it is Hermitian and unitary.
Idea.
Build $uu^*$ first; $u^*u=1$.
- $uu^*=\tfrac1{25}\begin{bmatrix}9&-12i\\12i&16\end{bmatrix}$ (conjugate the second factor).
- $A=\tfrac1{25}\begin{bmatrix}7&24i\\-24i&-7\end{bmatrix}$, so $A^*=A$.
- $A^2=\tfrac1{625}\begin{bmatrix}49+576&0\\0&576+49\end{bmatrix}=I$.
- In general: $A^2=I-4uu^*+4u(u^*u)u^*=I$.
Answer.
Both Hermitian and unitary.
Common mistake.
Using $uu^T$ for a complex $u$, which loses the conjugate.
Worked example: A product of Hermitian matrices
Problem.
With $A$ = $\begin{bmatrix}0&1\\1&0\end{bmatrix}$ and $B$ = $\begin{bmatrix}1&0\\0&-1\end{bmatrix}$, is $AB$ Hermitian?
Idea.
Compare $(AB)^*=BA$ with $AB$.
- $AB$ = $\begin{bmatrix}0&-1\\1&0\end{bmatrix}$.
- $BA$ is its negative.
Answer.
No: they do not commute.
Common mistake.
Assuming closure under products.
- To disprove a closure claim, try $I$, $-I$ or a swap matrix first. $I+I=2I$ is not unitary.
- Product of Hermitians: compare $(AB)^*=BA$ with $AB$. They agree only if the two commute.
- Hermitian and unitary together force eigenvalues $+1$ or $-1$.
Sum keeps Hermitian; product keeps unitary.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Write the defining equation for the new matrix. |
| 2 | Expand with $(AB)^*=B^*A^*$. |
| 3 | If it fails in general, find a small counter-example. |
6. Unitary diagonalisation and Schur form
Every square matrix can be made triangular; only normal ones can be made diagonal.
when a matrix can be made diagonal by a unitary basis, and what is always possible
The question this lesson answers. Can every square matrix be brought to a simple form by a change of orthonormal axes?
A unitary change of axes can always make a matrix triangular. It becomes diagonal only for the well behaved family called normal matrices.
$A$ is unitarily diagonalisable when $A=U\Lambda U^*$ with $U$ unitary and $\Lambda$ diagonal. $A$ is normal when $AA^*=A^*A$. The spectral theorem says these two are the same.
Why it works this way. Every matrix has at least one complex eigenvector. Make it the first axis, and the rest of the problem is one size smaller. Repeating this builds the triangle.
Hermitian, skew-Hermitian and unitary matrices are all normal, because in each case $A^*$ is built from $A$ in a way that commutes with $A$. So all of them are unitarily diagonalisable. A real rotation such as $\begin{bmatrix}0&1\\-1&0\end{bmatrix}$ is not Hermitian, yet it is unitary, hence normal, hence unitarily diagonalisable (with complex eigenvalues $\pm i$). "Not Hermitian" therefore tells you nothing about diagonalisability.
For every square complex matrix $A$ there is a unitary $U$ such that $T=U^*AU$ is upper triangular. The diagonal entries of $T$ are the eigenvalues of $A$.
No condition on $A$ is needed beyond being square: repeated eigenvalues and missing eigenvectors are no obstacle. Because $T=U^{-1}AU$ is similar to $A$, they share the characteristic polynomial. For a triangular matrix that polynomial is $\prod(t_{ii}-\lambda)$, which is why the diagonal of $T$ lists the eigenvalues.
The Schur form is not unique. You may choose the order of the eigenvalues, and you may rescale each column of $U$ by a number of size 1, which changes the entries above the diagonal by such factors. What never changes is the multiset on the diagonal. If $A$ is already upper triangular, then $U=I$ is a valid choice and $T=A$.
When $A$ is normal, $T$ is normal and triangular, and such a matrix has to be diagonal. So Schur's theorem contains the spectral theorem as a special case.
$$U_1=[\,q_1\;q_2\;\dots\;q_n\,],\quad Aq_1=\lambda_1q_1\ \Rightarrow\ U_1^*AU_1=\begin{bmatrix}\lambda_1&*\\0&B\end{bmatrix}$$ Here $q_1$ is a unit eigenvector and $q_2,\dots,q_n$ complete it to an orthonormal basis. The first column is $U_1^*Aq_1=\lambda_1U_1^*q_1=\lambda_1e_1$. Repeat the step on the smaller block $B$.
Worked example: One step is enough for a $2\times2$
Problem.
Find a Schur form of $A=\begin{bmatrix}3&1\\-1&1\end{bmatrix}$.
Idea.
One unit eigenvector, completed to an orthonormal basis.
- Trace 4, determinant 4, so $\lambda=2$ twice.
- $(A-2I)v=0$ gives $v_1+v_2=0$, so $q_1=\tfrac1{\sqrt2}(1,-1)$.
- Complete the basis with $q_2=\tfrac1{\sqrt2}(1,1)$.
- $Aq_2=\tfrac1{\sqrt2}(4,0)$. Then $q_1^*Aq_2=2$ and $q_2^*Aq_2=2$.
Answer.
$T=\begin{bmatrix}2&2\\0&2\end{bmatrix}$ with $U=[q_1\ q_2]$.
Common mistake.
Expecting a diagonal $T$. This matrix has only one independent eigenvector.
Worked example: Spot the right $U$ among options
Problem.
$A=\begin{bmatrix}0&0\\1&2\end{bmatrix}$. Does $U=\begin{bmatrix}0&1\\1&0\end{bmatrix}$ give a Schur form?
Idea.
A permutation matrix just reorders rows and columns.
- $U^TAU$ swaps the two rows and then the two columns.
- Result: $\begin{bmatrix}2&1\\0&0\end{bmatrix}$.
Answer.
Yes, it is upper triangular.
Common mistake.
Checking only that $U$ is orthogonal and not computing $U^TAU$.
In option form, the first column of $U$ must be a unit eigenvector of $A$. Compute $Au_1$ and see whether it is a multiple of $u_1$. This rejects most options in seconds. Then check the remaining zeros.
From the lecture notes: real against complex
| Idea | Real $\mathbb R^n$ | Complex $\mathbb C^n$ |
|---|---|---|
| Inner product | $x^Ty$ | $x^*y$ |
| Flip | transpose $A^T$ | conjugate transpose $A^*$ |
| Self-matching matrix | symmetric, $A^T=A$ | Hermitian, $A^*=A$ |
| Length-keeping matrix | orthogonal, $Q^TQ=I$ | unitary, $U^*U=I$ |
| Spectral theorem | $A=QDQ^T$ if $A^T=A$ | $A=UDU^*$ if $A^*=A$ |
Worked example: Triangular but not normal
Problem.
Can $\begin{bmatrix}1&1\\0&1\end{bmatrix}$ be unitarily diagonalised?
Idea.
Only normal matrices can.
- $AA^*$ and $A^*A$ have different entries.
- So $A$ is not normal. Schur's triangular form still exists.
Answer.
No.
Common mistake.
Confusing Schur's theorem with diagonalisation.
Schur: every matrix. Diagonal: only normal ones.
Method for any exam question
| Step | Do this |
|---|---|
| 1 | Pick an eigenvalue and a unit eigenvector. |
| 2 | Complete it to an orthonormal basis. |
| 3 | Read the eigenvalues on the diagonal. |
| 4 | Check normality before claiming a diagonal form. |