(Very) Simplified Overview


Untitled

This page goes over matrix differentiation concepts often used in ML. Below are some possible functions which are covered by the table:

Vector Differentiation (Review)

Differentiation as a Linear Operator


For simplicity, assume:

Warning, this part is a bit hand-wavey

<aside> 📖 Main idea:

$$ \begin{align*} d \mathbf f &= \mathbf f(\mathbf x + d \mathbf x) -f(\mathbf x) \\ &= \mathbf f'(\mathbf x)d\mathbf x \end{align*} $$

Where:

Linearization

Recall the linearization of a single variable function, which allow us to approximate values near a point $x$:

Untitled

$$ f(x + \delta x) = f(x) + f'(x)\delta x + \dots $$