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

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

(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.

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

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}\)

Explain why the columns of an \(n \times n\) matrix Aare linearly independent when Ais invertible.

In Exercises 1โ€“9, assume that the matrices are partitioned conformably for block multiplication. In Exercises 5โ€“8, find formulas for X, Y, and Zin terms of A, B, and C, and justify your calculations. In some cases, you may need to make assumptions about the size of a matrix in order to produce a formula. [Hint:Compute the product on the left, and set it equal to the right side.]

8. \[\left[ {\begin{array}{*{20}{c}}A&B\\{\bf{0}}&I\end{array}} \right]\left[ {\begin{array}{*{20}{c}}X&Y&Z\\{\bf{0}}&{\bf{0}}&I\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}I&{\bf{0}}&{\bf{0}}\\{\bf{0}}&{\bf{0}}&I\end{array}} \right]\]

Prove Theorem 2(d). (Hint: The \(\left( {i,j} \right)\)- entry in \(\left( {rA} \right)B\) is \(\left( {r{a_{i1}}} \right){b_{1j}} + ... + \left( {r{a_{in}}} \right){b_{nj}}\).)

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 a \(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.

28. If u and v are in \({\mathbb{R}^n}\), how are \({{\mathop{\rm u}\nolimits} ^T}{\mathop{\rm v}\nolimits} \) and \({{\mathop{\rm v}\nolimits} ^T}{\mathop{\rm u}\nolimits} \) related? How are \({{\mathop{\rm uv}\nolimits} ^T}\) and \({\mathop{\rm v}\nolimits} {{\mathop{\rm u}\nolimits} ^T}\) related?

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