MIT 18.S096 Matrix Calculus for Machine Learning (IAP 2023)
- Course audio
- Course audio: English
- Level
- Advanced
- Length
- 17 lessons · 13.9 hours
What you'll be able to do
- Compute Jacobians and derivatives of matrix functions
- Explain forward and reverse automatic differentiation
- Use gradients and Hessians in optimization problems
About this course
A 17-video English lecture course of about 13.9 hours from MIT OpenCourseWare, given in January 2023 and built around eight lectures split into parts. It begins with motivation and derivatives as linear operators, then Jacobians, vectorization of matrix functions, Kronecker products and finite-difference approximations. Further lectures treat gradients in other vector spaces, root finding and optimization, derivatives of determinants and inverses, forward automatic differentiation with dual numbers, and computational graphs. Advanced parts cover adjoint methods for ODEs, calculus of variations, random functions, Hessians and eigenproblem derivatives. It suits students with multivariable calculus and linear algebra who need the maths behind gradient-based learning.
Before you start: Multivariable calculus; Linear algebra
Syllabus
17 lessons · 13:55:12 in total
- 1Lecture 1 Part 1: Introduction and Motivation57:42
- 2Lecture 1 Part 2: Derivatives as Linear Operators48:28
- 3Lecture 2 Part 1: Derivatives in Higher Dimensions: Jacobians and Matrix Functions1:13:57
- 4Lecture 2 Part 2: Vectorization of Matrix Functions30:18
- 5Lecture 3 Part 1: Kronecker Products and Jacobians53:05
- 6Lecture 3 Part 2: Finite-Difference Approximations51:10
- 7Lecture 4 Part 1: Gradients and Inner Products in Other Vector Spaces1:03:49
- 8Lecture 4 Part 2: Nonlinear Root Finding, Optimization, and Adjoint Gradient Methods44:26
- 9Lecture 5 Part 1: Derivative of Matrix Determinant and Inverse28:03
- 10Lecture 5 Part 2: Forward Automatic Differentiation via Dual Numbers36:02
- 11Lecture 5 Part 3: Differentiation on Computational Graphs32:46
- 12Lecture 6 Part 1: Adjoint Differentiation of ODE Solutions58:21
- 13Lecture 6 Part 2: Calculus of Variations and Gradients of Functionals42:32
- 14Lecture 7 Part 1: Derivatives of Random Functions1:06:18
- 15Lecture 7 Part 2: Second Derivatives, Bilinear Forms, and Hessian Matrices46:09
- 16Lecture 8 Part 1: Derivatives of Eigenproblems36:37
- 17Lecture 8 Part 2: Automatic Differentiation on Computational Graphs1:05:29
Questions
- How long is this course?
- It has 17 lessons and about 13.9 hours of video (13:55:12 in total). Your progress is saved lesson by lesson, so you can stop and continue on any device you sign in on, or in the same browser without signing in.
- Is this course in English?
- The lessons are taught in English. The teacher is MIT OpenCourseWare; the videos play from their official YouTube channel, and Sabaq adds the lesson order, progress tracking, notes and the summary on this page.
- Who is this course for, and what should I know first?
- It is aimed at experienced learners who want depth. Before you start: Multivariable calculus; Linear algebra.
- Is it free, and do I need an account?
- Yes, it is free to watch and no account is needed. The videos are official uploads by the teacher on YouTube; a free DanixSoft account is optional and only syncs your progress between devices.
- What should I take after this course?
- A good next step on Sabaq is “Neural Networks: Zero to Hero (Andrej Karpathy)”. The “What to take next” list on this page shows more courses at the same or a higher level in the same topic.
What to take next
Related courses
Videos by MIT OpenCourseWare, played from their official YouTube channel. Subscribe on YouTube
Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.
Lessons listed from the official YouTube playlist. Full playlist on YouTube
Lessons last checked Nov 2026. Course summary and lesson structure by Sabaq.
Report a problem or a rights request

