






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







1 2 1 2 3
Itโs roots are given by 5.85 and โ0.85 which are the eigenvalues of A. They are real. The reason is that the matrix A is a real symmetric matrix for k=3. Also, note that the sum of eigenvalues is 5 which is the trace of A and their product is โ 5 which is the determinant of A.
Itโs roots which are the eigenvalues of A are given by:
We need to plot these two roots as a function of k. First, let us analyze the behavior of these roots. Their
adding up to 5. At k=100, the eigenvalues are โ14.89 and 19.89. At k=โ0.75, the eigenvalues are 2.5 and 2.5, i.e., we have repeated eigenvalues. In problem 1, we saw that for k=3, the eigenvalues are 5.85 and โ0.85. At k=0, they are 1 and 4. Thus, as k decreases from 100 to โ0.75, the eigenvalues get closer to each
Well, the first thing we can conclude is that the eigenvalues are complex as the quantity under the square root sign is negative. In this range of k, the eigenvalues are
roots get closer to each other along the vertical direction and at k=โ0.75, they meet at 2.5. This completes the picture of the eigenvalues as k varies from โ 100 to 100. The plot is shown below. Figure 1 We can use MATLAB to make this plot as well. [ Please see my comments on the color code for figures in MATLAB in Prob 4 solution. Here I have played around with the color code! ] k=-100:.01:100; EA=zeros(20000,2); for n=1:1: b1=k(n); A=[1 3;b1 4]; v= eig(A); EA(n,1)=v(1);
The pattern appears to be as follows: matrices have 1โs on the superโdiagonal [diagonal above the diagonal] and the coefficients in the last row appear as coefficients of the characteristic polynomial. We can see if the following guess for an nxn matrix is correct: 1 2 3 1 2 2 1 3 2 1
n n n n n n
The easiest way to try to do this is proof by induction. So, suppose this formula holds for (nโ1) x (nโ1) matrices of this form. Can we then show that it holds for n x n matrices of the same form? First, we write 1 2 3
n
Let us compute the determinant of this matrix by expanding it via the first column. Now the cofactor of 1,1 entry ๏ฌ is precisely an (nโ1) x (nโ1) matrix of the same form. Since we have assumed that the formula holds for (nโ1)x(nโ1) matrices, we can use it for the cofactor of the 1,1 term. Now, the only other nonโ zero entry in the first column is ๏ก 1. It cofactor is (โ1) (nโ1).^ Thus, we get the characteristic polynomial of A to be ( 1) ( 1) 1 1 2 3 2 1 3 2 1 1 2 2 1 3 2 1
n n n n n n n n n n n n n
๏ซ ๏ญ ๏ญ ๏ญ ๏ญ ๏ญ ๏ญ ๏ญ ๏ญ
This shows that the formula holds for n if we assume it holds for (nโ1). Since we have shown it for n=2, by induction we have shown it for any n. These types of matrices are called companion matrices. By the way, we can transpose these matrices and get another form of companion matrices with 1โs along the subโdiagonal and the ๏กโs along the last column. Companion matrices play a role in the theory of digital filters. Digital filters are implementations of analog filters using digital signal processing chips. [In the old days, analog filters were constructed using R, L, C and operational amplifiers.] Digital signal processing is a very large business. Texas Instruments,
ST Microelectronics, etc. have large businesses in digital signal processing chips. Such filters are used in consumer electronics devices such as televisions, music players, DVD players, etc. See http://en.wikipedia.org/wiki/Digital_signal_processing, http://www.ti.com/ for interesting information these chips.
constraint. Solution: We start by evaluating the characteristic polynomial of B. 2 2 1 1 2
Now b 2 =1. We can substitute this value into the characteristic polynomial and solve for roots of 2
We can compute the roots of this quadratic. For b1 between 0 and 0.25, they are real and are given by 1 1 1 2
๏ฌ ๏ฌ
For b 1 > 0.25, they are complex and are given by 1 1 1 2
๏ฌ ๏ฌ
At b 1 = 0, they are 0 and โ1. As b 1 increases from 0 to 0.25, the eigenvalues come closer to each other such that at b 1 =0.25, they coalesce at โ0.5. For b 1 > 0.25, they become complex with real part being โ0.5. We can plot this on the complex plane as below:
We can use MATLAB for plotting as well as visualizing the geometry. MATLAB Code: b=0:.01:100; EA=zeros(10000,2); for n=1:1: b1=b(n); B=[0 1;-b1 -1]; v= eig(B); EA(n,1)=v(1); EA(n,2)=v(2); end plot(EA) ๏ Figure 4 In Figure 4, I donโt like the color code MATLAB chooses because it seems to indicate that the eigenvalue from the positive imaginary part [blue] goes to the right toward the origin while the one with the negative imaginary part [red] goes left to โ 1 after they both meet each other at โ0.5 on the real axis. Other than this minor quibble, the plot in Figure 4 is very much like the plot we got from our own analytical calculations in Figure 3 above.
-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0
Figure 5
We need to show that ๏ฌ is also an eigenvalue of BA. We will do this by producing an eigenvector of BA. Note that Bv cannot be zero since ๏ฌ is nonโzero. Let w=Bv. Now,
Not for grading [hard problem for exploration and challenge]: