How do you solve #x + y = 1# and #2x + 5y = 4# using matrices?
3 Answers
Explanation:
We want to reduce the coefficient matrix to echelon form. We use elementary row operations to achieve this, particularly the one that allows us to add a scalar multiple of one row to another.
We're going to add "
Multiplying out gives:
It is worth the time learning this method.
Explanation:
There is some beautiful maths involved in solving simultaneous equations using matrices.
It involves the concept that a 2x2 matrix multiplied by its inverse gives the unit or identity matrix which is
In the same way that
any 2x2 matrix multiplied by the unit matrix stays the same.
So if we can find the inverse of the matrix which represents the coefficients in the equations we are solving, we can multiply that inverse matrix on both sides of the equation which will give the following:
This will lead to
Which gives
Once we calculate the product on the right side,this gives the solution for x and y directly.
Let's find the inverse matrix
of
of
Multiply on both sides of the equation:
Now multiplying as usual with matrices, leads to
So,
Despite the fact that this looks horrible, with a bit of perseverance and practice, it can be done quite easily. I have had students for whom this was their method of choice in solving simultaneous equations.
It is worth the time learning this method.