Prashnikaप्रश्निका
Code
About

Matrix calculator and equation solver

Write what you want worked out, such as A*B + 2C or A^-1 * B, or a matrix equation such as A*X = B. The page asks for the size and entries of each matrix it finds, and gives the exact answer with the working.

How to use it

  1. 1Type what you want worked out, such as A*B + 2C or A^-1 * B, or an equation like A*X = B.
  2. 2Fill in the boxes that appear for each matrix (any size up to 6 × 6).
  3. 3Press Work it out for the exact answer and the working.

Matrices are capital letters. Use * (or write letters side by side) for a product, ^T for the transpose, ^-1 for the inverse, ^2 for a power, det(A) and tr(A). Write an equation with an unknown X, such as A*X + C = B, to solve it.

Matrix A
Matrix B

Without scripts, write the expression and press the button once: the boxes for its matrices then appear.

Answer

2×4 matrix

7835
1617914

Working

  1. A × B = [7 8 3 5; 16 17 9 14]

The matrices you gave

A =
123
456
B =
1012
0110
2201
Start again

About the Matrix calculator and equation solver

What it does

Works out expressions with matrices of any size up to 6 × 6: sums, products, scalar multiples, powers, transposes, inverses, determinants and traces. It also solves matrix equations such as AX = B, XA = B and AX + C = B for X. Answers are exact fractions, with the working.

How to write it

  • Matrices are capital letters: A, B, C.
  • A*B (or AB) is a product, 2A a multiple, A+B a sum.
  • A^T is the transpose, A^-1 the inverse, A^2 the square.
  • det(A) is the determinant and tr(A) the trace.
  • An equation with an unknown X, such as A*X = B, is solved for X.

Order matters

Matrix multiplication is not commutative. A*X = B gives X = A⁻¹B, but X*A = B gives X = BA⁻¹.

Common questions

Why is A*B different from B*A?

Matrix multiplication depends on order. In fact B*A may not even exist when A*B does.

When can two matrices be multiplied?

When the number of columns of the first equals the number of rows of the second. The product has the first’s rows and the second’s columns.

Which tool shows the adjoint method?

The matrix inverse and equations solver shows the determinant, minors, cofactors and adjoint step by step, for matrices up to 4 × 4.

Practise on real ISC questions

More Mathematics tools

All study tools →