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

Exercises 42–44 show how to use the condition number of a matrix Ato estimate the accuracy of a computed solution of \(Ax = b\). If the entries of Aand b are accurate to about rsignificant digits and if the condition number of Ais approximately \({\bf{1}}{{\bf{0}}^k}\) (with ka positive integer), then the computed solution of \(Ax = b\) should usually be accurate to at least \(r - k\) significant digits.

44. Solve an equation \(Ax = b\) for a suitable b to find the last column of the inverse of the fifth-order Hilbert matrix

\(A = \left[ {\begin{array}{*{20}{c}}1&{1/2}&{1/3}&{1/4}&{1/5}\\{1/2}&{1/3}&{1/4}&{1/5}&{1/6}\\{1/3}&{1/4}&{1/5}&{1/6}&{1/7}\\{1/4}&{1/5}&{1/6}&{1/7}&{1/8}\\{1/5}&{1/6}&{1/7}&{1/8}&{1/9}\end{array}} \right]\)

How many digits in each entry of x do you expect to be correct? Explain. [Note:The exact solution is \(\left( {630, - 12600,56700, - 88200,44100} \right)\).]

Short Answer

Expert verified

The solution has approximately 11 decimal places, and the calculated answer

(\({\bf{x}}\)) is accurate.

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

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

01

Obtain the column matrix b

Consider the matrix\(A = \left[ {\begin{array}{*{20}{c}}1&{1/2}&{1/3}&{1/4}&{1/5}\\{1/2}&{1/3}&{1/4}&{1/5}&{1/6}\\{1/3}&{1/4}&{1/5}&{1/6}&{1/7}\\{1/4}&{1/5}&{1/6}&{1/7}&{1/8}\\{1/5}&{1/6}&{1/7}&{1/8}&{1/9}\end{array}} \right]\).

Obtain a random matrix by using the MATLAB command shown below:

\( > > {\bf{b}} = {\rm{rand}}\left( {5,1} \right)\)

\({\bf{b}} = \left[ {\begin{array}{*{20}{c}}0\\0\\0\\0\\1\end{array}} \right]\)

02

Obtain the MATLAB solution

Compute\({\bf{x}}\)of\(A{\bf{x}} = {\bf{b}}\)by using the MATLAB command shown below:

\(\begin{array}{l} > > {\rm{ A }} = {\rm{ }}\left[ \begin{array}{l}1{\rm{ 1/2 1/3 1/4 1/5; 1/2 1/3 1/4 1/5 1/6; 1/3 1/4 1/5 1/6 1/7; }}\\{\rm{1/4 1/5 1/6 1/7 1/8; 1/5 1/6 1/7 1/8 1/9}}\end{array} \right]{\rm{;}}\\ > > b = \left[ {0{\rm{; 0; 0; 0; 1}}} \right]{\rm{;}}\\ > > x = A\backslash b\end{array}\)

The output is \({\bf{x}} = \left[ {\begin{array}{*{20}{c}}{630.00}\\{ - 12600.00}\\{56700.00}\\{ - 88200.00}\\{44100.00}\end{array}} \right]\).

03

Obtain the condition number of matrix A

Consider matrix A as shown below:

\(A = \left[ {\begin{array}{*{20}{c}}1&{1/2}&{1/3}&{1/4}&{1/5}\\{1/2}&{1/3}&{1/4}&{1/5}&{1/6}\\{1/3}&{1/4}&{1/5}&{1/6}&{1/7}\\{1/4}&{1/5}&{1/6}&{1/7}&{1/8}\\{1/5}&{1/6}&{1/7}&{1/8}&{1/9}\end{array}} \right]\)

Obtain thecondition number of matrix A by using the MATLAB command shown below:

\[\begin{array}{l} > > {\rm{ A }} = {\rm{ }}\left[ \begin{array}{l}1{\rm{ 1/2 1/3 1/4 1/5; 1/2 1/3 1/4 1/5 1/6; 1/3 1/4 1/5 1/6 1/7; }}\\{\rm{1/4 1/5 1/6 1/7 1/8; 1/5 1/6 1/7 1/8 1/9}}\end{array} \right]{\rm{;}}\\ > > {\rm{ C}} = {\rm{cond}}\left( {\rm{A}} \right)\end{array}\]

It gives the output 476607.25.

Thus, thecondition number of matrix A is 476608 or\(4.8 \times {10^5}\).

The solution has approximately 11 decimal places, and the calculated answer

(\({\bf{x}}\)) is accurate.

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

Give a formula for \({\left( {ABx} \right)^T}\), where \({\bf{x}}\) is a vector and \(A\) and \(B\) are matrices of appropriate sizes.

In Exercises 27 and 28, view vectors in \({\mathbb{R}^n}\) as \(n \times 1\) matrices. For \({\mathop{\rm u}\nolimits} \) and \({\mathop{\rm v}\nolimits} \) in \({\mathbb{R}^n}\), the matrix product \({{\mathop{\rm u}\nolimits} ^T}v\) is a \(1 \times 1\) matrix, called the scalar product, or inner product, of u and v. It is usually written as a single real number without brackets. The matrix product \({{\mathop{\rm uv}\nolimits} ^T}\) is an \(n \times n\) matrix, called the outer product of u and v. The products \({{\mathop{\rm u}\nolimits} ^T}{\mathop{\rm v}\nolimits} \) and \({{\mathop{\rm uv}\nolimits} ^T}\) will appear later in the text.

27. Let \({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 2}\\3\\{ - 4}\end{aligned}} \right)\) and \({\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}a\\b\\c\end{aligned}} \right)\). Compute \({{\mathop{\rm u}\nolimits} ^T}{\mathop{\rm v}\nolimits} \), \({{\mathop{\rm v}\nolimits} ^T}{\mathop{\rm u}\nolimits} \),\({{\mathop{\rm uv}\nolimits} ^T}\), and \({\mathop{\rm v}\nolimits} {{\mathop{\rm u}\nolimits} ^T}\).

Suppose Aand Bare \(n \times n\), Bis invertible, and ABis invertible. Show that Ais invertible. (Hint: Let C=AB, and solve this equation for A.)

Suppose Ais an \(m \times n\) matrix and there exist \(n \times m\) matrices C and D such that \(CA = {I_n}\) and \(AD = {I_m}\). Prove that \(m = n\) and \(C = D\). (Hint: Think about the product CAD.)

Suppose the third column of Bis the sum of the first two columns. What can you say about the third column of AB? Why?

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