Q. 166

Question

To solve the system of linear equations by elimination method:

5x+2y+z=5-3x-y+2z=62x+3y-3z=5

Step-by-Step Solution

Verified
Answer

The solution is (-2,6,3)(-2,6)

1Step 1. Given information

We have been given equation

5x+2y+z=5..(1)-3x-y+2z=6..(2)2x+3y-3z=5(3)

2Step 2. Solving equation

Multiply equation 2 with 2

2(-3x-y+2z)=2(6)-6x-2y+4z=12(4)

Lets consider equations 1and 4

Add both the equation:

We get:

-x+5z=17...(5)

Multiply equation 2 with 3

3(-3x-y+2z)=3(6)-9x-3y+6z=18..................(6)

From equations 3  and 6

2x+3y-3z=5-9x-3y+6z=18-7x+3z=23-7x+3z=23(7)

Multiply equation 5 with -7.

-7(-x+5z)=-7(17)7x-35z=-119.................(8)

In order to get opposite coefficients ofx multiply equation 2 with -7

Consider equations 7and  8

and solve for z

-7x+3z=237x-35z=-119-32z=-9632z=96z=9632=3

Substitute  z=3in the equation

-x+5 z=17 and solve for x

-x+5 z =17 -x+5(3) =17-x+15 =17-x =17-15-x =2 x =-2   

Now we will substitute x=-2, z=3 in the equation 5 x+2 y+z=5 and solve for y

 5 x+2 y+z =5  5(-2)+2 y+3 =5  -10+2 y+3 =5   2 y-7 =5   2 y =5+7   2 y =12 y=6 

The solution is (-2,6,3)