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

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.

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

Short Answer

Expert verified

\(\left\{ {\left( {\begin{aligned}{{}{}}2\\{ - 5}\\1\end{aligned}} \right),\left( {\begin{aligned}{{}{}}3\\{\frac{3}{2}}\\{\frac{3}{2}}\end{aligned}} \right)} \right\}\) is an orthogonal basis for \(W\).

Step by step solution

01

The Gram-Schmidt process

With abasis\(\left\{ {{{\bf{x}}_1}, \ldots ,{{\bf{x}}_p}} \right\}\)for a nonzero subspace \(W\) of \({\mathbb{R}^n}\), the expressionis shown below:

\(\begin{aligned}{}{{\bf{v}}_1} &= {{\bf{x}}_1}\\{{\bf{v}}_2} & = {{\bf{x}}_2} - \frac{{{{\bf{x}}_2} \cdot {{\bf{v}}_1}}}{{{{\bf{v}}_1} \cdot {{\bf{v}}_1}}}{{\bf{v}}_2}\\ \vdots \\{{\bf{v}}_p} & = \frac{{{{\bf{x}}_p} \cdot {{\bf{v}}_1}}}{{{{\bf{v}}_1} \cdot {{\bf{v}}_1}}}{{\bf{v}}_p} - \frac{{{{\bf{x}}_p} \cdot {{\bf{v}}_2}}}{{{{\bf{v}}_2} \cdot {{\bf{v}}_2}}}{{\bf{v}}_p} - \ldots - \frac{{{{\bf{x}}_{p - 1}} \cdot {{\bf{v}}_{p - 1}}}}{{{{\bf{v}}_{p - 1}} \cdot {{\bf{v}}_{p - 1}}}}{{\bf{v}}_{p - 1}}\end{aligned}\)

Therefore, theorthogonal basisfor \(W\) is \(\left\{ {{{\bf{v}}_1}, \ldots ,{{\bf{v}}_p}} \right\}\). Furthermore,

\({\mathop{\rm Span}\nolimits} \left\{ {{{\bf{v}}_1}, \ldots ,{{\bf{v}}_k}} \right\} = {\mathop{\rm Span}\nolimits} \left\{ {{{\bf{x}}_1}, \ldots ,{{\bf{x}}_k}} \right\}\) for \(1 \le k \le p\).

02

Use a Gram-Schmidt process to produce an orthogonal basis for W

Let \({{\bf{x}}_1} = \left( {\begin{aligned}{{}{}}2\\{ - 5}\\1\end{aligned}} \right),{{\bf{x}}_2} = \left( {\begin{aligned}{{}{}}4\\{ - 1}\\2\end{aligned}} \right)\).

Use a Gram-Schmidt process and let \({{\bf{x}}_1} = {{\bf{v}}_1}\) to calculate \({{\bf{v}}_2}\) as shown below:

\(\begin{aligned}{}{{\bf{v}}_2} &= {{\bf{x}}_2} - \frac{{{{\bf{x}}_2} \cdot {{\bf{v}}_1}}}{{{{\bf{v}}_1} \cdot {{\bf{v}}_1}}}{{\bf{v}}_2}\\ & = {{\bf{x}}_2} - \frac{{15}}{{30}}{{\bf{v}}_1}\\ & = {{\bf{x}}_2} - \frac{1}{2}{{\bf{v}}_1}\\ & = \left( {\begin{aligned}{{}{}}4\\{ - 1}\\2\end{aligned}} \right) - \frac{1}{2}\left( {\begin{aligned}{{}{}}2\\{ - 5}\\1\end{aligned}} \right)\\ & = \left( {\begin{aligned}{{}{}}{4 - 1}\\{ - 1 + \frac{5}{2}}\\{2 - \frac{1}{2}}\end{aligned}} \right)\\ & = \left( {\begin{aligned}{{}{}}3\\{\frac{3}{2}}\\{\frac{3}{2}}\end{aligned}} \right)\end{aligned}\)

Hence, an orthogonal basisfor \(W\) is an\(\left\{ {\left( {\begin{aligned}{{}{}}2\\{ - 5}\\1\end{aligned}} \right),\left( {\begin{aligned}{{}{}}3\\{\frac{3}{2}}\\{\frac{3}{2}}\end{aligned}} \right)} \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

Let \(X\) be the design matrix in Example 2 corresponding to a least-square fit of parabola to data \(\left( {{x_1},{y_1}} \right), \ldots ,\left( {{x_n},{y_n}} \right)\). Suppose \({x_1}\), \({x_2}\) and \({x_3}\) are distinct. Explain why there is only one parabola that best, in a least-square sense. (See Exercise 5.)

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

Let \({\mathbb{R}^{\bf{2}}}\) have the inner product of Example 1. Show that the Cauchy-Schwarz inequality holds for \({\bf{x}} = \left( {{\bf{3}}, - {\bf{2}}} \right)\) and \({\bf{y}} = \left( { - {\bf{2}},{\bf{1}}} \right)\). (Suggestion: Study \({\left| {\left\langle {{\bf{x}},{\bf{y}}} \right\rangle } \right|^{\bf{2}}}\).)

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

12. \(A = \left[ {\begin{array}{{}{}}{\bf{1}}&{\bf{1}}&{\bf{0}}\\{\bf{1}}&{\bf{0}}&{ - {\bf{1}}}\\{\bf{0}}&{\bf{1}}&{\bf{1}}\\{ - {\bf{1}}}&{\bf{1}}&{ - {\bf{1}}}\end{array}} \right]\), \({\bf{b}} = \left( {\begin{array}{{}{}}{\bf{2}}\\{\bf{5}}\\{\bf{6}}\\{\bf{6}}\end{array}} \right)\)

In Exercises 13 and 14, the columns of Q were obtained by applying the Gram-Schmidt process to the columns of A. Find an upper triangular matrix R such that \(A = QR\). Check your work.

13. \(A = \left( {\begin{aligned}{{}{}}5&9\\1&7\\{ - 3}&{ - 5}\\1&5\end{aligned}} \right),{\rm{ }}Q = \left( {\begin{aligned}{{}{}}{\frac{5}{6}}&{ - \frac{1}{6}}\\{\frac{1}{6}}&{\frac{5}{6}}\\{ - \frac{3}{6}}&{\frac{1}{6}}\\{\frac{1}{6}}&{\frac{3}{6}}\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