find $\cos\left(\frac{A\pi}{6}\right)$ with $$A=\left(\begin{array}{cc} 2 & 1\\ 1 & 3 \end{array}\right)$$,
I don't know to calculate cosine of the matrix. I know $\cos(A)=I−A^2/2!+A^4/4!−A^6/6!+⋯$ . How to find it? $\cos(A)$ is infinite series, what to do
Hint: Find the matrix P such that
$$A=\left(\begin{array}{cc} 2 & 1\\ 1 & 3 \end{array}\right) =P\left(\begin{array}{cc} x_1 & 0\\ 0 & x_2 \end{array}\right)P^{-1}$$
Where
$$x_1=\frac{5+\sqrt5}{2} \, \text{ and }\, x_2=\frac{5-\sqrt5}{2}$$ and the eigenvalue of A.
Then from the fact that
$$\cos(tA)=\sum_{n=0}^{\infty}(-1)^n\frac{(tA)^{2n}}{(2n)!} $$
you easily get: $$\cos (tA)=P\left(\begin{array}{cc} \cos (tx_1) & 0\\ 0 & \cos(t x_2) \end{array}\right)P^{-1}$$