2x-5y+7z=4
3x+y-12z=-8
5x+2y-4z=3
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.
.
2. Matrix X is the 3x1 matrix of variables
3. Matrix B is the 3x1 matrix, whose only column is the
column of constants:
Next we form the matrix equation:
or
To solve the equation
we left-multiply both sides by
, the inverse of
.
Then since the associative 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:
Now since
, where I is the identity matrix, the
above becomes:
and by the identity property:
Performing these operations with the actual matrices we have
the equation
Next we find the inverse of A, which is written A-1.
Then we indicate the left multiplication of both sides by
to get the equation
:
Next we use the associative principle to move the parentheses so that
they are around the first two factors to get the equation
:
to get the equation
:
When we perform the matrix multiplication we get:
The matrix on the left is the identity matrix
Then when we multiply the identity matrix
by the column matrix of
variables, we just get the matrix of variables, or the
equation
or x=1, y=1, z=1
Edwin