# How to Solve Systems of Equations

Hey guys! Welcome to this video over systems of equations.

A system of equations is a group of two or more **equations**, and each of the equations within the group have an unknown variable.

When given a system of equations, the goal is to find the value for each of the unknown variables.

In this video, we will discuss two tools to help you solve for the unknown variables: substitution, and elimination.

## Substitution

Substitution is a way of solving the system by getting rid of all of the variables, except for one, then solving for that equation.

The best time to use substitution is when you have a variable that has a coefficient of 1 or -1. The reason why is, because if it has a coefficient of 1 or -1, then you don’t need to undo multiplication or division, you just need to undo addition or subtraction in order to isolate a variable.

There are three steps that you need to follow in order to be able to solve the system using substitution.

- Solve for your \(x\) or \(y\) in one equation.
- Plug your \(x\) or \(y\) in that you solved for into the other equation, then solve.
- Use the number that you get when you solve to solve for the other variable, or variables, depending on how many equations that you have.

So let’s get started!

### Example

\(4x+3y=2\)

\(x-9y=-19\)

In this example, we can see that our second equation has a variable with 1 as the coefficient. So, that lets us know to solve for \(x\). Now, you can actually solve for any of the variables. It will just always be easier to solve for one that has a coefficient of 1 or -1.

Now, to do this we just add \(9y\) to both sides.

\(x= 9y -19\)

So, we’ve done what our first step tells us to do and we solved for one of our variables. Step two now tells us to plug in the variable that we have solved for into our other equation, then solve. So we’re going to plug our \(x\) into \(4x+3y = 2\). Because we know that \(x=9y -19\), we’ll plug this into our \(x\)-value here and then solve.

\(4(9y-19)+3y=2\)

Now that we have it down to one variable, we are able to solve for the value of that variable, so in this case, \(y\).

Let’s rewrite this by multiply our 4 by everything inside our parentheses.

\(36y – 76 + 3y = 2\)

Now we can add our 76 to both sides. You can do this multiple ways. If you wanted to add your \(y\)s together first, then do that. I’m just doing what is easier in my mind.

Once I add my 76 to both sides and add my \(y\)s together, I get \(39y= 78\).

Now, I divide both sides by 39.

\(y=2\)

Use the number that you get when you solve to solve for the other variable, or variables.

So now all we have to do is take our \(y\)-value and plug it into one of our original equations. It doesn’t matter which one! You can plug it into the first or the second, but I am going to plug it into the second equation, just because.

So that gives you:

\(x -9(2) = -19\)

\(x – 18 = -19\)

\(x=-1\)

And we’re done! We have found the value of both of our variables using substitution.

Now, let’s take a look at how to solve for a system using elimination.

## Elimination

The reason this tool is called elimination is because you add together the two equations in order to eliminate one of your variables.

### Example 1

\(3x – 4y = -27\)

\(7x + 4y = 57\)

We can tell just by looking at it, that our \(y\)s will cancel out. So once we add the two equations together. We have \(10x = 30\).

And we can divide both sides by 10: \(x=3\)

We can take our \(x\)-value and plug it into either of our original equations. I’ll plug it into our first one here. So, we have:

\(3(3) – 4y = -27\)

So, and then I’ll rewrite this:

\(9 – 4y = -27\)

Now, we need to move our 9 to the other side by subtracting 9.

\(-4y=-36\)

Then we divide both sides by our -4 here.

\(y=9\)

So now we’ve solved and found both of our variables. That was a good example to learn how elimination works, but it may not always be that our terms cancel so easily.

Like in this example:

### Example 2

\(9x – 3y = -57\)

\(2x + 6y = 34\)

None of our terms cancel right off the bat, so we’ll need to do a little manipulation in order to get them to do what we want them to do.

So, what could we do to get our terms to cancel? Well, there are a couple of things, but the easiest, as it appears to me, is to multiply our first equation by 2. That will allow us to cancel our \(y\)s, because we will be adding a \(-6\) and a \(+6\). So, let’s do that.

We have this equation (\(9x – 3y = -57\)) all being multiplied by 2, so let’s rewrite that and we get:

\(2(9x – 3y = -57)\)

\(18x – 6y = -114\)

