Skip to main content

Solving Systems of Equations

A point can fit one price rule without fitting the other. How do we find a point that fits both? We will solve a two-variable system by graphing, substitution, and elimination, then compare the possible numbers of solutions.

  • System of equations: Equations to be satisfied simultaneously by one set of variable values.

Core ideas​

Graphing a system​

A solution satisfies both equations, so it lies on both graphs. The rental cost lines y=5+2xy=5+2x and y=3xy=3x meet at (5,15)(5,15).

Substitution and elimination​

Substitute an equivalent expression for a variable or combine equations to remove it. Setting the two expressions for yy equal yields 5+2x=3x5+2x=3x.

Number of solutions​

Two distinct nonparallel lines meet once. Distinct parallel lines have no common point, and coincident lines share every point.

Essential example​

Use the rental system y=5+2hy=5+2h and y=3hy=3h, with hours on the horizontal axis and dollars on the vertical axis. A graph places the intersection at (5,15)(5,15). Substitution gives the exact value by replacing yy in the first equation with 3h3h:

3h=5+2h,h=5,y=15.3h=5+2h,\qquad h=5,\qquad y=15.

The ordered pair satisfies both rules. It gives the matching duration and the matching price. A graph makes the interpretation visible, while an algebraic calculation can distinguish an exact answer from a close visual estimate.

Eliminate a variable​

A ticket order contains 10 tickets. An adult ticket costs 8 dollars, a child ticket costs 5 dollars, and the order costs 65 dollars. Let aa and cc be the two nonnegative integer counts:

a+c=10,8a+5c=65.a+c=10,\qquad 8a+5c=65.

Multiply the first equation by 55 and subtract it from the second. This removes cc, giving 3a=153a=15. Thus a=5a=5 and c=5c=5. Checking the original conditions gives 5+5=105+5=10 tickets and 40+25=6540+25=65 dollars. Both counts are allowed by the situation.

Recognize parallel and coincident lines​

EquationsWhat happens
y=2x+1y=2x+1 and y=−x+4y=-x+4Different slopes give one intersection.
y=2x+1y=2x+1 and y=2x+3y=2x+3Same slope and different intercepts give no intersection.
y=2x+1y=2x+1 and 2y=4x+22y=4x+2The same line gives infinitely many solutions.

With elimination, a false equality such as 0=20=2 signals no common solution. An equality such as 0=00=0 after eliminating an equation signals dependence when the two original nondegenerate line equations describe the same line.

Choose the efficient elimination​

For 2x+3y=132x+3y=13 and 4x−y=54x-y=5, multiply the second equation by three and add it to the first. The yy terms cancel and 14x=2814x=28, so x=2x=2. Substituting into 4x−y=54x-y=5 gives y=3y=3. The two substitutions 4+9=134+9=13 and 8−3=58-3=5 verify the pair. The useful multiplier is the one that makes one variable's coefficients opposite. Here solving the second equation for yy first would also be quick because its coefficient is −1-1.

Keep and continue​

Keep the idea that a solution must satisfy both conditions. Next, replace exact equalities with bounds to find a whole region of solutions.

Course outline

Previous: Writing Linear Functions

Next: Graphing Systems of Inequalities