ALG1-5.1

Solving Systems by Graphing

Learn to solve systems of two linear equations by graphing: find the intersection, classify one, none, or infinitely many solutions, and check your answer.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on Solving Systems by Graphing, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

A single linear equation like y=2x1y = 2x - 1 has infinitely many solutions — every point on its line. But what if a point has to satisfy two equations at once? That is a system of linear equations, and graphing gives you the most visual way to solve it: draw both lines and look at where they cross.

In this lesson you will graph two lines on the same coordinate plane, read the intersection point as an ordered pair, and check that pair in both original equations. You will also learn to predict, just by comparing slopes and yy-intercepts, whether a system has exactly one solution, no solution, or infinitely many — before you draw a single line. That prediction skill carries straight into the algebraic methods (substitution and elimination) you will meet next.

What the Solution to a System Really Is

A system of linear equations is two (or more) equations that must be true at the same time. A solution is an ordered pair (x,y)(x, y) that makes every equation in the system true — not just one of them.

Graphically, each equation's line is the complete picture of its own solutions. Every point on the line y=2x1y = 2x - 1 satisfies that equation; every point on y=x+5y = -x + 5 satisfies that one. A point that satisfies both must therefore lie on both lines, which means it is a point of intersection.

That is the whole idea: the solution to a system is where the graphs cross.

So the procedure is short. Graph line one. Graph line two. Read the coordinates of the crossing point. Then substitute those coordinates back into both original equations to confirm.

Students often stop after finding the intersection and skip the check. The check matters because reading a graph is an estimate — your eye might say the lines cross at (2,3)(2, 3) when they actually cross at (2.1,2.9)(2.1, 2.9). Substituting is what turns a guess into an answer.

One more habit worth building now: write the solution as an ordered pair, (2,3)(2, 3), not as x=2x = 2 and nothing else. A system in two variables has a two-number answer. Reporting only the xx-value is the single most common incomplete response on this kind of problem, and it hides whether you actually found the intersection or just solved one equation.

Graphing Both Lines Accurately

Sloppy graphs produce wrong intersections, so technique matters.

If an equation is in slope-intercept form y=mx+by = mx + b, plot the yy-intercept (0,b)(0, b) first, then use the slope m=riserunm = \frac{\text{rise}}{\text{run}} to step to a second point. For y=23x4y = \frac{2}{3}x - 4, start at (0,4)(0, -4), then go up 2 and right 3 to (3,2)(3, -2). Plot a third point to catch errors — three collinear points confirm you did the slope correctly.

If an equation is in standard form Ax+By=CAx + By = C, you have two good options. Either solve for yy to get slope-intercept form, or use intercepts: set x=0x = 0 to find the yy-intercept, then set y=0y = 0 to find the xx-intercept. For 2x+5y=102x + 5y = 10, the intercepts are (0,2)(0, 2) and (5,0)(5, 0) — two points, one line.
FormFastest approachWatch out for
y=mx+by = mx + bPlot (0,b)(0,b), step by slopeNegative slope means down-and-right
Ax+By=CAx + By = CUse both interceptsSign errors when dividing by a negative BB
x=ax = aVertical line through (a,0)(a, 0)It has no slope, not zero slope
y=cy = cHorizontal line through (0,c)(0, c)Slope is 00, not undefined
Choose a window that actually contains the intersection. If both lines run off the top of your grid without meeting, extend the axes or re-scale rather than guessing. And extend each line across the whole grid with arrows — a short segment can make two lines look parallel when they cross just past where you stopped drawing.

One Solution, No Solution, or Infinitely Many

Two lines in a plane can relate in exactly three ways, and you can tell which one you have from the slopes and yy-intercepts alone.
Slopes and interceptsPictureSolutionsName
Different slopesLines cross onceExactly oneConsistent, independent
Same slope, different yy-interceptParallel, never meetNoneInconsistent
Same slope, same yy-interceptSame lineInfinitely manyConsistent, dependent
To use this, put both equations in y=mx+by = mx + b form and compare. Take y=3x+1y = 3x + 1 and 6x2y=26x - 2y = -2. Solving the second for yy: 2y=6x2-2y = -6x - 2, so y=3x+1y = 3x + 1. Same slope, same intercept — one line drawn twice, so infinitely many solutions. Every point on that line solves the system.

