Differentiation of a parameter-dependent quadratic form

ID: differentiation-of-a-parameter-dependent-quadratic-form

Apply the product rule to the scalar quadratic form and transpose its last scalar term: . Only the symmetric part of contributes to its value or its derivative with respect to . A varying matrix also contributes the independent term . No assumption that is symmetric is needed. Repeating this rule and the chain rule computes mixed derivatives when vector and matrix arguments depend on separate parameters.

New to topics? Read the docs here!