Download How to solve systems of equations (two variables, two equations

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Mathematics of radio engineering wikipedia , lookup

Line (geometry) wikipedia , lookup

Analytical mechanics wikipedia , lookup

Recurrence relation wikipedia , lookup

Elementary algebra wikipedia , lookup

History of algebra wikipedia , lookup

System of linear equations wikipedia , lookup

System of polynomial equations wikipedia , lookup

Partial differential equation wikipedia , lookup

Transcript
How to solve systems of equations (two variables, two equations)-Substitution
Method
2π‘₯ + 3𝑦 = 2
οΏ½. This guide
βˆ’5π‘₯ + 7𝑦 = 3
will show you how to solve these equations using the substitution method. The substitution
method works by taking one of our equations and solving for one of the variables in the
equation.
There are many ways to solve systems of equations of the type οΏ½
π‘₯ + 2𝑦 = βˆ’1
Example 1 Solve the system of equations οΏ½ 3π‘₯ + 4𝑦 = 1 οΏ½
STEP 1: Choose one of the equations and solve for one of the variables.
We can work with either of the equation π‘₯ + 2𝑦 = βˆ’1 or 3π‘₯ + 4𝑦 = 1 and solve for either π‘₯
or 𝑦. We usually work with something that will require less work. I will choose the equation
π‘₯ + 2𝑦 = 1. I will go ahead and solve for π‘₯ because π‘₯ is easiest to solve for. All I need to do is
subtract 2𝑦 to the other side.
π‘₯ + 2𝑦 βˆ’ 2𝑦 = βˆ’1 βˆ’ 2𝑦
π‘₯ = βˆ’2𝑦 βˆ’ 1
STEP 2: Replace one of the variables in the equation you did not choose in STEP 1
with the variable you solved for in STEP 1 and simplify.
What we mean by this is take the equation 3π‘₯ + 4𝑦 = 1 and replace the π‘₯ in this equation with
what you got in step 1. Specifically, replace π‘₯ in 3π‘₯ + 4𝑦 = 1 with π‘₯ = βˆ’2𝑦 + 1
3(βˆ’2𝑦 βˆ’ 1) + 4𝑦 = 1
βˆ’6𝑦 βˆ’ 3 + 4𝑦 = 1
βˆ’2𝑦 βˆ’ 3 = 1
STEP 3: Solve the equation you got in STEP 2:
βˆ’2𝑦 βˆ’ 3 + 3 = 1 + 3
βˆ’2𝑦
βˆ’2
=
4
βˆ’2
( add 3 to both sides)
( divide both sides by -2)
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu
𝑦 = βˆ’2
STEP 4: Solve for the other variable. Take the result you got in STEP 3 and place
the result in either one of the equations and solve for the variable.
We know that 𝑦 = βˆ’2 so we needπ‘₯. We can plug in 𝑦 = βˆ’2 into either π‘₯ + 2𝑦 = βˆ’1 or
3π‘₯ + 4𝑦 = 1. It does not matter.
I will plug into 3π‘₯ + 4𝑦 = 1:
3π‘₯ + 4(βˆ’2) = 1
3π‘₯ βˆ’ 8 = 1
3π‘₯ βˆ’ 8 + 8 = 1 + 8
3π‘₯ = 9
π‘₯=3
STEP 5: Write the solution as an ordered pair.
We will write our answer π‘₯ = 3, 𝑦 = βˆ’2 as (3, βˆ’2)
6π‘₯ + 3𝑦 = 21
Example 2 Solve the system of equations οΏ½ 5π‘₯ + 7𝑦 = 40 οΏ½
STEP 1: (from now on I will only refer to steps above)
Just like our first example, we can work either equation. However, the first equation is easier
to work with. Why? Notice that all the coefficients and 21 are divisible by 3. If I solve for one
of the variables in this equation it will be easier for me because I will be able to divide by three
and possibly avoid fractions. The second equation has no common factors so you will probably
wind up with fractions, which makes us do a little more work.
Taking 6π‘₯ + 3𝑦 = 21, I will solve for y by subtracting 6π‘₯ from both sides and dividing by three.
βˆ’6π‘₯ + 6π‘₯ + 3𝑦 = βˆ’6π‘₯ + 21
3𝑦 = βˆ’6π‘₯ + 21
STEP 2:
𝑦 = βˆ’2π‘₯ + 7
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu
I will take the equation 5π‘₯ + 7𝑦 = 40 and replace 𝑦 with 𝑦 = βˆ’2π‘₯ + 7.
5π‘₯ + 7(βˆ’2π‘₯ + 7) = 40
5π‘₯ βˆ’ 14π‘₯ + 49 = 40
βˆ’9π‘₯ + 49 = 40
STEP 3:
βˆ’9π‘₯ + 49 βˆ’ 49 = 40 βˆ’ 49
βˆ’9π‘₯ = βˆ’9
π‘₯=1
STEP 4:
We know that π‘₯ = 1 so we need 𝑦. We can plug in π‘₯ = 1 into either 6π‘₯ + 3𝑦 = 21 or
5π‘₯ + 7𝑦 = 40. It does not matter
I will plug into 5π‘₯ + 7𝑦 = 40:
5(1) + 7𝑦 = 40
5 + 7𝑦 = 40
βˆ’5 + 5 + 7𝑦 = βˆ’5 + 40
7𝑦 = 35
STEP 5
𝑦=5
We will write our answer π‘₯ = 1, 𝑦 = 5 as (1,5)
6π‘₯ + 5𝑦 = 59
Example 3 Solve the system of equations οΏ½ 4π‘₯ + 3𝑦 = 37 οΏ½
STEP 1:
In this example, neither of these equations is β€œeasiest” to work with in part because none of
these equations have a number that every term is divisible by like Example 2. I will use
4π‘₯ + 3𝑦 = 37 but 6π‘₯ + 5𝑦 = 59 would have worked just fine.
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu
For the equation 4π‘₯ + 3𝑦 = 37 neither π‘₯ or 𝑦 are easy to solve for. I will solve for π‘₯ but solving
for 𝑦 is perfectly fine.
4π‘₯ + 3𝑦 βˆ’ 3𝑦 = 37 βˆ’ 3𝑦
4π‘₯ = βˆ’3𝑦 + 37
π‘₯=
STEP 2:
βˆ’3
𝑦+
4
37
4
I will take the equation 6π‘₯ + 5𝑦 = 59 and replace π‘₯ with π‘₯ =
βˆ’3
6οΏ½
4
βˆ’18
𝑦+
4
𝑦+
βˆ’3
37
4
οΏ½ + 5𝑦 = 59
222
4
4
𝑦+
37
4
+ 5𝑦 = 59
I will next multiply the least common denominator (L.C.D.) which is 4 so I can get rid of the
denominator:
4●
STEP 3:
βˆ’18
4
𝑦 + 4●
222
4
+ 4●5𝑦 = 4●59
βˆ’18𝑦 + 222 + 20𝑦 = 236
2𝑦 + 222 = 236
2𝑦 + 222 = 236
2𝑦 = 14
STEP 4:
𝑦=7
We know that 𝑦 = 7 so we need π‘₯. We can plug in 𝑦 = 7 into either 4π‘₯ + 3𝑦 = 37 or
6π‘₯ + 5𝑦 = 59. It does not matter.
I will plug into 6π‘₯ + 5𝑦 = 59:
6π‘₯ + 5(7) = 59
6π‘₯ + 35 = 59
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu
6π‘₯ + 35 βˆ’ 35 = 59 βˆ’ 35
6π‘₯ = 24
π‘₯=4
STEP 5
We will write our answer π‘₯ = 4, 𝑦 = 7 as (4,7)
The next two examples will showcase two systems of equations with infinite number of
solutions or no solutions, respectively.
π‘₯ + 2𝑦 = 10
Example 4 Solve the system of equations οΏ½ 2π‘₯ + 4𝑦 = 20 οΏ½
STEP 1:
We can work with either of the equations π‘₯ + 2𝑦 = 10 or 2π‘₯ + 4𝑦 = 20 and solve for either π‘₯
or 𝑦. I will choose the equation π‘₯ + 2𝑦 = 10. I will go ahead and solve for π‘₯ because π‘₯ is
easiest to solve for. All I need to do is subtract 2𝑦 to the other side.
π‘₯ + 2𝑦 βˆ’ 2𝑦 = 10 βˆ’ 2𝑦
STEP 2:
π‘₯ = βˆ’2𝑦 + 10
I will take the equation 2π‘₯ + 4𝑦 = 20 and replace π‘₯ with π‘₯ = βˆ’2𝑦 + 10:
2(βˆ’2𝑦 + 10) + 4𝑦 = 20
βˆ’4𝑦 + 20 + 4𝑦 = 20
20 = 20
STOP!!!! We don’t have any variables left!! What to do? When you come to a case where you
have no variables left and two numbers that equal each other we have an infinite number of
solutions and we are done. Our solution is: infinite number of solutions
π‘₯ + 2𝑦 = 5
Example 5 Solve the system of equations οΏ½ 2π‘₯ + 4𝑦 = 20 οΏ½
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu
STEP 1:
We can work with either of the equations π‘₯ + 2𝑦 = 5 or 2π‘₯ + 4𝑦 = 20 and solve for either π‘₯
or 𝑦. I will choose the equation π‘₯ + 2𝑦 = 5. I will go ahead and solve for π‘₯ because π‘₯ is easiest
to solve for. All I need to do is subtract 2𝑦 to the other side.
π‘₯ + 2𝑦 βˆ’ 2𝑦 = 5 βˆ’ 2𝑦
STEP 2:
π‘₯ = βˆ’2𝑦 + 5
I will take the equation 2π‘₯ + 4𝑦 = 20 and replace π‘₯ with π‘₯ = βˆ’2𝑦 + 5:
2(βˆ’2𝑦 + 5) + 4𝑦 = 20
βˆ’4𝑦 + 10 + 4𝑦 = 20
10 = 20
STOP!!!! We don’t have any variables left!! What to do? When you come to a case where you
have no variables left and two numbers that don’t equal each other, we have no solutions and
we are done. Our solution is: no solutions or βˆ…
Created by Ivan Canales, Senior Tutor. San Diego City College. icanales@sdccd.edu