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

Suppose an experiment leads to the following system of equations:

\(\begin{array}{c}{\bf{4}}.{\bf{5}}{x_{\bf{1}}} + {\bf{3}}.{\bf{1}}{x_{\bf{2}}} = {\bf{19}}.{\bf{249}}\\1.6{x_{\bf{1}}} + 1.1{x_{\bf{2}}} = 6.843\end{array}\) (3)

  1. Solve system (3), and then solve system (4), below, in which the data on the right have been rounded to two decimal places. In each case, find the exactsolution.

\(\begin{array}{c}{\bf{4}}.{\bf{5}}{x_{\bf{1}}} + {\bf{3}}.{\bf{1}}{x_{\bf{2}}} = {\bf{19}}.{\bf{25}}\\1.6{x_{\bf{1}}} + 1.1{x_{\bf{2}}} = 6.8{\bf{4}}\end{array}\) (4)

  1. The entries in (4) differ from those in (3) by less than .05%. Find the percentage error when using the solution of (4) as an approximation for the solution of (3).
  1. Use your matrix program to produce the condition number of the coefficient matrix in (3).

Short Answer

Expert verified
  1. The exact solution of (3) is \({x_1} = 3.94\) and \({x_2} = 0.49\). The exact solution of (4) is \({x_1} = 2.90\) and \({x_2} = 2.00\).
  2. The percentage error in\({x_1} = 2.90\)when using the solution of (4) as an approximation for the solution of (3) is\(26\% \). The percentage error in\({x_2} = 2.00\)when using the solution of (4) as an approximation for the solution of (3) is\(308\% \).
  3. The condition number of the coefficient matrix is 3363.

Step by step solution

01

(a) Step 1: Obtain the augmented matrix 

Consider the system of equations (3).

\(\begin{array}{c}4.5{x_1} + 3.1{x_2} = 19.249\\1.6{x_1} + 1.1{x_2} = 6.843\end{array}\)

\(A{\bf{x}} = b\)can be represented as shown below:

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}\\{1.6}&{1.1}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}{{x_1}}\\{{x_2}}\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{19.249}\\{6.843}\end{array}} \right]\)

Write the augmented matrix\(\left[ {\begin{array}{*{20}{c}}A&{\bf{b}}\end{array}} \right]\)as shown below:

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.249}\\{1.6}&{1.1}&{6.843}\end{array}} \right]\)

02

Convert the augmented matrix into the row-reduced echelon form

Consider the augmented matrix\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.249}\\{1.6}&{1.1}&{6.843}\end{array}} \right]\).

Use the code in MATLAB to obtain therow-reduced echelon form.

\[\begin{array}{l} > > {\rm{ A }} = {\rm{ }}\left[ {4.5{\rm{ 3}}{\rm{.1 19}}{\rm{.249; 1}}{\rm{.6 1}}{\rm{.1 6}}{\rm{.843}}} \right];\\ > > {\rm{ U}} = {\rm{rref}}\left( {\rm{A}} \right)\end{array}\]

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.249}\\{1.6}&{1.1}&{6.843}\end{array}} \right] \sim \left[ {\begin{array}{*{20}{c}}1&0&{3.939999622}\\0&1&{0.4900005490}\end{array}} \right]\)

Therefore, the solution is\({\bf{x}} = \left[ {\begin{array}{*{20}{c}}{3.94}\\{0.49}\end{array}} \right]\).

The exact solutions of the system of equations (3) are \({x_1} = 3.94\) and \({x_2} = 0.49\).

03

Obtain the augmented matrix

Consider the system of equations (4).

\(\begin{array}{c}4.5{x_1} + 3.1{x_2} = 19.25\\1.6{x_1} + 1.1{x_2} = 6.84\end{array}\)

\(A{\bf{x}} = b\)can be represented as shown below:

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}\\{1.6}&{1.1}\end{array}} \right]\left[ {\begin{array}{*{20}{c}}{{x_1}}\\{{x_2}}\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}{19.25}\\{6.84}\end{array}} \right]\)

Write theaugmented matrix\(\left[ {\begin{array}{*{20}{c}}A&{\bf{b}}\end{array}} \right]\)as shown below:

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.25}\\{1.6}&{1.1}&{6.84}\end{array}} \right]\)

04

Convert the augmented matrix into the row-reduced echelon form

Consider theaugmentedmatrix\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.25}\\{1.6}&{1.1}&{6.84}\end{array}} \right]\).

Use the code in MATLAB to obtain the row-reducedechelonform.

\[\begin{array}{l} > > {\rm{ A }} = {\rm{ }}\left[ {4.5{\rm{ 3}}{\rm{.1 19}}{\rm{.25; 1}}{\rm{.6 1}}{\rm{.1 6}}{\rm{.84}}} \right];\\ > > {\rm{ U}} = {\rm{rref}}\left( {\rm{A}} \right)\end{array}\]

