jagomart
digital resources
picture1_Matrix Pdf 168954 | Matrix Derivatives Cribsheet


 134x       Filetype PDF       File size 0.11 MB       Source: www.gatsby.ucl.ac.uk


File: Matrix Pdf 168954 | Matrix Derivatives Cribsheet
matrix derivatives cheat sheet kirsty mcnaught october 2017 1 matrix vector manipulation you should be comfortable with these rules they will come in handy when you want to simplify an ...

icon picture PDF Filetype PDF | Posted on 25 Jan 2023 | 2 years ago
Partial capture of text on file.
                                              Matrix derivatives cheat sheet
                                                            Kirsty McNaught
                                                              October 2017
                 1     Matrix/vector manipulation
                 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 =BTAT                       order is reversed, everything is transposed
                               T    T     T  T
                            (a Bc) =c B a                                        as above
                                  T      T
                                a b=b a               (the result is a scalar, and the transpose of a scalar is itself)
                          (A+B)C=AC+BC                                 multiplication is distributive
                                T       T       T
                         (a+b) C=a C+b C                                  as above, with vectors
                                 AB6=BA                             multiplication is not commutative
                 2     Common vector derivatives
                 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)    → df         f(x)    → df
                                                                 dx                   dx
                                                    bx     → b xTB → B
                                                    bx     → b          xTb     → b
                                                      2                  T
                                                    x      → 2x         x x     → 2x
                                                      2                  T
                                                    bx     → 2bx x Bx → 2Bx
                 Foramorecomprehensivereference,seehttps://www.math.uwaterloo.ca/ hwolkowi/matrixcookbook.
                                                                                               ~
                 pdf
                                                                      1
The words contained in this file might help you see if this file matches what you are looking for:

...Matrix derivatives cheat sheet kirsty mcnaught october vector manipulation you should be comfortable with these rules they will come in handy when want to simplify an expression before dierentiating all bold capitals are matrices lowercase vectors rule comments ab t btat order is reversed everything transposed a bc c b as above the result scalar and transpose of itself ac multiplication distributive ba not commutative common know by heart presented alongside similar looking help memory this doesn mean always look just like ones examples constant derivative f x df dx bx xtb foramorecomprehensivereference seehttps www math uwaterloo ca hwolkowi matrixcookbook pdf...

no reviews yet
Please Login to review.