Now, we need to take this and add it to our other equation so we can get our \(y\)s to cancel out. So that would give us \(20x = -80\).

Now, we need to divide both of our sides by 20, which gives us \(x=-4\).

So, now that we know that \(x=-4\), we can plug in our \(-4\) where our \(x\)s are in either one of the original equations.

I’ll plug it into the second one. So we have:

\(2(-4) + 6y = 34\)

And I’ll simplify this and rewrite it.

\(-8 + 6y =34\)

Now I’ll move and my 8 to both sides: \(6y=42\).

Now we divide both sides by 6 here: \(y=7\)

So our final answer to this problem is this:

\(x=-4 \text{ and } y=7\)

I hope that this video on how to solve a system of equations using substitution and elimination has been helpful.

See you guys next time!

## Frequently Asked Questions

#### Q

### How do you solve systems of equations?

#### A

A system of equations refers to a set or collection of equations that share the same variables. The goal of solving systems of equations is to identify the location where the lines intersect when the equations are graphed. The \((x, y)\) ordered pair of this intersection point is considered the solution of the system. There are generally four methods for solving systems of equations: substitution, elimination, graphing, and matrices. The method that you select depends on the structure of the equations. For example, if the equations are already in slope-intercept form \((y=mx+b)\), then the graphing method is a convenient option.

#### Q

### What are the four methods for solving systems of equations?

#### A

When solving systems of equations you have a few options as far as which method you choose. The method that you select will depend on the structure of the equations. Selecting the strategy that is most convenient and efficient is of course the goal. The more you work with systems, the more trained your eye will become in selecting the best method. The four methods to choose from include substitution, elimination, graphing, and matrices. Each approach is quite different, but all of the strategies will ultimately arrive at the same goal which is to locate the \((x, y)\) ordered pair where the lines intersect.

#### Q

### Why do we use systems of equations?

#### A

Systems of equations have many useful real-world applications. For example, whenever you are given two unknown values, as well as information that connects the two unknown values, a system of equations can be set up in order to solve for the two unknowns. For example, let’s say the admission fee to an amusement park is \($20\) for children and \($30\) for adults. Let’s also say that \(215\) people entered the park today, and that the total admission fees collected today was \($3{,}500\). We can solve for the number of children and adult tickets sold by setting up a system of equations. We have two unknown values, and we have enough information connecting the two values to set up our equations. To solve this problem, we first need to select a strategy (substitution, elimination, graphing, or matrices). Solving systems of equations is a skill that has many valuable applications. This is why the process of solving systems is considered a major branch of algebra.

#### Q

### What is the difference between an equation and a system of equations?

#### A

A linear equation can be graphed by plugging in values for \(x\), and then calculating the corresponding \(y\)-values. These \(x\)– and \(y\)-coordinates can be graphed and will eventually form a line. When there is more than one equation, and they share the same variables, the equations are called a “system”.

__An example of a system of equations:__

\(y=2x+5\)

\(3y=4x-8\)

#### Q

### What careers use systems of equations?

#### A

The exciting thing about learning how to solve systems of equations is that the skill can be applied to almost any career! Anytime you are faced with a scenario where you have two unknown values, and enough information to compare the two values, setting up and solving a system of equations will allow you to identify the amount of each value. This is often useful in the field of finance, business, and sales. Specifically careers that involve calculations with costs, revenue, and profit.

#### Q

### How are systems of equations used in real life?

#### A

Solving systems of equations is a valuable skill to study because of its many applications in the real-world. Anytime we have two unknown values, and enough information to compare the two values, we can solve for the unknowns by setting up a system of equations. Remember, the solution of a system of equations is the value for each variable that makes both of the equations true. This skill has applications in many areas of our daily lives. For example, we can use a system of equations to determine how many calories we burn using different machines at the gym. If we use the rowing machine for \(30\) minutes and the treadmill for \(20\) minutes, and we burn a total of \(430\) calories, this can be set up as equation #1: \(30r+20w=430\). If we go to the gym the following day and use the rowing machine for \(50\) minutes and the treadmill for \(10\) minutes, burning a total of \(600\) calories, this can be set up as equation #2: \(50r+10w=600\). We have two unknown values (how many calories we burn per minute on each machine), and we have enough information comparing both of the values. This means that we can solve the problem by setting up and solving a system of equations.

