Aller au contenu
CalcVerse

Calculateur de matrices

Add, subtract and multiply matrices, and find the determinant, inverse, transpose, rank, trace and integer powers of matrices up to 6 × 6.

Matrice A
Matrice B

Le guide ci-dessous n'est pas encore disponible en français et s'affiche en anglais. Le calculateur lui-même est entièrement traduit.

Comment utiliser ce calculateur

  1. Choose an operation.
  2. Set the number of rows and columns and type the entries. Decimals and negative numbers are allowed.
  3. The result updates as you type.

Formule

Matrix multiplication takes dot products of rows of A with columns of B, so A's column count must equal B's row count. Determinants and inverses use Gaussian elimination with partial pivoting for numerical stability.

(AB)ᵢⱼ = Σₖ Aᵢₖ Bₖⱼ
det(A) = product of pivots × (−1)^(row swaps)
A⁻¹ exists only if det(A) ≠ 0

2 × 2 example

  1. A = [[4, 7], [2, 6]].
  2. det(A) = 4 × 6 − 7 × 2 = 10.
  3. A⁻¹ = (1/10) × [[6, −7], [−2, 4]] = [[0.6, −0.7], [−0.2, 0.4]].

Questions fréquentes

Is matrix multiplication commutative?

No. In general AB ≠ BA, and one product may exist while the other doesn't.

Why can't my matrix be inverted?

A matrix with determinant 0 is singular: its rows are linearly dependent, so no inverse exists.

What is the rank of a matrix?

The number of linearly independent rows (or columns). A square n × n matrix is invertible exactly when its rank is n.