Theorem

Let , be a constant matrix, and be differentiable functions.

Basic Rules

Linearity:

Product Rule (scalar):

Linear Forms

Quadratic Forms

If is symmetric:

Chain Rule

For :

Examples

Example 1: Linear form

Let and

Example 2: Quadratic form

Let and

Since is symmetric:

Example 3: Chain rule

Let where , and

Evaluating at :

As a column vector: