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

In Exercises 15 and 16, use the factorization \(A = QR\) to find the least-squares solution of \(A{\bf{x}} = {\bf{b}}\).

16. \(A = \left( {\begin{aligned}{{}{}}1&{ - 1}\\1&4\\1&{ - 1}\\1&4\end{aligned}} \right) = \left( {\begin{aligned}{{}{}}{\frac{1}{2}}&{ - \frac{1}{2}}\\{\frac{1}{2}}&{\frac{1}{2}}\\{\frac{1}{2}}&{ - \frac{1}{2}}\\{\frac{1}{2}}&{\frac{1}{2}}\end{aligned}} \right)\left( {\begin{aligned}{{}{}}2&3\\0&5\end{aligned}} \right)\), \({\bf{b}} = \left( {\begin{aligned}{{}{}}{ - 1}\\6\\5\\7\end{aligned}} \right)\)

Short Answer

Expert verified

The least-square solution of \(A{\bf{x}} = {\bf{b}}\) is \(\left( {\begin{aligned}{{}{}}{2.9}\\{.9}\end{aligned}} \right)\).

Step by step solution

01

Use the least-square solution

Compare the given solution with the equation \(R{\bf{\hat x}} = {Q^T}{\bf{b}}\).

\({Q^T}{\bf{b}} = \left( {\begin{aligned}{{}{}}{\frac{1}{2}}&{\frac{1}{2}}&{\frac{1}{2}}&{\frac{1}{2}}\\{ - \frac{1}{2}}&{\frac{1}{2}}&{ - \frac{1}{2}}&{\frac{1}{2}}\end{aligned}} \right)\left( {\begin{aligned}{{}{}}{ - 1}\\6\\5\\7\end{aligned}} \right)\), \(R = \left( {\begin{aligned}{{}{}}2&3\\0&5\end{aligned}} \right)\)

02

Find the product \({Q^T}{\bf{b}}\)

The product \({Q^T}{\bf{b}}\) can be calculated as follows:

\(\begin{aligned}{}{Q^T}{\bf{b}} &= \left( {\begin{aligned}{{}{}}{\frac{1}{2}}&{\frac{1}{2}}&{\frac{1}{2}}&{\frac{1}{2}}\\{ - \frac{1}{2}}&{\frac{1}{2}}&{ - \frac{1}{2}}&{\frac{1}{2}}\end{aligned}} \right)\left( {\begin{aligned}{{}{}}{ - 1}\\6\\5\\7\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}{ - \frac{1}{2} + \frac{6}{2} + \frac{5}{2} + \frac{7}{3}}\\{\frac{1}{2} + \frac{6}{2} - \frac{5}{2} + \frac{7}{2}}\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}{\frac{{17}}{2}}\\{\frac{9}{2}}\end{aligned}} \right)\end{aligned}\)

03

Write the augmented matrix \(\left( {\begin{aligned}{{}{}}R&{{Q^T}{\bf{b}}}\end{aligned}} \right)\)

The augmented matrix is:

\(\begin{aligned}{}\left( {\begin{aligned}{{}{}}R&{{Q^T}{\bf{b}}}\end{aligned}} \right) &= \left( {\begin{aligned}{{}{}}2&3&{\frac{{19}}{2}}\\0&5&{\frac{9}{2}}\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}1&{\frac{3}{2}}&{\frac{{19}}{4}}\\0&1&{\frac{9}{{10}}}\end{aligned}} \right)\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\left( {{R_1} \to \frac{{{R_1}}}{2},{R_2} \to \frac{{{R_2}}}{5}} \right)\\ &= \left( {\begin{aligned}{{}{}}1&0&{\frac{{29}}{{10}}}\\0&1&{\frac{9}{{10}}}\end{aligned}} \right)\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\left( {{R_1} \to {R_1} - \frac{3}{2}{R_2}} \right)\end{aligned}\)

Thus, the least square solution of \(A{\bf{x}} = {\bf{b}}\) is \(\left( {\begin{aligned}{{}{}}{2.9}\\{.9}\end{aligned}} \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

Exercises 13 and 14, the columns of \(Q\) were obtained by applying the Gram Schmidt process to the columns of \(A\). Find anupper triangular matrix \(R\) such that \(A = QR\). Check your work.

14.\(A = \left( {\begin{aligned}{{}{r}}{ - 2}&3\\5&7\\2&{ - 2}\\4&6\end{aligned}} \right)\), \(Q = \left( {\begin{aligned}{{}{r}}{\frac{{ - 2}}{7}}&{\frac{5}{7}}\\{\frac{5}{7}}&{\frac{2}{7}}\\{\frac{2}{7}}&{\frac{{ - 4}}{7}}\\{\frac{4}{7}}&{\frac{2}{7}}\end{aligned}} \right)\)

In Exercises 9-12, find a unit vector in the direction of the given vector.

9. \(\left( {\begin{aligned}{*{20}{c}}{ - 30}\\{40}\end{aligned}} \right)\)

Find an orthogonal basis for the column space of each matrix in Exercises 9-12.

9. \(\left[ {\begin{aligned}{{}{}}3&{ - 5}&1\\1&1&1\\{ - 1}&5&{ - 2}\\3&{ - 7}&8\end{aligned}} \right]\)

In Exercises 3โ€“6, verify that\[\left\{ {{{\bf{u}}_1},{{\bf{u}}_2}} \right\}\]is an orthogonal set, and then find the orthogonal projection of\[y\]onto Span\[\left\{ {{{\bf{u}}_1},{{\bf{u}}_2}} \right\}\].

6.\[{\rm{y}} = \left[ {\begin{aligned}6\\4\\1\end{aligned}} \right]\],\[{{\bf{u}}_1} = \left[ {\begin{aligned}{ - 4}\\{ - 1}\\1\end{aligned}} \right]\],\[{{\bf{u}}_2} = \left[ {\begin{aligned}0\\1\\1\end{aligned}} \right]\]

In exercises 1-6, determine which sets of vectors are orthogonal.

\(\left[ {\begin{array}{*{20}{c}}5\\{ - 4}\\0\\3\end{array}} \right]\), \(\left[ {\begin{array}{*{20}{c}}{ - 4}\\1\\{ - 3}\\8\end{array}} \right]\), \(\left[ {\begin{array}{*{20}{c}}3\\3\\5\\{ - 1}\end{array}} \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