Now compare y=3x+1y = 3x + 1 and y=3x4y = 3x - 4. Same slope 33, different intercepts, so the lines are parallel and there is no solution.

Two misconceptions come up constantly. First, "no solution" does not mean (0,0)(0,0) and it does not mean the answer is zero — it means no ordered pair works at all, and you write "no solution". Second, "infinitely many solutions" does not mean every point in the plane works; only points on the shared line do. Writing the answer as "all points on y=3x+1y = 3x + 1" shows you understand that.

Also watch the trap of judging by appearance. Equations that look different, like 2x+4y=82x + 4y = 8 and y=12x+2y = -\frac{1}{2}x + 2, can be the same line. Always convert to a common form before deciding.

Verifying a Candidate Point

Checking is not optional busywork; it is how you know a graph-read answer is exact.

To verify a point, substitute the xx-value and yy-value into both original equations and simplify each side independently. If both statements are true, the point is the solution. If even one is false, it is not — regardless of how good the graph looked.

Test (4,1)(4, 1) in the system x+y=5x + y = 5 and y=2x7y = 2x - 7.

First equation: 4+1=54 + 1 = 5. True.

Second equation: 1=2(4)7=87=11 = 2(4) - 7 = 8 - 7 = 1. True.

Both check, so (4,1)(4, 1) is the solution.

Now test (3,2)(3, 2) in the same system. First equation: 3+2=53 + 2 = 5, true. Second: 2=2(3)7=12 = 2(3) - 7 = -1, false. The point lies on one line but not the other, so it is not a solution to the system. This is exactly why one check is never enough — a point that satisfies only one equation is on only one line.

Verification also tells you when graphing is the wrong tool. If the true intersection is (57,37)\left(\frac{5}{7}, -\frac{3}{7}\right), no hand-drawn graph will reveal it. Your check will fail, which is a signal to switch to substitution or elimination. Graphing is best for seeing what a solution means and for systems with clean integer intersections; the algebraic methods handle everything else exactly.

Key terms

System of linear equations.
Two or more linear equations considered together, whose solution must satisfy all of them simultaneously.
Solution of a system.
An ordered pair (x,y)(x, y) that makes every equation in the system true; graphically, a point where the lines intersect.
Point of intersection.
The location where two graphs cross. For two lines it gives the one ordered pair common to both.
Consistent system.
A system that has at least one solution — either exactly one intersection point or infinitely many shared points.
Inconsistent system.
A system with no solution; the lines have equal slopes but different yy-intercepts, so they are parallel.
Dependent system.
A system whose equations describe the same line, giving infinitely many solutions.
Slope-intercept form.
The form y=mx+by = mx + b, where mm is the slope and bb is the yy-coordinate of the yy-intercept.
Standard form.
The form Ax+By=CAx + By = C, convenient for graphing by finding the xx- and yy-intercepts.

Worked example

Solve the system by graphing, then verify your answer:y=12x+4y = -\tfrac{1}{2}x + 42xy=12x - y = 1
Step 1: Put both equations in a graphable form. The first is already slope-intercept: slope m=12m = -\frac{1}{2}, yy-intercept (0,4)(0, 4). For the second, solve for yy: 2xy=12x - y = 1 becomes y=2x+1-y = -2x + 1, so y=2x1y = 2x - 1. Slope 22, yy-intercept (0,1)(0, -1).

Step 2: Predict the number of solutions. The slopes 12-\frac{1}{2} and 22 are different, so the lines cross exactly once. Expect one solution.

Step 3: Graph line one. Plot (0,4)(0, 4). Slope 12-\frac{1}{2} means down 1, right 2: (2,3)(2, 3), then (4,2)(4, 2), then (6,1)(6, 1).

Step 4: Graph line two. Plot (0,1)(0, -1). Slope 22 means up 2, right 1: (1,1)(1, 1), then (2,3)(2, 3), then (3,5)(3, 5).

Step 5: Read the intersection. Both lines pass through (2,3)(2, 3). That is the candidate solution.

