System of Equations Solver
Solve systems of linear equations with AI-powered step-by-step solutions
Drag & drop or click to add images or PDF
What is a System of Equations?
A system of equations (also called simultaneous equations) is a set of two or more equations with the same variables that must all be satisfied at the same time. The solution is the set of values that makes every equation true simultaneously.
A system of two linear equations in two unknowns has the form:
Geometrically, each equation represents a line in the plane. The solution is the point where the lines intersect.
A system can have:
- One unique solution: The lines intersect at exactly one point (consistent and independent).
- No solution: The lines are parallel (inconsistent).
- Infinitely many solutions: The lines are identical (consistent and dependent).
Systems of equations appear in countless applications: mixing problems, circuit analysis, supply and demand equilibrium, traffic flow, and optimization. Larger systems with 3+ variables arise in engineering and data science.
How to Solve a System of Equations
1. Substitution Method
Solve one equation for one variable, then substitute into the other equation.
Example: Solve
- From equation 1:
- Substitute into equation 2:
- → →
- Back-substitute:
2. Elimination Method
Add or subtract equations to eliminate one variable.
Example: Solve
- Multiply equation 2 by 3:
- Add to equation 1: →
- Substitute back: →
3. Matrix Method (Gaussian Elimination)
Write the system as an augmented matrix and row-reduce:
4. Cramer's Rule
For a system, if :
5. Graphing
Plot each equation and identify the intersection point.
| Method | Best When |
|---|---|
| Substitution | One variable is easily isolated |
| Elimination | Coefficients align for easy cancellation |
| Matrix/Gaussian | Large systems (3+ variables) |
| Cramer's Rule | Small systems with non-zero determinant |
| Graphing | Visual estimate or verification |
Common Mistakes to Avoid
- Incorrect substitution: When substituting an expression, replace the variable everywhere it appears and use parentheses.
- Multiplying only part of an equation: When multiplying to eliminate, every term (including the constant) must be multiplied.
- Losing track of signs: Be extra careful with negative coefficients during elimination.
- Declaring no solution prematurely: Getting means infinitely many solutions (dependent system), not no solution. Only (where ) means no solution.
- Forgetting to find all variables: After finding one variable, always substitute back to find the others.
Examples
Frequently Asked Questions
A system of equations is a collection of two or more equations that share the same variables. The solution is the set of values that satisfies all equations at the same time. For example, x + y = 5 and x - y = 1 form a system with solution x = 3, y = 2.
Yes. A system has no solution when the equations are contradictory — for two linear equations, this means the lines are parallel and never intersect. For example, x + y = 1 and x + y = 3 have no solution.
Substitution solves one equation for one variable and plugs it into the other equation. Elimination adds or subtracts equations to cancel out a variable. Both methods always give the same answer; the choice depends on which is easier for the given system.
Use elimination or substitution to reduce the system step by step. Eliminate one variable from two pairs of equations to get a 2x2 system, solve that, then back-substitute. For larger systems, Gaussian elimination (row reduction) is the most systematic approach.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving