Calculating the eigenvalues of an interesting matrix

In summary: That's enough.This proves that the rank is 2, meaning the characteristic polynomial has the form you already mentioned.What's left is to find b and c in all cases and solve it for the eigenvalues.After that you can try to find a general formula for c.But let's take one step at a time.what do you mean by finding b and c in all cases?Well, your problem asks for the eigenvalues of the 3x3 matrix and the 4x4 matrix that are filled with the consecutive numbers 1, 2, 3, etcetera.So I mean these 2 cases.Btw, to find the pattern,
  • #1
JohnLang
14
0

Homework Statement



Let T be a square nxn matrix and let each entry tij=n(i-1)+j.

Calculate the eigenvalues of T of T when T is a 3x3 matrix and a 4x4 matrix.

Homework Equations


The Attempt at a Solution



For the homework I'm supposed to calculate the 3x3 case and the 4x4 case. Then it says find the eigenvalues for the general nxn case for extra credit.From MATLAB I'm able to see that the matrix T has rank 2 (If this helps). I'm sort of stuck on this part.

On MatLab when I've done up to order 6, each from order 3,4,5,6 have 2 non-zero eigenvalues and the other eigenvalues are 0 with algebraic multiplicity n-2
 
Last edited:
Physics news on Phys.org
  • #2
I feel like I need to exploit some properties of determinants.
 
  • #3
JohnLang said:

Homework Statement



Let T be a square nxn matrix and let each entry tij=n(i-1)+j.

Calculate the eigenvalues of T of T when T is a 3x3 matrix and a 4x4 matrix.

Homework Equations





The Attempt at a Solution



For the homework I'm supposed to calculate the 3x3 case and the 4x4 case. Then it says find the eigenvalues for the general nxn case for extra credit.From MATLAB I'm able to see that the matrix T has rank 2 (If this helps). I'm sort of stuck on this part.

On MatLab when I've done up to order 6, each from order 3,4,5,6 have 2 non-zero eigenvalues and the other eigenvalues are 0 with algebraic multiplicity n-2

Welcome to PF, JohnLang! :smile:

To find the eigenvalues typically you need to solve the characteristic polynomial.
Have you tried to find the characteristic polynomial?

You can already observe some of its properties.
Since the rank of each matrix is 2, what does that mean for the form of the characteristic polynomial?

In particular you will need a way to calculate the second and third coefficient of the characteristic polynomial.
Do you know how to find those?
You can find some more information for instance here: http://en.wikipedia.org/wiki/Characteristic_polynomial

Btw, can you deduce that the rank is always 2?
To find the rank of a matrix, the typical way to do it, is to find how many independent column vectors there are.
This can be done by repeatedly subtracting one column from the other until no more columns become zero.
 
  • #4
Hi, I Like Serena!

Thanks for welcoming me!

Anyway, so far I think I was able to show that the rank of the matrix which is 2 I used a really rough method

so I think what this means for the characteristic polynomial, it's going to look something like this

p(t)=tn-2(t2-bt+c)

I'm kinda stuck on finding the coefficients I'm not quite sure. I calculated the tr(A)=(n3+n)/2
 
  • #5
I'd try to see if you can somehow figure out a general way to row-reduce it into its Jordan Form or into a triangular form.
 
  • #6
Robert:

So when I row reduced this matrix it looks something like this

