Matrices and linear maps

Level UniversityDifficulty ★★★★★Concept⌖ Open in the map

What is it?

A matrix A∈ℝm×nA \in \R^{m \times n} is a linear map x↦Axx \mapsto Ax from ℝn\R^n to ℝm\R^m. The derivative of a function of several variables is a matrix (the Jacobian), and a layer of a neural network is Wx+bWx + b.

Formulas

(Ax)i=∑jaijxj,(AB)x=A(Bx)(Ax)_i = \sum_j a_{ij} x_j, \qquad (AB)x = A(Bx)
det⁡(abcd)=ad−bc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc
area scaling factor of the map

Where it shows up in computing

  • Kalman filter★★★★★frequentRobotics and control

    State transition, observation and covariance updates are all matrix products.

  • Control theory★★★★★frequentRobotics and control

    State-space models x˙=Ax+Bu\dot x = Ax + Bu are linear maps.

Where it shows up in AI

  • Neural networks★★★★★fundamentalAI and machine learning

    A dense layer is σ(Wx+b)\sigma(Wx + b); GPUs exist to multiply these matrices fast.

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

What depends on it

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc