'
write the matrix
familiar wid row operations ?
no?
\[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 1 & 1 & 1 & -1 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\]
they're easy, we will be using below row operations mostly :- 1) you can add/subtract a row from another row
idea is to get a upper triangular matrix using row operations
upper triangular matrix looks like below :- 1 x x 0 1 x 0 0 1
all elements below the diagonal will be 0
you wid me still ? :)
confused slightly on how u got the 1 x x upper triang
thats just an example of upper triangular matrix x means any number
dotn wry about that example if that confuses u
ok
\[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 1 & 1 & 1 & -1 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\]
Focus on first column. lets make it :- 1 0 0
\[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 1 & 1 & 1 & -1 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\] subtract Row 1 from Row 2 R2 - R1 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\]
check if i did the subtraction correctly
\[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 1 & 1 & 1 & -1 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\] subtract Row 1 from Row 2 R2 - R1 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\] subtract Row 1 from Row 3 R3 - R1 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 0 & 2 & -2 & 4 \\ \end{array} \right]\]
so when u substract you replace the row used first, not second?
You got it !
R2 - R1 messes wid Row 2
we're done wid first column ! look at first column, we have all 0's below the diagonal :- 1 0 0
lets do the same for second column
\[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 1 & 1 & 1 & -1 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\] subtract Row 1 from Row 2 R2 - R1 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 1 & 1 & -1 & 7 \\ \end{array} \right]\] subtract Row 1 from Row 3 R3 - R1 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 0 & 2 & -2 & 4 \\ \end{array} \right]\] subtract Row 2 from Row 3 R3 - R2 \[ \left[ \begin{array}{cccc} 1 & -1 & 1 & 3\\ 0 & 2 & 0 & -4 \\ 0 & 0 & -2 & 8 \\ \end{array} \right]\]
fine so far ?
yes
We're done !
totally confused now, after we got the 1st column to 1 0 0 then what happened?
after that we fixed the second column
ive just subtracted Row 2 from Row 3
see that, after that step, all elements below diagonal are 0
so we have an upper triangular matrix. so we stop. and do back substitute
to find teh values of x, y,z
ok holdon, at the point of the 1st column, i have 1 -1 1 3, 0 2 0 -4, - 2 -2 4 as the 3 rows, then you did r3 - r2.. so r3 would be - 0 0 2 0?
check ur subtraction again. r3-r2 wud be, 0 0 -2 8
btw, ur third is incorrect... check ur work again. compare it wid my work above
ok so after r3-r2, we do?
we're done wid elimination. we simply find the values of x, y, z now
First look at last row, wat do we have ?
i thought point was to get 0's in diagonal, no?
no need. just the 0's below the diagonal will do
look at last row, 0 0 -2 8 -2z = 8 -------------(1)
look at second row, 0 2 0 -4 2y = -4 -------------(2)
look at first row, 1 -1 1 3 x -y + z = 3 -------------(3)
from (1), u wil get value of z from (2), u wil get value of y put y, z values in (3), you will get value of z
you mean x for 1?
(1) is the first equation ive labelled above
from (1), -2z = 8 divide -2 both sides z = -4
so x-5, -4, y = -2?
y = -2 is correct
x = 5
x=5, z -4
good job !
ty
np :)
Join our real-time social learning platform and learn together with your friends!