SOLUTION: I have another question. My professor wants us to solve these equations in four different ways and show our work. I have been able to do the simpler equations but when they have 3

Algebra ->  Matrices-and-determiminant -> SOLUTION: I have another question. My professor wants us to solve these equations in four different ways and show our work. I have been able to do the simpler equations but when they have 3       Log On


   



Question 135991: I have another question. My professor wants us to solve these equations in four different ways and show our work. I have been able to do the simpler equations but when they have 3 or 4 variables it gets a little bit more complicated.
I need to use the elimination method, substitution method, determinant and coordinates for example if if x=0 y=-5 etc...
Here are two problems that I'm having a hard time with.
#5
x+y+z=6
2x-y+3z=9
-x+2y+z=6

#7
3x+2y+z=6
2x-y+4z=-4
x+y-2z=5
Each one has to be done in four different ways. Thanks again for all the help.
Anne

Answer by solver91311(24713) About Me  (Show Source):
You can put this solution on YOUR website!
When you say 'coordinate' method, do you mean to solve the system by graphing? I certainly hope not because there is no way to render a three-dimensional coordinate system on this site. However, I'll do one of your systems by the other three methods.

1. x%2By%2Bz=6
2. 2x-y%2B3z=9
3. -x%2B2y%2Bz=6

Elimination:
Replace Eq. 2 with the sum of Eq. 2 and two times Eq. 3.
Replace Eq. 3 with the sum of Eq. 1 and Eq. 3.
1. x%2By%2Bz=6
2. 0x%2B3y%2B5z=21
3. 0x%2B3y%2B2z=12

Replace Eq. 3 with the sum of Eq. 2 and -1 times Eq. 3.
1. x%2By%2Bz=6
2. 0x%2B3y%2B5z=21
3. 0x%2B0y%2B3z=9

Divide Eq 3 by 3
1. x%2By%2Bz=6
2. 0x%2B3y%2B5z=21
3. 0x%2B0y%2Bz=3

Replace Eq. 1 with the sum of Eq. 1 and -1 times Eq. 3
Replace Eq. 2 with the sum of Eq. 2 and -5 times Eq. 3
1. x%2By%2B0z=3
2. 0x%2B3y%2B0z=6
3. 0x%2B0y%2Bz=3

Divide Eq. 2 by 3
1. x%2By%2B0z=3
2. 0x%2By%2B0z=2
3. 0x%2B0y%2Bz=3

Replace Eq. 1 with the sum of Eq. 1 and -1 times Eq. 2
1. x%2B0y%2B0z=1
2. 0x%2By%2B0z=2
3. 0x%2B0y%2Bz=3

Eliminate the variables with zero coefficients
1. x=1
2. y=2
3. z=3

========================================================
Substitution:
1. x%2By%2Bz=6
2. 2x-y%2B3z=9
3. -x%2B2y%2Bz=6

Solve Eq. 1 for x:
x=6-y-z

Substitute the expression for x into the other two equations
2. 2%286-y-z%29-y%2B3z=9
3. -%286-y-z%29%2B2y%2Bz=6

Distribute and collect like terms:
2. 12-2y-2z-y%2B3z=9 => -3y%2Bz=-3 (New Eq. 2)
3. -6%2By%2Bz%2B2y%2Bz=6 => 3y%2B2z=12 (New Eq. 3)

Solve equation 2 for y:
-3y=-3-z
y=1%2B%28z%2F3%29

Substitute this expression for y into the new Eq. 3
3%281%2Bz%2F3%29%2B2z=12

Distribute, simplify, collect terms
3%2B3z%2F3%2B2z=12
z%2B2z=12-3
3z=9
z=3

Substitute this value for z into the new Eq. 2
-3y%2B3=-3
-3y=-6
y=2

Substitute the values for y and z into the original equation 1:
x%2By%2Bz=6
x%2B2%2B3=6
x=1

============================================================
Cramer's Rule
Create and evaluate the coefficient determinant

D =%28matrix%283%2C3%2C1%2C1%2C1%2C2%2C-1%2C3%2C-1%2C2%2C1%29%29

If you don't remember how to evaluate a determinant, here is a little cartoon that shows the process. You have to take your coefficient determinant and make a 5X3 matrix by repeating the 1st and 2nd columns first. Then follow the process shown:



Yours evaluates to: -9, so we say D=-9

Next, replace the first column representing the coefficients on the x terms with the constant term values.

D%5Bx%5D=%28matrix%283%2C3%2C6%2C1%2C1%2C9%2C-1%2C3%2C6%2C2%2C1%29%29, and do the determinant evaluation on tD%5Bx%5D

This works out to -9 as well, so you can say D%5Bx%5D=-9

Cramer's rule says:
x=D%5Bx%5D%2FD. In this case: -9%2F-9=1 (Just as I most sincerely hope you expected)

As you might suspect, you replace the second column with the coefficients to get D%5By%5D and the third column to get D%5Bz%5D.

Then y=D%5By%5D%2FD and z=D%5Bz%5D%2FD

I'll give you the D%5By%5D and D%5Bz%5D matrices and you can do the calculations for yourself.

D%5By%5D=%28matrix%283%2C3%2C1%2C6%2C1%2C2%2C9%2C3%2C-1%2C6%2C1%29%29

D%5Bz%5D=%28matrix%283%2C3%2C1%2C1%2C6%2C2%2C-1%2C9%2C-1%2C2%2C6%29%29