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 1-4, find a least-sqaures solution of \(A{\bf{x}} = {\bf{b}}\) by (a) constructing a normal equations for \({\bf{\hat x}}\) and (b) solving for \({\bf{\hat x}}\).

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

Short Answer

Expert verified

(a) \(\left( {\begin{aligned}{{}{}}3&3\\3&{11}\end{aligned}} \right)\left( {\begin{aligned}{{}{}}{{x_1}}\\{{x_2}}\end{aligned}} \right) = \left( {\begin{aligned}{{}{}}6\\{14}\end{aligned}} \right)\)

(b)\(\left( {\begin{aligned}{{}{}}1\\1\end{aligned}} \right)\)

Step by step solution

01

(a) Step 1: Find the products \({A^T}A\) and \({A^T}{\bf{b}}\)

Find the product \({A^T}A\).

\(\begin{aligned}{}{A^T}A &= \left( {\begin{aligned}{{}{}}1&1&1\\3&{ - 1}&1\end{aligned}} \right)\left( {\begin{aligned}{{}{}}1&3\\1&{ - 1}\\1&1\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}3&3\\3&{11}\end{aligned}} \right)\end{aligned}\)

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

\(\begin{aligned}{}{A^T}{\bf{b}} &= \left( {\begin{aligned}{{}{}}1&1&1\\3&{ - 1}&1\end{aligned}} \right)\left( {\begin{aligned}{{}{}}5\\1\\0\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}6\\{14}\end{aligned}} \right)\end{aligned}\)

02

Find the solution by constructing the normal equations

The normal equations can be written as:

\(\begin{aligned}{}\left( {{A^T}A} \right){\bf{x}} = {A^T}{\bf{b}}\\\left( {\begin{aligned}{{}{}}3&3\\3&{11}\end{aligned}} \right)\left( {\begin{aligned}{{}{}}{{x_1}}\\{{x_2}}\end{aligned}} \right) = \left( {\begin{aligned}{{}{}}6\\{14}\end{aligned}} \right)\end{aligned}\)

03

(b) Step 3: Find the component \({\bf{\hat x}}\)

The component \({\bf{\hat x}}\) can be calculated as:

\(\begin{aligned}{}{\bf{\hat x}} &= {\left( {{A^T}A} \right)^{ - 1}}\left( {{A^T}{\bf{b}}} \right)\\ &= {\left( {\begin{aligned}{{}{}}3&3\\3&{11}\end{aligned}} \right)^{ - 1}}\left( {\begin{aligned}{{}{}}6\\{14}\end{aligned}} \right)\\ &= \frac{1}{{24}}\left( {\begin{aligned}{{}{}}{24}\\{24}\end{aligned}} \right)\\ &= \left( {\begin{aligned}{{}{}}1\\1\end{aligned}} \right)\end{aligned}\)

The \({\bf{\hat x}}\) component is \(\left( {\begin{aligned}{{}{}}1\\1\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

In Exercises 13 and 14, find the best approximation to\[{\bf{z}}\]by vectors of the form\[{c_1}{{\bf{v}}_1} + {c_2}{{\bf{v}}_2}\].

13.\[z = \left[ {\begin{aligned}3\\{ - 7}\\2\\3\end{aligned}} \right]\],\[{{\bf{v}}_1} = \left[ {\begin{aligned}2\\{ - 1}\\{ - 3}\\1\end{aligned}} \right]\],\[{{\bf{v}}_2} = \left[ {\begin{aligned}1\\1\\0\\{ - 1}\end{aligned}} \right]\]

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

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

In Exercises 1-6, the given set is a basis for a subspace W. Use the Gram-Schmidt process to produce an orthogonal basis for W.

3. \(\left( {\begin{aligned}{{}{}}2\\{ - 5}\\1\end{aligned}} \right),\left( {\begin{aligned}{{}{}}4\\{ - 1}\\2\end{aligned}} \right)\)

In Exercises 9-12 find (a) the orthogonal projection of b onto \({\bf{Col}}A\) and (b) a least-squares solution of \(A{\bf{x}} = {\bf{b}}\).

12. \(A = \left[ {\begin{array}{{}{}}{\bf{1}}&{\bf{1}}&{\bf{0}}\\{\bf{1}}&{\bf{0}}&{ - {\bf{1}}}\\{\bf{0}}&{\bf{1}}&{\bf{1}}\\{ - {\bf{1}}}&{\bf{1}}&{ - {\bf{1}}}\end{array}} \right]\), \({\bf{b}} = \left( {\begin{array}{{}{}}{\bf{2}}\\{\bf{5}}\\{\bf{6}}\\{\bf{6}}\end{array}} \right)\)

Show that if an \(n \times n\) matrix satisfies \(\left( {U{\bf{x}}} \right) \cdot \left( {U{\bf{y}}} \right) = {\bf{x}} \cdot {\bf{y}}\) for all x and y in \({\mathbb{R}^n}\), then \(U\) is an orthogonal 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