Matrix Exponential Calculator
Work out e^A for the matrices this page can exponentiate exactly from square matrix (rows on separate lines). Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton, and the page prints the substitution so the result can be checked by hand.
Matrix Exponential Calculator
Work out e^A for the matrices this page can exponentiate exactly from square matrix (rows on separate lines). Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton, and the page prints the substitution so the result can be checked by hand.
How this page computes
Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton
The page prints which route it took: a rational diagonalization, a scalar plus nilpotent series that terminates, or the 2 by 2 closed form for an irrational or complex pair.
Only e^λ is transcendental, so the rational factor is printed exactly and the decimals appear only where the exponential itself enters.
The calculation runs entirely in this browser tab; nothing is uploaded.
Matrix Exponential Calculator computes e^A for the matrices this page can exponentiate exactly. Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
The page prints which route it took: a rational diagonalization, a scalar plus nilpotent series that terminates, or the 2 by 2 closed form for an irrational or complex pair. Pressed with square matrix 0 -1; 1 0, it answers: The characteristic polynomial has the conjugate pair 0 ± 1i, so A has no real eigenbasis and the real exponential comes from the pair.
How to use Matrix Exponential Calculator
Enter square matrix 0 -1; 1 0, then press Run: the page evaluates e^A for the matrices this page can exponentiate exactly and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With square matrix 0 -1; 1 0, the answer is The characteristic polynomial has the conjugate pair 0 ± 1i, so A has no real eigenbasis and the real exponential comes from the pair..
Three routes, named
The page prints which route it took: a rational diagonalization, a scalar plus nilpotent series that terminates, or the 2 by 2 closed form for an irrational or complex pair.
Only e^λ is transcendental, so the rational factor is printed exactly and the decimals appear only where the exponential itself enters.
What to Expect
Best for
- Working out e^A for the matrices this page can exponentiate exactly without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A matrix larger than 2 by 2 that is neither diagonalizable over the rationals nor a scalar plus a nilpotent is refused, because the general answer needs a Padé solver the catalogue does not ship.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A matrix larger than 2 by 2 that is neither diagonalizable over the rationals nor a scalar plus a nilpotent is refused, because the general answer needs a Padé solver the catalogue does not ship.
- An empty field is refused with the field's name
Example use cases
- Work out e^A for the matrices this page can exponentiate exactly for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
Matrix Exponential Calculator: square matrix 0 -1; 1 0
Sample output
The characteristic polynomial has the conjugate pair 0 ± 1i, so A has no real eigenbasis and the real exponential comes from the pair. — e^A = e^p × (cos q × I + (sin q ÷ q) × (A − pI)), with p = trace ÷ 2 = 0 and q = √(−discriminant) ÷ 2 = 1.
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
Diagonalizable: e^A = P diag(e^λ) P⁻¹; nilpotent part: e^A = e^λ Σ Nᵏ ÷ k!; 2 by 2: Cayley–Hamilton. The page prints the substitution as well, so the answer can be checked against the rule.
What does Matrix Exponential Calculator refuse?
A matrix larger than 2 by 2 that is neither diagonalizable over the rationals nor a scalar plus a nilpotent is refused, because the general answer needs a Padé solver the catalogue does not ship.
What does the default example give?
Square matrix 0 -1; 1 0 gives The characteristic polynomial has the conjugate pair 0 ± 1i, so A has no real eigenbasis and the real exponential comes from the pair.. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.