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.
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
Every point on the orange line makes x + y = 5 true. It hits both axes at 5.
x + y = 5
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)
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
cd svg-generator python3 -m svgmath render system-of-equations --out /tmp/system-of-equations
Source: svgmath/diagrams/lines.py