Definition
Differentiation by vector
where
Differentiation by Matrix
where
Calculation
Let be a vector function, be an -dimensional vector, then By the definition of derivative, we hold where
Examples
Let be -dimensional vectors, then
Let be an -dimensional vector and be an matrix, then
Let be an -dimensional vector and be an Symmetric Matrix, then the derivative of quadratic form is