Skip to main content
deleted 190 characters in body
Source Link
Kuba
  • 137.7k
  • 13
  • 289
  • 751

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

In[125]:= M={
{0,1,0,0,0},
{1,0,0,0,0},
{0,0,0,1,0},
{0,0,0,0,1},
{0,0,1,0,0}
}
In[264]:= {d, P} = Eigensystem[M]
In[265]:= P = Transpose[P]
In[266]:= d = DiagonalMatrix[d]
In[343]:= Round[P.d.Inverse[P]] == M
Out[343]= True(*True*)
In[344]:= Round[P.d.d.Inverse[P]]  == M.M
Out[344]= True(*True*)

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

In[280]:= {dp, Pp} = Eigensystem[M.M]
In[281]:= Pp = Transpose[Pp]
In[282]:= dp = DiagonalMatrix[dp]
In[339]:= Round[Pp.dp.Inverse[Pp]] == M.M
Out[339]= True
In[340]:=(*True*)     
Round[P.d.d.Inverse[P]]  == M.M
Out[340]= True(*True*)
In[341]:= d==dp
Out[341]= False(*False*)
In[342]:= P == Pp
Out[342]= False(*False*)

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

In[125]:= M={
{0,1,0,0,0},
{1,0,0,0,0},
{0,0,0,1,0},
{0,0,0,0,1},
{0,0,1,0,0}
}
In[264]:= {d, P} = Eigensystem[M]
In[265]:= P = Transpose[P]
In[266]:= d = DiagonalMatrix[d]
In[343]:= Round[P.d.Inverse[P]] == M
Out[343]= True
In[344]:= Round[P.d.d.Inverse[P]]  == M.M
Out[344]= True

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

In[280]:= {dp, Pp} = Eigensystem[M.M]
In[281]:= Pp = Transpose[Pp]
In[282]:= dp = DiagonalMatrix[dp]
In[339]:= Round[Pp.dp.Inverse[Pp]] == M.M
Out[339]= True
In[340]:= Round[P.d.d.Inverse[P]]  == M.M
Out[340]= True
In[341]:= d==dp
Out[341]= False
In[342]:= P == Pp
Out[342]= False

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

M={
{0,1,0,0,0},
{1,0,0,0,0},
{0,0,0,1,0},
{0,0,0,0,1},
{0,0,1,0,0}
}
{d, P} = Eigensystem[M]
P = Transpose[P]
d = DiagonalMatrix[d]
Round[P.d.Inverse[P]] == M (*True*)
Round[P.d.d.Inverse[P]]  == M.M (*True*)

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

{dp, Pp} = Eigensystem[M.M]
Pp = Transpose[Pp]
dp = DiagonalMatrix[dp]
Round[Pp.dp.Inverse[Pp]] == M.M (*True*)     
Round[P.d.d.Inverse[P]]  == M.M (*True*)
d==dp (*False*)
P == Pp (*False*)

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

deleted 159 characters in body
Source Link
kub0x
  • 203
  • 1
  • 6

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

$\{d,P\}=\text{Eigensystem}[M]$

$\text{P = Transpose[P]}$

$\text{d = DiagonalMatrix[d]}$

$\text{Round}\left[P.d.P^{-1}\right]==M$

which is True

$\text{Round}\left[P.d.d.P^{-1}\right]==M.M$

which is True also.

In[125]:= M={
{0,1,0,0,0},
{1,0,0,0,0},
{0,0,0,1,0},
{0,0,0,0,1},
{0,0,1,0,0}
}
In[264]:= {d, P} = Eigensystem[M]
In[265]:= P = Transpose[P]
In[266]:= d = DiagonalMatrix[d]
In[343]:= Round[P.d.Inverse[P]] == M
Out[343]= True
In[344]:= Round[P.d.d.Inverse[P]]  == M.M
Out[344]= True

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

$\text{DiagonalMatrix}[\text{Eigensystem}[M.M][[1]]]=d.d$

which is False

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

$\{\text{dp},\text{Pp}\}=\text{Eigensystem}[M.M]$

$\text{Pp}=\text{Pp}^T$

$\text{dp}=\text{DiagonalMatrix}[\text{dp}]$

$Round[Pp.dp.Inverse[Pp]] == M.M$ (TRUE)

$\text{Round}\left[P.d.d.P^{-1}\right]=M.M$ (TRUE)

$d.d == dp$ (FALSE)

$P == Pp$ (FALSE)

In[280]:= {dp, Pp} = Eigensystem[M.M]
In[281]:= Pp = Transpose[Pp]
In[282]:= dp = DiagonalMatrix[dp]
In[339]:= Round[Pp.dp.Inverse[Pp]] == M.M
Out[339]= True
In[340]:= Round[P.d.d.Inverse[P]]  == M.M
Out[340]= True
In[341]:= d==dp
Out[341]= False
In[342]:= P == Pp
Out[342]= False

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

$\{d,P\}=\text{Eigensystem}[M]$

$\text{P = Transpose[P]}$

$\text{d = DiagonalMatrix[d]}$

$\text{Round}\left[P.d.P^{-1}\right]==M$

which is True

$\text{Round}\left[P.d.d.P^{-1}\right]==M.M$

which is True also.

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

$\text{DiagonalMatrix}[\text{Eigensystem}[M.M][[1]]]=d.d$

