9 minutes read

What relationship could exist between the systems of linear equations with unique solutions, the linear independence between vectors, and the area of a parallelogram? In this topic, you will have a first approach with one of the most well-known and useful concepts of linear algebra: the determinant

The 2x2 system of equations with a unique solution

Let's analyze the 2×22 \times 2 system of linear equations:

ax+by=ecx+dy=f\begin{align*} ax + by &= e \\ cx + dy &= f \end{align*}You can easily eliminate the yy variable simply by multiplying the first equation by dd and the second by b-b:adx+bdy=debcxbdy=bf\begin{align*} adx + bdy &= de \\ -bcx - bdy &= -bf \end{align*}Now, add both equations:(adbc)x=debf(ad-bc)x= de -bfBut don't rush! Here comes the tricky point. Just in case, that adbc0ad-bc \neq 0, you get that x=debfadbcx= \frac{de -bf}{ad-bc}. And from the first equation, you can determine that y=afecadbcy= \frac{af -ec}{ad-bc}. Thus, only if adbc0ad-bc \neq 0 the system has a unique solution, and you can calculate it explicitly!

Let's introduce some notation. Remember that the system can be written in matrix form:

(abcd)(xy)=(ef)\begin{pmatrix}a&b\\c&d \end{pmatrix} \begin{pmatrix} x \\y \end{pmatrix} = \begin{pmatrix} e \\f \end{pmatrix} The special number adbcad-bc determines if the system has a unique solution. It's so important it deserves a suggestive name. Let's introduce some notation. If you denote the matrix of the system by A=(abcd)A=\begin{pmatrix}a&b\\c&d \end{pmatrix}, then the determinant of AA is adbcad-bc. It's usually denoted as A|A| or detA\det A or even just abcd\begin{vmatrix}a&b\\c&d \end{vmatrix}.

If A0∣A∣ \neq 0, then the system of equations has a unique solution given by

x=debfAy=afceAx= \frac{de -bf}{|A|} \qquad y= \frac{af -ce}{|A|}

Linear independence between two vectors

Let's take two vectors in the plane v=(ac)v=\begin{pmatrix}a \\ c \end{pmatrix} and w=(bd)w=\begin{pmatrix}b \\ d \end{pmatrix}.

You already know that they're linearly independent when x v+y w=0x\ v + y\ w=0 implies x=y=0x=y=0. Let's take a closer look at the first equation. It can be written more explicitly as x(ac)+y(bd)=0x \begin{pmatrix}a \\ c \end{pmatrix} + y \begin{pmatrix} b \\ d \end{pmatrix}=0. But wait a minute, this is a system of equations:

ax+by=0cx+dy=0\begin{align*} ax + by &= 0 \\ cx + dy &= 0 \end{align*}You can use two vectors to build a matrix AA. For this, you simply put the vectors as the column of the matrix:

A=[vw]=(abcd)A=[v \, | \, w]= \begin{pmatrix}a&b\\c&d \end{pmatrix}

Recognizing what you discovered in the previous section, if the determinant of AA is different than 00, then the values of xx and yy are uniquely determined as:x=0d0bA=0y=0a0cA=0x= \frac{0d - 0b}{|A|} = 0 \qquad y= \frac{0a - 0c}{|A|}=0

Let's summarize what you just discovered!

If the determinant of A=[vw]A=[v \, | \, w] is different than 00, then vv and ww linearly independent.

The area between vectors

Again consider two vectors in the plane v=(ac)v=\begin{pmatrix}a \\ c \end{pmatrix} and w=(bd)w=\begin{pmatrix}b \\ d \end{pmatrix}. Let's denote the origin by OO.

Two vectors in the plane

As you know, the sum of two vectors is the parallelogram formed by both, so let's start by drawing it. Let's denote by LL the line connecting vv with v+wv+w:

The parallelogram of the vectors v and w

The strategy will be to convert the parallelogram into a rectangle. For this, you will cut two triangles from the parallelogram and place them appropriately. First, imagine a horizontal line of height dd. Let us denote by PP the point where it intersects LL. Also, the point where LL intersects the horizontal axis will be important, let's write it as Q=(x,0)Q=(x,0):

Moving a part of the parallelogram

Now, If you look closely, the triangle formed by ww, PP and v+wv +w is congruent to the triangle formed by OO, QQ and vv. That is, they're the same triangle but in different positions. This means that the area of the original parallelogram is the same as the area of the parallelogram formed by OO, QQ, PP and ww:

The area of the original parallelogram is the same as the simpler one

