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

Question: Let\[y\],\[{{\bf{v}}_1}\], and\[{{\bf{v}}_2}\]be as in Exercise 12. Find the distance from\[{\bf{y}}\]to the subspace of\[{\mathbb{R}^4}\]spanned by\[{{\bf{v}}_1}\], and\[{{\bf{v}}_2}\].

Short Answer

Expert verified

The distance is 8.

Step by step solution

01

Write the definition

Orthogonal set: If \[{{\bf{u}}_i} \cdot {{\bf{u}}_j} = 0\] for \[i \ne j\], then the set of vectors \[\left\{ {{{\bf{u}}_1}, \ldots ,{{\bf{u}}_p}} \right\} \in {\mathbb{R}^n}\] is said to be orthogonal.

02

Check the set of given vectors is orthogonal or not

Given vectors are,\[{{\bf{v}}_1} = \left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right]\], and\[{{\bf{v}}_2} = \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right]\].

Find\[{{\bf{v}}_1} \cdot {{\bf{v}}_2}\].

\[\begin{aligned}{{\bf{v}}_1} \cdot {{\bf{v}}_2} &= \left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right]\\ &= 1\left( { - 4} \right) + \left( { - 2} \right)\left( 1 \right) + \left( { - 1} \right)\left( 0 \right) + 2\left( 3 \right)\\ &= 0\end{aligned}\]

As \[{{\bf{v}}_1} \cdot {{\bf{v}}_2} = 0\], so the set of vectors \[\left\{ {{{\bf{v}}_1},{{\bf{v}}_2}} \right\}\] is orthogonal.

03

The Best Approximation Theorem

Here,\[{\bf{\hat y}}\]is said to be the closest pointin\[w\]to\[{\bf{y}}\]for which\[\left\| {{\bf{y}} - {\bf{\hat y}}} \right\| < \left\| {{\bf{y}} - {\bf{v}}} \right\|\]for all\[{\bf{v}}\]in\[w\]distinct from\[{\bf{\hat y}}\], if \[{\bf{\hat y}}\]be the orthogonal projection of\[{\bf{y}}\]onto\[w\], where\[w\]is a subspace of\[{\mathbb{R}^n}\], and\[{\bf{y}} \in w\].\[{\bf{\hat y}}\]can be found as,

\[{\bf{\hat y}} = \frac{{{\bf{y}} \cdot {{\bf{u}}_1}}}{{{{\bf{u}}_1} \cdot {{\bf{u}}_1}}}{{\bf{u}}_1} + \cdots + \frac{{{\bf{y}} \cdot {{\bf{u}}_p}}}{{{{\bf{u}}_p} \cdot {{\bf{u}}_p}}}{{\bf{u}}_p}\]

04

Find the distance

The distance from\[{\bf{y}}\]to the closest point is also the distance between the point\[{\bf{y}}\]in\[{\mathbb{R}^3}\]to subspace\[w\], so the distance can be found by\[\left\| {{\bf{y}} - {\bf{\hat y}}} \right\|\].

Find\[{\bf{y}} \cdot {{\bf{v}}_1}\],\[{\bf{y}} \cdot {{\bf{v}}_2}\],\[{{\bf{v}}_1} \cdot {{\bf{v}}_1}\], and\[{{\bf{v}}_2} \cdot {{\bf{v}}_2}\]first, where\[{\bf{y}} = \left[ {\begin{aligned}3\\{ - 1}\\1\\{13}\end{aligned}} \right]\].

\[\begin{aligned}{\bf{y}} \cdot {{\bf{v}}_1} &= \left[ {\begin{aligned}3\\{ - 1}\\1\\{13}\end{aligned}} \right] \cdot \left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right]\\ &= 3\left( 1 \right) + \left( { - 1} \right)\left( { - 2} \right) + 1\left( { - 1} \right) + 13\left( 2 \right)\\ &= 30\end{aligned}\]

\[\begin{aligned}{\bf{y}} \cdot {{\bf{v}}_2} &= \left[ {\begin{aligned}3\\{ - 1}\\1\\{13}\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right]\\ &= 3\left( { - 4} \right) + \left( { - 1} \right)\left( 1 \right) + 1\left( 0 \right) + 13\left( 3 \right)\\ &= 26\end{aligned}\]

\[\begin{aligned}{{\bf{v}}_1} \cdot {{\bf{v}}_1} &= \left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right] \cdot \left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right]\\ &= 1\left( 1 \right) + \left( { - 2} \right)\left( { - 2} \right) + \left( { - 1} \right)\left( { - 1} \right) + \left( 2 \right)\left( 2 \right)\\ &= 10\end{aligned}\]

