30% off your first 3 months

Get the deal

How to solve systems of equations

A system of equations is two equations that must both be true at the same time.

Guide 6 of 12
A graph of two lines: y equals x plus 1 in white and x plus y equals 5 in blue. They cross at the point 2, 3, which is marked with a dot.xy12345612345670
y = x + 1 and x + y = 5. Both lines go through (2, 3), so it solves both.

Why it works. Every point on a line makes that line's equation true. The crossing point is on both lines, so it makes both equations true. Two parallel lines never cross, so their system has no solution.


Move it yourself

Move the blue line. The dot is the one point where both equations are true.

A graph of two lines: y equals x plus 1 in white and x plus y equals 5 in blue. They cross at the point 2, 3, which is marked with a dot.xy12345612345670

Your turn

Solve the system y=2xy = 2x and x+y=9x + y = 9.

Or just show the answer

(3,6)(3, 6)

Substitute: x+2x=9x + 2x = 9, so 3x=93x = 9 and x=3x = 3. Then y=2(3)=6y = 2(3) = 6. Check: 3+6=93 + 6 = 9.


Watch out for

  • Mistake 1. Struck through: x = 2; written over it: (2, 3).

    Stopping at x=2x = 2.

    The solution is a point: find y too, (2,3)(2, 3).

  • Mistake 2. Struck through: check one; written over it: check both.

    Checking only in the equation you used to find y.

    Check in the other one as well. That is where slips show up.

  • Mistake 3. Struck through: 3x − x + 1; written over it: 3x − (x + 1).

    Dropping the brackets after a minus: 3x−x+13x - x + 1 for 3x−(x+1)3x - (x + 1).

    Keep them: 3x−(x+1)=2x−13x - (x + 1) = 2x - 1.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Graph both of these equations for me and show where they cross.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

A system of equations is two equations that must both be true at the same time. Its solution is the point that works in both, which is where their two lines cross on a graph. To find it exactly, use substitution: solve one equation for a letter, then put that into the other equation.

Worked example

Solve the system y=x+1y = x + 1 and x+y=5x + y = 5.

  1. The first equation says y is x+1x + 1. Put that in place of y in the second.
    x+(x+1)=5x + (x + 1) = 5
  2. Combine like terms.
    2x+1=52x + 1 = 5
  3. Solve for x.
    x=2x = 2
  4. Put x=2x = 2 into the first equation to get y.
    y=2+1=3y = 2 + 1 = 3
  5. Check in the second equation: 2+3=52 + 3 = 5. It works.

Answer: (2,3)(2, 3)

Algebra 1: all 12 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.