Solve in c applying the Gauss method, the system of equations: -x+4y-7z=5 x-y-2z=-2 2y-6z=2



Asked on

2 Answers | Add Yours

oldnick's profile pic

Posted on (Answer #2)

System hasn't solutions for:

`det [[-1,4,-7],[1,-1,-2],[0,2,-6]]=0`


Columns are dipendent, indeed, if set a system for the first two columns:



That has solution:    `lambda_1=-5`  `lambda_2=-3`

If we  apply that ones at the third row:

`0 xx lambda_1 + 2 lambda_2=0xx (-5)+2 xx (-3)=-6`

That shows third line is in line of dipendence of columns and determinant is 0 

embizze's profile pic

Posted on (Answer #1)

First we create the augmented matrix with the coefficients:

`[(-1,4,-7,|,5),(1,-1,-2,|,2),(0,2,-6,|,2)]` Now we row reduce:

`=>[(1,-4,7,|,-5),(0,3,-9,|,7),(0,2,-6,|,2)]` R1*(-1);R1+R2;R3

`=>[(1,-4,7,|,-5),(0,1,-3,|,7/3),(0,0,0,|,4)]` R1;1/3R2;-3/2R3+R2

Since the bottom row has all zeros in the coefficient slots there are no solutions. (The bottom constraints are parallel planes)



We’ve answered 287,618 questions. We can answer yours, too.

Ask a question