Computer Oriented Numerical Methods (BCA) 3rd Sem Previous Year Solved Question Paper 2022

Practice Mode:
7.

Solve the following system of linear simultaneous equations by Gauss-Jordan method :

2x + y + 6z = 9
8x + 3y + 2z = 13
x + 5y + z = 7

Explanation

To solve the system of linear simultaneous equations using the Gauss-Jordan method, we'll first represent the equations in an augmented matrix form and then perform row operations to transform it into reduced row-echelon form. Here are the steps:

The original system of equations:

  1. 2x+y+6z=9

  2. 8x+3y+2z=13

  3. x+5y+z=7

Now, let's represent these equations in an augmented matrix [A|B]:

[2169832131517]⎣⎡281135621∣∣∣9137⎦⎤

Step 1: Perform row operations to create zeros below the first element in the first column (i.e., make the first column entries below A[1,1] equal to zero):

  1. Divide Row 1 by 2 to make the leading coefficient 1:

[10.534.5832131517]⎣⎡1810.535321∣∣∣4.5137⎦⎤

  1. Subtract Row 1 from Row 2 and Row 3 to create zeros below A[1,1]:

[10.534.501223104.522.5]⎣⎡1000.514.53222∣∣∣4.5312.5⎦⎤

Step 2: Perform row operations to create a 1 in the second row and second column (i.e., make A[2,2] equal to 1):

  1. Multiply Row 2 by -1 to make A[2,2] equal to 1:

[10.534.501223104.522.5]⎣⎡1000.514.53222∣∣∣4.5312.5⎦⎤

  1. Subtract 4.5 times Row 2 from Row 3 to create a zero below A[2,2]:

[10.534.501223100101140.5]⎣⎡1000.510322101∣∣∣4.531140.5⎦⎤

Step 3: Perform row operations to create zeros above and below A[3,3] (i.e., make A[3,3] equal to 1):

  1. Multiply Row 3 by -1/101 to make A[3,3] equal to 1:

[10.534.50122310011.39]⎣⎡1000.5103221∣∣∣4.5311.39⎦⎤

  1. Subtract 3 times Row 3 from Row 1 and 22 times Row 3 from Row 2 to create zeros above and below A[3,3]:

[10.500.7801029.220011.39]⎣⎡1000.510001∣∣∣0.7829.221.39⎦⎤

Step 4: Perform row operations to create zeros above and below A[1,2]:

  1. Subtract 0.5 times Row 2 from Row 1 to create a zero above A[1,2]:

[1000.7801029.220011.39]⎣⎡100010001∣∣∣0.7829.221.39⎦⎤

Step 5: Perform row operations to create zeros above and below A[2,1]:

  1. Subtract 0.5 times Row 1 from Row 2 to create a zero above A[2,1]:

[1000.7801029.220011.39]⎣⎡100010001∣∣∣0.7829.221.39⎦⎤

Now, the augmented matrix is in the reduced row-echelon form. We can read the solutions directly:

From the last row, we have =1.39z=1.39.

From the second row, we have =29.22y=29.22.

From the first row, we have =0.78x=0.78.

So, the solution to the system of equations is =0.78x=0.78, =29.22y=29.22, and =1.39z=1.39.