Find an LU factorization of the matrices in Exercise 7-16 (with L unit lower triangular). Note that MATLAB will usually produce a permuted LU factorization because it uses partial pivoting for numerical accuracy.

\[\left[ {\begin{array}{*{20}{c}}{\bf{2}}&{ - {\bf{4}}}&{\bf{2}}\\{\bf{1}}&{\bf{5}}&{ - {\bf{4}}}\\{ - {\bf{6}}}&{ - {\bf{2}}}&{\bf{4}}\end{array}} \right]\]

Short Answer

Expert verified

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

Step by step solution

01

Apply the row operation in the given matrix

Let \(A = \left[ {\begin{array}{*{20}{c}}2&{ - 4}&2\\1&5&{ - 4}\\{ - 6}&{ - 2}&4\end{array}} \right]\).

Apply row operation to reduce the matrix into an upper triangular matrix.

At row 3, multiply row 1 by 3 and add it to row 3, i.e., \({R_3} \to {R_3} + 3{R_1}\).

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

At row 2, divide row 1 by 2 and subtract it from row 2, i.e., \({R_2} \to {R_2} - \frac{1}{2}{R_1}\).

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

02

Apply row operation in the given matrix

At row 3, multiply row 2 by 2 and add it to row 3, i.e., \({R_3} \to {R_3} + 2{R_2}\).

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

03

Calculate matrix L using the pivoted column of U

Using matrix \(A\), matrix Lcan be written as

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

Divide column 1 by 2 and column 2 by 7.

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

04

Write the product \(LU\)

The product of lower and upper triangular matricescan be written as

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

So, the product \(LU\) is \(\left[ {\begin{array}{*{20}{c}}1&0&0\\{\frac{1}{2}}&1&0\\{ - 3}&{ - 2}&1\end{array}} \right]\left[ {\begin{array}{*{20}{c}}2&{ - 4}&2\\0&7&{ - 5}\\0&0&0\end{array}} \right]\).

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

Show that if ABis invertible, so is B.

Suppose A, B, and Care \(n \times n\) matrices with A, X, and \(A - AX\) invertible, and suppose

\({\left( {A - AX} \right)^{ - 1}} = {X^{ - 1}}B\) …(3)

  1. Explain why B is invertible.
  2. Solve (3) for X. If you need to invert a matrix, explain why that matrix is invertible.

(M) Read the documentation for your matrix program, and write the commands that will produce the following matrices (without keying in each entry of the matrix).

  1. A \({\bf{5}} \times {\bf{6}}\) matrix of zeros
  2. A \({\bf{3}} \times {\bf{5}}\) matrix of ones
  3. The \({\bf{6}} \times {\bf{6}}\) identity matrix
  4. A \({\bf{5}} \times {\bf{5}}\) diagonal matrix, with diagonal entries 3, 5, 7, 2, 4

Let \(A = \left( {\begin{aligned}{*{20}{c}}{\bf{2}}&{ - {\bf{3}}}\\{ - {\bf{4}}}&{\bf{6}}\end{aligned}} \right)\) and \(B = \left( {\begin{aligned}{*{20}{c}}{\bf{8}}&{\bf{4}}\\{\bf{5}}&{\bf{5}}\end{aligned}} \right)\) and \(C = \left( {\begin{aligned}{*{20}{c}}{\bf{5}}&{ - {\bf{2}}}\\{\bf{3}}&{\bf{1}}\end{aligned}} \right)\). Verfiy that \(AB = AC\) and yet \(B \ne C\).

Let Ube the \({\bf{3}} \times {\bf{2}}\) cost matrix described in Example 6 of Section 1.8. The first column of Ulists the costs per dollar of output for manufacturing product B, and the second column lists the costs per dollar of output for product C. (The costs are categorized as materials, labor, and overhead.) Let \({q_1}\) be a vector in \({\mathbb{R}^{\bf{2}}}\) that lists the output (measured in dollars) of products B and C manufactured during the first quarter of the year, and let \({q_{\bf{2}}}\), \({q_{\bf{3}}}\) and \({q_{\bf{4}}}\) be the analogous vectors that list the amounts of products B and C manufactured in the second, third, and fourth quarters, respectively. Give an economic description of the data in the matrix UQ, where \(Q = \left( {\begin{aligned}{*{20}{c}}{{{\bf{q}}_1}}&{{{\bf{q}}_2}}&{{{\bf{q}}_3}}&{{{\bf{q}}_4}}\end{aligned}} \right)\).

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