What a Solution Looks Like (Graphing)
Each linear equation in two variables is a line. The solution to the system is the point where the lines cross, because that point sits on both lines.
Take this system:
Rewrite the second equation as . If you graph both lines, they meet at . Check it: and . Both are true.
Graphing is great for intuition, but it is hard to read exact answers like off a graph. That is why algebra methods are usually faster.
Method 1: Substitution
Substitution works best when one equation already has a variable by itself.
Example: Solve and .
- The first equation already gives . Substitute for in the second equation: .
- Combine like terms: .
- Solve: , so .
- Plug back into : .
- Check in the other equation: . Correct.
The solution is , which matches the graph.
Method 2: Elimination
Elimination works best when both equations are in standard form, . You add or subtract the equations so one variable cancels.
Example 1: Solve and .
- The terms are and , so adding the equations cancels .
- Add: , which gives .
- Solve: .
- Substitute into the first equation: , so and .
- Check: . Correct.
The solution is .
Example 2: Solve and .
- Nothing cancels yet. Multiply the second equation by 2: .
- Add it to the first equation: , so .
- Substitute into : , so .
- Check: . Correct.
The solution is .
No Solution and Infinitely Many Solutions
Not every system has exactly one answer. The algebra tells you which case you are in.
No solution: Solve and . Subtracting gives , which is false. The lines are parallel (same slope, different intercepts), so they never meet.
Infinitely many solutions: Solve and . Multiply the first equation by 2 and you get the second equation exactly. Subtracting gives , which is always true. Both equations describe the same line, so every point on it is a solution.
Rule of thumb:
- A false statement like means no solution.
- A true statement like means infinitely many solutions.
Which Method Should You Use?
- Substitution: one variable is already isolated, like or .
- Elimination: both equations are in standard form, or the coefficients line up nicely.
- Graphing: you want to see what is happening, or the problem asks for a sketch.
All three methods give the same answer. Pick the one that means the least work, and always plug your answer into both original equations to check it.
Common mistakes
- Plugging the first value back into only one equation and never checking it in the other one.
- Multiplying only one side of an equation, or only some of its terms, before using elimination.
- Dropping a negative sign when subtracting equations, which is why adding a negative is often safer.
- Calling 0 = 0 no solution when it actually means infinitely many solutions.
Try one yourself
Solve the system: 5x + 2y = 4 and 3x - 4y = 18
Work it out, then check every step with the VeilGPT algebra solver.
Check it with VeilGPT