UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Matrix Calculator — Determinant, Inverse, Multiply & Transpose

Compute determinants, inverses, and matrix operations with step-by-step solutions

Determinant

-2.000000

Size

2x2

Operation

Determinant

[
]

Determinant Result

Determinant
-2.000000
Matrix is invertible

Calculation Steps

det = (1)(4) − (2)(3)
det = 4 − 6
det = -2

Matrix Properties

Determinant-2.000000
InvertibleYes
Size2x2

Input Matrix

Matrix A
[
12
34
]

Formula Reference

2×2 det: ad − bc
3×3 det: a(ei−fh) − b(di−fg) + c(dh−eg)
Inverse: A⁻¹ = (1/det) × adj(A)
Multiply: C[i][j] = ∑ₖ A[i][k] × B[k][j]

Formulas Used

2×2 Determinant

det(A) = ad − bc

Calculates the determinant of a 2×2 matrix [[a,b],[c,d]] by multiplying the main diagonal and subtracting the anti-diagonal product.

Where:

a, d= Main diagonal elements (top-left, bottom-right)
b, c= Anti-diagonal elements (top-right, bottom-left)

3×3 Determinant (Cofactor Expansion)

det = a(ei−fh) − b(di−fg) + c(dh−eg)

Expands along the first row using cofactors for a 3×3 matrix [[a,b,c],[d,e,f],[g,h,i]].

Where:

a,b,c= First row elements
d,e,f= Second row elements
g,h,i= Third row elements

Matrix Multiplication

C[i][j] = ∑ₖ A[i][k] × B[k][j]

Each element of the product matrix is the dot product of a row from A and a column from B.

Where:

A[i][k]= Element in row i, column k of matrix A
B[k][j]= Element in row k, column j of matrix B
C[i][j]= Resulting element in row i, column j

Example Calculations

12×2 Determinant: [[3,7],[1,5]]

Inputs

Matrix Size2×2
OperationDeterminant
Matrix A[[3,7],[1,5]]

Result

Determinant8
InvertibleYes
Calculation3×5 − 7×1 = 15 − 7 = 8

For the 2×2 matrix [[3,7],[1,5]], the determinant is (3)(5) − (7)(1) = 15 − 7 = 8. Since det ≠ 0, the matrix is invertible.

22×2 Inverse: [[4,7],[2,6]]

Inputs

Matrix Size2×2
OperationInverse
Matrix A[[4,7],[2,6]]

Result

Determinant10
Inverse [0][0]0.6
Inverse [0][1]−0.7
Inverse [1][0]−0.2
Inverse [1][1]0.4

det = 4×6 − 7×2 = 24 − 14 = 10. The inverse is (1/10) × [[6,−7],[−2,4]] = [[0.6,−0.7],[−0.2,0.4]].

32×2 Multiplication: [[1,2],[3,4]] × [[5,6],[7,8]]

Inputs

Matrix Size2×2
OperationA × B
Matrix A[[1,2],[3,4]]
Matrix B[[5,6],[7,8]]

Result

Result Matrix[[19,22],[43,42]]
C[0][0]1×5 + 2×7 = 19
C[0][1]1×6 + 2×8 = 22
C[1][0]3×5 + 4×7 = 43
C[1][1]3×6 + 4×8 = 42

Each element of the result is the dot product of a row of A and a column of B. For example, C[1][0] = 3×5 + 4×7 = 15 + 28 = 43.

Frequently Asked Questions

Q

How do you calculate the determinant of a 2×2 matrix?

For a 2×2 matrix [[a,b],[c,d]], the determinant is ad − bc. Multiply the main diagonal (top-left to bottom-right) and subtract the product of the anti-diagonal. If the determinant is zero, the matrix is singular and has no inverse.

  • Formula: det = ad − bc for matrix [[a,b],[c,d]]
  • Example: [[3,7],[1,5]] has det = 3×5 − 7×1 = 15 − 7 = 8
  • Zero determinant means the matrix is singular (not invertible)
  • The determinant represents the area scaling factor of the linear transformation
  • Negative determinant means the transformation reverses orientation
