System of Equations Calculator
This system of equations calculator solves two or three linear equations together and shows every step. Choose elimination or substitution, and for two equations see the graph as well. It is free and part of our math solver.
How to Use the System of Equations Calculator
Enter Your Equations
Type them with a comma between, such as 2x+3y=12, x-y=1. The letters can be in any order. You can use up to three unknowns.
Pick a Method
Use the buttons to switch between elimination and substitution. Both lead to the same answer.
Read the Steps
The last step puts the values back into every equation, so you can see that they all hold.
What Is a System of Linear Equations?
A system is two or more equations that must be true at the same time. The solution is the set of values that works in all of them. With two unknowns, each linear equation is a straight line, and the solution is the point where the lines cross.
A system of linear equations calculator like this one works only on straight lines: no squares, and no letters multiplied together.
Methods This Systems of Equations Solver Uses
Here is the same system, and , solved three ways.
Elimination
Make one letter cancel.
- Multiply the second equation by 3: .
- Add it to the first: , so .
- Put into : .
Substitution
Replace one letter.
- From the second equation, .
- Put that into the first: .
- Solve: , so and .
Graphing
Draw both lines. They cross at . A graph shows the idea well, but it is hard to read exact fractions from it.
Which one should you choose? If a letter already stands alone, or has 1 in front of it, substitute. Otherwise, eliminate. Use a graph to see what is going on.
For bigger systems, the same elimination steps can be written on a grid of numbers called an augmented matrix. That is row reduction: elimination without rewriting the letters.
How Many Solutions Can a System Have?
A linear system has one solution, no solution or infinitely many. Lines that cross once give one solution. Parallel lines never meet, so they give none. Two equations for the same line share every point, so they give infinitely many. No other number is possible.
| Solutions | Name | Lines | What you see when you solve |
|---|---|---|---|
| One | Consistent, independent | Cross once | A value for each letter |
| None | Inconsistent | Parallel | Something false, like |
| Infinitely many | Consistent, dependent | The same line | Something always true, like |
Worked Examples
Example 1: Two Equations by Elimination
Solve and .
- Add the equations. The terms cancel: , so .
- Put into : .
Real-life version: two numbers add to 10 and differ by 4. They are 7 and 3.
Example 2: Three Equations
Solve , and .
- The third equation says . Put that into the first: , so .
- From , .
- From , .
Check: .
Example 3: Infinitely Many Solutions
Solve and .
- Multiply the first equation by 2: .
- That is the second equation. Subtracting gives .
Every point on the line works: , where can be any number.
Common Mistakes to Check
Multiplying Only One Side
When you multiply an equation by 3, multiply every term, including the number on the right.
Finding One Letter and Stopping
alone is not the answer. Put it back in to find , and write both.
Assuming There Is Always One Answer
If the letters disappear, look at what is left. A false line means no solution. A true line means infinitely many.
Practice Problems
- Solve and .
- Solve and .
- Solve and .
- Solve , and .
- Solve and .
Show the answers
- ,
- ,
- No solution (the lines are parallel)
- , ,
- No solution
Related Calculators
- Equation SolverThis equation solver handles linear, radical, log and more equation types. Solve equations step by step and see each answer checked. Free, with no sign-up.
- Solve for x CalculatorUse this solve for x calculator to isolate any letter in an equation or formula. Solve for a variable and see each undo step. It is free, so try it now.
- Determinant CalculatorThis determinant calculator shows every step for 2×2, 3×3 and 4×4 matrices. A free matrix determinant calculator that takes letters too. Enter yours now.
- Inequality CalculatorUse this inequality calculator to solve inequalities step by step with a number line and interval notation. Free inequality solver, so type yours to start.
Learn More
FAQ
Is Elimination or Substitution Better?
Neither is always better. Substitution is quick when one letter is already alone. Elimination is tidier when every letter has a number in front.
What Does No Solution Look Like on a Graph?
Two parallel lines. They have the same slope but different starting points, so they never meet.
What Are Simultaneous Equations?
It is another name for a system: equations that must be true at the same time. A simultaneous equations calculator does the same job as this page.
How Many Equations Do You Need for Three Unknowns?
Usually three. With fewer, at least one letter stays free, so you get either infinitely many solutions or none.
Can It Solve Nonlinear Systems?
Not yet. If a letter is squared or two letters are multiplied, it will say it can't. A single curved equation works in the equation solver.
Can Determinants Solve a System?
Yes, with a method called Cramer's rule, when the determinant is not zero. The determinant calculator finds the determinants you need.
Next step: solve one system by hand with each method, then check both against the system of equations calculator above.