\[\begin{aligned}{{\bf{v}}_2} \cdot {{\bf{v}}_2} &= \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right]\\ &= - 4\left( { - 4} \right) + \left( 1 \right)\left( 1 \right) + 0\left( 0 \right) + \left( 3 \right)\left( 3 \right)\\ &= 26\end{aligned}\]

Now, find the closest point to\[{\bf{y}}\]by substituting the obtained values into\[{\bf{\hat y}} = \frac{{{\bf{y}} \cdot {{\bf{u}}_1}}}{{{{\bf{u}}_1} \cdot {{\bf{u}}_1}}}{{\bf{u}}_1} + \cdots + \frac{{{\bf{y}} \cdot {{\bf{u}}_p}}}{{{{\bf{u}}_p} \cdot {{\bf{u}}_p}}}{{\bf{u}}_p}\].

\[\begin{aligned}{\bf{\hat y}} &= \frac{{30}}{{10}}{{\bf{v}}_1} + \frac{{26}}{{24}}{{\bf{v}}_2}\\ &= 3\left[ {\begin{aligned}1\\{ - 2}\\{ - 1}\\2\end{aligned}} \right] + \left[ {\begin{aligned}{ - 4}\\1\\0\\3\end{aligned}} \right]\\ &= \left[ {\begin{aligned}{ - 1}\\{ - 5}\\{ - 3}\\9\end{aligned}} \right]\end{aligned}\]

Hence,the closest point is\[{\bf{\hat y}} = \left[ {\begin{aligned}{ - 1}\\{ - 5}\\{ - 3}\\9\end{aligned}} \right]\].

Now, find the distance by using\[\left\| {{\bf{y}} - {\bf{\hat y}}} \right\|\].

\[\begin{aligned}\left\| {{\bf{y}} - {\bf{\hat y}}} \right\| &= \left\| {\left[ {\begin{aligned}3\\{ - 1}\\1\\{13}\end{aligned}} \right] - \left[ {\begin{aligned}{ - 1}\\{ - 5}\\{ - 3}\\9\end{aligned}} \right]} \right\|\\ &= \left\| {\left[ {\begin{aligned}4\\4\\4\\4\end{aligned}} \right]} \right\|\\ &= \sqrt {{4^2} + {4^2} + {4^2} + {4^2}} \\ = \sqrt {64} \\ &= 8\end{aligned}\]

So, the distance is 8.

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 1-4, find the equation \(y = {\beta _0} + {\beta _1}x\) of the least-square line that best fits the given data points.

4. \(\left( {2,3} \right),\left( {3,2} \right),\left( {5,1} \right),\left( {6,0} \right)\)

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

10. \(\left( {\begin{aligned}{*{20}{c}}{ - 6}\\4\\{ - 3}\end{aligned}} \right)\)

In Exercises 17 and 18, all vectors and subspaces are in \({\mathbb{R}^n}\). Mark each statement True or False. Justify each answer.

a. If \(W = {\rm{span}}\left\{ {{x_1},{x_2},{x_3}} \right\}\) with \({x_1},{x_2},{x_3}\) linearly independent,

and if \(\left\{ {{v_1},{v_2},{v_3}} \right\}\) is an orthogonal set in \(W\) , then \(\left\{ {{v_1},{v_2},{v_3}} \right\}\) is a basis for \(W\) .

b. If \(x\) is not in a subspace \(W\) , then \(x - {\rm{pro}}{{\rm{j}}_W}x\) is not zero.

c. In a \(QR\) factorization, say \(A = QR\) (when \(A\) has linearly

independent columns), the columns of \(Q\) form an

orthonormal basis for the column space of \(A\).

A healthy child’s systolic blood pressure (in millimetres of mercury) and weight (in pounds) are approximately related by the equation

\({\beta _0} + {\beta _1}\ln w = p\)

Use the following experimental data to estimate the systolic blood pressure of healthy child weighing 100 pounds.

\(\begin{array} w&\\ & {44}&{61}&{81}&{113}&{131} \\ \hline {\ln w}&\\vline & {3.78}&{4.11}&{4.39}&{4.73}&{4.88} \\ \hline p&\\vline & {91}&{98}&{103}&{110}&{112} \end{array}\)

In Exercises 11 and 12, find the closest point to\[{\bf{y}}\]in the subspace\[W\]spanned by\[{{\bf{v}}_1}\], and\[{{\bf{v}}_2}\].

11.\[y = \left[ {\begin{aligned}3\\1\\5\\1\end{aligned}} \right]\],\[{{\bf{v}}_1} = \left[ {\begin{aligned}3\\1\\{ - 1}\\1\end{aligned}} \right]\],\[{{\bf{v}}_2} = \left[ {\begin{aligned}1\\{ - 1}\\1\\{ - 1}\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