in editor window write the following code:
x=[3 4 4 3 5 5 1 2 3 2];
y=[2 4 4 6 2 2 4 2 4];
A = diag(x)+diag(y,1)+diag(y,-1);
now in the command window write following:
det(A)
and then press enter you will get -1.4176e+05 as expected
then write again in command window following:
eig(A)
and then press enter you will get all the eigenvalues of matrix A, total of 10 and the largest one is dominant one which is 11.7559
Problem #2: Consider the following vectors, which you can copy and paste directly into Matlab. x=[3 4 4 3 5 5 1 2 3...
1 Problem 7 Let A 4 5 - 1 5 0 2 -1 2 3 -4 7 2 1 3 7 2 -4 2 0 0 10 1 1 a) (4 pts] Using the [V, DJ command in MATLAB with rational format, find a diagonal matrix D and a matrix V of maximal rank satisfying the matrix equation A * V = V * D. Is A real-diagonalizable? b) (4 pts) Write down the eigenvalues of A. For each eigenvalue,...
13 please 8. b. -2 3 0 0 0 0 -1 2 0 0-4 0 3 0-2 0 3 0 0 -2 0 3 0 4 o0-1 6 0 0 1 o 2 6 0 0 -1 6 10. For any positive integer k, prove that det(4t) - de(A)*. 11. Prove that if A is invertible, then den(A-1)- I/der(A) - det(4)- 12. We know in general that A-B丰B-A for two n x n matrices. However, prove that: det(A . B)-det(B...
You should test out your script using the following matrices. 2 3 1 2 3 1 C D- 3 2 B- A- -3 8 4 8 2 4 4 1 You may not use any special MATLAB tools. Instead, work symbolically and derive general expressions for the eigenvalues and the eigenvectors. For instance, you may not use the SOLVE function. If you are not sure whether or not a particular function is available to you, just ask Include your hand...
4 7 5 0 2 2 Problem 7 Let A= -1 2 9 -4 1 5 -1 3 7 3 1 -4 2 0 1 1 0 10 2 a) (4 pts] Using the [V, D] command in MATLAB with rational format, find a diagonal matrix D and a matrix V of maximal rank satisfying the matrix equation A * V = V * D. Is A real-diagonalizable? b) [4 pts) Write down the eigenvalues of A. For each eigenvalue,...
4. Problem 4. Consider the following system of first order coupled ordinary differential equations, where r (t) and a) Rewrite the initial value problem (IVP) in a matrix form aAi, where ? r (0) +v()() b) Find the three distinct (real) eįgrivalus {A] c) Verify that, satisfies the IVP where the constant ακ fficients c1 c2 and C3 can be detennined from the three given initial conditions. P BIVPn initial 5. Problem 5 (challenge problem): Sinultaneous diagonalization of commuting matrices...
on matlab (1) Matrices are entered row-wise. Row commas. Enter 1 2 3 (2) Element A, of matrix A is accesser (3) Correcting an entry is easy to (4) Any submatrix of Ais obtained by d row wise. Rows are separated by semicolons and columns are separated by spaces ner A l 23:45 6. B and hit the return/enter kry matrix A is accessed as A Enter and hit the returnerter key an entry is easy through indesine Enter 19...
2. [-12 Points) DETAILS LARLINALG8 7.2.005. Consider the following. -4 20 0 1 -3 A = 040 P= 04 0 4 0 2 1 2 2 (a) Verify that A is diagonalizable by computing p-AP. p-1AP = 11 (b) Use the result of part (a) and the theorem below to find the eigenvalues of A. Similar Matrices Have the Same Eigenvalues If A and B are similar n x n matrices, then they have the same eigenvalues. (91, 12, 13)...
Differention Equations - Can someone answer the checked numbers please? Determinants 659 is the characteristic equation of A with λ replaced by /L we can multiply by A-1 to get o get Now solve for A1, noting that ao- det A0 The matrix A-0 22 has characteristic equation 0 0 2 2-A)P-8-12A +62- 0, so 8A1-12+6A -A, r 8A1-12 Hence we need only divide by 8 after computing 6A+. 23 1 4 12 10 4 -64 EXERCISES 1. Find AB,...
1 -1.2 5 Uį = U2 = -3 1, U3 = 2 , 14 = 29 ( 7 Answer the following questions and give proper explanations. (a) Is {ui, U2, uz} a basis for R3? (b) Is {ui, U2, u4} a basis for R4? (c) Is {ui, U2, U3, U4, u; } a basis for R? (d) Is {ui, U2, U3, u} a basis for Rº?! (e) Are ui, u, and O linearly independent?! Problem 6. (15 points). Let A...
Problem #5: (a) Let u =(2, -4,-8, -10) and v=(-1, -3, 8, -10). Find ||u – proj,u||. Note: You can partially check your work by first calculating projyu, and then verifying that the vectors projyu and u-proj,u are orthogonal. (b) Consider the following vectors u, v, w, and z (which you can copy and paste directly into Matlab). v = (-8.1 4.2 6.3], w = [-9 -3.7 5.5], u z = = [-8.6 -3.4 -7.1], [-3.2 2 -4.9] Find the...