Diagonalization of a matrix by a rotation matrix

4.7k Views Asked by At

Given is the following matrix $$A := \begin{pmatrix} 3x & 4x & 0 \\ 4x & 3x & 0 \\ 0 & 0 & 5x \end{pmatrix} $$ whereas $x \in \mathbb{R}$ is a constant. This matrix can be diagonalized by a rotation of $\alpha$ about the $z$-axis. The problem is to find $\alpha$.

My general solution:

First I have diagonalized $A$. That is I have written it in the form: $$A = S D S^{-1} $$ with $$S = \begin{pmatrix} 1 & -1 & 0 \\ 1 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}$$ $$D = \begin{pmatrix} 0 & 0 & 5x \\ 0 & -x & 0 \\ 7x & 0 & 0 \end{pmatrix}$$

This is as far as I have come. While $S$ does indeed have the general structure of a rotation matrix about the $z$-axis, it is contradictory in a sense that it requires the existence of angle $\alpha$ that simultaneously needs to satisfy $$\cos\alpha = 1 $$ and $$\sin\alpha = 1 $$

2

There are 2 best solutions below

4
On BEST ANSWER

Your matrix is$$x\begin{bmatrix}3&4&0\\4&3&0\\0&0&5\end{bmatrix}.$$So, all you have to do is to diagonalize the matrix$$B=\begin{bmatrix}3&4&0\\4&3&0\\0&0&5\end{bmatrix}.$$Its characteristic polynomial is $-x^3+11 x^2-23 x-35$ and, from the third column of $B$, you know that $5$ is a root of this polynomial. Dividing the characteristic polynomial by $x-5$, what you get is $-x^2+6x+7$, whose roots are $-1$ and $7$. Now, $(1,1,0)$ is an eigenvector of $B$ corresponding to the eigenvalue $7$, and $(-1,1,0)$ is an eigenvector of $B$ corresponding to the eigenvalue $-1$. Of course, $(0,0,1)$ is an eigenvector of $B$ corresponding to the eigenvalue $5$. Dividing these vectors by their normms you get $\frac1{\sqrt2}(1,1,0)$, $\frac1{\sqrt2}(-1,1,0)$, and $(0,0,1)$ respectively. So, consider the matrix$$S=\begin{bmatrix}\frac1{\sqrt2}&-\frac1{\sqrt2}&0\\\frac1{\sqrt2}&\frac1{\sqrt2}&0\\0&0&1\end{bmatrix}$$and you're done:$$S^{-1}BS=\begin{bmatrix}7&0&0\\0&-1&0\\0&0&5\end{bmatrix}.$$

0
On

Your matrix $S$ isn’t orthogonal, which is requirement for it to be a rotation matrix. Normalize its columns and you’re done. Check your arithmetic, though, since the $D$ you’ve given in your question isn’t diagonal.

The diagonalizing rotation matrix can be found without computing any eigenvalues, though. A rotation about the $z$-axis has the form $$S=\begin{bmatrix}c&-s&0\\s&c&0\\0&0&1\end{bmatrix}$$ where $c^2+s^2=1$. Assuming that $x=0$, since otherwise the matrix is already diagonal, we then have $$S^{-1}AS = S^TAS = x\begin{bmatrix}3c^2-8cs+3s^2 & 4c^2-4s^2 & 0 \\ 4c^2-4s^2 & c^2+8cs+3s^2 & 0 \\ 0&0&5 \end{bmatrix}.$$ We want the off-diagonal entries to vanish, therefore $c=\pm s$, and so $c=\pm\frac1{\sqrt2}$ and $s=\pm\frac1{\sqrt2}$ in any combination of signs.