\(\left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}&{19.249}\\{1.6}&{1.1}&{6.843}\end{array}} \right] \sim \left[ {\begin{array}{*{20}{c}}1&0&{2.899999690}\\0&1&{2.000000450}\end{array}} \right]\)

Therefore, the solution is\({\bf{x}} = \left[ {\begin{array}{*{20}{c}}{2.90}\\{2.00}\end{array}} \right]\).

The exact solutions of the system of equations (4) are \({x_1} = 2.90\) and \({x_2} = 2.00\).

05

(b) Step 5: Calculate the relative errors

The exact value of\({x_1}\)in (3) is 3.94, and in (4), it is 2.90.

The relativeerrorin\({x_1}\)is

\(\begin{array}{c}\frac{{3.94 - 2.90}}{{3.94}} = \frac{{1.04}}{{3.94}}\\ \approx 0.2639.\end{array}\)

In percentage, it is\(26\% \).

The percentage error in\({x_1} = 2.90\)when using the solution of (4) as an approximation for the solution of (3) is\(26\% \).

The exact value of\({x_1}\)in (3) is 3.94, and in (4), it is 2.90.

So, the relativeerrorin\({x_2}\)is

\(\begin{array}{c}\frac{{0.49 - 2.00}}{{0.49}} = \frac{{ - 1.51}}{{0.49}}\\ \approx - 3.0816.\end{array}\)

In percentage, it is\(308\% \).

The percentage error in \({x_2} = 2.00\) when using the solution of (4) as an approximation for the solution of (3) is \(308\% \).

06

(c) Step 6: Use the condition number of the coefficient matrix

Consider the coefficient matrix\(A = \left[ {\begin{array}{*{20}{c}}{4.5}&{3.1}\\{1.6}&{1.1}\end{array}} \right]\).

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

\[\begin{array}{l} > > {\rm{ A }} = {\rm{ }}\left[ {4.5{\rm{ 3}}{\rm{.1 19}}{\rm{.249; 1}}{\rm{.6 1}}{\rm{.1 6}}{\rm{.843}}} \right];\\ > > {\rm{ C}} = {\rm{cond}}\left( {\rm{A}} \right)\end{array}\]

It gives the output 3362.999.

Thus, the condition number of the coefficient matrix is 3363.

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

Suppose the second column of Bis all zeros. What can you

say about the second column of AB?

Suppose \({A_{{\bf{11}}}}\) is invertible. Find \(X\) and \(Y\) such that

\[\left[ {\begin{array}{*{20}{c}}{{A_{{\bf{11}}}}}&{{A_{{\bf{12}}}}}\\{{A_{{\bf{21}}}}}&{{A_{{\bf{22}}}}}\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}I&{\bf{0}}\\X&I\end{array}} \right]\left[ {\begin{array}{*{20}{c}}{{A_{{\bf{11}}}}}&{\bf{0}}\\{\bf{0}}&S\end{array}} \right]\left[ {\begin{array}{*{20}{c}}I&Y\\{\bf{0}}&I\end{array}} \right]\]

Where \(S = {A_{{\bf{22}}}} - {A_{21}}A_{{\bf{11}}}^{ - {\bf{1}}}{A_{{\bf{12}}}}\). The matrix \(S\) is called the Schur complement of \({A_{{\bf{11}}}}\). Likewise, if \({A_{{\bf{22}}}}\) is invertible, the matrix \({A_{{\bf{11}}}} - {A_{{\bf{12}}}}A_{{\bf{22}}}^{ - {\bf{1}}}{A_{{\bf{21}}}}\) is called the Schur complement of \({A_{{\bf{22}}}}\). Such expressions occur frequently in the theory of systems engineering, and elsewhere.

Use the inverse found in Exercise 1 to solve the system

\(\begin{aligned}{l}{\bf{8}}{{\bf{x}}_{\bf{1}}} + {\bf{6}}{{\bf{x}}_{\bf{2}}} = {\bf{2}}\\{\bf{5}}{{\bf{x}}_{\bf{1}}} + {\bf{4}}{{\bf{x}}_{\bf{2}}} = - {\bf{1}}\end{aligned}\)

Let \(A = \left( {\begin{aligned}{*{20}{c}}{\bf{2}}&{\bf{5}}\\{ - {\bf{3}}}&{\bf{1}}\end{aligned}} \right)\) and \(B = \left( {\begin{aligned}{*{20}{c}}{\bf{4}}&{ - {\bf{5}}}\\{\bf{3}}&k\end{aligned}} \right)\). What value(s) of \(k\), if any will make \(AB = BA\)?

Let \(S = \left( {\begin{aligned}{*{20}{c}}0&1&0&0&0\\0&0&1&0&0\\0&0&0&1&0\\0&0&0&0&1\\0&0&0&0&0\end{aligned}} \right)\). Compute \({S^k}\) for \(k = {\bf{2}},...,{\bf{6}}\).

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