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(0−110)e^{\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}}

eA=(cos⁡1−sin⁡1sin⁡1cos⁡1)\displaystyle e^{A} = \begin{pmatrix} \cos 1 & -\sin 1 \\ \sin 1 & \cos 1 \end{pmatrix}

Eigenvalues

±i\displaystyle \pm i

Decimal

(0.540302−0.8414710.8414710.540302)\displaystyle \begin{pmatrix} 0.540302 & -0.841471 \\ 0.841471 & 0.540302 \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=(0−110)A = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}
  2. Characteristic polynomial

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

    det⁡(λI−A)=λ2+1\det(\lambda I - A) = \lambda^{2} + 1
  3. Complex eigenvalues

    The eigenvalues are α ± βi with α = 0 and β = 1.

    λ=±i\lambda = \pm i
  4. The rotation formula

    Write A = αI + N with N = A − αI. Then N² = −β²I (Cayley–Hamilton), so the series for e^N splits into the series for cos β and sin β, and αI commutes with everything.

    Using eA=eα(cos⁡β I+sin⁡ββ(A−αI))e^{A} = e^{\alpha}\left(\cos\beta\, I + \frac{\sin\beta}{\beta}(A - \alpha I)\right)

    N=A−0I=(0−110)N = A - 0I = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}
  5. Result

    The matrix exponential.

    eA=(cos⁡1−sin⁡1sin⁡1cos⁡1)e^{A} = \begin{pmatrix} \cos 1 & -\sin 1 \\ \sin 1 & \cos 1 \end{pmatrix}

Worked examples