🧮 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 複製結果
- 本工具純前端執行,資料不會上傳到伺服器
- 計算結果僅供參考,請結合實際應用場景使用
🕘 最近計算
暫無計算記錄