Quick Start

Visit HeronTool's "Matrix" tool, input matrix dimensions (e.g., 2x2 or 3x3), and fill in values cell by cell. After verifying, select operation type: addition, multiplication, or inversion. Click "Calculate" to get instant results, with options to copy or download.

Step-by-Step Operations

  1. Matrix Addition/Subtraction: Enter two matrices of same dimensions, choose "Addition" or "Subtraction", the tool performs element-wise operations automatically.
  2. Matrix Multiplication: The number of columns in the first matrix must equal the number of rows in the second. Input A and B, select "Multiplication", and the result matrix size adjusts automatically.
  3. Matrix Inversion: Only square matrices. Input the matrix and choose "Invert". The tool computes the determinant and checks invertibility, alerting you if the matrix is singular.

All operations validate input in real-time, highlighting errors in red.

Application Scenarios

  • Solving Linear Systems: Use inverse matrices to solve Ax=b.
  • Graphics Transformations: Compose rotation and scaling matrices via multiplication.
  • Data Analysis: Invert covariance matrices for multivariate statistics.

FAQ

Q: Can I enter decimals or fractions? Yes, both decimals and fractions (e.g., 1/2) are supported.
Q: What if I get 'singular matrix' error during inversion? It means the determinant is zero, so the matrix is not invertible. Check your input values.
Q: How large matrices can I compute? The tool supports up to 10x10 matrices, sufficient for most educational and engineering needs.

Etiketler