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

Click For Summary

Homework Help Overview

The discussion revolves around finding the value of cos( (π*M)/6 ) for the matrix M={{2,1},{1,2}}. Participants explore the implications of matrix diagonalization and the properties of eigenvalues and eigenvectors in relation to the cosine function applied to matrices.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Some participants discuss the diagonalization of the matrix and the calculation of eigenvalues and eigenvectors. Others question the assumption that cos( (π*M)/6 ) could be a scalar multiple of M, leading to further exploration of the properties of matrix functions.

Discussion Status

The conversation includes various interpretations of the matrix cosine function, with participants providing insights into the diagonalization process and the application of the Maclaurin series for cosine. There is an acknowledgment of differing views on the relationship between the matrix and its cosine.

Contextual Notes

Participants express uncertainty regarding the correct application of matrix functions and the implications of their calculations, particularly in relation to the properties of diagonal matrices and the cosine function.

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
2K
  • · 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