How would I go abouts solving a 3x4 matrix system?
\[\left[\begin{matrix}5 & 3 & -9 & 2 \\ -4 & -4 & -8 & 5 \\ 21 & 11 & -53 & 15\end{matrix}\right]\]
Specifically one such as above, except with a line down the middle before the last column?
\[\left[\begin{matrix}5 & 3 & -9 &|& 2 \\ -4 & -4 & -8 &|& 5 \\ 21 & 11 & -53 &|& 15\end{matrix}\right]\] like this ?
Yes, how did you manage to do that on here by the way?
you may right click and see latex commands : |dw:1440239723612:dw|
Oh, okay then.
btw, we call it a 3x3 system the size of matrix \(A\) is \(3\times 3\) in the system of equations : \[Ax=b\]
you're just attaching that "b" also as the last column to get that 3x4 matrix that 3x4 matrix with "b" attached is called "augmented matrix"
familiar with elimination/row opearations ?
Familiar but not well enough to solve the problem at hand unfortunately.
first see that the solutions are not affected by row operations because you're just adding/subtracting a multiple of one row from the other... this doesn't change the solutions
if you have x + y = 2 x+2y = 3 then, adding one equation to other won't change the solutions because you're adding the same thing to both sides of a particular equation
first convince yourself that below two systems will have same solutions : system1 ``` x + y = 2 x+2y = 3 ``` system2 ``` x + y = 2 2x+3y = 5 ```
Okay..
your goal in elimination is to get a triangular matrix
So, not 4x + 6y = 10?
that is a valid row operation too, you're allowed to multiply entire row by a constant
|dw:1440240774738:dw|
you want to change the starting matrix to above form
start by working the element at 2,1 \[\left[\begin{matrix}5 & 3 & -9 &|& 2 \\ -4 & -4 & -8 &|& 5 \\ 21 & 11 & -53 &|& 15\end{matrix}\right]\] adding 4/5 times first row to second row does the job, right ?
Yes, at least I think so anyway
do it
So now the second and third row match?
no, what do you get after doing that first step
\[\left[\begin{matrix}5 & 3 & -9 & | 2 \\ 21 & 11 & -53 & |15 \\ 21 & 11 & -53 & |15\end{matrix}\right]\]
how ?
5 times the 1st row added into the 2nd row?
yeah you could do that!
Was I not supposed to do that?
that is not a standard method, but what you did is a better one..
so lets keep going
for second step, maybe subtract second row from third row
\[\left[\begin{matrix}5 & 3 & -9 & | 2 \\ 21 & 11 & -53 & |15 \\ 21 & 11 & -53 & |15\end{matrix}\right]\] R3-R2 gives : \[\left[\begin{matrix}5 & 3 & -9 & | 2 \\ 21 & 11 & -53 & |15 \\ 0& 0& 0& |0\end{matrix}\right]\]
Okay then, what's the next step?
next look at the element at 2,1 position you want to make it 0 so that you get a triangular matrix
So 21 needs to be 0?
yes how to do that using row operations ?
Multiply the 2nd row by 5 and then add 21x1st row to the second row?
Multiply the 2nd row by 5 and then "subtract" 21x1st row to the second row?
you mean that right ?
Yes, sorry I was thinking in terms of -21
that works perfectly! do it
\[\left[\begin{matrix}5 & 3 & -9 & |2 \\ 0 & -8 & -76 & |33 \\ 0 & 0 & 0 & |0\end{matrix}\right]\]
Looks good! so above reduced system is equivalent to : ``` 5x + 3y - 9z = 2 - 8y - 76z = 33 ```
let \(z=0\) and find a particular solution
x-y=7?
how ? plugin \(z=0\) in the bottom equation first
Oh, I just plugged 0 in for z for both equations, my bad.
the advantage of triangular matrix is just that solving is trivial from bottom
So y = -33/8 for the bottom solution?
yes, find x also
plugin z=0, y=-33/8 in first equation
x = 23/8
right, so our particular solution is (23/8, -33/8, 0)
save that, we need to find nullspace
for nullspace, you want to solve : ``` 5x + 3y - 9z = 0 - 8y - 76z = 0 ```
plugin \(z=1\) and solve y, x values
x = 15/2 & y = -19/2?
Yes, so the nullspace is `t(15/2, -19/2, 1)`
the complete solution is given by `particular` + `nullspace`
So the one with z being 0 + what we just got?
Complete solution : ``` (23/8, -33/8, 0) + t(15/2, -19/2, 1) ```
Oh I see, that makes sense!
Join our real-time social learning platform and learn together with your friends!