TOPICS
Search

Matrix Calculus


Matrix calculus extends differentiation to functions whose arguments or values are vectors or matrices. For a scalar-valued function f(x), its first derivative is represented by the gradient del f. For a vector-valued function f:R^n->R^m, the first derivative is the Jacobian

 J_(ij)=(partialf_i)/(partialx_j).

The second derivative of a scalar-valued function is its Hessian.

For a function of a matrix X=(X_(ij)), the derivative can similarly be collected from the partial derivatives with respect to the entries X_(ij). Authors use both numerator-layout and denominator-layout conventions, which transpose some vector and matrix derivatives. A matrix-calculus formula therefore requires its derivative convention to be stated explicitly.


See also

Gradient, Hessian, Jacobian, Matrix

Explore with Wolfram|Alpha

References

Magnus, J. R. and Neudecker, H. Matrix Differential Calculus with Applications in Statistics and Econometrics, 2nd ed. Chichester, England: Wiley, 1999.

Cite this as:

Weisstein, Eric W. "Matrix Calculus." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/MatrixCalculus.html

Subject classifications