🧮 Linear Equation System Solver (2 or 3 Unknowns)

Solve a system of two or three linear equations with Cramer’s rule or elimination, showing the unknowns for algebra and engineering work.

📐 计算公式
Gaussian elimination with partial pivoting: a relative tolerance scaled to the matrix separates unique, no-solution and infinitely-many-solution cases; xᵢ = det(Aᵢ)/det(A) is shown for reference only and does not decide singularity.
Solving linear systems: singularity is judged relative to the matrix scale and Gaussian elimination gives the unique solution; rank deficiency is split into no solution (augmented rank larger) and infinitely many solutions (dependent equations).
① 方程一:a₁·x + b₁·y = c₁
x y =
② 方程二:a₂·x + b₂·y = c₂
x y =
💡 Note: singularity is judged relative to the matrix scale, so uniformly scaled coefficients are not misclassified; near-singular systems raise a conditioning warning. Results keep 6 decimals.

Formula & Standard References

Item Formula / Note Source / Standard
Cramer's rule xᵢ = det(Aᵢ)/det(A) (det(A)≠0) Cramer 1750; linear algebra
Gaussian elim. row reduction to upper triangular Numerical linear algebra
⚠️ 使用说明与注意事项
  • 按 Enter 快速计算,Ctrl/Cmd + Enter 复制结果
  • 本工具纯前端运行,数据不会上传到服务器
  • 计算结果仅供参考,请结合实际应用场景使用

🕘 最近计算

暂无计算记录