Trust me breh, once you get passed the first month or so of that course and get used to matrices, you'll get through that class easy. I'm willing to bet that's your main problem right now.
Do you need help with deriving the operator matrix?
Just remember, your final goal for Gaussian Elimination is getting the matrix in row-echelon form.
That means maybe having to move around rows. Then you can start multiplying a row by a scalar, then adding that scalar multiple of a row to another row in order to make the first element of that row a zero. Rinse and repeat. When you need a leading one, do the samething except combine rows in a way to get that leading 1 instead of a zero. Sometimes you'll have to multiply by a fraction though and it can get messy.
Example:
2x+y-z=3
X-y+2=1
-4x+6y-7z=1
2x+0y+z=3
you want this 4x4 matrix in a form:
1 a b c
0 1 d e
0 0 1 f
0 0 0 0
Which is row echelon form. (a,b,c,d,e,f are just some #'s).
The matrix as it stands right now is:
2 1 -1 3
1 -1 2 1
-4 6 -7 1
2 0 1 3
So first thing is you should exchange rows 1 and 2 so you'll have a leading one in a11
After flipping the rows, you have:
1 -1 2 1
2 1 -1 3
-4 6 -7 1
2 0 1 3
Now you have to get the rest of the elements under that column to equal zero like:
1
0
0
0
You do this by:
Multiplying the first row row by -2 and adding it to row 2
Multiplying the 1st row by 4 and adding it to row 3
Multiplying the first row by -2 and adding it to row 4.
So first you changed rows 1 and 2 described by: P12
Then you did all that mutiplying and adding described by: A12(-2); A13(4); A14(-2)
This will leave you with:
1 -1 2 1
0 3 -5 1
0 2 1 5
0 2 -3 1
Now you need a leading 1 in the 2nd row to replace that 3. Which means you can multiply row 3 by -1 and add that to the 2nd row because you're trying to get row-echelon form. Then you need to have zeros under that 1 in the 2nd column, and you do that similarly to how we did that earlier. Afterward you'll find that you'll have to multiply the third row by 1/13 though to get a leading 1.
Eventually you'll have row-echelon form.
Eventually the bottom equation will all be zero and you'll be left with:
1 -1 2 1
0 1 -6 -4
0 0 1 1
0 0 0 0
So now the new system of linear equations is:
X-y+2z=1
0x+y-6z=-4
0x+0y+z=1
Which means from the 3rd row, z=1. Throw that value back into the system of linear equations to solve for x and y.
It's crazy because all we pretty much did was do the samething we've done to previous systems of linear equations in lower math classes, but using matrix notation.
Hope that helped.