which is False

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

$\{\text{dp},\text{Pp}\}=\text{Eigensystem}[M.M]$

$\text{Pp}=\text{Pp}^T$

$\text{dp}=\text{DiagonalMatrix}[\text{dp}]$

$Round[Pp.dp.Inverse[Pp]] == M.M$ (TRUE)

$\text{Round}\left[P.d.d.P^{-1}\right]=M.M$ (TRUE)

$d.d == dp$ (FALSE)

$P == Pp$ (FALSE)

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

In[125]:= M={
{0,1,0,0,0},
{1,0,0,0,0},
{0,0,0,1,0},
{0,0,0,0,1},
{0,0,1,0,0}
}
In[264]:= {d, P} = Eigensystem[M]
In[265]:= P = Transpose[P]
In[266]:= d = DiagonalMatrix[d]
In[343]:= Round[P.d.Inverse[P]] == M
Out[343]= True
In[344]:= Round[P.d.d.Inverse[P]]  == M.M
Out[344]= True

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

In[280]:= {dp, Pp} = Eigensystem[M.M]
In[281]:= Pp = Transpose[Pp]
In[282]:= dp = DiagonalMatrix[dp]
In[339]:= Round[Pp.dp.Inverse[Pp]] == M.M
Out[339]= True
In[340]:= Round[P.d.d.Inverse[P]]  == M.M
Out[340]= True
In[341]:= d==dp
Out[341]= False
In[342]:= P == Pp
Out[342]= False

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

added 546 characters in body
Source Link
kub0x
  • 203
  • 1
  • 6

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

$\{d,P\}=\text{Eigensystem}[M]$

$\text{P = Transpose[P]}$

$\text{d = DiagonalMatrix[d]}$

$\text{Round}\left[P.d.P^{-1}\right]==M$

which is True

$\text{Round}\left[P.d.d.P^{-1}\right]==M.M$

which is True also.

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

$\text{DiagonalMatrix}[\text{Eigensystem}[M.M][[1]]]=d.d$

which is False

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

$\{\text{dp},\text{Pp}\}=\text{Eigensystem}[M.M]$

$\text{Pp}=\text{Pp}^T$

$\text{dp}=\text{DiagonalMatrix}[\text{dp}]$

$Round[Pp.dp.Inverse[Pp]] == M.M$ (TRUE)

$\text{Round}\left[P.d.d.P^{-1}\right]=M.M$ (TRUE)

$d.d == dp$ (FALSE)

$P == Pp$ (FALSE)

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

$\{d,P\}=\text{Eigensystem}[M]$

$\text{P = Transpose[P]}$

$\text{d = DiagonalMatrix[d]}$

$\text{Round}\left[P.d.P^{-1}\right]==M$

which is True

$\text{Round}\left[P.d.d.P^{-1}\right]==M.M$

which is True also.

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

$\text{DiagonalMatrix}[\text{Eigensystem}[M.M][[1]]]=d.d$

which is False

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

I have the following orthogonal matrix:

$M_{5,5}=\left( \begin{array}{ccccc} 0 & 1 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 & 0 \\ \end{array} \right)$

My aim here is to diagonalize it and check some interesting properties of powers of $M$. Then I proceed to express $M$ as $M=P.D.P^{-1}$

$\{d,P\}=\text{Eigensystem}[M]$

$\text{P = Transpose[P]}$

$\text{d = DiagonalMatrix[d]}$

$\text{Round}\left[P.d.P^{-1}\right]==M$

which is True

$\text{Round}\left[P.d.d.P^{-1}\right]==M.M$

which is True also.

This means that $M^k = P.D^k.P^{-1}$ so the eigenvalues of $A^k$ are $\lambda^k=\{D^k_{1,1},D^k_{2,2},D^k_{3,3},D^k_{4,4},D^k_{5,5}\}$

but when I compare $\lambda^2$ with the eigenvalues of $M^2$ the output is False.

$\text{DiagonalMatrix}[\text{Eigensystem}[M.M][[1]]]=d.d$

which is False

Now I start to think that $M^2$ can be written in 2 different ways:

$M^2 = P.D^2.P^{-1}$ which we have seen it is true.

$M^2 = Q.D'.Q^{-1}$ this means that other eigen decomposition exists in ${M^2}$.

Can someone tell me If I'm wrong? If true why $M^2$ can be written in these two expressions?

EDIT:

Let's make the eigen decomposition of $M^2$ and check for equalities:

$\{\text{dp},\text{Pp}\}=\text{Eigensystem}[M.M]$

$\text{Pp}=\text{Pp}^T$

$\text{dp}=\text{DiagonalMatrix}[\text{dp}]$

$Round[Pp.dp.Inverse[Pp]] == M.M$ (TRUE)

$\text{Round}\left[P.d.d.P^{-1}\right]=M.M$ (TRUE)

$d.d == dp$ (FALSE)

$P == Pp$ (FALSE)

We have seen that Eigenvectors of $M$ and $M^2$ are different and Eigenvalues of $M^2$ are not $\lambda^2$, but yet you can write $M^2$ in two different expressions.

edited body
Source Link
kub0x
  • 203
  • 1
  • 6
Loading
Source Link
kub0x
  • 203
  • 1
  • 6
Loading