#### Q

### How do you solve systems of equations by substitution?

#### A

Solving systems of equations by substitution follows three basic steps.

__Step 1:__ Solve one equation for one of the variables.__Step 2:__ Substitute this expression into the other equation, and solve for the missing variable.__Step 3:__ Substitute this answer into one of the equations in order to solve for the other variable.

#### Q

### What is the substitution method with an example?

#### A

The following system of equations can be solved in three steps.

\(2x+y=1\)

\(x-2y=8\)

__Step 1: Solve one equation for one of the variables.__

Look for the equation with a coefficient of \(1\) or \(-1\). This makes the solving process quicker. \(x-2y=8\) has a coefficient of \(1\) for \(x\), so let’s solve for \(x\). When \(2y\) is added to both sides of the equation \(x-2y=8\) becomes \(x=8+2y\).

__Step 2:__ Substitute this expression into the other equation, and solve for the missing variable.

\(x=8+2y\) has been solved for \(x\), so plug this expression into the other equation for \(x\). \(2x+y=1\) becomes \(2(8+2y)+y=1\).

Now we have an equation with only the *y*-variable. At this point we can solve for *y*. First we distribute, so \(2(8+2y)+y=1\) becomes \(16+4y+y=1\). Now we combine like-terms. \(16+4y+y=1\)becomes \(16+5y=1\). Now subtract \(16\) from both sides, divide by \(5\), and we see that \(y=-3\).

__Step 3: Substitute this answer into one of the original equations in order to solve for the other variable.__

Now that we know\(y=-3\), we can solve for \(x\). Plug \(-3\) in for \(y\), in either equation. Let’s use the first equation \(2x+y=1\). When \(-3\) is plugged in for \(y\), the equation becomes \(2x+(-3)=1\). When we solve for \(x\), we see that \(x=2\).

We know that \(x=2\) and \(y=-3\). This means that the ordered pair \((2, -3)\) is the solution of the system of equations. This location is where the lines will cross each other when graphed.

#### Q

### How do you do elimination in algebra?

#### A

Systems of equations can be solved using elimination. This method follows three basic steps. __Step 1:__ Manipulate the equations so that one variable will cancel out when the equations are added or subtracted. __Step 2:__ Add or subtract the equations so that one variable is eliminated. Solve for the remaining variable. __Step 3:__ Plug the solved variable back into one of the original equations in order to solve for the other variable.

For example, the following system can be solved by elimination.

\(3x-4y=-5\)

\(5x+8y=-1\)

__Step 1: Manipulate the equations so that one variable will cancel out when the equations are added or subtracted.__

In this case, we can multiply the first equation by \(2\), so that the \(y\)-variables will cancel out when the equations are added. \(3x-4y=-5\) becomes \(6x-8y=-10\).

__Step 2: Add or subtract the equations so that one variable is eliminated. Solve for the remaining variable.__

\(6x-8y=-10\)

\(5x+8y=-1\)

When the equations are added, the result is \(11x=-11\). Now we can solve for \(x\) by dividing both sides of the equation by \(11\). \(x=-1\).

__Step 3: Plug the solved variable back into one of the original equations in order to solve for the other variable.__Let’s plug \(-1\) in for \(x\) in the first equation \(3x-4y=-5\). The equation now becomes \(3(-1)-4y=-5\) which simplifies to\(y=\frac{1}{2}\).

\(x=-1\) and \(y=\frac{1}{2}\) which means that the solution to the system of equations is the ordered pair \((-1, \frac{1}{2})\). If the two original equations were graphed, this ordered pair is where the two lines would intersect.

#### Q

### How do you solve a \(3×3\) system by elimination?

#### A

Sometimes a system will have more than two equations. For example the following system has three equations.

\(x+2y-z=2\)

\(2x-3y+z=-1\)

\(5x-y-2z=-3\)

The process for solving a system of three equations will be the same as the process for two equations. However, our first objective is to go from three equations down to two. This can be achieved by adding or subtracting two of the equations. Let’s add the first two equations.

\(\phantom{00}x+2y-z=2\) | ||

\(+\) | \(2x-3y+z=-1\) | |

\(3x-y=1\) |

