Solving a System by Graphing

Category: Algebra   Level: 201

y = 2x - 1, x + y = 5 โ‡’ (x, y) = (2, 3)

Each equation is a line of points that satisfy it. The point on both lines satisfies both equations, so the crossing point is the solution.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Graph the first equation

Every point on the blue line makes y = 2x โˆ’ 1 true. Start at โˆ’1 on the y-axis and climb 2 for each step right.

y = 2x - 1

Step 1: Graph the first equation

Step 2: Graph the second equation

Every point on the orange line makes x + y = 5 true. It hits both axes at 5.

x + y = 5

Step 2: Graph the second equation

Step 3: Find the crossing point

The lines meet at (2, 3). It is the only point on both lines, so it is the only pair that satisfies both equations.

(x, y) = (2, 3)

Step 3: Find the crossing point

Step 4: Check by substitution

Plug x = 2 and y = 3 into each equation. Both come out true, so the graph did not lie.

3 = 2 ยท 2 - 1 and 2 + 3 = 5

Step 4: Check by substitution

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render system-of-equations --out /tmp/system-of-equations

Source: svgmath/diagrams/lines.py