Systems of Equations · Chapter 13
Solving Systems of Equations
The numbered examples below are interactive: the numbers change every time you load the page. Type your answer, press Enter or Check, and use New numbers to practice again.
Is an Ordered Pair a Solution?
When two or more linear equations are grouped together, they form a system of linear equations.
We focus on systems of two linear equations in two unknowns. We use a brace to show the equations are grouped together. For example:
A linear equation in two variables, like , has infinitely many solutions. Its graph is a line, and every point on the line is a solution to the equation, and every solution is a point on the line. To solve a system we find the ordered pairs that make both equations true.
Solutions of a system of equations are the values of the variables that make all the equations true. A solution of a system of two linear equations is represented by an ordered pair .
To determine if an ordered pair is a solution, substitute the values into both equations. If the pair makes both equations true, it is a solution of the system. Consider the system
Is a solution? Substitute and :
Both are true, so is a solution. Is a solution? Substitute and :
It made one equation true but the other false, so is not a solution.
Determine whether the ordered pair is a solution to the system
Types of Systems
It is possible for a system to have no solution.
A consistent system of equations is a system with at least one solution.
An inconsistent system of equations is a system with no solution.
We also describe the equations in a system as independent or dependent.
Two equations are independent if they have different solutions.
Two equations are dependent if all the solutions of one equation are also solutions of the other equation.
Solving Systems of Equations by Substitution
Consider the system
xy
How to solve a system of equations by substitution.
Step 1. Solve one of the equations for either variable.
Step 2. Substitute the expression from Step 1 into the other equation.
Step 3. Solve the resulting equation.
Step 4. Substitute the solution from Step 3 into one of the original equations to find the other variable.
Step 5. Write the solution as an ordered pair.
Step 6. Check that the ordered pair is a solution to both original equations.
Solve by substitution.
If one of the equations is already solved for a variable, Step 1 is already done.
Solve by substitution.
When you have to solve for a variable first, choose one whose coefficient is or . That avoids fractions, so look for one before you start.
Solve by substitution.
Solve by substitution.
When both equations are already solved for the same variable, it is easy to substitute.
Solve by substitution.
Be very careful with the signs in the next example.
Solve by substitution.
Solve by substitution.
Solve by substitution.
If solving leaves a true statement like , the system is consistent and the equations are dependent. There are infinitely many solutions.
If solving leaves a false statement like , the system is inconsistent. There is no solution.
Solving Systems of Equations by Elimination
Substitution works well when we can easily solve one equation for a variable without too many fractions. The second method, elimination, is based on the Addition Property of Equality: when you add the same quantity to both sides of an equation you still have equality. We extend it to say that adding equal quantities to both sides keeps the equation equal.
For any expressions : if and then .
To solve a system by elimination, start with both equations in standard form, . Then decide which variable is easiest to eliminate by making its coefficients opposites, so that adding the equations eliminates that variable. For example,
The ’s add to zero and we have one equation with one variable. Let’s try
We don’t see a variable we can eliminate by adding yet. But if we multiply the first equation by (every term!), the coefficients of are opposites:
so . Substituting into gives , so . The solution is . Check: .
How to solve a system of equations by elimination.
Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.
Step 2. Make the coefficients of one variable opposites. Decide which variable you will eliminate, then multiply one or both equations so that the coefficients of that variable are opposites.
Step 3. Add the equations resulting from Step 2 to eliminate one variable.
Step 4. Solve for the remaining variable.
Step 5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
Step 6. Write the solution as an ordered pair.
Step 7. Check that the ordered pair is a solution to both original equations.
Sometimes we must multiply both equations by constants. For
we cannot get opposite coefficients by multiplying one equation by a constant unless we use fractions. Instead multiply the first equation by and the second by so that the terms become and :
so , then gives and . The solution is . Check: .
Solve by elimination (the same system we solved by substitution).
Solve by elimination.
Solve by elimination.
Solve by elimination.
When the system contains fractions, first clear them by multiplying each equation by its LCD.
Solve by elimination.
Solve by elimination.
Solve by elimination.
Worked-example videos
Adapted from OpenStax Elementary Algebra, licensed under CC BY 4.0.