Linear Algebra (Pt. 1): 2x2

Geometry of Linear Equation

We will be looking to solve linear algebra for n linear equations with n unknowns. There are 2 ways to express linear equations in terms of matrices, namely

  1. Row Picture

  2. Column Picture

Row Shorthand

We will take reference to the above 2x2 problem, before forward to 3x3 subsequently.

[2112][xy]=[03]\left[\begin{array}{cc} 2 & -1\\ -1 & 2 \end{array}\right] \left[\begin{array}{cc} x\\ y \end{array}\right] = \left[\begin{array}{cc} 0\\ 3 \end{array}\right]

It may also be helpful to lay out the common terminologies used in the video lecture. Dr. Strang would refer to

  • A as the coefficient matrix

  • x as the variable matrix, and

  • b as the constant matrix

As would the name imply, the row picture merely expresses each row of the linear equation into matrices. Thus, there are no explicit separation between each variables. Each line of equation still stands as it were,

  • (2x - y = 0) for the first equation

  • (-x + 2y = 3) for the second equation

Row Picture

Hence, if we were to express this in a picture form with these equations, we would merely obtain lines.

Do note an important fundamental concept of:

  • Multiple x and y values are able to satisfy each individual equation (hence we are able to draw a line)

  • But only one x and y value satisfies both equations simultaneously (the point of intersection 1, 2)

Hence, the solution to the above problem is x = 1, y = 2.

Column Shorthand

Dr. Strang loves his column picture.

In the column picture, there will no longer be an explicit "variable matrix", as each coefficient matrix are instead designed to fit for each individual variable.

In other words, the linear equations are separated out into its individual columns (variables) in the form of matrices for the column picture.

x[21]+y[12]=[03]x \left[\begin{array}{cc} 2 \\ -1 \end{array}\right] + y \left[\begin{array}{cc} -1 \\ 2 \end{array}\right] = \left[\begin{array}{cc} 0\\ 3 \end{array}\right]

As opposed to the row picture, there aren't multiple solutions of x and y to draw a line for each equation. There only exists co-ordinates for each variable, similar to vectors.

Column Picture

Hence, we can attempt to draw these 3 vectors out to observe its column picture.

The big question to this would be "How many combinations of x and y would we require to reach the point of result?"

As you would have known from the Row Picture, the solution is x = 1, y = 2. However this time, the solution is obtained through the right combination of vectors. In Mathematics, this is also termed as finding the right Linear Combination.

Side-note

Another interesting way to perform matrix multiplication was used as well in the lecture. Personally, I feel this is slightly less intuitive for me, and hence would not put this under the Matrix Multiplication" page, but I believe it is good to know as well!

More on the next page ⏭

Last updated