
Homework 2
Honors Math 3321
Name: _______________________________
ID: _________________________________
1. Give the least squares solution to the system
33
56
10 6 6
33 7
681
xy
y
xy
xy
xy
=โ
โโ
โโ
=
โโ
โโ
=โ
โโ
โโ =
โโ
โโ
+=
โโ
.
2. Give the least squares solution to the system
22
221
2.5 1
2.5 0
xyz
xy z
xy z
xy z
+=
โโ
โโ
+โ =
โโ
โโ
โ=
โโ
โ=
โโ
.
3. Give the line of best least squares fit for the data (1,2), (2,3.9), (3,6.1), (4,7.8). Provide
a graph of the data and the line, and give the residual error associated with this
approximation.
4. Give the parabola of best least squares fit for the data (-2,2), (-1,1/2), (0,-1/5), (1,.4),
(2,2.1). Provide a graph of the data and the parabola, and give the residual error
associated with this approximation.
5. Give the projection of the vector [-3, 6, -6, 7, -1] on to the span of the column
vectors of
31
05
10 6
33
68
โโ
โโ
โโ
โโ
โ
โโ
โโ
โโ
โโ
โโ
.
6. Give the projection of the vector [2, 1, 1, 0] on to the span of the column vectors of
121
21 2
1 1 2.5
1 1 2.5
โโ
โโ
โโ
โโ
โโ
โโ
โโ
โ
โโ