A·B / A⁻¹Matrix operations
Ask for addition, multiplication, a transpose, or an inverse. For AB, the columns of A must match the rows of B.
Use this linear algebra calculator for AI explanations of matrix operations, row reduction, Ax = b, rank, and vectors. Paste a matrix or upload a problem and review the steps.
linear algebra calculator
Matrix operations
Systems and row reduction
Rank and vector spaces
Paste each matrix row in brackets, or upload a clear image. State the operation and ask for steps. Responses are AI-generated; check important arithmetic independently.
linear algebra calculator
Matrix arithmetic, systems, and vectors need different checks. Specify the task as well as the entries.
A·B / A⁻¹Ask for addition, multiplication, a transpose, or an inverse. For AB, the columns of A must match the rows of B.
[A | b] → RREFSolve Ax = b by Gaussian elimination or reduce an augmented matrix to RREF. Identify unique, inconsistent, and underdetermined systems.
rank(A) + nullity(A) = nUse pivots to find rank and free variables to describe a null space. Ask for a basis and a check of linear independence.
u·v / Av = λvAsk about dot products, projections, determinants, or eigenvectors. The focused calculators below cover determinant and eigenvalue methods.
Method
Keep the original matrix visible while you follow the explanation.
A, bUse A = [[2,1],[1,3]] and b = [5,5]. Each inner bracket is one row.
Ax = bSpecify AB, an inverse, RREF, a basis, or solving Ax = b.
R₂ ← R₂ − ½R₁Track row operations and distinguish pivot variables from free variables.
Ax − b = 0Substitute x into Ax = b, multiply A by its inverse, or test each basis vector.
Tip: keep fractions such as 1/3 instead of rounded decimals, and state whether parameters are real or complex.
Quick reference
Choose a check that matches the operation, rather than treating every answer as a single number.
Matrix product
(m×n)(n×p) → m×pMultiply each row of A by each column of B; AB generally differs from BA.
Inverse
AA⁻¹ = A⁻¹A = IOnly a nonsingular square matrix has a two-sided inverse.
Linear system
Ax = bA zero coefficient row with a nonzero augmented entry means no solution.
Rank–nullity
rank(A) + nullity(A) = nFor a matrix with n columns, count pivots and free variables.
Worked example
These reviewed examples show the method, result, and an independent check. Use the example prompts above to try them in the solver.
Worked example 1
Solve Ax = b: A = [[2,1],[1,3]], b = [5,5]Row reduction connects a matrix to its original equations.
Result: x = [2,1]
Check: A[2,1] = [2·2 + 1, 2 + 3·1] = [5,5] = b.
Worked example 2
Find A⁻¹: A = [[2,1],[1,3]]The same matrix lets you connect the inverse to solving a system.
Result: A⁻¹ = [[3/5,−1/5],[−1/5,2/5]]
Check: AA⁻¹ = (1/5)[[5,0],[0,5]] = I; also A⁻¹[5,5] = [2,1].
Worked example 3
Find rank and null space: A = [[1,2,3],[2,4,6]]A dependent row leaves free variables.
Result: rank(A) = 1; null-space basis = {[−2,1,0], [−3,0,1]}
Check: A[−2,1,0] = 0 and A[−3,0,1] = 0; rank 1 + nullity 2 = 3 columns.
Check the conditions before trusting a result.
AB exists only when the inner dimensions match. Matrix multiplication also depends on order.
A rectangular matrix has no two-sided inverse; a square matrix with determinant zero is singular.
Free variables can describe infinitely many solutions. Check for inconsistency separately.

