System of Equations Calculator
Type the equations just as they appear in your book. The system of equations calculator solves them exactly by Gaussian elimination and shows every row operation.
Source: Wolfram MathWorld – Gaussian elimination. Updated: .
How it is calculated
A system of linear equations has exactly one solution, no solution, or infinitely many solutions. Gaussian elimination tells you which: it turns the system into row echelon form step by step without changing the solution set.
Gaussian elimination
- Write the coefficients and right-hand sides as an augmented matrix – 2x + 3y = 12 and x − y = 1 become (2 3 | 12) and (1 −1 | 1).
- Swap rows, divide a row by a number, or subtract a multiple of one row from another, until there are zeros below and above the diagonal.
- When the left side is the identity matrix, the right side is the solution: x = 3, y = 2.
The calculator works with exact fractions, so there are no rounding errors, and it substitutes the answer back into every original equation as a check.
Other methods
For two equations, school courses also use substitution (solve one equation for x and substitute), elimination (add or subtract the equations to remove a variable) and graphing (the solution is where the lines cross). All give the same answer; elimination is exactly the Gaussian step “subtract a multiple of a row”. For square systems, Cramer’s rule uses determinants – if the determinant is 0, there is no unique solution.
No solution or infinitely many?
If a row becomes 0 = 5, the equations contradict each other: no solution (two parallel lines). If a row becomes 0 = 0, one equation was redundant; some variables stay free and there are infinitely many solutions. Single quadratic equations are solved by the quadratic formula calculator, fractions by the fraction calculator, and any expression by the scientific calculator.
Frequently asked questions
How do you solve a system of two equations?
For example by elimination: 2x + 3y = 12 and x − y = 1. Multiply the second by 3 and add: 5x = 15, so x = 3 and y = 2.
What is Gaussian elimination?
A method that uses row operations to bring a linear system into row echelon form, after which the variables can be read off one by one.
When does a system have no solution?
When a row 0 = c with c ≠ 0 appears. Then the augmented matrix has a higher rank than the coefficient matrix.
When are there infinitely many solutions?
When the system is consistent but has fewer independent equations than variables. The remaining variables are free parameters.
Can I enter fractions and decimals?
Yes, e.g. 0.5x + 3/4y = 2. The calculator works exactly with fractions and shows the answer as a fraction and a decimal.
Sources and legal basis
- Wolfram MathWorld – Gaussian elimination
- Wolfram MathWorld – Gauss-Jordan elimination
- Wolfram MathWorld – Linear system of equations
- Wolfram MathWorld – Cramer’s rule
As of: · Editorial policy
Related tools
- Quadratic Formula CalculatorQuadratic formula calculator: solve ax² + bx + c = 0 with steps – roots, discriminant, exact radical form, vertex, factored form and complex roots.
- Fraction CalculatorFraction calculator with steps: add, subtract, multiply and divide fractions and mixed numbers or type a whole expression. Simplify, compare, convert to %.
- Scientific CalculatorFree online scientific calculator: sin, cos, tan in degrees or radians, log, ln, roots, powers, factorial and nCr – with step-by-step working and history.
- Proportion CalculatorSolve direct and inverse proportion problems (rule of three) online: find x from a ↔ b and c, with the unit value and step-by-step working.
- Online CalculatorCalculator online, free and instant: type or tap and see the answer as you go – order of operations, brackets, percent, square root, steps and a history list.
- Pneumatic cylinder force calculator with load factor and air consumptionPneumatic cylinder force calculator: extend and retract force from bore, rod and pressure, usable load with SMC load factor, minimum bore and air consumption.
- CGPA to Percentage Calculator (and Percentage to CGPA)CGPA to percentage calculator for the 10-point scale: CBSE formula (CGPA × 9.5), × 10 or your university’s own formula – also percentage to CGPA, with working.
- Young modulus calculator: stress, strain and elongation of a rodYoung’s modulus calculator: E = (F/A)·(L₀/ΔL) from force, cross-section, length and elongation – or the elongation of steel, aluminium, copper and more.
- Op amp gain calculator with output voltage and dBOp amp gain calculator for inverting (−Rf/Rin) and non-inverting (1 + Rf/Rin) amplifiers: gain, gain in dB and output voltage, with a saturation warning.