/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q24E Use the Gram–Schmidt process a... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Use the Gram–Schmidt process as in Example 2 to produce an orthogonal basis for the column space of

\(A = \left( {\begin{aligned}{{}{r}}{ - 10}&{13}&7&{ - 11}\\2&1&{ - 5}&3\\{ - 6}&3&{13}&{ - 3}\\{16}&{ - 16}&{ - 2}&5\\2&1&{ - 5}&{ - 7}\end{aligned}} \right)\)

Short Answer

Expert verified

The orthogonal basis is,\(W = \left\{ {\left( {\begin{aligned}{{}{r}}{ - 10}\\2\\{ - 6}\\{16}\\2\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}3\\3\\{ - 3}\\0\\3\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}6\\0\\6\\6\\0\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}0\\5\\0\\0\\{ - 5}\end{aligned}} \right)} \right\}\).

Step by step solution

01

\(QR\) factorization of a Matrix

A matrix with order \(m \times n\) can be written as the multiplication of an upper triangular matrix \(R\) and a matrix \(Q\) which is formed by applying the Gram–Schmidt orthogonalization process to the \({\rm{col}}\left( A \right)\).

The matrix \(R\) can be found by the formula \({Q^T}A = R\).

By applying Gram-Schmidt orthogonal process, we can determine the orthogonal basis for the column space of \(A\)

02

Finding the matrix \(R\)

Given that, \(A = \left( {\begin{aligned}{{}{r}}{ - 10}&{13}&7&{ - 11}\\2&1&{ - 5}&3\\{ - 6}&3&{13}&{ - 3}\\{16}&{ - 16}&{ - 2}&5\\2&1&{ - 5}&{ - 7}\end{aligned}} \right)\).

Now with the help of MATLAB, we shall find the orthogonal basis of the column space

MATLAB Command:

Enter matrix A in MATLAB.

>> A=(-10 13 7 -11; 2 1 5 3; -6 3 13 -3; 16 -16 -2 5; 2 1 -5 -7);

The required function:

function(B) = GramSchmidt(A)

(m,n) = size(A);

(U, jb) = rref(A);

x = length(jb);

B = zeros(m,x);

for i = 1:x

C(:,i)= A(:,(jb(i)));

end

B=C;

for i = 2:x

for j = 1:i-1

B(:,i) = C(:,i)- dot(C(:,i),B(:,j))/dot(B(:,j),B(:,j))* B(:,j) ;

end

end

end

Find the orthogonal basis:

(B) = GramSchmidt(A)

\(\begin{aligned}{}B &= \\\begin{aligned}{{}{r}}{ - 10.0000}&{3.0000}&{8.5000}&{ - 7.9620}\\{2.0000}&{3.0000}&{6.5000}&{5.3232}\\{ - 6.0000}&{ - 3.0000}&{11.5000}&{1.1103}\\{16.0000}&0&{ - 2.0000}&{4.2852}\\{2.0000}&{3.0000}&{ - 3.5000}&{ - 8.2510}\end{aligned}\end{aligned}\)

So, the orthogonal basis is\(W = \left\{ {\left( {\begin{aligned}{{}{r}}{ - 10}\\2\\{ - 6}\\{16}\\2\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}3\\3\\{ - 3}\\0\\3\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}6\\0\\6\\6\\0\end{aligned}} \right),\left( {\begin{aligned}{{}{r}}0\\5\\0\\0\\{ - 5}\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 91Ó°ÊÓ!

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

Let \({\mathbb{R}^{\bf{2}}}\) have the inner product of Example 1, and let \({\bf{x}} = \left( {{\bf{1}},{\bf{1}}} \right)\) and \({\bf{y}} = \left( {{\bf{5}}, - {\bf{1}}} \right)\).

a. Find\(\left\| {\bf{x}} \right\|\),\(\left\| {\bf{y}} \right\|\), and\({\left| {\left\langle {{\bf{x}},{\bf{y}}} \right\rangle } \right|^{\bf{2}}}\).

b. Describe all vectors\(\left( {{z_{\bf{1}}},{z_{\bf{2}}}} \right)\), that are orthogonal to y.

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

Suppose \(A = QR\), where \(R\) is an invertible matrix. Showthat \(A\) and \(Q\) have the same column space.

Suppose \(A = QR\) is a \(QR\) factorization of an \(m \times n\) matrix

A (with linearly independent columns). Partition \(A\) as \(\left[ {\begin{aligned}{{}{}}{{A_1}}&{{A_2}}\end{aligned}} \right]\), where \({A_1}\) has \(p\) columns. Show how to obtain a \(QR\) factorization of \({A_1}\), and explain why your factorization has the appropriate properties.

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.