Similarly, consider the vertical line through QQ. This line and the vertical axis are crossed by the line connecting ww to PP at points (x,d)(x, d) and (0,d)(0, d), respectively:

Two new congruent triangles

Well, the triangle formed by PP, QQ and (x,d)(x, d) is congruent to the triangle formed by OO, ww and (0,d)(0, d). Thus, the area of the original parallelogram is just the same as the area of the rectangle formed by OO, QQ, (x,d)(x, d) and (0,d)(0, d)!

A simple rectangle with the same area than the original parallelogram

Therefore, the area you're looking for is simply xdx \, d. All that is needed is to calculate the value of xx!

For this, it'll be convenient for you to remember the formula for the slope of a line. If the points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) lie on the same line, then the slope of the line is y2y1x2x1\frac{y_2-y_1}{x_2 - x_1}. Then, the slope mm of LL, which contains v+wv +w and vv, is:

m=(c+d)c(a+b)a=dbm = \frac{(c + d) - c}{(a+b) - a} = \frac{d}{b}But LL contains the points QQ and vv, so you can also calculate m=c0ax=caxm = \frac{c-0}{a-x} = \frac{c}{a-x}. Equating the two values of mm, it is immediate that db=cax\frac{d}{b} = \frac{c}{a-x}, thus:x=adbcdx=\frac{ad-bc}{d}

Finally, the area is xd=adbcdd=adbcx \, d = \frac{ad-bc}{d} \, d = ad-bc. This is the determinant of the matrix of vv and ww!

The area between vv and ww is the determinant of the matrix A=[vw]A=[v \, | \, w].

What if the two vectors are linearly dependent? Geometrically it means that they are on the same line, so the parallelogram formed by both is degenerate. Connecting with the result of the previous section, when the vectors are linearly dependent, their determinant is 0, so the area of their parallelogram is 0.

The importance of the determinant

Up to this point, you have only dealt with 2×22 \times 2 matrices, but the determinant can be generalized. Actually, it can be defined for any square matrix regardless of its size. In the following topic, you'll delve into its definition and the techniques to calculate it. In particular, 1×11 \times 1 matrices can be thought of as simple numbers, so define their determinant to be that number. So, if A=(a)A =(a) is a 1×11 \times 1 matrix, then det(A)=a\det(A) = a.

Virtually all of the results you constructed in this topic are true for larger dimensions: square systems of any size nn, the linear independence of nn vectors in Rn\mathbb{R}^n, and the "hypervolume" formed by nn vectors in Rn\mathbb{R}^n.

But the determinant is not limited to just that. From a theoretical point of view, it is a very special function called multilinear, and it has unique properties that you'll learn about in future topics. In addition, its applications are very diverse, help to simplify, and have geometric interpretations. Some of the best-known are:

  • Invertibility: The determinant can quickly tell you if a matrix is invertible or not. This is a crucial property when solving systems of linear equations.

  • Eigenvalues and Eigenvectors: Determinants play a vital role in finding the eigenvalues of a matrix. You will learn about them in the future. They're the solutions of an equation that is derived from the determinant.

  • Change of Basis: Determinants are used in the change of basis in linear algebra. When changing the basis of a vector space, the determinant of the change of the basis matrix can provide information about the "volume" change between the old basis and the new one.

  • Matrix Diagonalization: This process consists of expressing a complicated matrix as the product of simpler ones with a simple geometric interpretation.

  • Linear transformations. They are functions that get along well with the structure of the vector space. The determinant gives you a measure of how much they distort space.

  • Calculation of areas of arbitrary regions. The integral is a widely used tool to calculate areas of sets that are much more general than simple rectangles. What is remarkable here is the calculation of certain integrals radically involves the determinant.

Conclusion

Let's consider the following system of linear equations:

ax+by=ecx+dy=f\begin{align*} ax + by &= e \\ cx + dy &= f \end{align*}Its matrix is A=(abcd)A=\begin{pmatrix}a&b\\c&d \end{pmatrix}. Let also v=(ac)v=\begin{pmatrix}a \\ c \end{pmatrix} and w=(bd)w=\begin{pmatrix}b \\ d \end{pmatrix} two vectors in the plane. Notice that A=[vw]A=[v \, | \, w]

  • If A0∣A∣ \neq 0, then the system of equations has a unique solution given by

x=debfAy=afceAx= \frac{de -bf}{|A|} \qquad y= \frac{af -ce}{|A|}

  • If A0∣A∣ \neq 0, then vv and ww are linearly independent.
  • The area of the parallelogram formed by vv and ww is A∣A∣.
10 learners liked this piece of theory. 1 didn't like it. What about you?
Report a typo