The variable \(z\) has dropped out, and now we only have two equations which means we are on the right track. However, we need to incorporate the third equation into the mix. Let’s do this by multiplying the second equation by \(2\), and then adding this to the third equation.

The second equation becomes \(4x-6y+2z=-2\) and when we add this to the third equation, we get \(9x-7y=-5\) (The \(z\)s dropped out!).

At this point, we are simply solving a two equation system with two variables.

\(3x-y=1\) (Multiply this equation by \(-7\) so that the \(y\)-variables will be eliminated when the equations are added together)

\(-21x+7y=-7\) | ||

\(+\) | \(\phantom{0}9x-7y=-5\) | |

\(-12x=-12\) |

Now plug in \(1\) for \(x\) in any of the equations.

\(3(1)-y=1\)

\(y=2\)

Finally, plug in \(x=1\) and \(y=2\) to any of the equations and solve for \(z\). If these values are plugged into the first equation, \(x+2y-z=2\) becomes \((1)+2(2)-z=2\), which simplifies to \(z=3\).

Remember, when you have a system with three equations and three variables, the big idea is to work your way down to two equations with two variables, and eventually one equation with one variable. The more you practice these elimination problems the easier they will become!

#### Q

### Can you subtract systems of equations?

#### A

When solving a system of equations using the elimination method, the equations can be added or *subtracted* in order to eliminate a variable. For example, if you notice that both equations have the same variable with the same sign, then elimination using subtraction is likely the most efficient method.

For example, see if you can identify why subtraction with elimination is the best option for solving the following system.

\(-5x-3y=30\)

You’re correct if you noticed that both equations have the same variable with the same sign: \(-3y\) and \(-3y\). This means that if one of the equations is subtracted from the other, the term will drop out, leaving only one variable (that’s the goal).

\(\phantom{000}2x-3y=9\) | ||

\(–\) | \((-5x-3y=30)\) | |

\(7x=-21\) |

Now \(-3\) can be plugged into one of the original equations in order to solve for \(y\).

\(2x-3y=9\) becomes \(2(-3)-3y=9\) which simplifies to \(y=-5\). \((-3, -5)\) is the solution.

An **equation** is a statement that two mathematical **expressions** are equal. Expressions represent quantities and can be strictly numerical or contain some combination of numerical terms and terms containing variables. For instance, \(6 + 3\) is a numerical expression and \(2x – 7\) is an expression that contains a variable.

Equations are like sentences, and they can be evaluated as true or false. For example, \(2 × 5 = 10\) is a true statement because the quantity \(2\times 5\) is equal to the quantity 10. On the other hand, \(25 = 4\times 5\) is a false statement, because the quantity 25 is not equal to the quantity \(4\times 5\).

When equations contain variables, the job of solving is to discover the value(s) of the variables that make the equation true. For example, \(x = 10\) is only true when \(x\) has the value of 10, while \(2x = 10\) is only true when \(x\) has the value of 5.

Typically, equations are approached from the standpoint of “balancing,” “performing inverse operations,” and “isolating the variable.”

**Solving Systems of Equations**

Here’s an example of how the process of solving equations might be approached.

**Equations as Scenarios**

Expressions often represent quantities that are related in a certain way. Some common examples are\(l\), \(x\), and \(w\), which often represent the area of a rectangle, and \(\sqrt{(x_2 – x_1)^2 + (y_2 – y_1)^2} \), which often represents the distance between two points on the coordinate plane. Sometimes, we need to create our own equations based on given information.

**Example:** Max is Ruby’s little brother. Ruby is half of three times Max’s age, and the sum of their ages is 25 years. How old is each sibling?

Let the expression \(a\) represent Max’s age. Then Ruby’s age is represented by the expression \(\frac{3a}{2}\) and the equation we need to solve is \(a+ \frac{3a}{2} = 25\). In other words, Max’s age plus Ruby’s age is 25.

Sometimes, there are multiple ways to visualize an equation. Sometimes, the order we use depends on how we see the terms. For example, let’s look at a couple of different ways we can visualize and solve \(\frac{3x}{4} = 30 \):

Visualizing the problem this way will lead you down two different paths of solving it:

Finally, let’s look at a couple of different ways we can visualize and solve \(\frac{3}{4x} = 30:\)