# Tagged: diagonalize a matrix

## Problem 630

Consider the matrix $A=\begin{bmatrix} a & -b\\ b& a \end{bmatrix}$, where $a$ and $b$ are real numbers and $b\neq 0$.

(a) Find all eigenvalues of $A$.

(b) For each eigenvalue of $A$, determine the eigenspace $E_{\lambda}$.

(c) Diagonalize the matrix $A$ by finding a nonsingular matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.

## Problem 533

Consider the complex matrix
$A=\begin{bmatrix} \sqrt{2}\cos x & i \sin x & 0 \\ i \sin x &0 &-i \sin x \\ 0 & -i \sin x & -\sqrt{2} \cos x \end{bmatrix},$ where $x$ is a real number between $0$ and $2\pi$.

Determine for which values of $x$ the matrix $A$ is diagonalizable.
When $A$ is diagonalizable, find a diagonal matrix $D$ so that $P^{-1}AP=D$ for some nonsingular matrix $P$.