1. Scalar with Respect to a Vector

  1. Gradient of a Linear Function

  2. Gradient of a Quadratic Function
    (where is symmetric)

  3. Gradient of a Norm

  4. Gradient of the Dot Product

  5. Gradient of the Log-Sum-Exp Function


2. Vector with Respect to a Vector

  1. Derivative of a Vector-Vector Product

  2. Derivative of a Norm-Squared


3. Scalar with Respect to a Matrix

  1. Derivative of Trace

  2. Derivative of a Quadratic Form

  3. Derivative of Trace with Matrix Multiplication


4. Matrix with Respect to a Matrix

  1. Derivative of a Matrix Product

  2. Derivative of a Quadratic Form


5. Special Functions

  1. Softmax Function

  2. Sigmoid Function