
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

You should be comfortable with these rules. They will come in handy when you want to simplify an expression before differentiating. All bold capitals are matrices, bold lowercase are vectors.
Rule Comments (AB)T^ = BT^ AT^ order is reversed, everything is transposed (aT^ Bc)T^ = cT^ BT^ a as above aT^ b = bT^ a (the result is a scalar, and the transpose of a scalar is itself) (A + B)C = AC + BC multiplication is distributive (a + b)T^ C = aT^ C + bT^ C as above, with vectors AB 6 = BA multiplication is not commutative
You should know these by heart. They are presented alongside similar-looking scalar derivatives to help memory. This doesnโt mean matrix derivatives always look just like scalar ones. In these examples, b is a constant scalar, and B is a constant matrix.
Scalar derivative Vector derivative f (x) โ d dfx f (x) โ d dfx
bx โ b xT^ B โ B bx โ b xT^ b โ b x^2 โ 2 x xT^ x โ 2 x bx^2 โ 2 bx xT^ Bx โ 2 Bx
For a more comprehensive reference, see https://www.math.uwaterloo.ca/~hwolkowi/matrixcookbook. pdf