Calculating the Modal Matrix for A

  • A
  • Thread starter boo
  • Start date
  • Tags
    Matrix
In summary: However, any linear combination of v1 and v2, such as (1 1 0) will result in an inconsistent equation when attempting to solve for v3. The solution found by MATLAB is (1/2 1/2 1) but I've no idea how to get there.In summary, the conversation discusses the difficulty of finding generalized eigenvectors for a 3x3 matrix with an eigenvalue of 1 and algebraic multiplicity 3, but geometric multiplicity 2. The
  • #1
boo
26
8
TL;DR Summary
Modal matrix
Mentor note: The Tex shown below had to be modified a fair amount to conform to the MathJax on this site.

Trying to calculate the modal matrix for the following

##A =\begin{pmatrix}
1 && 1/2 && 1/2 \\
0 && 1/2 && -1/2 \\
0 && 1/2 && 1 .5
\end{pmatrix}##

there are two eigenvectors for this matrix

##A =\begin{pmatrix}
1 \\
0 \\
0
\end{pmatrix}##

and

##A =\begin{pmatrix}
0 \\
-1 \\
1
\end{pmatrix}##
using the traditional formula for the generalized eigenvector does not work

##Av2 = \lambda v2 + v1##

and, yet, MATLAB has no problem calculating them as\\

##A =\begin{pmatrix}
1/2 \\
-1/2 \\
1/2
\end{pmatrix}##