[1 0 -1 -2 -3 ... 1-n;0 1 2 3 4 5 ... n-1;(remaining rows are 0)

which means that this matrix has rank 2

from here what should I do?

Also since the matrix T has rank 2, this means that there are non zero principal (2x2) minors from the referred literature from I Love Serena. I think that's how it's worded.
 
  • #7
JohnLang said:
so I think what this means for the characteristic polynomial, it's going to look something like this

p(t)=tn-2(t2-bt+c)

I'm kinda stuck on finding the coefficients I'm not quite sure. I calculated the tr(A)=(n3+n)/2

Yep. That looks correct.
In particular you have b=tr(A) and c is the sum of the principle minors.
And I see you already found a general formula for the trace of A.
Good!

That leaves a general formula for the sum of the principle minors.
But for the first part you don't need a general formula yet, you don't even have to use principle minors.
You just need the value of c for the 3x3 and the 4x4 matrix.
With that you can solve the characteristic polynomial and find the eigenvalues.
JohnLang said:
Robert:

So when I row reduced this matrix it looks something like this

[1 0 -1 -2 -3 ... 1-n;0 1 2 3 4 5 ... n-1;(remaining rows are 0)

which means that this matrix has rank 2

from here what should I do?

That's enough.
This proves that the rank is 2, meaning the characteristic polynomial has the form you already mentioned.

What's left is to find b and c in all cases and solve it for the eigenvalues.

After that you can try to find a general formula for c.
But let's take one step at a time.
 
  • #8
JohnLang said:
what do you mean by finding b and c in all cases?

Well, your problem asks for the eigenvalues of the 3x3 matrix and the 4x4 matrix that are filled with the consecutive numbers 1, 2, 3, etcetera.

So I mean these 2 cases.

Btw, to find the pattern, I'd also do the 2x2 matrix.
 
  • #9
I'm having problems when I'm calculating 4x4 matricies, my principal 3x3 minors are all 0
which makes sense since the rank of A is 2 so in this case rref(A) will have 2 rows of zeros which implies the determinant of A is 0.

Any further suggestions?
 
  • #10
Ah, but the principal minors are not zero.

Can you calculate the following determinant and reorder it into a polynomial?
Then you should see what "c" is in this case.
$$\text{det} \begin{bmatrix}
1 - λ & 2 & 3 \\
4 & 5 - λ & 6 \\
7 & 8 & 9 - λ
\end{bmatrix}$$
If you can, perhaps you can try to keep track how you effectively calculate c?
 
  • #11
JohnLang said:
Robert:

So when I row reduced this matrix it looks something like this

[1 0 -1 -2 -3 ... 1-n;0 1 2 3 4 5 ... n-1;(remaining rows are 0)

which means that this matrix has rank 2

from here what should I do?

Also since the matrix T has rank 2, this means that there are non zero principal (2x2) minors from the referred literature from I Love Serena. I think that's how it's worded.

If this is the correct row reduction (I suspect there is an error somewhere because the first row has n+1 entries) then it *might* be easy to find two eigenvectors that have different eigenvalues. These will be the two eigenvalues you need (note the eigenvectors are not the eigenvectors of the original matrix.) And, as you said, there are only two non-zero eigenvalues.
 
  • #12
so when I do it this way I get the characteristic polynomial, p(λ)=-λ(λ2-15λ-18)

and that gives me the correct eigenvalues

the principal minors are

[5 6;8 9]

[1 3;7 9]

[1 2;4 5]

the sum of the principal minors give me -18, furthermore I see that the trace is b. but when I do the 4x4 case, the principal minors of the 4x4 matrix are

[6 7 8;10 11 12; 14 15 16]

[1 3 4;9 11 12;13 15 16]

[1 2 4;5 6 8;13 14 16]

[1 2 3;5 6 7;9 10 11]

and all their determinants are 0

I'm saying that the 4x4 char poly is

p(λ)=λ22-65λ-C)

I guess I'm lost on the C part.
 
  • #13
The 3x3 case is correct.

But the trace of the 4x4 is not 65.
And the principal minors are supposed to be 2x2 matrices (much easier to calculate ;)).
 
  • #14
sorry 34, also if I'm going to calculate the principal minors for 2x2 that means there will be 6 of them for the 4x4 case right? 4 choose 2?
 
  • #15
Yup.
 
  • #16
WOOT! ok the 4x4 case worked, let's see if I can get it going for the general case, at least I know there are n choose 2 principal 2x2 minors
 
  • #17
:smile:
 
  • #18
is it fair to say that only the first 2 rows of T will be considered in the general case of finding the 2x2 principal submatricies since the rank of T is 2 meaning there are a lot of zero rows?
 
  • #19
Hmm, I don't know. :confused:
I don't think so.

Anyway, I'm off to bed. :zzz:
 
  • #20
haha thanks for all the help!
 
  • #21
JohnLang said:
is it fair to say that only the first 2 rows of T will be considered in the general case of finding the 2x2 principal submatricies since the rank of T is 2 meaning there are a lot of zero rows?

No, but you can take an alternate route skipping the whole submatrix thing that's kind of like that. Since you know that the rank is 2, if you presume there are two nonzero eigenvalues then their eigenvectors span the range R of T. Further T(R)=R. So you can figure out everything you want to know by analyzing how T maps the two dimensional space R to R. How easy that is depends on how clever you can be about picking a basis for R.
 
  • #22
Hmm, this is interesting, since T has 2 distinct eigenvalues in which I'll presume, furthermore since the other eigenvalues are all zero, is this enough to say that T is diagonalizable? Would that help in me in analyzing how T maps R?
 
  • #23
JohnLang said:
Hmm, this is interesting, since T has 2 distinct eigenvalues in which I'll presume, furthermore since the other eigenvalues are all zero, is this enough to say that T is diagonalizable? Would that help in me in analyzing how T maps R?

That's too abstract to really help. You do have to get your hands dirty. Take the 3x3 case. You want to pick two basis vectors for R that are easy to work with. Try messing around.
 
  • #24
btw each of the non zero eigenvalues have a corresponding eigenvector because geometric multiplicity is always less than or equal to algebraic multiplicity right?
 
  • #25
JohnLang said:
btw each of the non zero eigenvalues have a corresponding eigenvector because geometric multiplicity is always less than or equal to algebraic multiplicity right?

Well, every eigenvalue has at least one eigenvector. But I wouldn't worry too much about proving these things exist. The idea here is to actually find the eigenvalues and potentially eigenvectors. At which point there really won't be any question they exist.
 
  • #26
Don't give up on this, ok? I spent some time on this and hate to see it go to waste. R is spanned by the column vectors of T. You can tough it out by choosing any two columns of T and crunching the numbers. But it's better if you find a clever basis. Think about linear combinations of the columns. Here's a big hint. For the 3x3 case pick v=[-1,0,1] and use the basis {v,T(v)}. Try to find the 2x2 matrix of T over R in that basis. You can generalize this without it turning into a complete nightmare for the nxn case.
 
  • #27
OK I'll give it a shot. I did give up on the problem because it seemed really annoying
 
  • #28
JohnLang said:
OK I'll give it a shot. I did give up on the problem because it seemed really annoying

I'm going to peddle some more hints, since I've got nothing else to do with them. T acts on the subspace R by mapping v->T(v) and T(v)->T(T(v)). T(v) is a pretty simple vector, work it out. This is the 'clever choice of basis' bit. Now you can find the 2x2 matrix M=[[a,b],[c,d]] of T over R by solving T(v)=a*v+b*T(v) and T(T(v))=c*v+d*T(v). It's pretty easy, in fact the first equation is trivial. The charcteristic polynomial of M is your missing quadratic factor in the characteristic polynomial of T. Interested again?
 
  • #29
An interesting thing about this matrix is that
(let tr(M) be the trace of the matrix M)

[tex]tr(A^T A)=\sum_{k=1}^{n^2} k^2=\frac{1}{6} n^2(n^2+1)(2n^2+1)[/tex]

though that does not appear to be of direct use.

If x and y are the non zero eigenvalues we have
x+y=tr(A)
x^2+y^2=tr(A^2)
xy=(1/2)(tr(A)^2-tr(A^2))

where the we can predict the above are polynomials in n of degrees 3, 6, and 5 respectively.

From which the characteristic polynomial and x and y are easily found.

As a side note I am also pretty sure there is a slick way to do this using a change of basis or row reduction, and a way using minor expansion.
 
Last edited:
  • #30
For the extra credit of the problem, the only thing left is a general expression for the "b" and the "c" in the characteristic polynomial.
The coefficient "b" is the trace, while "c" is the sum of the 2x2 minor principals.

In other words:
$$b = \textrm{tr}(t_{ij}) = \sum_i t_{ii} = t_{11} + t_{22} + ... + t_{nn}$$
$$c = \sum_i \sum_{j > i} \det(\textrm{principal submatrix of i and j}) = \sum_i \sum_{j > i} t_{ii} t_{jj} - t_{ij} t_{ji}$$
You already found a general expression for the trace.
Now if you substitute the expression that is given for ##t_{ij}##, and write out the summation, you should be able to find a general expression.
 

1. What is the purpose of calculating the eigenvalues of a matrix?

The eigenvalues of a matrix are important because they provide information about the behavior of the matrix in various mathematical operations, such as matrix multiplication and inversion. They also have applications in solving systems of linear equations, understanding the stability of dynamic systems, and analyzing data in fields like physics and engineering.

2. How do you calculate the eigenvalues of a matrix?

To calculate the eigenvalues of a matrix, you first need to find the characteristic polynomial of the matrix. This involves finding the determinant of the matrix minus a variable, setting the polynomial equal to zero, and solving for the variable. The solutions to this polynomial are the eigenvalues of the matrix.

3. Can all matrices be diagonalized to find their eigenvalues?

No, not all matrices can be diagonalized. Only square matrices that are diagonalizable can have their eigenvalues calculated. A matrix is diagonalizable if it has a full set of linearly independent eigenvectors.

4. What is the significance of the multiplicity of an eigenvalue?

The multiplicity of an eigenvalue refers to the number of times it appears as a solution to the characteristic polynomial. This value can provide information about the algebraic and geometric properties of the matrix, such as whether it is invertible or has repeated eigenvalues.

5. How are the eigenvalues of a matrix related to its eigenvectors?

The eigenvalues of a matrix are related to its eigenvectors through the eigenvalue equation: A*v = λ*v, where A is the matrix, v is the eigenvector, and λ is the eigenvalue. This equation shows that multiplying a matrix by its eigenvector results in a scalar multiple of the eigenvector, with the scalar being the corresponding eigenvalue.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
524
  • Calculus and Beyond Homework Help
Replies
19
Views
3K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
835
  • Engineering and Comp Sci Homework Help
Replies
18
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
0
Views
456
  • Calculus and Beyond Homework Help
Replies
7
Views
3K
  • Differential Equations
Replies
2
Views
1K
Back
Top