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

Given A=QR as in Theorem 12, describe how to find an orthogonalm×m(square) matrix Q1 and an invertible n×n upper triangular matrix R such that

A=Q1[R0]

The MATLAB qr command supplies this “full” QR factorization

when rank A=n.

Short Answer

Expert verified

We find the square matrix Q1 by extending the column vectors of Q to the orthonormal basis of Rm.

Step by step solution

01

QR factorization of a Matrix

A matrix with order m×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 col(A).

The matrix R can be found by the formula QTA=R.

02

Finding the matrix R and Q1

Let q1,q2,,qn be the columns of the matrix Q. Here nm, since A is a m×n matrix and it has linearly independent columns.

The columns of Q can be extended to an orthogonal basis Rm.

Let v1 be the 1st vector of the standard basis of Rm which is not in the setWn=span{q1,......,qn}.

Let u1=v1projWnv1 and let qn+1=u1u1. Then {q1,......,qn,qn+1} is an orthogonal basis for Wn+1=span{q1,......,qn,qn+1}

Now, again v2be the 1st vector of the standard basis of Rm which is not in the set Wn+1=span{q1,......,qn,qn+1}.

Let u2=v2projWn+1v2 and let qn+2=u2u2. Then {q1,......,qn,qn+1,qn+2}is an orthogonal basis forWn+2=span{q1,......,qn,qn+1,qn+2}.

Applying this process to get mn such vectors, we get an orthogonal basis

{q1,......,qn,qn+1,...,qm}for Rm.

Let Q0=[rqn+1....qm] and then let Q1=[QQ0].

Then

Q1[R0]=[QQ0][R0]=QR=A

In this way, we can find Q1 and the upper triangular matrix.

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

Exercises 19 and 20 involve a design matrix X with two or more columns and a least-squares solution β^ of y=Xβ. Consider the following numbers.

(i) Xβ^2—the sum of the squares of the “regression term.” Denote this number by .

(ii) yXβ^2—the sum of the squares for error term. Denote this number by SS(E).

(iii) y2—the “total” sum of the squares of the y-values. Denote this number by SS(T).

Every statistics text that discusses regression and the linear model y=Xβ+ introduces these numbers, though terminology and notation vary somewhat. To simplify matters, assume that the mean of the -values is zero. In this case, SS(T) is proportional to what is called the variance of the set of -values.

19. Justify the equation SS(T)=SS(R)+SS(E). (Hint: Use a theorem, and explain why the hypotheses of the theorem are satisfied.) This equation is extremely important in statistics, both in regression theory and in the analysis of variance.

Let R2 have the inner product of Example 1, and let x=(1,1) and y=(5,1).

a. Findx,y, and|x,y|2.

b. Describe all vectors(z1,z2), that are orthogonal to y.

In Exercises 9-12, find (a) the orthogonal projection of b onto ColA and (b) a least-squares solution of Ax=b.

10. A=[121412], b=[315]

[M] Let f4 and f5 be the fourth-order and fifth order Fourier approximations in C[0,2π] to the square wave function in Exercise 10. Produce separate graphs of f4 and f5 on the interval [0,2π], and produce graph of f5 on [2π,2π].

Let X be the design matrix used to find the least square line of fit data (x1,y1),,(xn,yn). Use a theorem in Section 6.5 to show that the normal equations have a unique solution if and only if the data include at least two data points with different x-coordinates.

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