Form: a₁x + b₁y = c₁, a₂x + b₂y = c₂
Form: aᵢx + bᵢy + cᵢz = dᵢ for i=1..3
Solve linear systems fast — from a single equation to 2×2 and 3×3 systems. Enter your coefficients, choose the method, and get the exact solution with steps: substitution, elimination, Cramer’s Rule, or matrix methods (Gaussian elimination).
This calculator shows:
Solutions for x, y, z (or a statement of no solution / infinitely many)
The method used with clear, step-by-step working
Determinants (D, Dx, Dy, Dz) and system status
Optional matrix form and row-reduction steps
A system of linear equations is a set of equations with the same variables (e.g., x and y). Solutions are the variable values that make all equations true at the same time.
Solve one equation for a variable and substitute into the others.
Add/subtract multiples of equations to eliminate a variable, then back-substitute.
For a 2×2 system
{a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x + b_1y = c_1\\ a_2x + b_2y = c_2 \end{cases}{a1x+b1y=c1a2x+b2y=c2
Let D=a1b2−a2b1D = a_1b_2 – a_2b_1D=a1b2−a2b1.
If D≠0D \neq 0D=0:
x=c1b2−c2b1D,y=a1c2−a2c1Dx=\frac{c_1b_2 – c_2b_1}{D},\quad y=\frac{a_1c_2 – a_2c_1}{D}x=Dc1b2−c2b1,y=Da1c2−a2c1
If D=0D = 0D=0, check Dx,DyD_x, D_yDx,Dy for no solution or infinitely many.
Write the augmented matrix [A∣b][A|b][A∣b], apply row operations to reach row-echelon form, then solve by back-substitution. The calculator can show each row step.
Example 1 — 2×2 (Unique):
{2x+y=5x−y=1⇒x=2, y=1\begin{cases} 2x + y = 5\\ x – y = 1 \end{cases} \Rightarrow x=2,\; y=1{2x+y=5x−y=1⇒x=2,y=1
Example 2 — 2×2 (No solution):
{x+y=32x+2y=8⇒Parallel/inconsistent → no solution\begin{cases} x + y = 3\\ 2x + 2y = 8 \end{cases} \Rightarrow \text{Parallel/inconsistent → no solution}{x+y=32x+2y=8⇒Parallel/inconsistent → no solution
Example 3 — 3×3 (Unique):
{x+y+z=62x−y+z=3x+2y−z=4⇒x=1, y=2, z=3\begin{cases} x + y + z = 6\\ 2x – y + z = 3\\ x + 2y – z = 4 \end{cases} \Rightarrow x=1,\; y=2,\; z=3⎩⎨⎧x+y+z=62x−y+z=3x+2y−z=4⇒x=1,y=2,z=3
Example 4 — 3×3 (Infinite):
If one equation is a linear combination of the others → infinitely many solutions (dependent).
Substitution: great for small systems when one equation is easy to isolate.
Elimination: fast and clean for many 2×2 / 3×3 sets.
Cramer’s Rule: perfect for 2×2/3×3 to show determinants and check consistency.
Gaussian Elimination: scalable and mirrors textbook/matrix methods.
Mixing up signs when adding/subtracting equations → steps highlight each operation.
Dividing by zero in Cramer’s Rule → the tool checks D = 0 and explains status.
Copying coefficients incorrectly → labeled inputs (a₁, b₁, c₁…) reduce errors.
Assuming every system has a solution → status reports none / infinite with reasons.
Q: What’s the difference between “simultaneous equations” and “system of equations”?
They’re the same thing; “simultaneous” is more common in UK usage.
Q: Can it show steps?
Yes — each method can display step-by-step working, including determinants or matrix row operations.
Q: Does it handle 3 variables?
Yes — 3×3 is supported. For larger systems, use the Gaussian elimination approach.
Q: How do I know if there’s no solution?
For 2×2 via Cramer’s Rule, if D=0D=0D=0 but DxD_xDx or Dy≠0D_y\neq 0Dy=0, the system is inconsistent (no solution). For 3×3, rank(A)≠(A)\neq(A)= rank([A∣b])([A|b])([A∣b]) → no solution.
Q: How do I recognise infinitely many solutions?
If D=Dx=Dy=0D=Dx=Dy=0D=Dx=Dy=0 (2×2) or rank(A)=(A)=(A)=rank([A∣b])<([A|b])<([A∣b])< number of variables, the system is dependent (infinitely many solutions).
Was this calculator helpful?
Rate your experience to help us improve.
Thanks for rating! See the average and total ratings above.
Not rated yet—be the first to rate this calculator.