Skip to content or footer

Course

Why does row rank equal column rank?

2From linear systems of equations to matrices

Suppose we have a linear system of equations:

a11x1++a1nxn=y1a21x2++a2nxn=y2am1x1++amnxn=ym.\displaystyle \def\arraystretch{1.25} \begin{aligned} a_{11} x_1 + \dots + a_{1n} x_n &= y_1\\ a_{21} x_2 + \dots + a_{2n} x_n &= y_2\\ &\vdots\\ a_{m1}x_1 + \dots + a_{mn} x_n &= y_m. \end{aligned}

It consists of mm equations in the variables  x1,,xnx_1, \dots, x_n. The aija_{ij} are coefficients in R\R.

For which values y1,,ymRy_1, \dots, y_m \in \R do these equations have a solution (x1,,xn)(x_1, \dots, x_n)? This question certainly depends on the number of equations and their relationship to each other.

Example: The system

x1+x2=y12x1+2x2=y2\displaystyle \def\arraystretch{1.25} \begin{aligned} x_1 + x_2 &= y_1\\ 2x_1 + 2x_2 &= y_2 \end{aligned}

does not always have a solution. For instance, it has no solution for y1=0y_1 = 0 and y2=1y_2 = 1, since the second equation is two times the first equation. More generally the same reasoning gives that there does not exist a solution whenever 2y1y22y_1\neq y_2. On the other hand it has a solution for y1=1y_1 = 1 and y2=2y_2=2 or more generally for 2y1=y22y_1=y_2, for example x1=y1x_1 = y_1 and x2=0x_2=0.

Writing a linear system of equations the way we wrote it above carries a lot of redundancy. For example the variables x1,,xnx_1, \dots, x_n appear in every row. To ease notation, we can use the matrix vector multiplication: We assemble the coefficients aija_{ij} into an (m×n)(m\times n)-matrix and write the xix_i’s and yjy_j’s as vectors.

(a11a1na21a2nam1amn)(x1xn)=(y1y2ym)\displaystyle \begin{pmatrix} a_{11} & \cdots & a_{1n}\\ a_{21} & \cdots & a_{2n}\\ \vdots && \vdots\\ a_{m1} & \cdots & a_{mn} \end{pmatrix} \begin{pmatrix} x_1 \\ \vdots \\ x_n \end{pmatrix} = \begin{pmatrix} y_1 \\ y_2 \\ \vdots \\ y_m \end{pmatrix}

By definition of matrix vector multiplication, we have yi=ai1x1+ainxny_i = a_{i1}x_1 + \dots a_{in}x_n for each i{1,,m}i \in \{1, \dots, m\}.

Our example turns into the following matrix vector multiplication

(1122)(x1x2)=(y1y2).\displaystyle \begin{pmatrix} 1 & 1\\ 2 & 2 \end{pmatrix} \begin{pmatrix} x_1\\ x_2 \end{pmatrix} = \begin{pmatrix} y_1 \\ y_2 \end{pmatrix}.

This content is licensed under
CC BY-SA 4.0Info