MatrixDeterminantInvertible?
[[3,7],[1,5]]8Yes
[[2,4],[1,2]]0No
[[1,0],[0,1]]1Yes (Identity)
[[4,7],[2,6]]10Yes
Q

How do you find the inverse of a 2×2 matrix?

For a 2×2 matrix [[a,b],[c,d]], the inverse is (1/det) × [[d,−b],[−c,a]], where det = ad − bc. Swap the main diagonal elements, negate the off-diagonal elements, and divide by the determinant. The inverse only exists when det ≠ 0.

  • Step 1: Calculate det = ad − bc
  • Step 2: Swap a and d on the main diagonal
  • Step 3: Negate b and c on the off-diagonal
  • Step 4: Multiply entire matrix by 1/det
  • Example: [[4,7],[2,6]] → inv = (1/10)[[6,−7],[−2,4]] = [[0.6,−0.7],[−0.2,0.4]]
Step2×2 Method3×3 Method
Determinantad − bcCofactor expansion
AdjugateSwap & negateTranspose of cofactor matrix
Inverse(1/det) × adj(1/det) × adj
Complexity4 operations40+ operations
Q

How does matrix multiplication work?

Matrix multiplication computes each element C[i][j] by taking the dot product of row i from matrix A and column j from matrix B. For two n×n matrices, each element requires n multiplications and n−1 additions. Matrix multiplication is not commutative: A×B ≠ B×A in general.

  • C[i][j] = sum of A[i][k] × B[k][j] for all k
  • Requires columns of A to equal rows of B
  • Not commutative: A×B is generally different from B×A
  • 2×2 multiplication: 8 multiplications, 4 additions
  • 3×3 multiplication: 27 multiplications, 18 additions
Q

What is the transpose of a matrix?

The transpose of a matrix swaps its rows and columns: element A[i][j] becomes Aᵀ[j][i]. For a 2×3 matrix, the transpose is 3×2. The transpose of a symmetric matrix equals the original matrix. The determinant of a matrix equals the determinant of its transpose.

  • Transpose rule: Aᵀ[i][j] = A[j][i]
  • Rows become columns and columns become rows
  • Symmetric matrix: Aᵀ = A (e.g., [[1,2],[2,3]])
  • det(Aᵀ) = det(A) for any square matrix
  • (AB)ᵀ = BᵀAᵀ — transpose reverses multiplication order
Q

What does a zero determinant mean?

A zero determinant means the matrix is singular: it has no inverse, its rows (or columns) are linearly dependent, and the associated linear system has either no solution or infinitely many solutions. Geometrically, the transformation collapses space into a lower dimension.

  • No inverse exists — the matrix equation Ax = b may have no solution
  • Rows are linearly dependent — one row is a scalar multiple or combination of others
  • The transformation collapses n-dimensional space to (n−1) or fewer dimensions
  • Example: [[2,4],[1,2]] has det = 0 because row 1 = 2 × row 2
  • In applications: indicates a degenerate or underdetermined system

Related Calculators

Quadratic Equation Calculator

Solve quadratic equations using the quadratic formula with discriminant analysis.

Proportion Calculator

Solve proportions and cross-multiplication problems with step-by-step solutions.

Permutation Calculator

Calculate permutations and ordered arrangements for counting problems.

Correlation Calculator

Compute Pearson correlation coefficients and regression analysis for data sets.

Mixed Number Calculator

Add, subtract, multiply, and divide mixed numbers with detailed step-by-step solutions. Convert between mixed numbers, improper fractions, and decimals.

Fraction Calculator

Add, subtract, multiply, and divide fractions with clear step-by-step solutions. Simplify fractions, convert to decimals, and handle mixed numbers easily.

Related Resources

Combination Calculator

Quadratic Equation Calculator

Standard Deviation Calculator

Proportion Calculator

Last Updated: Mar 11, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro