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

1-6: Solve the equation Ax=b by using the LU factorization given for A. In Exercises 1 and 2, also solve \(Ax = b\) by ordinary row reduction.

2. \[A = \left[ {\begin{array}{*{20}{c}}4&3&{ - 5}\\{ - 4}&{ - 5}&7\\8&6&{ - 8}\end{array}} \right],{\mathop{\rm b}\nolimits} = \left[ {\begin{array}{*{20}{c}}2\\{ - 4}\\6\end{array}} \right]\]

\(A = \left[ {\begin{array}{*{20}{c}}1&0&0\\{ - 1}&1&0\\2&0&1\end{array}} \right]\,\left[ {\begin{array}{*{20}{c}}4&3&{ - 5}\\0&{ - 2}&2\\0&0&2\end{array}} \right]\)

Short Answer

Expert verified

\({\mathop{\rm x}\nolimits} = \left( {\frac{1}{4},2,1} \right)\) and \(y = \left[ {\begin{array}{*{20}{c}}2\\{ - 2}\\2\end{array}} \right]\)

Step by step solution

01

Solve the equation \(Ly = b\) for y

Acan be written in the form \(A = LU\), where Lis an \(m \times m\) lower triangular matrix with 1s on the diagonal, and U is an \(m \times n\) echelon form of A.

When \(A = LU\), the equation \(Ax = b\) can be written as \(L\left( {Ux} \right) = {\mathop{\rm b}\nolimits} \).

Write y for \(Ux\) and find x by solving the pair of equations

\(\begin{array}{l}Ly = b\\Ux = y.\end{array}\)

Here, \(L = \left[ {\begin{array}{*{20}{c}}1&0&0\\{ - 1}&1&0\\2&0&1\end{array}} \right]\,{\rm{, }}U = \left[ {\begin{array}{*{20}{c}}4&3&{ - 5}\\0&{ - 2}&2\\0&0&2\end{array}} \right]{\rm{, }}b = \left[ {\begin{array}{*{20}{c}}2\\{ - 4}\\6\end{array}} \right]\)

The matrix \(\left[ {\begin{array}{*{20}{c}}L&b\end{array}} \right]\) is shown below:

\(\left[ {\begin{array}{*{20}{c}}L&b\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}1&0&0&2\\{ - 1}&1&0&{ - 4}\\2&0&1&6\end{array}} \right]\)

Perform an elementary row operation to produce the row-echelon form of the matrix.

At row two, multiply row one by 1 and add it to row two. At row three, multiply row one by 2 and subtract it from row three.

\( \sim \left[ {\begin{array}{*{20}{c}}1&0&0&2\\0&1&0&{ - 2}\\0&0&1&2\end{array}} \right]\)

The arithmetic values take place only in the last column.

Thus, \(y = \left[ {\begin{array}{*{20}{c}}2\\{ - 2}\\2\end{array}} \right]\).

02

Use back-substitution to solve the equation \(Ux = y\) for x

The matrix \(\left[ {\begin{array}{*{20}{c}}U&y\end{array}} \right]\) is shown below:

\(\left[ {\begin{array}{*{20}{c}}U&y\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}4&3&{ - 5}&2\\0&{ - 2}&2&{ - 2}\\0&0&2&2\end{array}} \right]\)

Perform an elementary row operation to produce the row-echelon form of the matrix.

At row three, multiply row three by \(\frac{1}{2}\).

\( \sim \left[ {\begin{array}{*{20}{c}}4&3&{ - 5}&2\\0&{ - 2}&2&{ - 2}\\0&0&1&1\end{array}} \right]\)

At row two, multiply row three by 1 and add it to row two. At row one, multiply row three by 5 and add it to row one.

\[ \sim \left[ {\begin{array}{*{20}{c}}4&3&0&7\\0&{ - 2}&0&{ - 4}\\0&0&1&1\end{array}} \right]\]

At row two, multiply row two by \( - \frac{1}{2}\).

\[ \sim \left[ {\begin{array}{*{20}{c}}4&3&0&7\\0&1&0&2\\0&0&1&1\end{array}} \right]\]

At row one, multiply row two by \( - 3\) and add it to row one.

\[ \sim \left[ {\begin{array}{*{20}{c}}4&0&0&1\\0&1&0&2\\0&0&1&1\end{array}} \right]\]

At row one, multiply row one by \(\frac{1}{4}\).

\[ \sim \left[ {\begin{array}{*{20}{c}}1&0&0&{\frac{1}{4}}\\0&1&0&2\\0&0&1&1\end{array}} \right]\]

Thus, \({\mathop{\rm x}\nolimits} = \left( {\frac{1}{4},2,1} \right)\).

03

Solve the equation \(Ax = b\)

The matrix \(\left[ {\begin{array}{*{20}{c}}A&b\end{array}} \right]\) is shown below

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

Perform an elementary row operation to produce the row-echelon form of the matrix.

At row two, multiply row one by 1 and add it to row two. At row three, multiply row one by 2 and subtract it from row three.

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

Thus, the row reduction is the same as \(\left[ {\begin{array}{*{20}{c}}U&y\end{array}} \right]\), yielding the same result.

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

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

Exercises 15 and 16 concern arbitrary matrices A, B, and Cfor which the indicated sums and products are defined. Mark each statement True or False. Justify each answer.

15. a. If A and B are \({\bf{2}} \times {\bf{2}}\) with columns \({{\bf{a}}_1},{{\bf{a}}_2}\) and \({{\bf{b}}_1},{{\bf{b}}_2}\) respectively, then \(AB = \left( {\begin{aligned}{*{20}{c}}{{{\bf{a}}_1}{{\bf{b}}_1}}&{{{\bf{a}}_2}{{\bf{b}}_2}}\end{aligned}} \right)\).

b. Each column of ABis a linear combination of the columns of Busing weights from the corresponding column of A.

c. \(AB + AC = A\left( {B + C} \right)\)

d. \({A^T} + {B^T} = {\left( {A + B} \right)^T}\)

e. The transpose of a product of matrices equals the product of their transposes in the same order.

In the rest of this exercise set and in those to follow, you should assume that each matrix expression is defined. That is, the sizes of the matrices (and vectors) involved match appropriately.

Compute \(A - {\bf{5}}{I_{\bf{3}}}\) and \(\left( {{\bf{5}}{I_{\bf{3}}}} \right)A\)

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

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

How many rows does \(B\) have if \(BC\) is a \({\bf{3}} \times {\bf{4}}\) matrix?

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