Math · College algebra · Concept
Systems of linear equations in two variables
A system of linear equations asks for the values that satisfy every equation at once. With two variables each equation is a line, and the solutions are where the lines meet: one point, no point (parallel lines) or infinitely many points (the same line). Substitution and elimination find them exactly, and a check in both original equations confirms them.
A concrete case
Two phone plans, one crossing
One phone plan charges
Try
| Gigabytes | Plan | Plan |
|---|---|---|
The rule
A system and its solution
A system of equations is two or more equations about the same unknowns, to be satisfied together. A linear equation in
For
One solution, none or infinitely many
Two lines in a plane meet once, never or everywhere. A system of two linear equations therefore has exactly one solution, no solution or infinitely many. A system with no solution is called inconsistent. One whose equations describe the same line is called dependent, and its solutions are all the points of that line.
| Elimination leaves | The lines | Solutions |
|---|---|---|
| A value for each variable | Cross once | Exactly one |
| A false statement, such as | Parallel | None, an inconsistent system |
| A true statement, such as | The same line | Infinitely many, a dependent system |
Why it works
Why elimination is allowed
Elimination rests on two moves that never change the solutions. Multiplying both sides of an equation by a nonzero number keeps exactly the same solutions, since dividing undoes it. Adding two true equations gives a true equation. If
Keep one original equation and put the sum in place of the other. The new system has the same solutions as the old, because subtracting undoes the addition, so no solution is gained or lost. Choosing the multiple so that a variable cancels leaves one equation in one unknown.
The three cases show up in that equation. If a variable survives, there is one value. If both cancel, what is left is a statement about numbers, such as
The method
Elimination, step by step
Write both equations in the form
| Step | What to do | For this system |
|---|---|---|
| 1 | Line up the terms in | |
| 2 | Multiply so one variable’s coefficients are opposites | |
| 3 | Add the equations | |
| 4 | Solve for the remaining variable | |
| 5 | Substitute it into an original equation | |
| 6 | Check the pair in both original equations |
Substitution, and choosing a method
Solve one equation for one variable, put that expression into the other equation, and solve the one-variable equation that results. Put the expression in parentheses when you substitute. For
Use substitution when a variable already stands alone or has coefficient
Where it breaks
Where it breaks
A graph shows the case but rarely the exact answer. The lines
Elimination needs the whole equation multiplied. Tripling only part of
A false statement means no solution, and a true one means infinitely many.
These methods are for linear equations. A system with
Check your answer
Check your answer
A solution is a pair that must work in every equation at once.
Put the pair into both original equations, not the ones you rearranged. A slip made while rearranging cannot show up in the rearranged equation.
Graph both lines. They should cross where you said, be parallel for no solution, or lie on top of each other for infinitely many.
Compare slopes before you solve. Equal slopes with different intercepts mean no solution, and equal slopes and equal intercepts mean infinitely many.
To have Chalk check the work, write each equation of the system on its own row of a Math box, then each step below. The second equation reads • with “Another equation of the system.” Each step after that is checked against both, and a slip reads ✗ with “Doesn’t follow from the equations above.”
A system with no solution is followed the same way. Its second equation reads •, and the elimination rows, such as
Each pair of the lines , and crosses at one point. Does the system of all three have a solution?
No. The first two meet only at
More unknowns, and matrices
Three linear equations in three unknowns, such as
Written with only its numbers, the system
Common mistakes
- Stopping after one variable.
alone is half an answer, because a solution of a two-variable system is a pair. Substitute back to get and report . - Multiplying only some terms before adding. Tripling
gives , not , because every term on both sides is multiplied. - Checking in only one equation.
satisfies but gives in , so it is not a solution. Check every original equation. - Reading
as no solution. is true at every point, so the equations describe the same line and there are infinitely many solutions. is the false statement that means none. - Dropping parentheses when substituting. Putting
into gives , so . Without them, multiplies only the . - Losing a sign when subtracting equations.
minus is , because subtracting adds . Writing loses that sign.
Key terms
- Linear system
- Two or more linear equations in the same unknowns, such as
and . A solution has to satisfy every equation at once. - Substitution method
- A way to solve a system of equations: solve one equation for one variable, substitute that expression into the other equation, and solve the one-variable equation that results.
- Elimination method
- A way to solve a system of equations: multiply the equations by constants so that one variable has opposite coefficients, then add them to eliminate that variable.
- Inconsistent system
- A system with no solution because its equations contradict each other. Two such equations in two variables describe parallel lines that never meet. In row reduction, a row
with says . - Dependent system
- A consistent system with infinitely many solutions, because its equations do not carry enough independent information to fix every unknown. With two equations in two variables, both describe the same line.
- Augmented matrix
- A matrix holding a system’s coefficients, with the constants from the right-hand sides added as a last column. That column holds the equations’ values, not another unknown.
Work through an example
Solve the system
Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try it, then study it
Open the example in its tool to check steps or change values, then review the key terms as flashcards.
See both lines in Graph Solve it in Matrices & linear systems Check each step in Math Study the 6 key terms Open worked example on a board Equation rules in Math ReferenceYour existing work stays on this device. Examples open as editable copies.