Ensure that the first row starts with a leftmost nonzero entry, swapping if needed
Scale (divide) the first row so that the pivit position = 1
Clear down (make all of the other rows have a 0 in the first/leftmost position using subtraction)
Move the leftmost nonzero entry to row 2, swapping if needed
Scale the second row so the pivot position = 1
Clear down again
Repeat as needed until the matrix reaches row echelon form
Clear up so that there are zeroes above the pivots as well
If the last column is a pivot column, then there are no solutions. If it isn’t, then if all columns other than the last one are pivot columns, the matrix has only one solution. If neither are true, then the matrix has infinitely many solutions.
Free Variables
Free variables are variables that do not affect the solution to an equation, as the other variables predetermine their values. The number of columns without pivots (or non-pivot columns) correspond to free variables.
(112)corresponds to x + y = 2, where y is a free variable because it is in a column without pivots.(1010000020)also corresponds to x + y = 2, but because the matrix considers more free space, y, w, and z are all free variables.
The number of free variables determines the solution set/geometry of the solution. 0 free variables means the solution is a point, 1 means the solution is a line, 2 means its a plane, 3 means its a hyperplane/volume, etc.
Vectors
Vectors are typically represented as Rn, where n represents the number of values in the vector.Rn=⎣⎡a1a2a3⋮an⎦⎤A vector in Rncan be seen as an arrow from the origin to a point.[43](0,0) represents an arrow from (0,0) to (4, 3)
Vector operations
v=⎣⎡v1⋮vn⎦⎤ and w=⎣⎡w1⋮wn⎦⎤ in RnVector addition:v+w=⎣⎡v1+w1⋮vn+wn⎦⎤Scalar multiplication:r⋅v=⎣⎡rv1⋮rvn⎦⎤Examples:Note: For vector addition, you cannot add vectors with different sizes.[53]+[−112]=[−65]⎣⎡402⎦⎤+⎣⎡342⎦⎤=⎣⎡745⎦⎤2[54]=[108]
Geometrically, vector addition can be represented as one of the vectors being drawn from the tip of the other arrow.
Scalar multiplication can be represented as a vector being scaled up/down by a given quantity.
The zero vector is used for every dimension, and is often denoted as:0=⎣⎡0⋮0⎦⎤A vector equation is another way to represent augmented matrices/systems of equations. They look like this:x1v1+...+xnvn=bFor example:x⎣⎡123⎦⎤+y⎣⎡456⎦⎤+z⎣⎡789⎦⎤=⎣⎡203040⎦⎤→⎝⎛123456789203040⎠⎞{3x+2y−z=42x−y+z=3→x[32]+y[2−1]+z[−11]=[43]Therefore, a vector equation can be represented as an augmented matrix and solved through row reduction.