well, my friend has said, if cant be done any other way. And i would LOVE to prove him wrong. And who knows, maybe if by finding another way will solve something else.
It can be done by matrices, let me go dig up my algebra notebook because I seem to have forgotten how..
Ah nevermind I remembered:
Code:
So x+y=3 and 2x+y=5. Matrix is
[1 1 3]
[2 1 5] now mR1(-2)+R2 (multiply row 1 by -2 {the inverse of 2} and add the results to row 2) You end up with:
[1 1 3]
[0 -1 -1] now mR2(1) + R1, you get:
[1 0 2]
[0 -1 -1] now mR2(-1) to get:
[1 0 2]
[0 1 1]
Row 1: x=2
Row 2: y=1
Done.
This is just one of the matrix methods I learned. A couple are easier, one is a bitch load harder. Also, you can do this on your calculator in 3 seconds.
That doesn't have a damn thing to do with matricies.
You simply organized the numbers into columns and rows, and did the exact same thing I did before, which was add or subtract the equations.
Well to be fair I didn't read what you did
And it is a matrix because it's in standard matrix gaussian form (or whatever the fuck it's called). There are other methods that involve adding and subtracting matrices also that work, but they're more annoying to do.