# Substitution Method (Systems of Linear Equations)

When two equations of a line intersect at a single point, we say that it has a unique solution which can be described as a point, \color{red}\left( {x,y} \right), in the **XY-plane**.

The substitution method is used to solve systems of linear equation by finding the exact values of x and y which correspond to the point of intersection.

## A Diagram Showing Two Lines Intersecting at a Point

The diagram below illustrates two arbitrary lines showing where they cross path as described by the ordered pair \left( {x,y} \right). In this lesson, we are interested in manually solving for that common point.

### Examples of How to Solve Systems of Equations by Substitution Method

**Example 1:** Use the method of substitution to solve the system of linear equations below.

The idea is to pick one of the two given equations and solve for either of the variables, x or y. The result from our first step will be substituted into the other equation. The effect will be a single equation with one variable which can be solved as usual.

It totally depends on which equation you think will be much easier to deal with. The choice is yours.

Notice that the top equation contains a variable x that is “alone” – meaning its coefficient is +1. Remember to always look for this characteristic (an “alone” variable) because it will make your life much easier.

Now, I start by solving the top equation for x.

Since I know what x is equal to in terms of y, I can plug this expression into the other equation. With this, I will end up solving an equation with a single variable.

Hopefully, you get the same value of y = - \,5. Now that I know what the exact value of y is, I will solve for the other variable (in this case, x) by evaluating its value into any of the original two equations. It does not matter which original equation you pick because it will ultimately give the same answer.

However, I must say that the “best” route to solve for x is to use the revised equation that I have previously solved since I have “x = some y“. Right?

Here I get x = 1. In point notation form, the final answer can be written as \left( {1, - \,5} \right). Remember, this is the point at which the two lines intersect.

It is always a good habit to check those values into the original equations to verify if they are truly the correct answers. I suggest that you check them at all times.

Graphically, the solution looks like this.

**Example 2:** Use the method of substitution to solve the system of linear equations.

The obvious choice here is to pick the bottom equation because the variable y has a coefficient of positive one \left( { + 1} \right). Now I can easily solve for y in terms of x. To start, I will subtract both sides by 3x.

After solving for y from the bottom equation, I now turn into the top equation and substitute the expression for y in terms of x. The result will be a multistep equation with a single variable.

Solve this equation by simplifying the parenthesis first. After that, combine like terms in both sides and isolate the variable to the left. Your solution should be similar below.

If you correctly solved for x, you should also arrive at the value x = 3.

Since the revised bottom equation is already written in the form that I like, I will use it to solve for the exact value of y.

With the obtained value, y = 1, I can now write the final answer as the ordered pair \left( {3,1} \right).

As I mentioned earlier, always verify the final answers yourself to see if they check using the original equations.

In the graph, the solution is the point of intersection of the two given lines.

**Example 3:** Use the method of substitution to solve the system of equations.

This is a great example because I have two ways to approach the problem. The variables x and y both have positive one \left( { + 1} \right) as their coefficients. This means I can go either way.

For this example, I will solve for y. I can easily do it by subtracting both sides by x and rearrange.

Next, I will write down the other equation and replace its y by y = - x + 3.

After solving the multi-step equation above, I get x = 5. Now, I turn to the transformed version of the top equation to solve for y.

Here I get y = - \,2. The final answer then is \left( {x,y} \right) = \left( {5, - \,2} \right).

Indeed, the two lines intersect at the point we calculated!

**Example 4:** Use the method of substitution to solve the system of equations.

I find this problem interesting because I cannot find a situation where the variable is “alone”. Again, our definition of being “alone” is having a coefficient of +1. Remember?

Both the top and bottom equations here contain a variable with a negative symbol. I suggest that whenever you see something like this, **change that negative symbol to **\textbf{- 1}. I am placing a blue arrow right next to it for emphasis (see below).

From here, I can proceed to solve for y using the top equation or for x using the bottom. For this exercise, I will work on the bottom equation.

Notice that to solve for x, I divided the entire equation by - 1. You can see here that the look of the equation changed drastically.

I hope you got y = - \,4 as well. Otherwise, check and recheck your steps in solving the multi-step equation.

Next, use that value of y and substitute it into the transformed version of the bottom equation to solve for x.

So I get x = - \,2. The final answer in ordered pair is \left( {x,y} \right) = \left( { - \,2, - \,4} \right).

The graph agrees with us on where the two lines intersect. Great!

**Example 5: **Use the substitution method to solve the system of linear equations.

The first thing I observed here is that there is no case where the coefficient of the variable is either + 1 or - 1. To some, this may look confusing.

In this problem, it is possible to isolate the y on the top equation and do the same thing for x at the bottom equation. Do some scratch work and it should make a lot more sense.

You will realize that either x or y can be solved easily because no fractions are generated in the process. For this exercise, I choose to deal with the top equation to solve for y.

As predicted, solving for y came out nicely. Now, I will use this value for y and substitute it into the y of the bottom equation. Then, I will proceed with solving the resulting equation as usual.

If you did it correctly, your answer should come out as x = 2. Plug this value of x into the revised version of the top equation to solve for the exact value of y.

Here I got y = - \,5. That makes our final answer as the ordered pair \left( {2, - \,5} \right).

The graph confirms our calculated values for x and y.

**You might also be interested in:**

Elimination Method (Systems of Equations)

Solving Systems of Non-Linear Equations