Docsity

Least Squares Solution - Linear Algebra - Quiz, Exercises of Linear Algebra

Toggle sidebar
bg1
Math 205B Quiz 09 page 1 04/02/2010 Name
1. Let A=
1 1
2 4
4 16
5 25
and y=
13
−12
−5
21
. It’s a fact that yis not in Col(A); you do not need to verify this.
1A. Find the least-squares solution of Ax=y. Show any and all matrices you used.
1B. Find the projection vector pof yonto the column space of A.
1C. Find the vector zsatisfying p+z=y.
1D. Find the distance from yto Col(A).
1E. Verify that zis in Col(A)⊥by calculating the two appropriate dot products.
1F. The work done in this problem would be appropriate for solving which problem: (put a check next to the correct one)
Find the best fit curve of the form y=β1x+β2x2through the points (1,1), (2,4), (4,16) and (5,25).
Find the best fit curve of the form y=β0+β1x2through the points (1,13), (2,−12), (4,−5) and (5,21).
Find the best fit curve of the form y=β1x+β2x2through the points (1,13), (2,−12), (4,−5) and (5,21).
Find the best fit curve of the form y=β0+β1x+β2x2through the points (1,1,13), (2,4,−12), (4,16,−5) and (5,25,21).

Partial preview of the text

Download Least Squares Solution - Linear Algebra - Quiz and more Exercises Linear Algebra in PDF only on Docsity!

Math 205B Quiz 09 page 1 04/02/2010 Name

  1. Let A =

and y =

. It’s a fact that y is not in Col(A); you do not need to verify this.

1A. Find the least-squares solution of Ax = y. Show any and all matrices you used.

1B. Find the projection vector p of y onto the column space of A.

1C. Find the vector z satisfying p + z = y.

1D. Find the distance from y to Col(A).

1E. Verify that z is in Col(A)

⊥ by calculating the two appropriate dot products.

1F. The work done in this problem would be appropriate for solving which problem: (put a check next to the correct one)

Find the best fit curve of the form y = β 1 x + β 2 x

2 through the points (1, 1), (2, 4), (4, 16) and (5, 25).

Find the best fit curve of the form y = β 0 + β 1 x

2 through the points (1, 13), (2, −12), (4, −5) and (5, 21).

Find the best fit curve of the form y = β 1 x + β 2 x

2 through the points (1, 13), (2, −12), (4, −5) and (5, 21).

Find the best fit curve of the form y = β 0 + β 1 x + β 2 x 2 through the points (1, 1 , 13), (2, 4 , −12), (4, 16 , −5) and (5, 25 , 21).