Solve the system of equations?

Math9999

Homework Statement


Solve the system of equations
x1-3x2-2x3=0
-x1+2x2+x3=0
2x1+4x2+6x3=0
using either Gaussian or Gauss-Jordan elimination.

Homework Equations


None.

The Attempt at a Solution


R1+R2, I got
x1-3x2-2x3=0
-x2-x3=0
2x1+4x2+6x3=0
-----------------------------------------------------------------------
-2R1+R3, I got
x1-3x2-2x3=0
-x2-x3=0
10x2+10x3=0
----------------------------------------------------------------------
10R2+R3, I got
x1-3x2-2x3=0
-x2-x3=0
--------------------------------------------------------------------
Once I did the calculation, it doesn't match the answer from the book. Because I got x2=0 and x3=0 so therefore x1=0. But the answer in the book says t*[1, 1, -1]. Can anyone tell me what's wrong and how to get the right answer?
 
Physics news on Phys.org
Does the answer in the book check with the equations? I'd start there.

All your equations are equal to zero, so there exists a solution iff the determinant of the coefficients is zero.
 
Yes, when I plug in [1, 1, -1] into the given equations, it matches. But I don't know how they got the t variable in the answer.
 
You haven't completed the row reduction. When you do you should find a free variable that you can let be anything and get the others in terms of it.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top