/*! 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} Q43Q Exercises 42鈥44 show how to us... [FREE SOLUTION] | 91影视

91影视

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.

43. Repeat Exercise 42 for the matrix in Exercise 10.

Short Answer

Expert verified

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

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

Step by step solution

01

Obtain the condition number of matrix A

Consider matrix A as shown below:

\(A = \left( {\begin{aligned}{*{20}{c}}5&3&1&7&9\\6&4&2&8&{ - 8}\\7&5&3&{10}&9\\9&6&4&{ - 9}&{ - 5}\\8&5&2&{11}&4\end{aligned}} \right)\)

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

\(\begin{aligned}{l} > > {\rm{ A }} = {\rm{ }}\left( {{\rm{5 3 1 7 9; 6 4 2 8 }} - {\rm{8; 7 5 3 10 9; 9 6 4 }} - {\rm{9 }} - {\rm{5; 8 5 2 11 4}}} \right);\\ > > {\rm{ C}} = {\rm{cond}}\left( {\rm{A}} \right)\end{aligned}\)

It gives the output 68622.

Thus, thecondition number of matrix A is 68622.

By comparing with thecondition number of A, that is \({10^k}\), the required condition number is approximately in between \({10^4}\) and \({10^5}\).

02

Obtain the solution by using the MATLAB command

It is discovered that x and\({{\bf{x}}_1}\)agree to at least 11 or 12 significant digits if it run multiple experiments with MATLAB, which properly captures 16 digits.

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

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

\({\bf{x}} = \left( {\begin{aligned}{*{20}{c}}{.2190}\\{.0470}\\{.6789}\\{.6793}\\{.9347}\end{aligned}} \right)\)

Now, compute\({\bf{b}} = A{\bf{x}}\)by using the MATLAB command shown below:

\(\begin{aligned}{l} > > {\rm{ A }} = {\rm{ }}\left( {{\rm{5 3 1 7 9; 6 4 2 8 }} - {\rm{8; 7 5 3 10 9; 9 6 4 }} - {\rm{9 }} - {\rm{5; 8 5 2 11 4}}} \right);\\ > > x = \left( {.2190{\rm{; }}{\rm{.0470; }}{\rm{.6789; }}{\rm{.6793; }}{\rm{.9347}}} \right){\rm{;}}\\ > > b = A*x\end{aligned}\)

The output is \({\bf{b}} = A{\bf{x}} = \left( {\begin{aligned}{*{20}{c}}{15.0821}\\{.8165}\\{19.0097}\\{ - 5.8188}\\{14.5557}\end{aligned}} \right)\).

03

Obtain the MATLAB solution

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

\(\begin{aligned}{l} > > {\rm{ A }} = {\rm{ }}\left( {{\rm{5 3 1 7 9; 6 4 2 8 }} - {\rm{8; 7 5 3 10 9; 9 6 4 }} - {\rm{9 }} - {\rm{5; 8 5 2 11 4}}} \right);\\ > > b = \left( {15.0821{\rm{; }}{\rm{.8165; 19}}{\rm{.0097; }} - {\rm{5}}{\rm{.8188; 14}}{\rm{.5557}}} \right){\rm{;}}\\ > > {x_1} = A\backslash b\end{aligned}\)

The output is\({{\bf{x}}_1} = \left( {\begin{aligned}{*{20}{c}}{.2190}\\{.0470}\\{.6789}\\{.6793}\\{.9347}\end{aligned}} \right)\).

Obtain the difference between x and\({{\bf{x}}_1}\).

\({\bf{x}} - {{\bf{x}}_1} = \left( {\begin{aligned}{*{20}{c}}{.3165}\\{ - .6743}\\{.3343}\\{.0158}\\{ - .0005}\end{aligned}} \right) \times {10^{ - 11}}\)

Thus, the solution has approximately 11 decimal places, and the calculated answer (\({{\bf{x}}_1}\)) is accurate.

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

Let \(T:{\mathbb{R}^n} \to {\mathbb{R}^n}\) be an invertible linear transformation. Explain why T is both one-to-one and onto \({\mathbb{R}^n}\). Use equations (1) and (2). Then give a second explanation using one or more theorems.

Let \(u = \left[ {\begin{array}{*{20}{c}}2\\{ - 1}\end{array}} \right]\) and \(v = \left[ {\begin{array}{*{20}{c}}2\\1\end{array}} \right]\). Show that \(\left[ {\begin{array}{*{20}{c}}h\\k\end{array}} \right]\) is in Span \(\left\{ {u,v} \right\}\) for all \(h\) and\(k\).

In a grid of wires, the temperature at exterior mesh points is maintained at constant values, (inC)as shown in the accompanying figure. When the grid is in thermal equilibrium, the temperature Tat each interior mesh point is the average of the temperatures at the four adjacent points. For example,

T2=T3+T1+200+04

Find the temperatures T1,T2,andT3andwhen the grid is in thermal equilibrium.


Consider two vectors v1 andv2in R3 that are not parallel.

Which vectors inlocalid="1668167992227" 3are linear combinations ofv1andv2? Describe the set of these vectors geometrically. Include a sketch in your answer.

Each statement in Exercises 33-38 is either true (in all cases) or false (for at least one example). If false, construct a specific example to show that the statement is not always true. Such an example is called a counterexample to the statement. If a statement is true, give a justification. (One specific example cannot explain why a statement is always true. You will have to do more work here than in Exercises 21 and 22.)

33. If \({{\mathop{\rm v}\nolimits} _1},...,{v_4}\) are in \({\mathbb{R}^4}\) and \({{\mathop{\rm v}\nolimits} _3} = 2{{\mathop{\rm v}\nolimits} _1} + {v_2}\), then \(\left\{ {{v_1},{v_2},{v_3},{v_4}} \right\}\) is linearly dependent.

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.