You and a friend want to rent a canoe. Riverside Rentals charges $15 to start plus $10 for every hour. Lakeview Rentals charges $35 to start plus $5 for every hour. Riverside is cheaper for a quick paddle, because its starting fee is lower. Lakeview is cheaper for a long day, because its hourly rate is lower. So somewhere in between there must be a number of hours where the two companies charge exactly the same amount. If is the number of hours and is the cost in dollars, Riverside's cost is and Lakeview's cost is . Finding the one value of that gives both equations the same is called solving a linear system. In this lesson you will solve systems by drawing both lines and finding where they cross. In the next two lessons you will learn algebra methods that give exact answers every time.
A linear equation in two variables is an equation like or : each variable appears only to the first power, and its graph is a straight line. A linear system is a set of two (or more) linear equations in the same variables that must be true at the same time. A solution of the system is an ordered pair that makes every equation in the system true. Every point on a line makes that line's equation true, and no other point does. So a point that satisfies both equations has to lie on both lines: it is the point of intersection, where the lines cross. A brace is often used to show that equations belong together:
Before you solve anything, learn to check. To test whether an ordered pair is a solution, substitute its coordinates into each equation, one at a time. It is a solution only if both sides match in every equation. Test in the canoe system: Riverside gives , which matches . Lakeview gives , which also matches. So is the solution: for a 4-hour trip, both companies charge $55. Now test : Riverside gives , a match, but Lakeview gives , not . The point lies on the Riverside line only, so it is not a solution of the system.

Solving by graphing
- Write each equation in slope and y-intercept form , or find its two intercepts. Here is the slope (rise over run) and is the y-intercept (where the line crosses the y-axis).
- Graph both lines carefully on the same set of axes, using a ruler and a scale that shows where they meet.
- Read the coordinates of the point of intersection.
- Check the point by substituting it into both original equations, then state the solution as an ordered pair.
Many equations are given in standard form, , with the and terms on the same side. You can graph a standard-form line in two ways. Use the intercepts: for , set to get , so ; set to get , so . Plot and and join them. Or rearrange into : subtract from both sides to get , then divide every term by 3 to get . Both routes give the same line. The intercept method is quickest when the intercepts are whole numbers. Rearranging is better when you want the slope, for example to compare two lines.
One solution, no solution or infinitely many
Two straight lines in the same plane can meet in only three ways, and comparing their slopes and y-intercepts tells you which one you have before you draw anything. If the slopes are different, the lines cross at exactly one point, so the system has one solution. If the slopes are the same but the y-intercepts are different, the lines are parallel: they never meet, so the system has no solution. If the slopes and the y-intercepts are both the same, the two equations describe the same line (the lines are called coincident), so every point on that line is a solution and there are infinitely many solutions. A system with at least one solution is called consistent; a system with no solution is inconsistent. One special case: a vertical line such as has no slope you can compare, so think about the picture instead. Two different vertical lines are parallel, and a vertical line always crosses a non-vertical line exactly once.
| Slopes | y-intercepts | Graph | Number of solutions |
|---|---|---|---|
| Different | Same or different | Lines cross once | Exactly one |
| Same | Different | Parallel lines, never meet | None |
| Same | Same | One line drawn twice (coincident) | Infinitely many |
The limits of graphing
Graphing shows you the whole situation at a glance, but reading a point off a graph is only as exact as your drawing. Solve and by graphing, and the lines seem to cross near . Check it: in the first equation , which works, but in the second , not . The exact solution is , which no hand-drawn graph can show precisely. Graphing technology (a graphing calculator or graphing software) can locate the crossing to several decimal places, but it still gives a rounded decimal. When a solution is not a pair of whole numbers, or the numbers are too large to fit on a grid, use substitution or elimination instead.