Question: Let\[y = \left[ {\begin{aligned}5\\{ - 9}\\5\end{aligned}} \right]\],\[{{\bf{u}}_1} = \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right]\],\[{{\bf{u}}_2} = \left[ {\begin{aligned}{ - 3}\\2\\1\end{aligned}} \right]\]. Find the distance from\[y\]to plane in\[{\mathbb{R}^3}\]spanned by\[{{\bf{u}}_1}\], and\[{{\bf{u}}_2}\].

Short Answer

Expert verified

The distance is \[2\sqrt {10} \].

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

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

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

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

03

The Best Approximation Theorem

Here, \[{\bf{\hat y}}\] is said to be the closest point in \[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{u}}_1}\],\[{\bf{y}} \cdot {{\bf{u}}_2}\],\[{{\bf{u}}_1} \cdot {{\bf{u}}_1}\], and\[{{\bf{u}}_2} \cdot {{\bf{u}}_2}\]first, where\[{\bf{y}} = \left[ {\begin{aligned}5\\{ - 9}\\5\end{aligned}} \right]\].

\[\begin{aligned}{\bf{y}} \cdot {{\bf{u}}_1} &= \left[ {\begin{aligned}5\\{ - 9}\\5\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right]\\ &= 5\left( { - 3} \right) + \left( { - 9} \right)\left( { - 5} \right) + 5\left( 1 \right)\\ &= 35\end{aligned}\]

\[\begin{aligned}{\bf{y}} \cdot {{\bf{u}}_2} &= \left[ {\begin{aligned}5\\{ - 9}\\5\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 3}\\2\\1\end{aligned}} \right]\\ &= 5\left( { - 3} \right) + \left( { - 9} \right)\left( 2 \right) + 5\left( 1 \right)\\ &= - 28\end{aligned}\]

\[\begin{aligned}{{\bf{u}}_1} \cdot {{\bf{u}}_1} &= \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right] \cdot \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right]\\ &= - 3\left( { - 3} \right) + \left( { - 5} \right)\left( { - 5} \right) + \left( 1 \right)\left( 1 \right)\\ &= 35\end{aligned}\]

\[\begin{aligned}{{\bf{u}}_2} \cdot {{\bf{u}}_2} &= \left[ {\begin{aligned}{ - 3}\\2\\1\end{aligned}} \right] \cdot {{\bf{u}}_2}\left[ {\begin{aligned}{ - 3}\\2\\1\end{aligned}} \right]\\ &= - 3\left( { - 3} \right) + \left( 2 \right)\left( 2 \right) + 1\left( 1 \right)\\ &= 14\end{aligned}\]

Now, find the closest point to\[{\bf{y}}\], that is\[{\bf{\hat y}}\]by using the formula\[{\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}{c}{\bf{\hat y}} = \frac{{35}}{{35}}{{\bf{u}}_1} - \frac{{28}}{{14}}{{\bf{u}}_2}\\ = {{\bf{u}}_1} - 2{{\bf{u}}_2}\\ = \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right] - 2\left[ {\begin{aligned}{ - 3}\\2\\1\end{aligned}} \right]\\ = \left[ {\begin{aligned}{ - 3}\\{ - 5}\\1\end{aligned}} \right] - \left[ {\begin{aligned}{ - 6}\\4\\2\end{aligned}} \right]\\ = \left[ {\begin{aligned}3\\{ - 9}\\{ - 1}\end{aligned}} \right]\end{aligned}\]

Hence,theclosest point is\[\left[ {\begin{aligned}3\\{ - 9}\\{ - 1}\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}5\\{ - 9}\\5\end{aligned}} \right] - \left[ {\begin{aligned}3\\{ - 9}\\{ - 1}\end{aligned}} \right]} \right\|\\ &= \left\| {\left[ {\begin{aligned}2\\0\\6\end{aligned}} \right]} \right\|\\ &= \sqrt {{2^2} + 0 + {6^2}} \\ &= \sqrt {40} \\ &= 2\sqrt {10} \end{aligned}\]

So, the distance is\[2\sqrt {10} \].

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

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

10. \(\left( {\begin{aligned}{{}{}}{ - 1} & 6 & 6 \\ 3 & { - 8}&3\\1&{ - 2}&6\\1&{ - 4}&{ - 3}\end{aligned}} \right)\)

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)\)

Compute the quantities in Exercises 1-8 using the vectors

\({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\rm{ }}{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right),{\rm{ }}{\mathop{\rm w}\nolimits} = \left( {\begin{aligned}{*{20}{c}}3\\{ - 1}\\{ - 5}\end{aligned}} \right),{\rm{ }}{\mathop{\rm x}\nolimits} = \left( {\begin{aligned}{*{20}{c}}6\\{ - 2}\\3\end{aligned}} \right)\)

  1. \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} ,{\rm{ }}{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} ,\,\,{\mathop{\rm and}\nolimits} \,\,\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}\)

Suppose radioactive substance A and B have decay constants of \(.02\) and \(.07\), respectively. If a mixture of these two substances at a time \(t = 0\) contains \({M_A}\) grams of \(A\) and \({M_B}\) grams of \(B\), then a model for the total amount of mixture present at time \(t\) is

\(y = {M_A}{e^{ - .02t}} + {M_B}{e^{ - .07t}}\) (6)

Suppose the initial amounts \({M_A}\) and are unknown, but a scientist is able to measure the total amounts present at several times and records the following points \(\left( {{t_i},{y_i}} \right):\left( {10,21.34} \right),\left( {11,20.68} \right),\left( {12,20.05} \right),\left( {14,18.87} \right)\) and \(\left( {15,18.30} \right)\).

a.Describe a linear model that can be used to estimate \({M_A}\) and \({M_B}\).

b. Find the least-squares curved based on (6).

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

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