Assignments and Grading
Grading
| Component | Weight | When |
|---|---|---|
| Homework | 20% | Due Weeks 6, 9, 12, 15 |
| Programming assignments (five) | 30% | Weeks 8, 11, 14, 16 |
| Final examination | 50% | Examination period |
The rule that applies to every assignment
Implement it, then check it against a reference implementation. Where your result and the library’s disagree, work out why before you move on. That gap is where the actual learning is — a disagreement in the fifteenth digit and a disagreement in the second have very different causes, and telling them apart is the skill this course is trying to build.
Submissions are code plus a short report. The report should state what you implemented, how you verified it, and what you found — not restate the algorithm.
Four Homeworks
H1. Matrix Multiplication
Page 21, P1.2.2, P1.2.3, P1.2.5, P1.2.8; Page 32, P1.3.5, P1.3.7, P1.3.9, P1.3.10, P1.3.14.
Due 10.12.
The four projects
Choose one project to do the presentation in the Week 15-16.
A1 · Norms and conditioning · due Week 8 · 6%
Implement a condition-number estimator. Construct matrices of increasing condition number and
demonstrate empirically that κ(A) predicts the error growth in a solved system. Show a case
with a tiny residual and a large error.
Covers Weeks 2–4. Reference: §2.3, §2.6–2.7.
A2 · LU and Cholesky · due Week 11 · 6%
Write LU with partial pivoting and Cholesky from scratch. Verify both against a library routine. Measure the growth factor on random and on adversarial matrices, and exhibit a matrix where elimination without pivoting fails.
Covers Weeks 5–7. Reference: §3.2–3.4, §4.2.
A3 · QR and least squares · due Week 14 · 6%
Implement Householder QR. Solve the same ill-conditioned least squares problem three ways —
normal equations, QR, and SVD — and explain the accuracy difference you observe in terms of
κ(AᵀA) = κ(A)².
Covers Weeks 9–10. Reference: §5.1–5.3.
A4 · Eigenvalues · due Week 16 · 6%
Implement power iteration and shifted inverse iteration. Apply them to a real problem: a graph Laplacian, or a PageRank instance on a graph you construct. Compare convergence rates against the theoretical prediction from the eigenvalue gap.
Covers Weeks 12–13. Reference: §7.3, §8.2.
Course project (optional, in place of A5)
If you would rather go deeper than broad, propose a project instead of the fifth assignment. Good starting points are the topics the course deliberately omits: the matrix exponential and other matrix functions (Ch. 9), multigrid (§11.6), tensor decompositions (§12.4–12.5), or randomized low-rank approximation. Proposals due Week 11; presentations in Week 16.