ENGR108: Introduction to Matrix Methods

John Duchi and Babak Ayazifar, Stanford University, Fall 2023

Homework is assigned weekly, and due by Wednesday at 11:59PM. We will use gradescope for homework submission. Contact the teaching team if you do not see the class in your gradescope dashboard. Late homework will not be accepted. However, we will drop your lowest homework grade when finalizing grades for the course.

The homework problems are assigned from the book, or from the additional exercises (marked with A, as in A2.1), which can be found here. We will update these additional exercises during the quarter, so be sure to download the newest version before starting your homework.

Some homework problems will require you to code in Julia (see our Julia page for more information). You must submit your code for any problems that require coding. The Julia files needed for homework problems are available to download here.

You are welcome to collaborate on the homework, but you must write up your own final version to hand in, and you must write up your own code.


  • Homework 1, due Wednesday, 10/4/23:
    1.3, 1.8, 1.9, A1.2, A1.7

  • Homework 2, due Thursday, 10/12/23, at 5:00pm:
    2.5, 2.6, A3.7, A3.9, A3.11, A3.14, A3.15, A3.16

  • Homework 3, due Wednesday, 10/18/23:
    3.17, 3.18, 4.3, A4.1, A4.2, A4.3

  • Homework 4, due Thursday, 11/2/23, at 11:59pm:
    5.2, 5.6, 5.7, A5.2, A5.5, A5.7

  • Homework 5, due Thursday, 11/9/23, at 11:59pm:
    6.3, 7.10, 7.5, A6.7, A6.8, A6.12

  • Homework 6, due Thursday, 11/16/23, at 11:59pm:
    7.3, 7.14, 7.15, A7.3, A7.4, A7.6

  • Homework 7, due Friday, 12/8/23, at 11:59pm:
    A8.4, 10.4, 10.14, 10.15, A10.6, A10.18,