How do you solve #-x + y+z = -4# and #-x + 5y-19z= -28# and #6x-2y-26z = 0# using matrices?
1 Answer
Explanation:
First construct an augmented matrix with the coefficients of
Notice the first two equations have been multiplied by
We now use row operations to get the matrix in an upper triangular form.
The notation for row operation will be:
This means row 3 is row 3 plus 3 x row 1 added to it.
Notice the row of all zero entries. This is caused by the fact that two of the equations are linearly dependent. Linear dependency occurs when two or more equation are just multiples of other equations.
Example:
These are linearly dependent, since equation 2 is just equation 1 multiplied by 2. The consequence would be, when we try to solve them we will end up with only one equation.
Since we have lost an equation, we can only solve this by assigning an arbitrary value to one of the variables and finding the other variables in terms of it. This leads to an infinite number of solutions.
Using back substitution and arbitrary
So solutions are: