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

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

Short Answer

Expert verified

The values are \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} = 5\), \({\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} = 8\) and \(\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }} = \frac{8}{5}\).

Step by step solution

01

Inner product

Consider \({\mathop{\rm u}\nolimits} ,v,\) and \({\mathop{\rm w}\nolimits} \) as the vectors in \({\mathbb{R}^n}\) and consider \(c\) as the scalar. Then;

  1. \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm v}\nolimits} = {\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} \)
  2. \(\left( {{\mathop{\rm u}\nolimits} + {\mathop{\rm v}\nolimits} } \right) \cdot {\mathop{\rm w}\nolimits} = {\mathop{\rm u}\nolimits} \cdot {\mathop{\rm v}\nolimits} + {\mathop{\rm v}\nolimits} \cdot {\mathop{\rm w}\nolimits} \)
  3. \(\left( {c{\mathop{\rm u}\nolimits} } \right) \cdot {\mathop{\rm v}\nolimits} = c\left( {{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm v}\nolimits} } \right) = {\mathop{\rm u}\nolimits} \cdot \left( {c{\mathop{\rm v}\nolimits} } \right)\)
  4. \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} \ge 0\)and \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} = 0\) if and only if \({\mathop{\rm u}\nolimits} = 0\).
02

Compute

\({\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} }}\)

It is given that, \({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right)\).

Compute \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} \) as shown below:

\(\begin{aligned}{c}{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} &= \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right)\left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right)\\ &= {\left( { - 1} \right)^2} + {2^2}\\ &= 1 + 4\\ &= 5\end{aligned}\)

Compute \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm v}\nolimits} \) as shown below:

\(\begin{aligned}{c}{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} &= \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right)\left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right)\\ &4\left( { - 1} \right) + 6\left( 2 \right)\\ &= - 4 + 12\\ &= 8\end{aligned}\)

Compute \(\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}\) as shown below:

\(\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }} = \frac{8}{5}\)

Thus, the values are \({\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} = 5,{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} = 8\) and \(\frac{{{\mathop{\rm v}\nolimits} \cdot {\mathop{\rm u}\nolimits} }}{{{\mathop{\rm u}\nolimits} \cdot {\mathop{\rm u}\nolimits} }} = \frac{8}{5}\).

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

Let \(\overline x = \frac{1}{n}\left( {{x_1} + \cdots + {x_n}} \right)\), and \(\overline y = \frac{1}{n}\left( {{y_1} + \cdots + {y_n}} \right)\). Show that the least-squares line for the data \(\left( {{x_1},{y_1}} \right), \ldots ,\left( {{x_n},{y_n}} \right)\) must pass through \(\left( {\overline x ,\overline y } \right)\). That is, show that \(\overline x \) and \(\overline y \) satisfies the linear equation \(\overline y = {\hat \beta _0} + {\hat \beta _1}\overline x \). (Hint: Derive this equation from the vector equation \({\bf{y}} = X{\bf{\hat \beta }} + \in \). Denote the first column of \(X\) by 1. Use the fact that the residual vector \( \in \) is orthogonal to the column space of \(X\) and hence is orthogonal to 1.)

Find a \(QR\) factorization of the matrix in Exercise 12.

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

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\[y\]onto Span\[\left\{ {{{\bf{u}}_1},{{\bf{u}}_2}} \right\}\].

6.\[{\rm{y}} = \left[ {\begin{aligned}6\\4\\1\end{aligned}} \right]\],\[{{\bf{u}}_1} = \left[ {\begin{aligned}{ - 4}\\{ - 1}\\1\end{aligned}} \right]\],\[{{\bf{u}}_2} = \left[ {\begin{aligned}0\\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