Matrix Calculator
Perform matrix operations: addition, subtraction, multiplication, transpose, determinant, and inverse with step-by-step solutions.
Calculator
Select an operation and enter matrix values to perform matrix calculations with step-by-step solutions.
Result
0
Detailed Results
Step-by-Step Solution
Complete User Guide
What is a Matrix?
A matrix is a rectangular array of numbers arranged in rows and columns. Matrices are used in mathematics, physics, computer science, and many other fields.
Example: A 2×2 matrix has 2 rows and 2 columns: [[a, b], [c, d]]
Matrix Operations
- 新增: Add corresponding elements (matrices must have same dimensions)
- Subtraction: Subtract corresponding elements (matrices must have same dimensions)
- Multiplication: Multiply matrices (columns of first must equal rows of second)
- Transpose: Swap rows and columns
- Determinant: Calculate determinant (matrix must be square)
- Inverse: Calculate inverse matrix (matrix must be square and non-singular)
How to Enter Matrices
Enter matrix values separated by commas, with each row on a new line:
3, 4
Or use semicolons to separate rows:
Examples
Example 1: Matrix Addition
Matrix A: [[1, 2], [3, 4]]
Matrix B: [[5, 6], [7, 8]]
Result: [[6, 8], [10, 12]]
Example 2: Matrix Multiplication
Matrix A: [[1, 2], [3, 4]] (2×2)
Matrix B: [[5, 6], [7, 8]] (2×2)
Result: [[19, 22], [43, 50]] (2×2)