# Spectral decomposition of a diagonal matrix

## Homework Statement

I have
$$J=\begin{bmatrix} \frac{\pi}{2}&0&0\\ 1&\frac{\pi}{2}&0\\ 0&1&\frac{\pi}{2}\\ \end{bmatrix}$$

I need to find $$\sin(J) \text{ and } \cos(J) \text{ and show that } \sin^{2}(J)+\cos^{2}(J)=I$$

## The Attempt at a Solution

I have the following:

$$\sin(J)= \begin{bmatrix} 1&0&0\\ 0&1&0\\ 0&0&1\\ \end{bmatrix}$$

and
$$\cos(J)= \begin{bmatrix} 0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\\ \end{bmatrix}$$

I don't know if this is correct. All the questions I have examples of have more than one eigenvalue, this one only has one eigenvalue.

Ray Vickson
Homework Helper
Dearly Missed

## Homework Statement

I have
$$J=\begin{bmatrix} \frac{\pi}{2}&0&0\\ 1&\frac{\pi}{2}&0\\ 0&1&\frac{\pi}{2}\\ \end{bmatrix}$$

I need to find $$\sin(J) \text{ and } \cos(J) \text{ and show that } \sin^{2}(J)+\cos^{2}(J)=I$$

## The Attempt at a Solution

I have the following:

$$\sin(J)= \begin{bmatrix} 1&0&0\\ 0&1&0\\ 0&0&1\\ \end{bmatrix}$$

and
$$\cos(J)= \begin{bmatrix} 0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\\ \end{bmatrix}$$

I don't know if this is correct. All the questions I have examples of have more than one eigenvalue, this one only has one eigenvalue.

J is basically a Jordan form, except its 1's are below the diagonal instead of above; that is, it is a transpose of a Jordan matrix. So, you need to know what is the form of
$$\begin{pmatrix} \lambda & 0 & 0 \\ 1 & \lambda & 0 \\ 0 & 1 & \lambda \end{pmatrix}^n$$

RGV

The textbook I have defines a Jordan matrix to be one where the 1s are below the diagonal. So the matrix given is already a Jordan matrix.

Ray Vickson
Homework Helper
Dearly Missed
The textbook I have defines a Jordan matrix to be one where the 1s are below the diagonal. So the matrix given is already a Jordan matrix.

OK, fine. But did you read the rest of the message?

RGV