Let u and v be linearly independent vectors in \({\mathbb{R}^n}\) that are not orthogonal. Describe how to find the best approximation to z in \({\mathbb{R}^n}\) by vectors of the form \({{\bf{x}}_1}{\mathop{\rm u}\nolimits} + {{\bf{x}}_2}{\mathop{\rm u}\nolimits} \) without first constructing an orthogonal basis for \({\mathop{\rm Span}\nolimits} \left\{ {{\bf{u}},{\bf{v}}} \right\}\).

Short Answer

Expert verified

The normal equations can be solved to determine \(\widehat {\bf{x}}\) and then \(A\widehat {\bf{x}}\) can be computed to find \(\widehat {\bf{z}}\).

Step by step solution

01

Least-Square Solution

When \(A\) is an \(m \times n\) matrix and \({\bf{b}}\) in \({\mathbb{R}^m}\), then \(\widehat {\bf{x}}\) in \({\mathbb{R}^n}\) is aleast-squares solutionof \(A{\bf{x}} = {\bf{b}}\) such that

\(\left\| {{\bf{b}} - A\widehat {\bf{x}}} \right\| \le \left\| {{\bf{b}} - A{\bf{x}}} \right\|\)for every \({\bf{x}}\) in \({\mathbb{R}^n}\).

02

Describe how to find the best approximation to z in \({\mathbb{R}^n}\)

Consider that \(W = {\mathop{\rm Span}\nolimits} \left\{ {{\bf{u}},{\bf{v}}} \right\}\).

It is given that, \({\bf{z}}\) is in \({\mathbb{R}^n}\), so assumes that \(\widehat {\bf{z}} = {{\mathop{\rm proj}\nolimits} _W}{\bf{z}}\).

Then, \(\widehat {\bf{z}}\) is in \({\mathop{\rm Col}\nolimits} A\), with \(A = \left[ {\begin{array}{*{20}{c}}{\bf{u}}&{\bf{v}}\end{array}} \right]\). Therefore, the vector \(\widehat {\bf{x}}\) in \({\mathbb{R}^2}\), with \(A\widehat {\bf{x}} = \widehat {\bf{z}}\). Hence, the least-square solution of \(A{\bf{x}} = {\bf{z}}\) is \(\widehat {\bf{x}}\) in \({\mathbb{R}^2}\).

The normal equations can be solved to determine \(\widehat {\bf{x}}\) and then \(A\widehat {\bf{x}}\) can be computed to determine \(\widehat {\bf{z}}\).

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 3–6, verify that\[\left\{ {{{\bf{u}}_1},{{\bf{u}}_2}} \right\}\]is an orthogonal set, and then find the orthogonal projection of\[{\bf{y}}\]onto Span\[\left\{ {{{\bf{u}}_1},{{\bf{u}}_2}} \right\}\].

5.\[y = \left[ {\begin{aligned}{ - 1}\\2\\6\end{aligned}} \right]\],\[{{\bf{u}}_1} = \left[ {\begin{aligned}3\\{ - 1}\\2\end{aligned}} \right]\],\[{{\bf{u}}_2} = \left[ {\begin{aligned}1\\{ - 1}\\{ - 2}\end{aligned}} \right]\]

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

11. \(A = \left( {\begin{aligned}{{}{}}{\bf{4}}&{\bf{0}}&{\bf{1}}\\{\bf{1}}&{ - {\bf{5}}}&{\bf{1}}\\{\bf{6}}&{\bf{1}}&{\bf{0}}\\{\bf{1}}&{ - {\bf{1}}}&{ - {\bf{5}}}\end{aligned}} \right)\), \({\bf{b}} = \left( {\begin{aligned}{{}{}}{\bf{9}}\\{\bf{0}}\\{\bf{0}}\\{\bf{0}}\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}}\).

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

Exercises 19 and 20 involve a design matrix \(X\) with two or more columns and a least-squares solution \(\hat \beta \) of \({\bf{y}} = X\beta \). Consider the following numbers.

(i) \({\left\| {X\hat \beta } \right\|^2}\)—the sum of the squares of the “regression term.” Denote this number by .

(ii) \({\left\| {{\bf{y}} - X\hat \beta } \right\|^2}\)—the sum of the squares for error term. Denote this number by \(SS\left( E \right)\).

(iii) \({\left\| {\bf{y}} \right\|^2}\)—the “total” sum of the squares of the \(y\)-values. Denote this number by \(SS\left( T \right)\).

Every statistics text that discusses regression and the linear model \(y = X\beta + \in \) introduces these numbers, though terminology and notation vary somewhat. To simplify matters, assume that the mean of the -values is zero. In this case, \(SS\left( T \right)\) is proportional to what is called the variance of the set of -values.

19. Justify the equation \(SS\left( T \right) = SS\left( R \right) + SS\left( E \right)\). (Hint: Use a theorem, and explain why the hypotheses of the theorem are satisfied.) This equation is extremely important in statistics, both in regression theory and in the analysis of variance.

Find the distance between \({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}0\\{ - 5}\\2\end{aligned}} \right)\) and \({\mathop{\rm z}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 4}\\{ - 1}\\8\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