Вы находитесь на странице: 1из 2

Pay Thanks to Allah, not to me

Waqar Aamir Katiar


Contact No. 031-22-22-99-69 and 0300-2831681
Gaussian Elimination Method

In this method we transform value into 1 0 form.


0 1

For example we have 2x + 3y = 13


4x – 2y = 2

Rewrite it without variables


2 3 13 Row1
4 -2 2 Row2

We have to transform it this system into 1 0 form.


0 1

First we have to transform 2 of row 1 into 1. To transform it into 1 we multiply


it with ½

2(1/2) 3(1/2) 13(1/2)

We get a new row 1 3/2 13/2 this is Row 1a

Now we have the system like that


1 3/2 13/2 Row 1a
4 -2 2 Row 2

Now we have to transform 4 of Row 2 into 0. We solve it by multiplying


Row 1a by -4 then we add it with Row2

1(-4) 3/2(-4) 13/2(-4)

-4 -6 -26 add it with Row 2


4 -2 2

0 -8 -24 we get a new Row 2a

Now we have
1 3/2 13/2 Row 1a
0 -8 -24 Row 2a

Now we have to transform -8 of Row 2a into 1. By multiplying Row 2a with -


1/8 we transform it into 1

0 (-1/8) -8(-1/8) -24(-1/8)

0 1 3 we get a new Row 2b

Now we have
1 3/2 13/2 Row 1a
0 1 3 Row 2b
Pay Thanks to Allah, not to me
Waqar Aamir Katiar
Contact No. 031-22-22-99-69 and 0300-2831681
Finally we have to transform 3/2 of Row 1a into 0. For it we multiply Row 2b
by 3/2 then we subtract Row 1a from it

0(3/2) 1(3/2) 3(3/2)

0 3/2 9/2 subtract Row 1a from it


1 3/2 13/2
1 0 2 we get a new row R1b

Finally we have 2 Rows


1 0 2 Row 1b
0 1 3 Row 2b

1 of Row 1b is X which is = 2
1 of Row 2b is Y which is = 3. This is answer

Do you think that this answer is right? Verify it. Put values of X and Y in both
equations, if both sides of equations are equal then your answer is right.

2x + 3y = 13 we put X = 2 and Y = 3 in both equations


4x – 2y = 2

2(2) + 3(3) = 13 4(2) – 2(3) = 2


4 + 9 = 13 8–6=2
13=13 2=2

Our answer is right because both sides of equations are equal after putting
values of variables.

Exercise for Practice


2x - 5y = 7
3x + 4y = 22

4x +3y = 25
x +2y = 10

½ x + 2y = 17
3 x – 4y = 6

4 x + 4y = 6
2x - 3y = -2

6 x + 4y = 18
4x – 12y = 12

Вам также может понравиться