# Matrix Calculus (for Machine Learning and Beyond)

arXiv: https://arxiv.org/abs/2501.14787 · HTML: https://mlsanity.com/paper/2501.14787/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 7 Jan 2025.

## Built on by (most cited first, 1 of 1)

- [Fast Differentiable SVD on GPU via Polar Decomposition](https://mlsanity.com/paper/2609.32505/) (2026)

## Abstract (arXiv)

This course, intended for undergraduates familiar with elementary calculus and linear algebra, introduces the extension of differential calculus to functions on more general vector spaces, such as functions that take as input a matrix and return a matrix inverse or factorization, derivatives of ODE solutions, and even stochastic derivatives of random functions. It emphasizes practical computational applications, such as large-scale optimization and machine learning, where derivatives must be re-imagined in order to be propagated through complicated calculations. The class also discusses efficiency concerns leading to "adjoint" or "reverse-mode" differentiation (a.k.a. "backpropagation"), and gives a gentle introduction to modern automatic differentiation (AD) techniques.
