Homework 12
Table of Contents
The following assignment is due Tuesday 12/10 by 11:59 PM. You should submit all your written solutions to Gradescope as a single pdf. Follow the instructions in the programming problem for code solutions.
- Your solutions must be exceptionally neat and the final answer in your solution to each problem must be abundantly clear, e.g., surrounded in a very visible box. The graders have license to dock points for illegible or unclear solutions.
- For the written part, choose the correct pages corresponding to each problem in Gradescope. Note that Gradescope registers your submission as soon as you submit it, so you don't need to rush to choose the pages. You will receive no credit if you do not choose the correct pages, no exceptions.
1. Least Squares
For this problem, you must do all calculations by hand and show your work.
1.1. (2 points)
Determine the normal equations of
1.2. (2 points)
Determine a least-squares solution of
1.3. (1 points)
Is the least-squares solution you determined in the previous part unique? Justify your answer.
2. Linear Models
We will use the following dataset for this problem.
2.1. (2 points)
Set up a linear system whose least-squares solution determines the
parameters for the least-squares fit model of the form
2.2. (2 points)
Determine the least-squares fit model for the given data. Round the parameters to the nearest hundredth.
3. Quadratic Forms
Consider the following quadratic form.
3.1. (2 points)
Determine the underlying matrix for
3.2. (2 points)
Determine
3.3. (2 points)
Determine
4. SVD (Extra Credit)
4.1. (1 point)
Determine a singular value decomposition of
4.2. (1 point)
Determine a singular value decomposition of