SOLUTION: How do I do a 3 variable equation in Linear system. Example: 3x + 3y + 6z = 27 along with two other 3 variable equations.

Algebra ->  Coordinate Systems and Linear Equations  -> Lessons -> SOLUTION: How do I do a 3 variable equation in Linear system. Example: 3x + 3y + 6z = 27 along with two other 3 variable equations.      Log On


   



Question 636130: How do I do a 3 variable equation in Linear system. Example: 3x + 3y + 6z = 27 along with two other 3 variable equations.
Answer by ewatrrr(24785) About Me  (Show Source):
You can put this solution on YOUR website!
 
Hi,
3x+3y+6z=27
x-y+5z=-1
5x+y+z=-2
using Crame'sr rule is one way of solving
Solved by pluggable solver: Using Cramer's Rule to Solve Systems with 3 variables



system%283%2Ax%2B3%2Ay%2B6%2Az=27%2C1%2Ax%2B-1%2Ay%2B5%2Az=-1%2C5%2Ax%2B1%2Ay%2B1%2Az=-2%29



First let A=%28matrix%283%2C3%2C3%2C3%2C6%2C1%2C-1%2C5%2C5%2C1%2C1%29%29. This is the matrix formed by the coefficients of the given system of equations.


Take note that the right hand values of the system are 27, -1, and -2 and they are highlighted here:




These values are important as they will be used to replace the columns of the matrix A.




Now let's calculate the the determinant of the matrix A to get abs%28A%29=90. To save space, I'm not showing the calculations for the determinant. However, if you need help with calculating the determinant of the matrix A, check out this solver.



Notation note: abs%28A%29 denotes the determinant of the matrix A.



---------------------------------------------------------



Now replace the first column of A (that corresponds to the variable 'x') with the values that form the right hand side of the system of equations. We will denote this new matrix A%5Bx%5D (since we're replacing the 'x' column so to speak).






Now compute the determinant of A%5Bx%5D to get abs%28A%5Bx%5D%29=-207. Again, as a space saver, I didn't include the calculations of the determinant. Check out this solver to see how to find this determinant.



To find the first solution, simply divide the determinant of A%5Bx%5D by the determinant of A to get: x=%28abs%28A%5Bx%5D%29%29%2F%28abs%28A%29%29=%28-207%29%2F%2890%29=-23%2F10



So the first solution is x=-23%2F10




---------------------------------------------------------


We'll follow the same basic idea to find the other two solutions. Let's reset by letting A=%28matrix%283%2C3%2C3%2C3%2C6%2C1%2C-1%2C5%2C5%2C1%2C1%29%29 again (this is the coefficient matrix).




Now replace the second column of A (that corresponds to the variable 'y') with the values that form the right hand side of the system of equations. We will denote this new matrix A%5By%5D (since we're replacing the 'y' column in a way).






Now compute the determinant of A%5By%5D to get abs%28A%5By%5D%29=693.



To find the second solution, divide the determinant of A%5By%5D by the determinant of A to get: y=%28abs%28A%5By%5D%29%29%2F%28abs%28A%29%29=%28693%29%2F%2890%29=77%2F10



So the second solution is y=77%2F10




---------------------------------------------------------





Let's reset again by letting A=%28matrix%283%2C3%2C3%2C3%2C6%2C1%2C-1%2C5%2C5%2C1%2C1%29%29 which is the coefficient matrix.



Replace the third column of A (that corresponds to the variable 'z') with the values that form the right hand side of the system of equations. We will denote this new matrix A%5Bz%5D






Now compute the determinant of A%5Bz%5D to get abs%28A%5Bz%5D%29=162.



To find the third solution, divide the determinant of A%5Bz%5D by the determinant of A to get: z=%28abs%28A%5Bz%5D%29%29%2F%28abs%28A%29%29=%28162%29%2F%2890%29=9%2F5



So the third solution is z=9%2F5




====================================================================================

Final Answer:




So the three solutions are x=-23%2F10, y=77%2F10, and z=9%2F5 giving the ordered triple (-23/10, 77/10, 9/5)




Note: there is a lot of work that is hidden in finding the determinants. Take a look at this 3x3 Determinant Solver to see how to get each determinant.