Matrix Exponential Calculator

Enter a 2 × 2 or 3 × 3 matrix to find its exponential.

Matrix A
Rows
2
Columns
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You enterede(1111)e^{\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}}

eA=(12e2+1212e2−1212e2−1212e2+12)\displaystyle e^{A} = \begin{pmatrix} \frac{1}{2}e^{2} + \frac{1}{2} & \frac{1}{2}e^{2} - \frac{1}{2} \\ \frac{1}{2}e^{2} - \frac{1}{2} & \frac{1}{2}e^{2} + \frac{1}{2} \end{pmatrix}

Eigenvalues

0, 2\displaystyle 0,\ 2

Decimal

(4.1945283.1945283.1945284.194528)\displaystyle \begin{pmatrix} 4.194528 & 3.194528 \\ 3.194528 & 4.194528 \end{pmatrix}
Show the work
  1. The matrix exponential

    The exponential of a matrix is the same power series as for a number. It always converges; to sum it exactly, use the eigenvalues.

    Using eA=I+A+A22!+A33!+⋯e^{A} = I + A + \frac{A^2}{2!} + \frac{A^3}{3!} + \cdots

    A=(1111)A = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}
  2. Characteristic polynomial

    The eigenvalues are the roots of det(λI − A).

    det⁡(λI−A)=λ2−2λ\det(\lambda I - A) = \lambda^{2} - 2\lambda
  3. Eigenvalues

    All rational and distinct.

    λ=0, 2\lambda = 0,\ 2
  4. Interpolate e^λ at the eigenvalues

    By the Cayley–Hamilton theorem every power of A is a combination of the first n, so e^A equals the polynomial that matches e^λ at the eigenvalues (and its derivatives at a repeated one). Its coefficients are the divided differences of e^λ.

    Using eA=c0I+c1(A−λ1I)+c2(A−λ1I)(A−λ2I)+⋯e^{A} = c_0 I + c_1 (A - \lambda_1 I) + c_2 (A - \lambda_1 I)(A - \lambda_2 I) + \cdots

    c0=1c1=12e2−12\begin{gathered} c_{0} = 1 \\ c_{1} = \frac{1}{2}e^{2} - \frac{1}{2} \end{gathered}
  5. Result

    The matrix exponential, exactly.

    eA=(12e2+1212e2−1212e2−1212e2+12)e^{A} = \begin{pmatrix} \frac{1}{2}e^{2} + \frac{1}{2} & \frac{1}{2}e^{2} - \frac{1}{2} \\ \frac{1}{2}e^{2} - \frac{1}{2} & \frac{1}{2}e^{2} + \frac{1}{2} \end{pmatrix}

Worked examples