Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

(M)The MATLAB command roots\(\left( p \right)\) computes the roots of the polynomial equation \(p\left( t \right) = {\bf{0}}\). Read a MATLAB manual, and then describe the basic idea behind the algorithm for the roots command.

Short Answer

Expert verified

A companion matrix\({C_p}\)is constructed whose characteristic polynomial is\(p\), so the roots of\(p\)are the eigenvalues of\({C_p}\).

The eigenvalues are found by the QR algorithm used by the eigs() command.

Step by step solution

01

Explain the command in MATLAB

We need to define the function roots () in MATLAB.

The input to function roots () is a row vector \(p\) whose entries are the coefficients of a polynomial, with the highest order coefficient listed first.

02

Explanation to find eigenvalues

A companion matrix\({C_p}\)is constructed whose characteristic polynomial is\(p\), so the roots of\(p\)are the eigenvalues of\({C_p}\).

The eigenvalues are found by the QR algorithm used by the eigs() command.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Exercises 9-14 require techniques section 3.1. Find the characteristic polynomial of each matrix, using either a cofactor expansion or the special formula for \(3 \times 3\) determinants described prior to Exercise 15-18 in Section 3.1. [Note: Finding the characteristic polynomial of a \(3 \times 3\) matrix is not easy to do with just row operations, because the variable \(\lambda \) is involved.

12. \(\left[ {\begin{array}{*{20}{c}}- 1&0&1\\- 3&4&1\\0&0&2\end{array}} \right]\)

Use mathematical induction to show that if \(\lambda \) is an eigenvalue of an \(n \times n\) matrix \(A\), with a corresponding eigenvector, then, for each positive integer \(m\), \({\lambda ^m}\)is an eigenvalue of \({A^m}\), with \({\rm{x}}\) a corresponding eigenvector.

If \(p\left( t \right) = {c_0} + {c_1}t + {c_2}{t^2} + ...... + {c_n}{t^n}\), define \(p\left( A \right)\) to be the matrix formed by replacing each power of \(t\) in \(p\left( t \right)\)by the corresponding power of \(A\) (with \({A^0} = I\) ). That is,

\(p\left( t \right) = {c_0} + {c_1}I + {c_2}{I^2} + ...... + {c_n}{I^n}\)

Show that if \(\lambda \) is an eigenvalue of A, then one eigenvalue of \(p\left( A \right)\) is\(p\left( \lambda \right)\).

Question: For the matrices in Exercises 15-17, list the eigenvalues, repeated according to their multiplicities.

17. \(\left[ {\begin{array}{*{20}{c}}3&0&0&0&0\\- 5&1&0&0&0\\3&8&0&0&0\\0&- 7&2&1&0\\- 4&1&9&- 2&3\end{array}} \right]\)

[M]Repeat Exercise 25 for \[A{\bf{ = }}\left[ {\begin{array}{*{20}{c}}{{\bf{ - 8}}}&{\bf{5}}&{{\bf{ - 2}}}&{\bf{0}}\\{{\bf{ - 5}}}&{\bf{2}}&{\bf{1}}&{{\bf{ - 2}}}\\{{\bf{10}}}&{{\bf{ - 8}}}&{\bf{6}}&{{\bf{ - 3}}}\\{\bf{3}}&{{\bf{ - 2}}}&{\bf{1}}&{\bf{0}}\end{array}} \right]\].

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free