Value of cos(x) where x is multiple of a matrix

Click For Summary
SUMMARY

The discussion centers on calculating the value of cos(πM/6) for the matrix M = {{2,1},{1,2}}. Participants clarify that the eigenvalues of the matrix are π/6 and π/2, with corresponding eigenvectors. The diagonalization process is emphasized, where cos(A) is computed using the formula cos(A) = P cos(D) P-1. It is established that cos(πM/6) is not a scalar multiple of M, and the correct approach involves using the Maclaurin series for cosine.

PREREQUISITES
  • Understanding of eigenvalues and eigenvectors
  • Familiarity with matrix diagonalization techniques
  • Knowledge of the Maclaurin series for cosine
  • Proficiency in linear algebra concepts
NEXT STEPS
  • Study the process of matrix diagonalization in depth
  • Learn about the Maclaurin series and its applications in matrix functions
  • Explore the properties of eigenvalues and eigenvectors in detail
  • Investigate the implications of analytic functions on matrices
USEFUL FOR

Mathematicians, students of linear algebra, and anyone involved in advanced matrix computations will benefit from this discussion.

Vishakha
Messages
12
Reaction score
0

Homework Statement


Given a matrix M={{2,1},{1,2}} then value of cos( (π*M)/6 )

Homework Equations

The Attempt at a Solution


Eigen values are π/6 and π/2 and eigen vectors are (π/6,{-1,1}) and (π/2,{1,1}).
Diagonalize matrix is {{π/6,0},{0,π/2}}
I got same value (√3/2)M
 
Physics news on Phys.org
Vishakha said:

Homework Statement


Given a matrix M={{2,1},{1,2}} then value of cos( (π*M)/6 )

Homework Equations

The Attempt at a Solution


Eigen values are π/6 and π/2 and eigen vectors are (π/6,{-1,1}) and (π/2,{1,1}).
Diagonalize matrix is {{π/6,0},{0,π/2}}
I got same value (√3/2)M

I get something different: ##\cos(M \pi /6)## is NOT a scalar multiple of ##M##.
 
Of course it isn't !
I found similar problem like this in which we have to find cos(A) where A=(π/2) \begin{pmatrix}
1 & 1 \\
1 & 1 \\
\end{pmatrix}. The process is they first find eigen vectors and then used diagonalization formula.
cos(A)= PDP-1
I'm not sure it is D or cos(D).
 
Last edited:
Vishakha said:
Of course it isn't !
I found similar problem like this in which we have to find cos(A) where A=(π/2) \begin{pmatrix}
1 & 1 \\
1 & 1 \\
\end{pmatrix}. The process is they first find eigen vectors and then used diagonalization formula.
cos(A)= PDP-1
I'm not sure it is D or cos(D).
Neither, really.
If ##A = PDP^{-1}##, then ##\cos(A) = \cos(PDP^{-1})##. Now, write the right side as the Maclaurin series for cosine.
 
  • Like
Likes   Reactions: Vishakha
Vishakha said:
Of course it isn't !
I found similar problem like this in which we have to find cos(A) where A=(π/2) \begin{pmatrix}
1 & 1 \\
1 & 1 \\
\end{pmatrix}. The process is they first find eigen vectors and then used diagonalization formula.
cos(A)= PDP-1
I'm not sure it is D or cos(D).

You say "of course it isn't"---but in post #1 you said the opposite.

If ##A = P^{-1} D P## with diagonal ##D##, then we have ##f(A) = P^{-1} f(D) P##, and
$$D = \pmatrix{d_1 & 0 & \ldots \;\; 0\\ 0 & d_2 & \ldots\;\; 0 \\
\vdots & \vdots&\; \vdots\\
0 & 0 & \ldots\;\; d_n} \: \Longrightarrow
f(D) =
\pmatrix{f(d_1) & 0 & \ldots\;\; 0\\ 0 & f(d_2) & \ldots\;\; 0 \\
\vdots & \vdots&\; \vdots\\
0 & 0 & \ldots \;\; f(d_n) }
$$
 
  • Like
Likes   Reactions: Vishakha
Mark44 said:
Neither, really.
If ##A = PDP^{-1}##, then ##\cos(A) = \cos(PDP^{-1})##. Now, write the right side as the Maclaurin series for cosine.

It gives me expansion of cosine series. I think for final answer may be I have to put value of π.

Thanks for help.
 
Ray Vickson said:
You say "of course it isn't"---but in post #1 you said the opposite.

If ##A = P^{-1} D P## with diagonal ##D##, then we have ##f(A) = P^{-1} f(D) P##, and
$$D = \pmatrix{d_1 & 0 & \ldots \;\; 0\\ 0 & d_2 & \ldots\;\; 0 \\
\vdots & \vdots&\; \vdots\\
0 & 0 & \ldots\;\; d_n} \: \Longrightarrow
f(D) =
\pmatrix{f(d_1) & 0 & \ldots\;\; 0\\ 0 & f(d_2) & \ldots\;\; 0 \\
\vdots & \vdots&\; \vdots\\
0 & 0 & \ldots \;\; f(d_n) }
$$

By M is not scalar multiple of cos(π M/6) I meant cos(π M/6) ≠ M cos(π/6).

I was calculating cos(A)=cos(PDP-1) but instead of ##f(A) = P f(D) P^{-1}## I was doing ##f(A) = f(PDP^{-1})##.Thanks for pointing that out.

Thank you for help.
 
Vishakha said:
By M is not scalar multiple of cos(π M/6) I meant cos(π M/6) ≠ M cos(π/6).

I was calculating cos(A)=cos(PDP-1) but instead of ##f(A) = P f(D) P^{-1}## I was doing ##f(A) = f(PDP^{-1})##.Thanks for pointing that out.

Thank you for help.

They are the same: ##f(P D P^{-1}) = P f(D) P^{-1}## for any analytic function ##f(\cdot)##.
 
  • Like
Likes   Reactions: Vishakha

Similar threads

Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K