Matrix Differentiation
To differentiate a matrix with elements aij=aij(x), we simply differentiate each element aij of that matrix with respect to x.
Given the matrix
;

We differentiate the matrix
with
respect to x;

Example 1:
Find dB/dx;

Solution;

Example 2:
Similarly, the same can be done for partial derivatives.
