Skip to content

Matrices · Determinants · Eigenvalues · Vectors

Linear Algebra Solver

Enter matrices with brackets, like [[1,2],[3,4]]. The solver multiplies, inverts, row-reduces and finds eigenvalues with exact fractions and shows every row operation.

  • Every answer independently verified
  • Results in milliseconds
  • AI explanations at your level

What the linear algebra solver can do

Matrix arithmetic

A × B

Addition, multiplication and powers.

Determinants

det [[1,2],[3,4]]

Cofactor expansion step by step.

Inverses

A⁻¹

Exact fractions; singular matrices detected.

Row reduction

RREF

Gauss–Jordan elimination with row operations.

Eigenvalues

eigenvalues of [[2,1],[1,2]]

Characteristic polynomial and roots.

Vectors

[1,2,3] · [4,5,6]

Dot product, cross product and length.

Accuracy by design

A math engine first. AI second.

Chatbots guess. We compute, verify, and then explain — so every explanation is about a correct answer.

  1. 01

    Understand

    Your input — text, LaTeX, keyboard or photo — is normalized and classified into one of 20+ problem types.

  2. 02

    Compute

    A symbolic math engine solves it exactly: algebra, calculus, matrices, statistics.

  3. 03

    Verify

    Independent checks confirm the answer: substitution, numerical differentiation & integration, round-trips.

  4. 04

    Explain

    AI explains each verified step at your level — and can never change the answer.

How to type a matrix

Write each row in brackets and wrap the rows in another pair: [[1,2],[3,4]] is a 2×2 matrix. Vectors use one pair of brackets: [1,2,3]. Then add a command such as determinant of, inverse of, rref of or eigenvalues of.

Exact, not rounded

Linear algebra goes wrong fast with rounded decimals. The solver keeps fractions exact through every row operation, so the inverse of [[1,2],[3,4]] comes out as clean fractions.

How to use the Linear Algebra Solver

1. Enter your problem

Type it in the box above, paste LaTeX, use the math keyboard or upload a photo. Plain English like "solve for x" works too.

2. Get the verified answer

A symbolic math engine computes the exact answer, then checks it a second way before showing it.

3. Follow the steps

Every step names the rule or formula used. Choose an explanation level from Beginner to College.

4. Ask the tutor and practise

Ask the AI Tutor about any step you don't understand, then try similar questions in Practice.

Example problems to try

  • determinant of [[1,2],[3,4]]
  • inverse of [[1,2],[3,4]]
  • eigenvalues of [[2,1],[1,2]]
  • rref of [[1,2,3],[4,5,6]]
  • [[1,2],[3,4]] * [[5,6],[7,8]]
  • [1,2,3] dot [4,5,6]

Worked example: a 2×2 determinant and inverse

Let .

Step 1: Determinant

.

Step 2: Inverse

Step 3: Check

, the identity matrix. ✓

Common linear algebra mistakes

  • Multiplying matrices element by element instead of row by column.
  • Assuming .
  • Trying to invert a matrix whose determinant is .

Keep learning

Use the Matrix Calculator and Eigenvalue Calculator.

Further reading

MIT OpenCourseWare Linear Algebra and 3Blue1Brown's Essence of Linear Algebra.

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Find .

    Show answer

    14.

  2. 2.Add .

    Show answer

    .

  3. 3.Find the dot product of and .

    Show answer

    1.

  4. 4.Find the eigenvalues of .

    Show answer

    2 and 5.

  5. 5.Solve , with matrices.

    Show answer

    , .

Key terms

Matrix
A rectangular array of numbers.
Determinant
A number from a square matrix that shows whether it's invertible.
Row echelon form
A staircase form used to solve systems.
Eigenvalue
A number with for some nonzero vector.
Dot product
The sum of the products of matching components.

Related calculators

More math help

Frequently asked questions

What sizes of matrix are supported?

Square matrices for determinants, inverses and eigenvalues, and any compatible sizes for multiplication and row reduction.

What if a matrix has no inverse?

If the determinant is 0 the matrix is singular. The solver tells you so instead of returning a wrong answer.

Can it row-reduce a matrix?

Yes. It shows each row operation on the way to row echelon or reduced row echelon form.

Can it find eigenvalues?

Yes. It finds the eigenvalues of a square matrix and checks that they add up to the trace.

Does matrix multiplication order matter?

Yes. and are usually different, and sometimes only one is defined.

Can it handle vectors?

Yes: magnitude, dot and cross products, angles between vectors and projections.

Start solving smarter today

Free forever for everyday homework. Upgrade any time for unlimited AI tutoring.