The Matrix Exponential, Hands On
A matrix A defines a flow: at every point x the velocity is Ax. Following that flow for time t is the linear map etA. Everything below is computed live in your browser.
1. Follow the flow
Pick a 2×2 matrix A. The arrows show the velocity Ax. The blue square is the unit square; the orange shape is where etA carries it. Slide t from 0 and watch it travel along the flow; the dotted curves are the paths of the corners.
2. Build it from the series
The definition is eA = I + A + A²/2! + A³/3! + …. Choose how many terms to keep. The green square is the exact eA; the orange shape is the partial sum with k terms applied to the unit square.
3. When eA+B ≠ eAeB
Take A and B below. Moving along A then along B is not the same as moving along A+B unless they commute. Slide the scale s and compare the three shapes, plus the commutator size ‖AB−BA‖.