Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007

Similar documents
LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

Problem # Max points possible Actual score Total 120

Math 308 Practice Test for Final Exam Winter 2015

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

Math Final December 2006 C. Robinson

Linear Algebra (MATH ) Spring 2011 Final Exam Practice Problem Solutions

235 Final exam review questions

EXAM. Exam 1. Math 5316, Fall December 2, 2012

MAT Linear Algebra Collection of sample exams

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST

Math 314/ Exam 2 Blue Exam Solutions December 4, 2008 Instructor: Dr. S. Cooper. Name:

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

SSEA Math 51 Track Final Exam August 30, Problem Total Points Score

Math 2114 Common Final Exam May 13, 2015 Form A

I. Multiple Choice Questions (Answer any eight)

MA 265 FINAL EXAM Fall 2012

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

PRACTICE PROBLEMS FOR THE FINAL

Solutions to Review Problems for Chapter 6 ( ), 7.1

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

MATH. 20F SAMPLE FINAL (WINTER 2010)

No books, no notes, no calculators. You must show work, unless the question is a true/false, yes/no, or fill-in-the-blank question.

Reduction to the associated homogeneous system via a particular solution

2. Every linear system with the same number of equations as unknowns has a unique solution.

MATH 1553, Intro to Linear Algebra FINAL EXAM STUDY GUIDE

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Linear Algebra Final Exam Study Guide Solutions Fall 2012

Problem 1: Solving a linear equation

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Solutions to Final Exam

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

Cheat Sheet for MATH461

Signature. Printed Name. Math 312 Hour Exam 1 Jerry L. Kazdan March 5, :00 1:20

Linear Algebra. and

Linear Algebra Practice Problems

Conceptual Questions for Review

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Linear Algebra Practice Problems

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

MATH 2360 REVIEW PROBLEMS

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Test 3, Linear Algebra

1. Select the unique answer (choice) for each problem. Write only the answer.

Math 407: Linear Optimization

MATH 223 FINAL EXAM APRIL, 2005

Math 265 Linear Algebra Sample Spring 2002., rref (A) =

MATH 1B03 Day Class Final Exam Bradd Hart, Dec. 13, 2013

MATH 221, Spring Homework 10 Solutions

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Practice Final Exam Solutions for Calculus II, Math 1502, December 5, 2013

MATH 1553-C MIDTERM EXAMINATION 3

Definitions for Quizzes

LINEAR ALGEBRA QUESTION BANK

Linear Algebra Massoud Malek

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

Orthonormal Bases; Gram-Schmidt Process; QR-Decomposition

Chapter 3 Transformations

Check that your exam contains 20 multiple-choice questions, numbered sequentially.

MATH 1553 SAMPLE FINAL EXAM, SPRING 2018

MATH 54 - FINAL EXAM STUDY GUIDE

Final. for Math 308, Winter This exam contains 7 questions for a total of 100 points in 15 pages.

Practice Final Exam. Solutions.

[3] (b) Find a reduced row-echelon matrix row-equivalent to ,1 2 2

Name: Final Exam MATH 3320

1 Last time: least-squares problems

Math 353, Practice Midterm 1

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

1. General Vector Spaces

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

ELE/MCE 503 Linear Algebra Facts Fall 2018

FINAL EXAM Ma (Eakin) Fall 2015 December 16, 2015

MATH 1553 PRACTICE FINAL EXAMINATION

NATIONAL UNIVERSITY OF SINGAPORE MA1101R

Math Linear Algebra Final Exam Review Sheet

Assignment #9: Orthogonal Projections, Gram-Schmidt, and Least Squares. Name:

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Final Exam Practice Problems Answers Math 24 Winter 2012

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

Math 369 Exam #2 Practice Problem Solutions

q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis.

ft-uiowa-math2550 Assignment NOTRequiredJustHWformatOfQuizReviewForExam3part2 due 12/31/2014 at 07:10pm CST

( 9x + 3y. y 3y = (λ 9)x 3x + y = λy 9x + 3y = 3λy 9x + (λ 9)x = λ(λ 9)x. (λ 2 10λ)x = 0

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

Math 308 Practice Final Exam Page and vector y =

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

Math 24 Spring 2012 Sample Homework Solutions Week 8

Chapter 6. Orthogonality

MATH 15a: Linear Algebra Practice Exam 2

The Gram-Schmidt Process 1

MATH Spring 2011 Sample problems for Test 2: Solutions

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Transcription:

Math 224, Fall 2007 Exam 3 Thursday, December 6, 2007 You have 1 hour and 20 minutes. No notes, books, or other references. You are permitted to use Maple during this exam, but you must start with a blank worksheet. In particular, you are allowed to use the GramSchmidt command in Maple. Start by typing with(linalg): and with(linearalgebra): YOU MUST SHOW ALL WORK TO RECEIVE CREDIT. ANSWERS FOR WHICH NO WORK IS SHOWN WILL RECEIVE NO CREDIT (UNLESS SPECIFICALLY STATED OTHERWISE). Good luck! Eat candy as necessary! Name: On my honor, I have neither given nor received any aid on this examination. Signature: 1. For parts (a)-(e), let W be the subspace of R 3 spanned by {[ 1, 1, 1], [1, 3, 2]}. (a) (5 points) Find a basis for W. Solution. W is the nullspace of the matrix [ ] 1 1 1 A =. 1 3 2 W = sp([ 5, 1, 4]). (b) (5 points) Write b = [1, 2, 2] in the form b = b W + b W, where b W is in W and b W is in W. Mathematics Department 1 Math 224: Linear Algebra

Solution. We want to find r 1, r 2, r 3, r 4 such that r 1 1 1 + r 2 1 3 + r 3 5 1 = 1 2 4 we form the augmented matrix 1 1 5 1 1 3 1 2 1 2 4 2 and row reduce to obtain b W = 1 3 r 1 = 1/3, r 2 = 11/14, r 3 = 1/42. 1 2 2 11 [ 1, 1, 1] + [1, 3, 2] = [47/42, 85/42, 40/21] 14 and b W = 1 [ 5, 1, 4] = [ 5/42, 1/42, 2/21]. 42 (c) (5 points) Confirm that b W and b W are orthogonal. Solution. The dot product of b W and b W is 0, so b W and b W are orthogonal. (d) (5 points) Find the projection matrix P for W. Solution. First construct the matrix A = 1 1 1 3 1 2 Then the projection matrix for W is 17/42 5/42 10/21 P = A(A T A) 1 A T = 5/42 41/42 2/21 10/21 2/21 13/21 (e) (5 points) Find b W using P. Confirm that you obtain the same result for b W that you did in part (b). Solution. b W = P b = [47/42, 85/42, 40/21]. This is the same result that we obtained in part (b). 2. (16 points total, 2 points each) If the n n matrices A and B are orthogonal, which of the following matrices must be orthogonal as well? Explain your answers. Mathematics Department 2 Math 224: Linear Algebra

(a) 3A Solution. (3A) T (3A) = 9A T A = 9I I, so 3A is NOT orthogonal. (b) B Solution. ( B) T ( B) = B T B = I, so B IS orthogonal. (c) AB Solution. (AB) T AB = B T A T AB = B T IB = B T B = I, so AB IS orthogonal. (d) A + B Solution. (A + B) T (A + B) = (A T + B T )(A + B) = A T A + A T B + B T A + B T B = 2I + A T B + B T B I, so (A + B) is NOT orthogonal. (e) B 1 Solution. Since B is orthogonal, B 1 = B T. (B 1 ) T B 1 = (B T ) T B T = BB T = I, so B 1 IS orthogonal. (f) B 1 AB Solution. (B 1 AB) T (B 1 AB) = (B T A T (B 1 ) T )(B 1 AB) = B T A T (B T ) T B T AB = B T A T BB T AB = B T A T AB = I (g) A T (h) A 2 B 1 AB IS orthogonal. Solution. Since A T A = I, A T = A 1, so (A T ) T A T = AA T = I, so A T IS orthogonal. Solution. (A 2 ) T A 2 = (AA) T AA = A T A T AA = A T A = I, so A 2 IS orthogonal. 3. (4 points) Is the set {3 sin 2 x, 5 cos 2 x, 119} a linearly independent set of vectors in F (the vector space of all functions f : R R)? Solution. The set is a linearly DEPENDENT set of vectors in F since, for example, ( 119 3 )3 sin2 x + 119 5 ( 5 sin2 x) + ( 1)119 = 0 is a dependence relation among the vectors. 4. (10 points) The set B = {1 + x 2, x + x 2, 1 + 2x + x 2 } Mathematics Department 3 Math 224: Linear Algebra

is a basis for P 2, the set of all polynomials of degree less than or equal to 2 (you do not need to show this). Find the coordinate vector of p(x) = 1 + 4x + 7x 2 relative to B. Solution. First, coordinatize the vectors in the basis B relative to the standard basis B = {x 2, x, 1} of P 2 : (1 + x 2 ) B = [1, 0, 1] (x + x 2 ) B = [1, 1, 0] (1 + 2x + x 2 ) B = [1, 2, 1] Next, note that (p(x)) B = [7, 4, 1]. we want to find r 1, r 2, r 3 such that r 1 1 0 + r 2 1 1 + r 3 1 2 = 7 4 1 0 1 1 we form the augmented matrix 1 1 1 7 0 1 2 4 1 0 1 1 and row reduce to obtain r 1 = 2, r 2 = 6, r 3 = 1. the coordinate vector of p(x) relative to B is (p(x)) B = [2, 6, 1]. 5. (10 points) Suppose that A is an orthogonal matrix. Show that the only eigenvalues of A are 1 and -1. Solution. Suppose that λ is an eigenvalue of A with corresponding eigenvector v. Then Av = λv. Since A is an orthogonal matrix, Av = v. But λv = v. λv = λ v. Mathematics Department 4 Math 224: Linear Algebra

λ v = v. Since v 0 (by definition of an eigenvector), we conclude that λ = 1, so λ = ±1. 6. (a) (5 points) Let A be an m n matrix. Show that A T A is an n n matrix with the same rank as A. Hint: show that nullity(a) = nullity(a T A) and explain why that implies that rank(a) = rank(a T A). Solution. Since A is an m n matrix, A T is an n m matrix, so A T A is an n n matrix. The rank equation for A is The rank equation for A T A is rank(a) + nullity(a) = n. rank(a T A) + nullity(a T A) = n. rank(a) + nullity(a) = rank(a T A) + nullity(a T A). So to show that A and A T A have the same rank, it s sufficient to show that A and A T A have the same nullity. Suppose that x is in the nullspace of A. Then Ax = 0. (A T A)x = A T Ax = A T 0 = 0, so x is in the nullspace of A T A. Suppose that x is in the nullspace of A T A. Then A T Ax = 0. Multiplying both sides by x T, we obtain: x T A T Ax = 0 (Ax) T (Ax) = 0 (Ax) (Ax) = 0 Ax = 0 Ax = 0 x is in the nullspace of A. We conclude that any vector in the nullspace of A is also in the nullspace of A T A and any vector in the nullspace of A T A is also in the nullspace of A. the nullspace of A is equal to the nullspace of A T A, so nullity(a) = nullity(a T A) and rank(a) = rank(a T A). Mathematics Department 5 Math 224: Linear Algebra

(b) (5 points) Suppose that {b 1, b 2,..., b k } is a basis for a subspace W of R n. Let A be the matrix whose columns are the vectors b 1, b 2,..., b k. Explain why A T A must be invertible. Solution. Since the set {b 1, b 2,..., b k } is a basis for W, the vectors b 1, b 2,..., b k are independent. A is an n k matrix with rank k (A has k independent columns). Since A is an n k matrix, A T is a k n matrix, so A T A is a k k matrix. From part (a), rank(a) = rank(a T A). A T A is a k k matrix, with rank k, so it is invertible. 7. (10 points) Suppose that P is any projection matrix with columns v 1, v 2,..., v n. Show that for all i = 1, 2,..., n, v i 2 is equal to P i,i (the diagonal entry (i, i) in the matrix P ). For example, for i = 2 in the matrix below, this number is 2/6 = 4/36 + 4/36 + 4/36: P = 5/6 2/6 1/6 2/6 2/6 2/6 1/6 2/6 5/6 You must prove the result for an arbitrary projection matrix P ; this example is just to give you an example of the result for a particular matrix. Solution. P is a projection matrix with columns v 1, v 2,..., v n : P = v 1 v 2 v n Then P T is a matrix with rows v 1, v 2,..., v n : P T = v 1 v 2 v n Since P is a projection matrix, P 2 = P = P T. v 1 v 1 v 1 v 2 v 1 v n P 2 = P T P = v 2 v 1 v 2 v 2 v 2 v n = P. v n v 1 v n v 2 v n v n the diagonal entry P i,i = v i v i = v i 2. 8. (10 points total, 1 point each) Classify each of the following statements as True or False. No explanation is necessary. Mathematics Department 6 Math 224: Linear Algebra

(a) The entries of an orthogonal matrix are all less than or equal to 1. (b) The determinant of any orthogonal matrix is 1. False. The determinant can be 1 or -1. (c) The matrix P = A(A T A) 1 A T is symmetric for all matrices A. For a projection matrix P, P T = P. (d) Every vector in R n is in some orthonormal basis for R n. False. Any vector whose norm is not equal to 1 cannot be in an orthonormal basis. (e) Every non-zero subspace W of R n has an orthonormal basis. The Gram-Schmidt process enables us to construct an orthonormal basis for any subspace. (f) Given a non-zero finite dimensional vector space V, each vector v in V is associated with a unique coordinate vector relative to a given basis for V. (g) Any two bases in a finite-dimensional vector space V have the same number of elements. (h) The set of all polynomials of degree 4, together with the zero polynomial, is a vector space. False. The set is not closed under vector addition. (i) There are only six possible ordered bases for R 3. False. There are infinitely many ordered bases for R 3. (j) There are only six possible ordered bases for R 3 consisting of the standard unit coordinate vectors [1, 0, 0], [0, 1, 0], [0, 0, 1] in R 3. Bonus (10 points). Let P 4 denote the vector space of all polynomials of degree less than or equal to 4. We can define a dot product on P 4 by p(x) q(x) = 1 1 p(x)q(x) dx. Find an orthonormal basis of P 4 using this dot product. Hint: Choose a basis B for P 4 and use the Gram-Schmidt procedure to transform your basis B into an orthonormal basis. Mathematics Department 7 Math 224: Linear Algebra