Skip to content
kwharrison13.comEssays, books and notes by Kyle Harrison

The Matrix Cookbook

From kwharrison13.com · Library of Alexandria
The Matrix Cookbook
AuthorKaare Brandt Petersen and Michael Syskind Pedersen
Published2012
FormatReference
OriginalRead the original

TL;DR — Every matrix identity you need and none of the prose. The canonical answer to “most underrated PDF” for anyone who has done the derivations.

72 pages of matrix identities, derivatives, decompositions and inverses, with no exposition at all.

It is a lookup table, and that is the design. Anyone deriving gradients by hand — which is to say anyone who learned machine learning before autodiff, and anyone debugging autodiff since — has a copy.

Free, maintained, and the single most-recommended reference document of its type, which is why it appears in a thread like this rather than in a textbook list.

Where this came from

72 pages. A copy is archived locally against link rot; the header links the original source.

Curated by Kyle Harrison. Organized by Claude. Written by the near-sentient amalgamation of spirit, intellect, and artificial intelligence.