The question requires to use gaussian elimination to solve x,y,z:
2x-6y-z=7
x+2y+z=0
x+4y+2z=-3
The answer i got is x=-6, y=-4, z=5
But the answer from answersheet is x=3, y=1/2, z=-4
Is it possible to get a different answer using gaussian elimination? Or there is only an exact answer.
3 answers
i found my mistake and got the answer. Thanks!
Ok, I ran it through
Wolfram and also got the published answer
www.wolframalpha.com/input?i=2x-6y-z%3D7%2C+x%2B2y%2Bz%3D0%2C+x%2B4y%2B2z%3D-3
Wolfram and also got the published answer
www.wolframalpha.com/input?i=2x-6y-z%3D7%2C+x%2B2y%2Bz%3D0%2C+x%2B4y%2B2z%3D-3
There is only one solution to the system, regardless of the method used.
did you check your answer to see whether it works in the equations?
2x-6y-z=7
2(-6)-6(-4)-5 = 7 ✅
x+2y+z=0
(-6)+2(-4)+5 = -9 ❌
x+4y+2z=-3
(-6)+4(-4)+2(5) = -12 ❌
ALWAYS check your answer!
did you check your answer to see whether it works in the equations?
2x-6y-z=7
2(-6)-6(-4)-5 = 7 ✅
x+2y+z=0
(-6)+2(-4)+5 = -9 ❌
x+4y+2z=-3
(-6)+4(-4)+2(5) = -12 ❌
ALWAYS check your answer!