Systems of Equations – Solve by Graphing
Objective
SO WHAT IS A SYSTEM OF EQUATIONS?
According to Google: “A system of linear equations is a collection of two or more linear equations involving the same set of variables. ”
Which is essentially right!
So basically a system of equations is a set of equations (usually 2) that share the same variables. In Algebra 1, those variables are x and y.
SOLVING SYSTEMS OF EQUATIONS
So, how do we solve an equation with 2 variables?
Well, we don’t. To be honest, we have no idea what those two variable can be.
However, when we have 2 equations that share the same variables, that means they share the same x and they share the same y.
So, if they share the same x and the same y, then we should be able to substitute them.
Which is one way we solve systems of equations.
(However, it’s much easier to show then explain)
The Substitution Method
Let’s say we are given:
x + 6 = 4y
4x – 5y = 9
In order to substitute, we need to get one variable by itself.
So in this case, let’s get x by itself in the 1st one.
So:
x + 6 = 4y
- 6 - 6
x = 4y – 6
Now we substitute this into the second equation.
So, wherever we see x, we replace it with 4y – 6
So, the second equation is 4x-5y = 12
We substitute 4y-6 with x and get:
4(4y-6) – 5y = 9
We distribute the 4 and get:
16y – 24 – 5y = 9
Now we combine like terms and get:
11y – 24 = 9
We add 24 and get:
11y = 33
___ __
11 11
And we finally know that y = 3.
Now we plug that into either equation we want to, and we see that:
x + 6 = 4(3)
x + 6 = 12
x = 6.
Now let’s check our answer and see if it works!
So now we can see x = 6 and y = 3, let’s see if this works.
So for our first equation:
x + 6 = 4y
Substituting in, we can see:
6 + 6 = 4(3)
Or
12 = 12
Now let’s try the other equation:
4(x) – 5(y) = 9
4(6) – 5(3) = 9
24 – 15 = 9
9 = 9
So it works!
This is the most common way to solve a system of equations as well.
There are many other ways, however we’re only going to touch on two others from here on out.
But before we do, let’s do one more example, just to check to see if it actually works.
Example 2
Let’s say we are given:
5y = 12x – 32
2y = 6x + 10
So we need to solve for one of the variables.
In this case, let’s try to solve for y in the second equation.
So we have:
2y = 6x + 10
__ __ __
2 2 2
And finally we are left with:
y = 3x + 5.
Now, we substitute in y for the next equation, 5y = 12x – 32
So we have:
5(3x + 5) = 12x – 32
15x + 25 = 12x – 32
+32 +32
15x + 57 = 12x
-15x -15x
57 = -3x
__ ___
-3 -3
-19 = x
Now, we plug in our new number into one of the two equations!
So now we plug x = -19 into the second equation to see what y is.
So for our second equation is:
2y = 6x + 10
Substituting in, we can see:
2y = 6(-19) + 10
Or
2y = -114 + 10
2y = -104
__ ____
2 2
And we get that y = -52
So now we have x = -19 and y = -52.
Again, in order to see if this works, let’s make sure to check our answers by plugging them in!
NOW LET’S CHECK OUR ANSWER AND SEE IF IT WORKS!
So now we can see x = -19 and y = -52, let’s see if this works.
So for our first equation:
5y = 12x – 32
5(-52) = 12(-19) - 32
-260 = -228 – 32
-260 = -260
Now let’s try the other equation:
2y = 6x + 10
2(-52) = 6(-19) + 10
-104 = -114 + 10
-104 = -104
SOLVING BY ELIMINATION
So we know how to solve systems of equations by using substitution, but is there an easier way?
Well, again this is easier to show than to explain, so here’s an example.
THE ELIMINATION METHOD
Let’s say we are given:
6 + 2x = 4y
9 – 2x = y
If we want to use the elimination method, we want to make sure to eliminate a variable.
The way eliminate a variable is we try to either add, or subtract the equations from each other to get rid of a variable.
So in our example, we add:
6 + 2x = 4y
+ 9 – 2x = y
15 = 5y
__ __
5 5
And we get y = 3
NOW WE PICK AN EQUATION, THEN PLUG IT IN!
So, let’s try an equation, let’s say:
9 – 2x = y
But this time we replace y with 3
9 – 2x = 3
-9 -9
-2x = -6
-2 -2
And we get that x = 3
So now we need to check if our equation is right.
NOW LET’S CHECK OUR ANSWER AND SEE IF IT WORKS!
So now we can see x = 3 and y = 3, let’s see if this works.
So for our first equation:
6 + 2x = 4y
Substituting in, we can see:
6 + 2(3) = 4(3)
Or
6 + 6 = 12
12 = 12
Now let’s try the other equation:
9 – 2x = y
9 – 2(3) = 3
9 – 6 = 3
3 = 3
So we know this is the right answer!
So we added the equations, what about subtracting?
So when should we subtract instead?
When it eliminates a variable!
So, for example:
14x – 28 = 2y
14x – 42 = 3y
We can see that if we subtract 14x from 14x we’ll eliminate the x variable, so:
14x – 28 = 2y
-(14x – 42 = 3y)
Which is to say:
14x – 28 = 2y
-14x + 42 =-3y
14 = -y
Or
y = -14
Now we just plug in what we found
So:
14x – 28 = 2(-14)
14x – 28 = -28
+28 +28
14x = 0_
x = 0
So, again, now we just check to make sure this is the right answer.
Now let’s check our answer and see if it works!
So now we can see x = 0 and y = -14, let’s see if this works.
So for our first equation:
14x – 28 = 2y
Substituting in, we can see:
14(0) - 28 = 2(-14)
Or
0 -28 = -28
-28 = -28
Now let’s try the other equation:
14x – 42 = 3y
14(0) – 42 = 3(-14)
0 – 42 = -42
-42 = -42
So we know this is the right answer!
MULTIPLICATION ELIMINATION
Now that we know we can solve by addition and subtraction, what if we need to multiply one of the equations first to make it easier to solve?
Can we then add them together and then get the correct answer?
Let’s look at an example to see.
EXAMPLE 1
( ) 3
NOW LET’S USE THE ELIMINATION METHOD
NOW WE’VE SOLVED FOR ONE VARIABLE!
So let’s plug it in!
So we know y = -6
x + 4(-6) = -9
x – 24 = -9
+ 24 + 24
x = 15
So now we know that y = -6 and x = 15.
Now let’s make sure to check our answer!
Check our answers!
1
1
-2
5
(5)(1) – 2(-2) = 9
5 + 4 = 9
9 = 9
So our answer is correct!
Example 2
( ) 5
Now let’s use our new equation and eliminate
Now we’ve solved for one variable!
So let’s plug it in!
So we know y = -5
4x + 2(-5) = 10
4x – 10 = 10
+ 10 + 10
4x = 20
4 4
x = 5
So now we know that y = -5 and x = 5.
Now let’s make sure to check our answer!
CHECK OUR ANSWERS!
1
1
-1
1
(4)(1) – 3(-1) = 7
4 + 3 = 7
7 = 7
So our answer is correct!
SOLVING SYSTEMS OF EQUATIONS WITH GRAPHING
We can also solve systems of equations by graphing as well.
In order to solve these types of equations by graphing, it’s much easier to solve for y, and then graph it.
So, let’s use the previous example (since we already know the answers).
�Equation by equation, let’s solve for y.
SOLVING FOR Y SO WE CAN GRAPH
And that’s it!
Basically you graph the two equations, then find where they cross.
Again, the easiest way to solve each of these equations depends.
Sometimes graphing is easiest, sometimes elimination; however substitution always works.
So again, if you’re not sure what to use, go with substitution.