Find an orthogonal matrix B such that PTAP is diagonal when
A=[1224] First, the find eigenvalues and eigenvectors
Start from forming a new matrix by subtracting λ from the diagonal entries of the given matrix:
A−λI=[1−λ224−λ] Find the determinant of the obtained matrix:
det(A−λI)=∣∣1−λ224−λ∣∣==(1−λ)(4−λ)−2(2)=λ2−5λThis is a characteristic polynomial.
Solve the equation
λ2−5λ=0 The roots are:
λ1=5
λ2=0
These are the eigenvalues.
Next, find the eigenvectors.
λ1=5
[1−λ224−λ]=[−422−1] Perform row operations to obtain the rref of the matrix:
R2=R2+21R1:
[−4020] R2=−41R1:
[10−210] Now, solve the matrix equation
[10−210][v1v2]=[00] If we take v2=t, then v1=21t,v2=t
Therefore
v=[t/2t]=[1/21]t
λ2=0
[1−λ224−λ]=[1224] Perform row operations to obtain the rref of the matrix:
R2=R2−(2)R1:
[1020] Now, solve the matrix equation
[1020][v1v2]=[00] If we take v2=t, then v1=−2t,v2=t.
Therefore
v=[−2tt]=[−21]tEigenvalue: 5, eigenvector: [1/21]
Eigenvalue: 0, eigenvector:[−21]
Form the matrix P, whose i-th column is the i-th eigenvector:
[1/21−21] (1/2)2+(1)2=5/4
(−2)2+(1)2=5
Then an orthogonal matrix P
P=[1/52/5−2/51/5]
Comments