algebraunstuck.com

Unit 4 · Systems of equations

Solving systems by graphing

About 12 minFree, no account needed
Goal
Solve a system by finding where two lines cross.

A system is two equations that must both be true. Each linear equation is a line, and a point on both lines satisfies both equations. So the solution is the point where the lines cross.

xy−5−4−3−2−112345−5−4−3−2−112345(2, 3)
y = 2x − 1 (green) and y = −x + 5 (orange) cross at (2, 3).

Example 1

Where two lines cross is the solution. Check it in both

{y=2x−1y=−x+5\begin{cases}y=2x-1\\y=-x+5\end{cases}
  1. The graphs cross at (2, 3): test the first

    2(2)−1=32(2)-1=3
  2. Test it in the second equation

    −(2)+5=3-(2)+5=3
  3. It works in both, so it is the solution

    (x,y)=(2,3)(x,y)=(2,3)

Check: Both equations give y = 3 at x = 2 ✓

Different slopes always cross exactly once: one solution. Same slope with different intercepts means parallel lines: no solution. If both equations describe the same line, every point on it works: infinitely many solutions.

Example 2

Same slope, different intercepts: parallel, no solution

{y=3x+26x−2y=8\begin{cases}y=3x+2\\6x-2y=8\end{cases}
  1. Solve the second equation for y

    y=3x−4y=3x-4
  2. Both slopes are 3, but the intercepts differ

    b1=2≠−4=b2b_1=2\ne-4=b_2
  3. Parallel lines never meet: no solution

    (x,y)∈∅(x,y)\in\varnothing

Check: 3x + 2 = 3x − 4 would mean 2 = −4, impossible ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.