Professional Documents
Culture Documents
After elimination:
x+ y-z =3 Each equation
y z 2 contains one varible less
than the previous..
2z 4
x yz 3
2x y z 4
2 x 2 y z 12
1 1 1 3 ...(1) -2 -2 2 -6 …(1) -2
2 1 1 4 ...(2) 2 1 -1 4 …(2)
2 2 1 12 ...(3) 0 -1 1 -2 adding
1 1 1 3 ...(1)
1 Update row 2
0 1 1 2 ...(2)
2 2 1 12 ...(3)
1 1 1 3 ...(1)
1
0 1 1 2 ...(2)
0 0 3 6 ...(3)1
2 x y z 12
6 x 5 y 3z 6
4 x y 3z 5
2 1 1
12 ...(1)
2 2 2 2
6 5 3 6 ...(2)
4 1 3 5 ...(3) Update
row(1)
1
1 0.5 0.5 6 ...(1)
6 5 3 6 ...(2)
4 1 3 5 ...(3)
x y z RHS
1
1 0.5 0.5 6 ...(1) -6 -3 -3 -36 …(1)1 -6
6 5 3 6 ...(2) 6 5 -3 6 …(2)
4 1 3 5 ...(3) 0 2 -6 -30 adding
1
1 0.5 0.5 6 ...(1)
1
Update row 2
0 2 6 30 ...(2)
4 1 3 5 ...(3)
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Worked example 9.8: Add {-4 row (1)} to row (3)
x y z RHS
1
1 0.5 0.5 6 ...(1) -4 -2 -2 -24 …(1)1 -4
6 5 3 6 ...(2)
4 1 3 5 ...(3) 4 -1 3 5 …(3)
0 -3 1 -19 adding
1
1 0.5 0.5 6 ...(1)
0 2 6 30 ...(2)
1 Update row 3
0 3 1 19 ...(3) 1
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Worked example 9.8: Generate 0’s in column 2 beneath
a 2,2
1
1 0. 5 0.5 6 ...(1) ..to convert this element
1 to ‘1’ divide row(2)1 by 2
0 2 6 30 ...(2)
0 3
1 19 ...(3) 1
..so we need to add +3 to -3 in row (3)1 to get the required ‘0’
..This elimination will be easier if the element in position a2,2 is 1
Then add 3 row(2)1 /2 to row (3) to get the required ‘0’.
See next slide
1 0.5 0.5 6
0
2 2 6 30
2 2 2
0 3 1 19
Update row 2
1
1 0 . 5 0 .5 6 ...(1) again
2
0 1 3 15 ...(2)
0 3
1 19 ...(3) 1
x y z RHS
1
1 0.5 0.5 6 ...(1)
2
0 1 3 15 ...(2) 0 3 -9 -45 …(2)2 3
0 3 1 19 ...(3) 1 0 -3 1 -19 …(3)1
0 0 -8 -64 adding
1
1 0. 5 0.5 5 ...(1)
2
0 1 3 15 ...(2) Update row (3)1
0 0 8 64 ...(3)2
x + 0.5(9) + 0.5(8) = 6
..substitute z = 8, y = 9 into eq.(1) 1
x = -2.5
Solution: x = -2.5, y = 9, z = 8
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Note: How to use a single row operation to
generate the required 0 in column 2
1
1 0.5 0.5 6 ...(1)
1
0 2 6 30 ...(2)
0 3
1 19 ...(3) 1
We used 2 seperate row operations
First: divided row(2)1 by 2… to rearrange a2,2 = 1
Second: multiplied row(2)2 by 3…
..then added to row(3)1 to obtain the required 0 in row 3
Instead multiply row(2)1 by 3/2 and add to row(3)
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Worked example 9.8: Add {3/2 row (2)} to row (3)
x y z RHS
1
1 0 . 5 0.5 6 ...(1)
1
0 2 6 30 ...(2) 0 3 -9 -45 …(2)1 3/2
0 3 1 19 ...(3) 1 0 -3 1 -19 …(3)1
0 0 -8 -64 adding
1
1 0.5 0. 5 6 ...(1)
2
0 1 3 15 ...(2)
0 2
Update row (3)1
0 8 64 ...(3)
x y z RHS
2 1 1 12 ...(1) -6 -3 -3 -36 …(1) -6/2
6 5 3 6 ...(2) 6 5 -3 6 …(2)
4 1 3 5 ...(3) 0 2 -6 -30 adding
2 1 1 12 ...(1)
1 Update row (2)
0 2 6 30 ...(2)
4 1 3 5 ...(3)
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Worked example 9.8: Add {-4/2 row (1)} to row (3)
x y z RHS
2 1 1 12 ...(1) -4 -2 -2 -24…(1) -4/2
6 5 3 6 ...(2)
4 1 3 5 ...(3) 4 -1 3 5 …(3)
0 -3 1 -19 adding
2 1 1 12 ...(1)
1
0 2 6 30 ...(2) Update row 3
0 3 1 19 ...(3) 1
www.wiley.com/college/Bradley © John Wiley and Sons 2013
Worked example 9.8: Add {3/2 row (2)} to row (3)
x y z RHS
2 1 1 12 ...(1)
1
0 2 6 30 ...(2) 0 3 -9 -45 …(2)1 3/2
0 3 1 19 ...(3) 1 0 -3 1 -19 …(3)1
0 0 -8 -64 adding
1
2 1 1 12 ...(1)
2
0 1 3 15 ...(2) Update row (3)1
0 0 8 64 ...(3) 2