QCSunny Lab

Matrix Calculator (Linear Algebra)矩阵计算器(线性代数)

Perform linear algebra matrix operations: Determinant, Inverse, Trace, Rank, Transpose, Addition (A + B), and Multiplication (A × B).线性代数常用矩阵运算工具:行列式 (det)、逆矩阵 (A⁻¹)、矩阵的迹 (trace)、转置 (Aᵀ)、加法 (A + B) 与矩阵乘法 (A × B)。

A dedicated linear algebra matrix calculator that performs essential matrix operations instantly in your browser: compute determinants det(A), matrix inversion A⁻¹ via Gauss-Jordan elimination, matrix trace tr(A), and transpose Aᵀ.

Also supports binary operations between two matrices: matrix addition (A + B), subtraction (A − B), and row-by-column matrix multiplication (A × B). All computations run locally with zero latency.

Frequently asked questions

How do I input a matrix?

Separate each row with a new line (Enter), and separate numbers within each row using spaces or commas (e.g. "1 2 3\n4 5 6").

When is a matrix invertible?

Only square matrices with a non-zero determinant (det ≠ 0) have an inverse. If det = 0, it is a singular matrix.

What dimensions are required for matrix multiplication (A × B)?

The number of columns in Matrix A must equal the number of rows in Matrix B.

中文说明

专为高等数学与线性代数设计的矩阵计算工具,支持在浏览器本地实时完成常见矩阵运算:方阵行列式 det(A)、通过高斯-若尔当消元法求解逆矩阵 A⁻¹、主对角线迹 tr(A) 以及矩阵转置 Aᵀ。

同时支持双矩阵二元运算:同型矩阵加法 (A + B)、减法 (A − B) 以及基于行乘列内积的标准矩阵乘法 (A × B)。纯本地即时运算,结果支持制表符矩阵视图。

常见问题

如何输入矩阵数据?

矩阵的每一行请使用回车换行分隔;行内的各个数字请使用空格或逗号分隔(例如:"1 2 3\n4 5 6")。

什么样的矩阵可以求逆?

只有行列式不为 0 的方阵才存在逆矩阵。如果行列式等于 0,则该矩阵为奇异矩阵(不可逆)。

矩阵乘法 (A × B) 对尺寸有什么要求?

矩阵 A 的列数必须与矩阵 B 的行数严格相等,所得结果矩阵的行数等于 A 的行数,列数等于 B 的列数。