Question 25: Let U be the \(8 \times 4\) matrix in Exercise 36 in Section 6.2. Find the closest point to \({\bf{y}} = \left( {1,1,1,1,1,1,1,1} \right)\) in Col U. Write the keystrokes or commands you use to solve this problem.

Short Answer

Expert verified

The closest point is \(\widehat {\bf{y}} = \left( {\begin{array}{*{20}{c}}{1.2}\\{.4}\\{1.2}\\{1.2}\\{.4}\\{1.2}\\{.4}\\{.4}\end{array}} \right)\).

Step by step solution

01

The Best Approximation Theorem

Consider \(W\) as a subspace of \({\mathbb{R}^n}\), and assume that y as any vector in \({\mathbb{R}^n}\) and \(\widehat {\bf{y}}\) as the orthogonal projection of y onto \(W\). Then, theclosest point in \(W\) to \({\bf{y}}\) is \(\widehat {\bf{y}}\), such that \(\left\| {{\bf{y}} - \widehat {\bf{y}}} \right\| < \left\| {{\bf{y}} - {\bf{v}}} \right\|\) for every \({\bf{v}}\) in \(W\) distinct from \(\widehat {\bf{y}}\).

02

The orthogonal projection \(\widehat {\bf{y}}\) of y

Theorem 6states that a \(m \times n\) matrix \(U\) contains orthonormal columnssuch that \({U^T}U = I\).

According to theorem 6, \(U\) contains orthonormal columns because \({U^T}U = {I_4}\).

The orthogonal projection \(\widehat {\bf{y}}\)of \({\bf{y}}\) onto Col U is known as the closest point to y in Col U.

03

Determine the closest point to y

Consider that \(U = \left( {\begin{array}{*{20}{c}}{ - 6}&{ - 3}&6&1\\{ - 1}&2&1&{ - 6}\\3&6&3&{ - 2}\\6&{ - 3}&6&{ - 1}\\2&{ - 1}&2&3\\{ - 3}&6&3&2\\{ - 2}&{ - 1}&2&{ - 3}\\1&2&1&6\end{array}} \right)\) as in Exercise 36.

Use the MATLAB code to compute \(\widehat {\bf{y}} = U{U^T}{\bf{y}}\) by theorem 10 as shown below:

\(\begin{array}{c} > > U = \left( \begin{array}{l} - 6\,\,\, - 3\,\,\,6\,\,\,1;\, - 1\,\,\,2\,\,\,\,1\,\,\, - 6;\,3\,\,\,6\,\,\,3\,\,\, - 2;\,\,6\,\,\, - 3\,\,\,6\,\,\, - 1;\,\\2\,\,\, - 1\,\,\,2\,\,\,\,3;\,\, - 3\,\,\,\,6\,\,\,3\,\,\,2;\,\, - 2\,\,\, - 1\,\,\,2\,\,\, - 3;1\,\,\,2\,\,\,1\,\,\,6\end{array} \right)\\ > > {\bf{y}} = \left( {1\,;\,1;\,\,\,1\,;\,\,1\,;\,\,1;\,\,\,1;\,\,\,1;\,\,\,1} \right)\\ > > \widehat {\bf{y}} = U * U' * {\bf{y}}\end{array}\)

\(\widehat {\bf{y}} = \left( {\begin{array}{*{20}{c}}{1.2}\\{.4}\\{1.2}\\{1.2}\\{.4}\\{1.2}\\{.4}\\{.4}\end{array}} \right)\)

Thus, the closest point is \(\widehat {\bf{y}} = \left( {\begin{array}{*{20}{c}}{1.2}\\{.4}\\{1.2}\\{1.2}\\{.4}\\{1.2}\\{.4}\\{.4}\end{array}} \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 1-6, the given set is a basis for a subspace W. Use the Gram-Schmidt process to produce an orthogonal basis for W.

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

Let \({{\bf{u}}_1},......,{{\bf{u}}_p}\) be an orthogonal basis for a subspace \(W\) of \({\mathbb{R}^n}\), and let \(T:{\mathbb{R}^n} \to {\mathbb{R}^n}\) be defined by \(T\left( x \right) = {\rm{pro}}{{\rm{j}}_W}x\). Show that \(T\) is a linear transformation.

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

\(\left[ {\begin{align}1\\{ - 2}\\1\end{align}} \right]\), \(\left[ {\begin{align}0\\1\\2\end{align}} \right]\), \(\left[ {\begin{align}{ - 5}\\{ - 2}\\1\end{align}} \right]\)

In Exercises 7–10, let\[W\]be the subspace spanned by the\[{\bf{u}}\]’s, and write y as the sum of a vector in\[W\]and a vector orthogonal to\[W\].

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

To measure the take-off performance of an airplane, the horizontal position of the plane was measured every second, from \(t = 0\) to \(t = 12\). The positions (in feet) were: 0, 8.8, 29.9, 62.0, 104.7, 159.1, 222.0, 294.5, 380.4, 471.1, 571.7, 686.8, 809.2.

a. Find the least-squares cubic curve \(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\) for these data.

b. Use the result of part (a) to estimate the velocity of the plane when \(t = 4.5\) seconds.

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