Preptics

Interactive Systems of Equations Grapher & Solver

A system of two linear equations has one solution, no solution, or infinitely many — and which one it is depends only on whether the two lines have the same slope, and if they do, whether they are the same line. Drag either line below and watch the count change.

  • Drag either line by its body to move it, or by its handle to tilt it
  • Reads the number of solutions off the picture as you drag
  • Shows the exact intersection as a fraction, never a rounded decimal
  • Rewrites both equations in standard form, Ax + By = C
  • Zoom, pan and reset; tap either line for the coordinates at that point

One solution: the lines crossLink to the section: One solution: the lines cross

Two lines with different slopes cross exactly once, anywhere on the plane, no matter how close the slopes get. Slopes of 2 and 2.01 still cross — a long way off to one side, but once.

That is the whole of the first case, and it is why "how many solutions" is never a question about the intercepts on their own. Move either line up or down in the tool above without tilting it and the count stays at one; the crossing point slides, but it does not disappear.

The crossing point is the solution because it is the one pair (x, y) that satisfies both equations at the same time. Everything else on the first line fails the second, and vice versa.

No solution: same slope, different interceptLink to the section: No solution: same slope, different intercept

Give the two lines the same slope and leave the intercepts apart, and they never meet. There is no pair (x, y) on both lines, so the system has no solution. The usual phrasing is that the equations are inconsistent.

This is where the arithmetic gets treacherous if you work in decimals. Slopes of 1/3 and 0.333 look parallel and are not — they cross at x = 1000-ish, off the edge of any window you would draw. The grapher above holds every slope as an exact quarter and every intercept as an exact half, and compares them as whole numbers, so "parallel" here is an exact answer rather than a tolerance that happens to be small enough. A widget that called those two lines parallel would be teaching you something false about the only question that matters.

Infinitely many solutions: one line wearing two namesLink to the section: Infinitely many solutions: one line wearing two names

Give the two lines the same slope AND the same intercept and they are the same line. Every point on it satisfies both equations, so the system has infinitely many solutions. The equations are dependent: one is a multiple of the other.

This is the case that looks like a trick and is not. 2x + 4y = 10 and x + 2y = 5 are the same line — the first is the second doubled. Written in slope-intercept form they are identical, which is why the tool shows both equations in standard form as you drag: two equations describe the same line exactly when their standard forms match after you divide out the common factor.

The coefficient test, which is what the SAT actually asksLink to the section: The coefficient test, which is what the SAT actually asks

The Digital SAT almost never asks you to solve a system by graphing it. It asks the inverse:

  • "For what value of k does this system have no solution?"
  • "The system has infinitely many solutions. What is the value of c?"

That question is only hard if you learned the three cases as three separate facts. Learned as one, it is a single step: make the slopes match, then decide whether you also want the intercepts to match.

In standard form, for A₁x + B₁y = C₁ and A₂x + B₂y = C₂:

  • One solution when A₁B₂ ≠ A₂B₁. The lines have different slopes.
  • No solution when A₁B₂ = A₂B₁ but A₁C₂ ≠ A₂C₁. Same slope, different line.
  • Infinitely many when A₁B₂ = A₂B₁ and A₁C₂ = A₂C₁. Same line.

Worked example. Take 3x + ky = 12 and 6x + 10y = 7, and find the k that gives no solution. Set A₁B₂ = A₂B₁, so 3 × 10 = 6 × k, so k = 5. Now check the third row does not also match: A₁C₂ = 3 × 7 = 21 and A₂C₁ = 6 × 12 = 72, which differ, so at k = 5 this is genuinely parallel rather than the same line. Answer: k = 5.

Set both lines to slope 1.5 in the tool above and slide one of them; the readout goes from "no solution" to "infinitely many" at the single instant the intercepts agree. That instant is the difference between the second row of the test and the third.

How to use the grapherLink to the section: How to use the grapher

Drag a line anywhere along its length to slide it without changing its slope. Drag the handle out to the right to tilt it. The sliders do the same thing in exact steps if you would rather be precise than quick.

The readout under the sliders gives four things: the classification, both equations in slope-intercept form, both in standard form, and the exact intersection when there is one. The three preset buttons jump straight to a clean example of each case, which is the fastest way to see the pattern before you start dragging.

Scroll or pinch to zoom, drag the background to pan, and press the house button to get back. Tapping either line marks the coordinates at that point — useful for checking that a point you solved for by hand really is on the line you thought it was.

Common questions

How do you tell if a system has no solution without graphing it?
Put both equations in the form Ax + By = C and check whether A₁B₂ = A₂B₁. If that holds, the slopes match. Then check A₁C₂ against A₂C₁: if those differ too, the lines are parallel and there is no solution; if they also match, it is the same line and there are infinitely many.
What does it mean when a system has infinitely many solutions?
The two equations describe the same line, so every point on that line satisfies both. One equation is a multiple of the other — 2x + 4y = 10 and x + 2y = 5 are the same line written twice.
Can two lines with different slopes ever have no solution?
No. Different slopes always cross exactly once, however small the difference is. Slopes of 2 and 2.0001 cross a long way from the origin, but they cross.
Is this grapher free?
Yes, and there is no account needed to use it. It is the same simulation that runs inside the Preptics Digital SAT lessons.

Keep going

Every interactive tool: the full set. How a practice result turns into a score range: the scoring method.

SAT® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this site. All practice questions and reading passages are original works created by Preptics and are not actual SAT® questions.