Complex inner products and unitary matrices ユニタリ行列 ぎょうれつ - Basic Exercises
1Exercise plan
In complex calculations, the position of the
For complex inner-product exercises, write conjugates explicitly. The test for orthogonality, norm preservation, and unitarity uses , the conjugate transpose, not just . This is the most common source of wrong answers when moving from real to complex vector spaces.
A
2Problem 1
Using the convention
for and , find , , and .
2.1Answer example
and
2.2Explanation
In this convention, the second variable is conjugated. Forgetting that conjugate changes orthogonality computations.
3Problem 2
For , find and decide whether is
3.1Answer example
Transpose first and conjugate each entry:
Thus , so is Hermitian.
3.2Explanation
In a Hermitian matrix, diagonal entries are real and off-diagonal mirror entries are complex conjugates.
4Problem 3
Confirm that is unitary, and explain why for arbitrary .
4.1Answer example
so
Also , hence
4.2Explanation
A unitary matrix may change
5Problem 4
For and , find the
5.1Answer example
Under this convention,
Now
and . Therefore
5.2Explanation
The denominator is positive real because . The conjugate position in the projection coefficient matters.
6Preview review: eigenvalues, eigenvectors, diagonalization, and normal matrices
Problems 5 and later use eigenvalues, diagonalization, and normal matrices before the later exercise sets develop them fully. This review gives only the minimum needed to solve the problems here.
- If for some , then is an
eigenvalue and is an固有値 こゆうち eigenvector 固有ベクトル . - If eigenvectors form a basis, then . This form is called
diagonalization .対角化 たいかくか - If a
unitary matrix ユニタリ gives , then this is行列 ぎょうれつ unitary diagonalization ユニタリ .対角化 たいかくか - A
normal matrix is a matrix satisfying . Over finite-dimensional complex spaces, the later theorem says that normal matrices are exactly the matrices that can be unitarily diagonalized.正規行列 せいきぎょうれつ
7Problem 5
Find the eigenvalues of and check that they are real as expected for a Hermitian matrix.
7.1Answer example
Thus the eigenvalues are , both real.
7.2Explanation
Since , the matrix is Hermitian. Hermitian matrices may have complex entries, but their eigenvalues are real. This is one reason Hermitian matrices are used to represent observables in contexts such as quantum mechanics.
8Problem 6
Decide whether each statement is true and explain why.
- A unitary matrix preserves the inner product.
- A Hermitian matrix is always normal.
- A unitary matrix is always Hermitian.
8.1Answer example
1 is true because implies . 2 is true because if , then . 3 is false: is unitary but not Hermitian.
8.2Explanation
Unitary, Hermitian, and normal matrices are related but distinct. Separate preservation of inner products from diagonalization conditions.
9Problem 7
Over , confirm that
is normal and diagonalize it by a unitary matrix.
9.1Answer example
Since and ,
Thus is normal. Its eigenvalues are . Eigenvectors may be chosen as and . Normalizing gives
with .
9.2Explanation
This matrix is not Hermitian, but it is normal. Normal matrices are the natural class for unitary diagonalization over complex spaces.
10Problem 8
Using the convention , apply Gram-Schmidt to and .
10.1Answer example
Let . Since ,
10.2Explanation
The conjugate in the numerator is essential. Here is orthogonal to .
11Problem 9
For
verify .
11.1Answer example
so
Also
so
11.2Explanation
The conjugate transpose is the
12Problem 10
Let and . Solve the complex least-squares normal equation and check residual orthogonality.
12.1Answer example
so
Thus . Then
Finally,
12.2Explanation
The real least-squares statement "residual orthogonal to the column space" becomes in the complex case.
Here the convention conjugates the second variable in the inner product, so the adjoint is . The equation says exactly that the residual has zero inner product with every vector in the one-dimensional
13Problem 11
Confirm that
is unitary and verify for and .
13.1Answer example
The matrix is real symmetric and , so it is unitary. Also
Therefore
while .
13.2Explanation
Unitary matrices preserve inner products and lengths even when they are not diagonal.
Although the components of and change after applying , the inner product does not. This is the defining geometric role of a
14Related lectures
data/lecture/math/linear-algebra/complex-inner-products-and-unitary-matrices.lecture.n.md data/lecture/math/linear-algebra/inner-product-space-basics.lecture.n.md data/lecture/math/linear-algebra/identity-zero-and-transpose-matrices.lecture.n.md data/lecture/math/linear-algebra/symmetric-matrices-and-orthogonal-diagonalization.lecture.n.md data/lecture/math/linear-algebra/orthogonalization-basics.lecture.n.md data/lecture/math/linear-algebra/least-squares-basics.lecture.n.md15Proof exercise: unitary matrices preserve inner products
15.1Problem
If , prove that for arbitrary complex vectors ,
15.2Answer
With the convention used in this series, , so
Taking gives .
15.3Explanation
A unitary matrix preserves the complex inner product, so it preserves lengths and angles.
16Supplementary theorem-check problem: normal matrices and unitary diagonalization
16.1Problem 12
Let be unitarily diagonalizable, so with unitary and diagonal. Prove that is normal. Then explain why the converse is the complex spectral theorem for normal matrices.
16.2Answer example
From , we have and . Hence
and
Since diagonal matrices commute with their conjugate transposes, . Thus , so is normal. The converse theorem says that every complex normal matrix admits such a unitary diagonalization.
16.3Explanation
Normality is exactly the condition that makes orthonormal eigenvector decompositions possible over . Hermitian and unitary matrices are important special cases of normal matrices.