##A =\begin{pmatrix}
0 \\
1 \\
0
\end{pmatrix}
##
##A =\begin{pmatrix}
0 \\
-1 \\
1
\end{pmatrix}
##
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
You don't list the eigenvalues, or the multiplicities of the eigenvectors that you show. I've worked some on this problem and have found that that the only eigenvalue is ##\lambda = 1## of multiplicity 3.
This website (https://ximera.osu.edu/linearalgebra/textbook/eigenvalueProperties/generalizedEigenvectors , third example) shows a 3x3 matrix with a similar situation as in your problem.

Comment. You should distinguish between the matrix A and the eigenvectors, both of which you label as A. I would call the eigenvectors ##v_1, v_2##, and ##v_3##, and not keep using A for everything.

Also, I had to edit your post to remove all of the \begin{equation*} \end{equation*} stuff. AFAIK, the subset of LaTeX we use, MathJax, doesn't support these commands.
 
Last edited:
  • Like
Likes jim mcnamara and jedishrfu
  • #3
Sorry, struggled with the Latek code which I don't use. The eigenvalues are 1 with algebraic multiplicity 3 and geometric multiplicity 2. The null space of (A - \lambda I) has 2 eigenvectors v1 = (1 0 0) and v2 = (0 -1 1) ( or any linear combination of these). Looking for the third (generalized) eigenvector (v3) by setting either
(A - \lambda I)*v3 = v2 or (A - \lambda I)*v2 = v3 gives no solution (inconsistent equations).

[Post edited by a Mentor to fix a small typo]
 
Last edited by a moderator:
  • #4
Don't see any way to edit these posts which is frustrating when I see a typo. Anyway that last equation should be (A - \lambda I)*v3 = v2
 
  • #5
boo said:
Sorry, struggled with the Latek code which I don't use. The eigenvalues are 1 with algebraic multiplicity 3 and geometric multiplicity 2. The null space of (A - \lambda I) has 2 eigenvectors v1 = (1 0 0) and v2 = (0 -1 1) ( or any linear combination of these). Looking for the third (generalized) eigenvector (v3) by setting either
(A - \lambda I)*v3 = v1 or (A - \lambda I)*v2 = v3 gives no solution (inconsistent equations).
Again, take a look at the link I posted, especially the third example. I think it will be helpful.
boo said:
Don't see any way to edit these posts which is frustrating when I see a typo.
There's a limited time window for which you can edit a post. After that time elapses, you can't revise your post.
 
  • #6
All you know is that [itex](A-I)v_3 \in \ker(A - I)[/itex]. Since [itex]\ker(A-I)[/itex] is two-dimensional, the most you can say is [tex](A - I)v_3 = \alpha v_1 + \beta v_2.[/tex] We also need [itex]\{v_1, v_2, v_3\}[/itex] to be a basis of [itex]\mathbb{R}^3[/itex]. An obvious way to extend [itex]v_1 = (1,0,0)^T[/itex] and [itex](0,-1,1)^T[/itex] to a basis of [itex]\mathbb{R}^3[/itex] is to add [itex]v_3 = (0,0,1)^T[/itex]. Can you find [itex]\alpha[/itex] and [itex]\beta[/itex] such that [itex](A - I)v_3 = \alpha v_1 + \beta v_2[/itex]?
 
  • Like
Likes Mark44
  • #7
I've finally had a chance to dig into this problem in some detail, and realize that the suggestions I made don't do any good. The suggestion from @pasmith seems like it might bear fruit.
 
  • #8
boo said:
Don't see any way to edit these posts which is frustrating when I see a typo. Anyway that last equation should be (A - \lambda I)*v3 = v2
I fixed the v1 --> v2 typo for you. In the future if you need a typo fixed and you are no longer able to edit your post, just click the "Report" link in your post and ask the Mentors to make the edit for you. :smile:
 
  • #9
Yes, I checked out that link and none of the problems addressed this issue. They were all easily solved using the conventional technique of choosing one or another of the eigenvectors obtained in "step one" in order to find the generalized eigenvectors in step 2. This works "most" of the time but occasionally (as in the example I gave) it results in an inconsistent equation(s) when you try to row reduce and solve for the generalized eigenvector. I agree that pasmith has the correct approach. I think that the final solution is that you have to find a linear combination of eigenvectors that, as part of a Jordan chain, do not result in inconsistent equations when solving for the generalized eigenvectors. Instead of going back to the original matrix here's another one with exactly the same problem that avoids dealing with all of these fractions:$$A = \begin{pmatrix}0 & -2 & 0 \\ 2 & 4 & 0 \\ 2 & 2 &2 \end{pmatrix}$$
This has eigenvalues of 2 with algebraic multiplicity 3. The dimension of the null space of ##\left(\mathbf{A}~-~\lambda~I\right)## is 2. Solving for these two eigenvectors we have ##v_1 = \begin{pmatrix} 0\\0\\1\end{pmatrix}~ and ~v_2 = \begin{pmatrix} -1\\1\\0\end{pmatrix}##. Setting up the augmented matrix with ##v_1## gives us $$ \begin{pmatrix}-2 & -2 & 0 & 0\\ 2 & 2 & 0 & 0\\ 2 & 2 &0 &1\end{pmatrix}$$ which has no solution. For ##v_2## we have $$ \begin{pmatrix}-2 & -2 & 0 & -1\\ 2 & 2 & 0 & 1\\ 2 & 2 &0 &0\end{pmatrix}$$ which is also inconsistent. So I tried a linear combination of ##v_1## and ##v_2## like this:$$ \begin{pmatrix}-2 & -2 & 0 & a\\ 2 & 2 & 0 & b\\ 2 & 2 &0 & c\end{pmatrix}$$ Doing row reduction on this (augmented) matrix gives us $$ \begin{pmatrix}1 & 1 & 0 & -a/2\\ 0 & 0 & 0 & b+a\\ 0 & 0 &0 & c+ a\end{pmatrix}$$ So clearly, in order to have a solution we must have ##b = c = 0##. So ##a = 1~ b = -1 ~and~ c = -1##. This vector is $$v_3 = \begin{pmatrix} 1\\-1\\-1\end{pmatrix}$$ which is a linear combination of our original 2 vectors ##v_1~ and~ v_2##. This gives us 3 eigenvectors ##v_4 = \begin{pmatrix} -0.5\\0\\0\end{pmatrix} v_5 = \begin{pmatrix} -1\\1\\0\end{pmatrix}~ and~ v_6 = \begin{pmatrix} 0\\0\\1\end{pmatrix}##. So choosing as our basis set ##v_3~and~v_4## and our original ##v_1##. (##v_5## and ##v_6## just reproduce ##v_2## and ##v_1##). Where ##v_3 ~and ~v_4 ## are a Jordan chain. Our modal matrix is then $$S =\begin{pmatrix}0 & 1 & -0.5 \\ 0 & -1 & 0 \\ 1 & -1 &0 \end{pmatrix}.$$ Where ##S^{-1}*A*S## is our Jordan form:$$\begin{pmatrix}2 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 0 &2 \end{pmatrix}$$ Also, as a side note, observe that although any scalar multiple of an eigenvector is also an eigenvector this is not the case for generalized eigenvectors. So one can not substitute a scalar multiple of ##v_4##. Sorry for the long post and hopefully there are no typos here.
 
  • #10
So going back to my original problem and using this technique I find two eigenvectors in the null space of ##\mathbf A~-~\lambda I## to be ##\begin{pmatrix}1\\0\\0\end{pmatrix}##and##\begin{pmatrix}0\\-1\\1\end{pmatrix}## but that the first eigenvector in the Jordan chain must have the form ##C*\begin{pmatrix}1\\-1\\1\end{pmatrix}##. Choosing ##C = 1## we see that this eigenvector is the sum of the original two eigenvectors. Call it ##v_1=\begin{pmatrix}1\\-1\\1\end{pmatrix}##.So solving for the generalized eigenvector we get one additional (generalized) eigenvector ##v_2=\begin{pmatrix}0\\2\\0\end{pmatrix}##. Adding the original eigenvector ##v_3=\begin{pmatrix}1\\0\\0\end{pmatrix}## we have the modal matrix $$S = \begin{pmatrix}1 &0&1\\-1&2&0\\1&0&0\end{pmatrix}$$Which results in the Jordan form for the matrix ##\mathbf A##
$$\mathbf J = \begin{pmatrix}1&1&0\\0&1&0\\0&0&1\end{pmatrix}$$
 

1. What is the purpose of calculating the modal matrix for A?

The modal matrix for A is used to diagonalize a square matrix A, which means transforming it into a diagonal matrix with the same eigenvalues. This is useful in solving systems of linear equations and performing other calculations involving matrix operations.

2. How do you calculate the modal matrix for A?

To calculate the modal matrix for A, you first need to find the eigenvalues and eigenvectors of A. Then, you can create a matrix with the eigenvectors as its columns and the inverse of this matrix will be the modal matrix for A.

3. Can the modal matrix for A have complex entries?

Yes, the modal matrix for A can have complex entries. This can happen when the eigenvalues of A are complex numbers. In this case, the eigenvectors will also have complex entries, resulting in a modal matrix with complex entries.

4. Is the modal matrix for A unique?

No, the modal matrix for A is not unique. This is because there can be multiple ways to choose eigenvectors for a given eigenvalue, resulting in different modal matrices. However, all of these modal matrices will have the same eigenvalues and will be similar to each other.

5. How is the modal matrix for A related to the diagonalization of A?

The modal matrix for A is used to diagonalize A. This means that by multiplying A with its modal matrix and then multiplying the inverse of the modal matrix, we can obtain a diagonal matrix with the same eigenvalues as A. This is useful in solving systems of linear equations and performing other calculations involving matrix operations.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
418
  • Linear and Abstract Algebra
Replies
6
Views
512
  • Linear and Abstract Algebra
Replies
10
Views
978
  • Linear and Abstract Algebra
Replies
34
Views
2K
Replies
2
Views
712
  • Linear and Abstract Algebra
Replies
8
Views
873
Replies
31
Views
2K
  • Linear and Abstract Algebra
Replies
15
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
1K
  • Linear and Abstract Algebra
Replies
14
Views
2K
Back
Top