Step 6: Verify in both original equations. First equation: 12(2)+4=1+4=3-\frac{1}{2}(2) + 4 = -1 + 4 = 3, and the yy-value is 33. True. Second equation: 2(2)3=43=12(2) - 3 = 4 - 3 = 1, which matches the required 11. True.

Both equations check, so the solution is (2,3)(2, 3). Notice the check used the original 2xy=12x - y = 1, not the rewritten version — that catches any algebra mistake made in Step 1.

Practice questions

Without graphing, how many solutions does this system have?y=3x+6y = -3x + 69x+3y=129x + 3y = 12
  1. Exactly one solution
  2. No solution
  3. Infinitely many solutions
  4. Exactly two solutions

Answer: No solution

Rewrite the second equation in slope-intercept form: 3y=9x+123y = -9x + 12, so y=3x+4y = -3x + 4. Both lines have slope 3-3, but their yy-intercepts are 66 and 44. Equal slopes with different intercepts means the lines are parallel and never intersect, so the system has no solution. "Infinitely many" would require the intercepts to match as well, and two distinct lines can never cross twice, which rules out the last choice.
A student graphs y=x+2y = x + 2 and y=4x1y = 4x - 1 and reports the solution as x=1x = 1. Explain what is incomplete about the answer, then give the full solution and verify it.

Answer: The solution is the ordered pair (1,3)(1, 3); verification: 3=1+23 = 1 + 2 and 3=4(1)13 = 4(1) - 1.

A system in two variables has a two-number answer, because the solution is a point where the lines meet, not just a position along the xx-axis. Reporting only x=1x = 1 leaves out the yy-coordinate. Substituting x=1x = 1 into the first equation gives y=1+2=3y = 1 + 2 = 3, so the intersection is (1,3)(1, 3). Checking in the second equation: 4(1)1=34(1) - 1 = 3, which matches. Both equations are satisfied, so (1,3)(1, 3) is the solution.
Is (2,5)(-2, 5) a solution of the system 3x+y=13x + y = -1 and y=2x+1y = -2x + 1? Show the check.

Answer: Yes. (2,5)(-2, 5) satisfies both equations, so it is the solution of the system.

First equation: 3(2)+5=6+5=13(-2) + 5 = -6 + 5 = -1, which is true, so the point lies on that line. Second equation: 2(2)+1=4+1=5-2(-2) + 1 = 4 + 1 = 5, which matches the required yy-value of 55, so the point lies on that line too. Both substitutions are true, so (2,5)(-2, 5) is a solution of the system. The lesson here is to complete both substitutions before concluding: a point on one line may or may not be on the other, and only the full check settles it. Final answer: (2,5)(-2, 5) satisfies 3x+y=13x + y = -1 and y=2x+1y = -2x + 1, so it is the solution of the system.

FAQ

When should I graph instead of using substitution or elimination?
Graph when you want to see what the solution means, when both equations are already in y=mx+by = mx + b form, and when you expect a clean integer intersection. Switch to substitution or elimination when coefficients are awkward or the intersection involves fractions or decimals, since no hand-drawn graph can show (57,37)\left(\frac{5}{7}, -\frac{3}{7}\right) precisely.
How do I write the answer when there are infinitely many solutions?
Do not write "infinity" as a coordinate. State that there are infinitely many solutions and name the shared line, for example "infinitely many solutions: all points on y=3x+1y = 3x + 1". That phrasing shows you know only points on that one line work, not every point in the plane.
My two lines look like they might cross far off my grid. What do I do?
Compare slopes first. If the slopes are different, the lines definitely cross somewhere, so extend your axes or change the scale (count by 2s or 5s) until the intersection appears. If the slopes are equal and the intercepts differ, they never cross and the answer is no solution — no amount of extending will help.
Do I have to check my answer in both equations?
Yes. A point that satisfies only one equation lies on only one line, so it is not a solution of the system. Substitute into the two original equations, not the rewritten versions, so the check also catches any mistake you made while converting to slope-intercept form.

Learn this with a teacher, not a page

The Crimsora tutor teaches Solving Systems by Graphing live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.