All Homework is due by 5 pm in the inbox across the hall from Packard 243. Late
homework will not be accepted.
All numbered exercises are from
the textbook;
exercises which start with ‘A’ are from the set of
additional exercises posted on the textbook website.
Data files
for the additional exercises can be found on the
textbook page.
Access to solutions requires SUNetID (Stanford University Network ID) to log in.
Homework 1, due Friday 1/16/15:
2.6, 2.9, 2.12ae, 2.15, 2.24a, 2.25, and 2.28.
Hint for 2.28: A symmetric matrix is positive semidefinite if and
only if all principal minors (determinants of submatrices obtained
by selecting the same subset of rows and columns) are nonnegative.
Solutions.
Homework 2, due Friday 1/23/15:
3.2, 3.16, 3.24af, 4.1, A1.7, A2.1, A2.2, and A3.2.
Solutions.
Homework 3, due Friday 1/30/15:
3.36(a,d), 3.42, 3.49ac, 4.8ae, 4.15, 4.17, A3.4, A13.3.
Solutions.
Homework 4, due Friday 2/6/15:
5.1, 5.13, A2.27, A3.18, A3.26, A4.1.
Solutions.
Homework 5, due Friday 2/13/15:
5.5, 6.2, 7.6, A5.12, A13.4, A13.9, A16.9.
Solutions.
Homework 6, due Friday 2/20/15:
8.16, A3.28, A6.6, A6.13, A13.12, A14.8.
If you would like to see the solution of A14.8
in action, watch
this video
or
this one.
Solutions.
Homework 7, due Friday 2/27/15:
9.30 + A8.3, A3.20, A5.15, A11.4, A13.14, and A17.3.
Solutions.
Homework 8 (last one), due Tuesday 3/10/15:
A9.5, A16.1, A17.1, and A3.31.
Note for A9.5: Python users should avoid using numpy.linalg.pinv and instead use numpy.linalg.lstsq because matrices with high condition numbers may be encountered.
