Starting Point of Linear Algebra¶
Geometries of Equations¶
Essentially, Linear Algebra starts with solving n equations with m variables. To make things easy, we make n equal to m. For example:
In the language of Linear Algebra would be:
Where each of the numbers in the matrix represent a coefficient on the left hand side, and \(x\) & \(y\) represent the variables.
Row Picture and Column Picture¶
If you carefully think about it, there are two ways you can represent the equation with a picture: First, you can think about it as two lines intersecting each other, with \(2x - y = 0\) being the first one, and \(-x + 2y = 3\) being the second one:
Or you can think about it as a Vector Addition problem:
Which means that it would become a Linear Combination of the two columns of the coefficient matrix.
Matrix Multiplication¶
We can think about vectors as matrices with one of the dimensions being 1.
The following way would be an easy introduction to Matrix Multiplication:
where the vector \(\begin{bmatrix}a_1\\a_2\end{bmatrix}\) is the product, and \(a_1\) and \(a_2\) would be the "inner product" of the row on their left and the column on their top. Therefore:
But in fact, there is another more essential way to think about matrix multiplications.
can be interpreted as a Linear Combination of the Columns of the matrix:
If you think about this further, you will find that if we multiply a row vector by the matrix, we would essentially get a linear combination of the Rows of the matrix:
One observation is that if we multiply the matrix by something we can manipulate the columns of the matrix, and if we multiply something by the matrix we can manipulate the rows of the matrix. Such interpretations may seem trivial and cumbersome for now, but in the next chapter we shall see they come into use.