If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Lesson 2: Systems of equations with graphing

# Systems of equations with graphing

Walk through examples of solving systems of equations by finding the point of intersection.
We can find the solution to a system of equations by graphing the equations. Let's do this with the following systems of equations:
$y=\frac{1}{2}x+3$
$y=x+1$
First, let's graph the first equation $y=\frac{1}{2}x+3$. Notice that the equation is already in $y$-intercept form so we can graph it by starting at the $y$-intercept of $3$, and then going up $1$ and to the right $2$ from there.
Next, let's graph the second equation $y=x+1$ as well.
There is exactly one point where the graphs intersect. This is the solution to the system of equations.
This makes sense because every point on the gold line is a solution to the equation $y=\frac{1}{2}x+3$, and every point on the green line is a solution to $y=x+1$. So, the only point that's a solution to both equations is the point of intersection

## Checking the solution

So, from graphing the two equations, we found that the ordered pair $\left(4,5\right)$ is the solution to the system. Let's verify this by plugging $x=4$ and $y=5$ into each equation.
The first equation:
$\begin{array}{rl}y& =\frac{1}{2}x+3\\ \\ 5& \stackrel{?}{=}\frac{1}{2}\left(4\right)+3& \text{Plug in x = 4 and y = 5}\\ \\ 5& =5& \text{Yes!}\end{array}$
The second equation:
$\begin{array}{rl}y& =x+1\\ \\ 5& \stackrel{?}{=}4+1& \text{Plug in x = 4 and y = 5}\\ \\ 5& =5& \text{Yes!}\end{array}$
Nice! $\left(4,5\right)$ is indeed a solution.

## Let's practice!

### Problem 1

The following system of equations are graphed below.
$y=-3x-7$
$y=x+9$
Find the solution to the system of equations.
$x=$
$y=$

### Problem 2

Here is a system of equations:
$y=5x+2$
$y=-x+8$
Graph both equations.
Find the solution to the system of equations.
$x=$
$y=$

### Problem 3

Here is a system of equations:
$8x-4y=16$
$8x+4y=16$
Graph both equations.
Find the solution to the system of equations.
$x=$
$y=$

## Challenge problems

1) How many solutions does the system of equations graphed below have?

2) How many solutions does the system of equations graphed below have?
(The two lines are parallel, so they never intersect)