Section 5.6 Exercises

  1. For each of the following, use the Gram–Schmidt process to find an orthonormal basis for R(A):

    1. A=[1315]

    2. A=[25110]

  2. Factor each of the matrices in Exercise 1 into a product QR, where Q is an orthogonal matrix and R is upper triangular.

  3. Given the basis {(1,2,2)T,(4,3,2)T,(1,2,1)T} for 3, use the Gram–Schmidt process to obtain an orthonormal basis.

  4. Consider the vector space C[1,1] with the inner product defined by

    f,g=11f(x)g(x)dx

    Find an orthonormal basis for the subspace spanned by 1, x, and x2.

  5. Let

    A=[211121]andb=[12618]
    1. Use the Gram–Schmidt process to find an orthonormal basis for the column space of A.

    2. Factor A into a product QR, where Q has an orthonormal set of column vectors and R is upper triangular.

    3. Solve the least squares problem Ax=b.

  6. Repeat Exercise 5 using

    A=[314202]andb=[02010]
  7. Given x1=12(1,1,1,1)T and x2=16(1,1,3,5)T, verify that these vectors form an orthonormal set in 4. Extend this set to an orthonormal basis for 4 by finding an orthonormal basis for the null space of

    [11111135]

    [Hint: First find a basis for the null space and then use the Gram–Schmidt process.]

  8. Use the Gram–Schmidt process to find an orthonormal basis for the subspace of 4 spanned by x1=(4,2,2,1)T,x2=(2,0,0,2)T, and x3=(1,1,1,1)T.

  9. Repeat Exercise 8 using the modified Gram–Schmidt process and compare answers.

  10. Let A be an m×2 matrix. Show that if both the classical Gram–Schmidt process and the modified Gram–Schmidt process are applied to the column vectors of A, then both algorithms will produce the exact same QR factorization, even when the computations are carried out in finite-precision arithmetic (i.e., show that both algorithms will perform the exact same arithmetic computations).

  11. Let A be an m×3 matrix. Let QR be the QR factorization obtained when the classical Gram–Schmidt process is applied to the column vectors of A, and let Q˜R˜ be the factorization obtained when the modified Gram–Schmidt process is used. Show that if all computations were carried out using exact arithmetic, then we would have

    Q˜=QandR˜=R

    and show that when the computations are done in finite-precision arithmetic, r˜23 will not necessarily be equal to r23 and, consequently, r˜33 and q˜3 will not necessarily be thesameas r23 and q3.

  12. What will happen if the Gram–Schmidt process is applied to a set of vectors {v1,v2,v3}, where v1 and v2 are linearly independent, but v3Span(v1,v2)? Will the process fail? If so, how? Explain.

  13. Let A be an m×n matrix of rank n and let bm. Show that if Q and R are the matrices derived from applying the Gram–Schmidt process to the column vectors of A and

    p=c1q1+c2q2++cnqn

    is the projection of b onto R(A), then

    1. c=QTb

    2. p=QQTb

    3. QQT=A(ATA)1AT

  14. Let U be an m-dimensional subspace of n and let V be a k-dimensional subspace of U, where 0<k<m.

    1. Show that any orthonormal basis

      {v1,v2,,vk}

      for V can be expanded to form an orthonormal basis {v1,v2,,vk,vk+1,,vm} for U.

    2. Show that if W=Span(vk+1,vk+2,,vm), then U=VW

  15. (Dimension Theorem) Let U and V be subspaces of n. In the case that UV={0}, we have the following dimension relation:

    dim(U+V)=dimU+dimV

    (See Exercise 18 in Section 3.4.) Make use of the result from Exercise 14 to prove the more general theorem

    dim(U+V)=dimU+dimVdim(UV)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.244.153