Looking for Plagiarism-Free Answers for Your US, UK, Singapore, New Zealand, and Ireland College/University Assignments?
Talk to an Expert| Category | Assignment | Subject | Education |
|---|---|---|---|
| University | Massey University | Module Title | 160102 Algebra |
| Academic Year | 2026 |
|---|
Check your answer in Matlab.What does Matlab do when asked to provide the eigenvalues of an n×nn \times n matrix (such as [1101]\begin{bmatrix}1 & 1 \\ 0 & 1\end{bmatrix}[1011]) which has fewer than nnn linearly independent eigenvectors? How could you use Matlab to determine when a large n×nn \times n matrix has fewer than nnn linearly independent eigenvectors? Illustrate your method in Matlab.
The Matlab command randn(n) creates an n×nn \times n matrix in which each entry is a random number chosen from the normal distribution.
(a) Create such a 4×44 \times 4 matrix and use Matlab to find its eigenvalues and eigenvectors. Use Matlab to check that the matrix of eigenvectors can be used to diagonalize the matrix. How many eigenvalues are real? If you repeat the experiment with different random numbers, do you always get the same number of real eigenvalues?
(b) Create a large such matrix (without printing it out, e.g. use A = randn(100); where the semicolon stops the result being printed out) and plot its eigenvalues as points in the complex plane. What do you notice? What happens for different values of nnn?
For large matrices, computing the eigenvalues and eigenvectors the way we have been doing it by hand is prohibitively expensive, even on a computer. There is a faster method called the power method:
Step 1. Choose any nonzero starting vector x0x_0x0.
Step 2. Let xk+1=Axkx_{k+1} = A x_k for k=0,1,2,…k = 0, 1, 2, \ldots.
Step 3. Let bk=xkTxk+1xkTxkb_k = \dfrac{x_k^{T} x_{k+1}}{x_k^{T} x_k} for k=0,1,2,…k = 0, 1, 2, \ldots.
Then the sequence b0,b1,b2,…b_0, b_1, b_2, \ldotsb0,b1,b2,… tends to the eigenvalue of AAA of largest modulus, and xkx_kxk tends to an eigenvector.
Let
A=[3−1−1−12054−2−1]andx0=[111].A = \begin{bmatrix} 3 & -1 & -1 \\ -12 & 0 & 5 \\ 4 & -2 & -1 \end{bmatrix} \quad \text{and} \quad x_0 = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix}.In Matlab, compute b0,b1,b2,b3,b_0, b_1, b_2, b_3,b0,b1,b2,b3, and b4b_4b4.
How do they compare to the largest eigenvalue of AAA?
Get Answer of 160102 Algebra Assignment & Raise Your Grades
Pay & Buy Non Plagiarized AssignmentStruggling with your 160102 Algebra Assignment at Massey University? You’re not alone—many students find algebra concepts challenging and time-consuming. That’s where we step in. Our expert guidance simplifies complex topics, helping you understand each step clearly while ensuring accurate, high-quality solutions. With our Assignment Help in NZ, you get reliable support tailored to your coursework. You can also explore our free list of Assignment Answers Samples to build confidence and improve your approach. Get the right help at the right time and stay ahead in your studies.
Hire Assignment Helper Today!
Let's Book Your Work with Our Expert and Get High-Quality Content