SOLUTION: Solve the system of equation by matrix inversion method x +y +z = 1 x +2y + 3z = 6 x + 3y +4z = 6

Algebra ->  Matrices-and-determiminant -> SOLUTION: Solve the system of equation by matrix inversion method x +y +z = 1 x +2y + 3z = 6 x + 3y +4z = 6      Log On


   



Question 905677: Solve the system of equation by matrix inversion method
x +y +z = 1
x +2y + 3z = 6
x + 3y +4z = 6

Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
x +  y +  z = 1
x + 2y + 3z = 6
x + 3y + 4z = 6

By matrix inversion.

I will assume you already know how to find the inverse
of a matrix, and how to multiply two matrices. If you don't, 
post again asking how.

First we form three matrices, A, X, and B.

1. Matrix A is the 3x3 coefficient matrix A, which consists 
of just the three columns of x, y, and z coefficients. in 
that order, but does not contain the column of constants.

A=%28matrix%283%2C3%2C1%2C1%2C1%2C1%2C2%2C3%2C1%2C3%2C4%29%29. 

2. Matrix X is the 3x1 matrix of variables X=%28matrix%283%2C1%2Cx%2Cy%2Cz%29%29

3. Matrix B is the 3x1 matrix, whose only column is the
column of constants: %28matrix%283%2C1%2C1%2C6%2C6%29%29

Next we form the matrix equation:

       A%2AX+=+B

or



To solve the equation

       A%2AX+=+B

we left-multiply both sides by A%5E%28-1%29, the inverse of A.

 A%5E%28-1%29%2A%28A%2AX%29+=+A%5E%28-1%29%2AB

Then since the associatitive principle holds for matrix multiplication,
(even though the commutative principle DOES NOT!!!), we can move
the parentheses on the left around the first two matrix factors:

%28A%5E%28-1%29%2AA%29%2AX+=+A%5E%28-1%29%2AB

Now since %28A%5E%28-1%29%2AA%29=I, where I is the identity matrix, the
above becomes:

I%2AX+=+A%5E%28-1%29%2AB

and by the identity property:

X=A%5E%28-1%29%2AB

Performing these operations with the actual matrices we start with
the equation AX=B



Next we form the inverse of A, which is written A-1.

A%5E%28-1%29=%28matrix%283%2C3%2C1%2C1%2C-1%2C1%2C-3%2C2%2C-1%2C2%2C-1%29%29

Then we indicate the left multiplication of both sides by
A%5E%28-1%29 to get the equation A%5E%28-1%29%28A%2AX%29=A%5E%28-1%29B:



Next we use the associative principle to move the parentheses so that
they are around the first two factors to get the equation %28A%5E%28-1%29%2AA%29%2AX=A%5E%28-1%29%2AB:



Now we perform the actual multiplications and we get the equation IX=A%5E%28-1%29%2AB:



Then when we multiply the identity matrix I by the column matrix of
variables, we just get the matrix of variables, or the 
equation X=A%5E%28-1%29B

%28matrix%283%2C1%2Cx%2Cy%2Cz%29%29=%28matrix%283%2C1%2C1%2C-5%2C5%29%29

Solution: x=1, y=-5, z=5

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

Checking:

x + y + z = 1
1-5%2B5=1
1=1

That checks.

x + 2y + 3z = 6
1%2B2%28-5%29%2B3%285%29=6
1-10%2B3%285%29=6
-9%2B15=6
6=6

That checks.

x + 3y + 4z = 6
1%2B3%28-5%29%2B4%285%29=6
1-15%2B20=6
-14%2B20=6
6=6

That checks.

Edwin