本文へスキップ
CalcVerse

行列計算機

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

行列A
行列B

以下のガイドはまだ日本語に翻訳されていないため、英語で表示しています。計算機自体はすべて日本語に対応しています。

この計算機の使い方

  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.

計算式

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]].

よくある質問

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.