電卓を開く
線形代数スタジオ

行列計算機:行列式・逆行列・転置行列

2×2および3×3行列の行列式、逆行列、転置、余因子を瞬時にステップ解説付きで導出。

Dimensions:
Input Matrix A
Calculation OutputReady
Click det(A), inv(A), or Aᵀ above to compute.

How to Use the Online Matrix Calculator

Linear algebra calculations often become tedious when computed by hand, especially when evaluating multivariable cofactors or inverse matrices. This free matrix tool lets you configure matrix dimensions, enter real or fractional matrix coefficients, and compute fundamental properties in seconds.

  • Dimension Selection: Choose 2×2 for two-variable transformations or 3×3 for three-dimensional coordinate spaces and physics tensors.
  • Grid Inputs: Enter integers, decimals, or negative numbers into each cell. The calculator updates determinant values dynamically.
  • Operations: Click det(A) for scalar determinant scaling, inv(A) for the multiplicative inverse, Aᵀ to reflect across the main diagonal, and tr(A) for the diagonal trace sum.

Worked Examples with Real Numbers

Example 1: 2×2 Determinant

Consider matrix A:

[ 4   7 ]
[ 2   6 ]
  1. Apply formula: det(A) = ad - bc.
  2. ad = 4 × 6 = 24.
  3. bc = 7 × 2 = 14.
  4. det(A) = 24 - 14 = 10.

Example 2: 2×2 Matrix Inverse

Invert matrix A from Example 1:

A⁻¹ = (1/det) · [ d  -b ]
                [ -c  a ]
  1. det(A) = 10 ≠ 0 (invertible).
  2. Swap diagonal: 4 ↔ 6.
  3. Negate off-diagonal: -7 and -2.
  4. Result: [[0.6, -0.7], [-0.2, 0.4]].

Example 3: 3×3 Expansion

Evaluate 3×3 determinant:

[ 1   2   3 ]
[ 0   4   5 ]
[ 1   0   6 ]
  1. 1 · (24 - 0) = 24.
  2. -2 · (0 - 5) = +10.
  3. +3 · (0 - 4) = -12.
  4. det = 24 + 10 - 12 = 22.

Related Mathematics & Scientific Calculators

Explore our companion math solvers for polynomial roots, statistical sets, and full hardware emulation:

Frequently Asked Questions

What does it mean when a matrix determinant is zero?
When det(A) = 0, the matrix is singular (degenerate). Geometrically, it compresses space into a lower dimension (such as flattening an area into a line). A singular matrix has no multiplicative inverse because division by zero is undefined.
Can I enter decimal and negative values?
Yes. The grid inputs accept negative values (e.g., -4.5) and floating-point decimals. Calculations are executed using 64-bit IEEE-754 precision to minimize round-off error.
How does matrix transpose differ from matrix inverse?
The transpose Aᵀ flips a matrix over its diagonal, swapping row indices with column indices. The inverse A⁻¹ satisfies the property A · A⁻¹ = I (the identity matrix). Transposing is always possible, whereas an inverse exists only if det(A) ≠ 0.