/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q24SE (M) The MATLAB command roots\(\... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

(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 91Ó°ÊÓ!

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: In Exercises \({\bf{5}}\) and \({\bf{6}}\), the matrix \(A\) is factored in the form \(PD{P^{ - {\bf{1}}}}\). Use the Diagonalization Theorem to find the eigenvalues of \(A\) and a basis for each eigenspace.

5. \(\left( {\begin{array}{*{20}{c}}2&2&1\\1&3&1\\1&2&2\end{array}} \right) = \left( {\begin{array}{*{20}{c}}1&1&2\\1&0&{ - 1}\\1&{ - 1}&0\end{array}} \right)\left( {\begin{array}{*{20}{c}}5&0&0\\0&1&0\\0&0&1\end{array}} \right)\left( {\begin{array}{*{20}{c}}{\frac{1}{4}}&{\frac{1}{2}}&{\frac{1}{4}}\\{\frac{1}{4}}&{\frac{1}{2}}&{ - \frac{3}{4}}\\{\frac{1}{4}}&{ - \frac{1}{2}}&{\frac{1}{4}}\end{array}} \right)\)

Question: In Exercises \({\bf{3}}\) and \({\bf{4}}\), use the factorization \(A = PD{P^{ - {\bf{1}}}}\) to compute \({A^k}\) where \(k\) represents an arbitrary positive integer.

3. \(\left( {\begin{array}{*{20}{c}}a&0\\{3\left( {a - b} \right)}&b\end{array}} \right) = \left( {\begin{array}{*{20}{c}}1&0\\3&1\end{array}} \right)\left( {\begin{array}{*{20}{c}}a&0\\0&b\end{array}} \right)\left( {\begin{array}{*{20}{c}}1&0\\{ - 3}&1\end{array}} \right)\)

Show that if \(A\) is diagonalizable, with all eigenvalues less than 1 in magnitude, then \({A^k}\) tends to the zero matrix as \(k \to \infty \). (Hint: Consider \({A^k}x\) where \(x\) represents any one of the columns of \(I\).)

Question: Find the characteristic polynomial and the eigenvalues of the matrices in Exercises 1-8.

7. \(\left[ {\begin{array}{*{20}{c}}5&3\\- 4&4\end{array}} \right]\)

Question: In Exercises \({\bf{1}}\) and \({\bf{2}}\), let \(A = PD{P^{ - {\bf{1}}}}\) and compute \({A^{\bf{4}}}\).

2. \(P{\bf{ = }}\left( {\begin{array}{*{20}{c}}2&{ - 3}\\{ - 3}&5\end{array}} \right)\), \(D{\bf{ = }}\left( {\begin{array}{*{20}{c}}{\bf{1}}&{\bf{0}}\\{\bf{0}}&{\frac{{\bf{1}}}{{\bf{2}}}}\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.