|
We set up two matrices: one matrix — let us call that one left—
containing the values on the left side of the "=" sign of the equations.
and one matrix — let us call that one right— holding the values to the right of the "=" sign:
Next, we create a third matrix which is the so-called inverse of the left matrix1:
Finally, to solve for x and y we multiply the inverse matrix with the right matrix2.
This gives a matrix with the solutions for x (top) and y (bottom):
Note: not all cases of two simple linear equations can be solved this way. For instance,
when the left sides of the equations are identical or when they are a multiple of each other,
the inverse matrix cannot be computed.
|
|