logo

Simultaneous Linear Equations 📂Matrix Algebra

Simultaneous Linear Equations

Definition1

For constants a1a_{1}, a2a_{2}, \dots, ana_{n}, bb, we define a linear equation for variables x1x_{1}, x2x_{2}, \dots, xnx_{n} as follows.

a1x1+a2x2++anxn=b \begin{equation} a_{1}x_{1} + a_{2}x_{2} + \cdots + a_{n}x_{n} = b \label{lineq} \end{equation}

At least one of aa is not 00. In other words, not “all aa are 00”. A finite set of linear equations is called a system of linear equations or simply a linear system, and the variables are called unknowns. In Korean, linear and first-order mean the same thing. A linear system consisting of mm linear equations for nn variables x1x_{1}, x2x_{2}, \dots, xnx_{n} is represented as follows.

a11x1+a12x2++a1nxn=b1a21x1+a22x2++a2nxn=b2am1x1+am2x2++amnxn=bm \begin{equation} \begin{aligned} a_{11}x_{1} + a_{12}x_{2} + \cdots + a_{1n}x_{n} &= b_{1} \\ a_{21}x_{1} + a_{22}x_{2} + \cdots + a_{2n}x_{n} &= b_{2} \\ &\vdots \\ a_{m1}x_{1} + a_{m2}x_{2} + \cdots + a_{mn}x_{n} &= b_{m} \end{aligned} \label{linsys} \end{equation}

When represented as a matrix, it is as follows.

[a11a12a1na21a22a2nam1am2amn][x1x2xn]=[b1b2bm]Ax=b \begin{align*} \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{bmatrix} \begin{bmatrix} x_{1} \\ x_{2} \\ \vdots \\ x_{n} \end{bmatrix} &= \begin{bmatrix} b_{1} \\ b_{2} \\ \vdots \\ b_{m} \end{bmatrix} \\ A\mathbf{x} &= \mathbf{b} \end{align*}

Explanation

The values of x1x_{1}, x2x_{2}, \dots, xnx_{n} that make the linear system true are called solutions. When a linear system is given, it must satisfy one of the following three cases. There are no other cases. The proof is introduced at the bottom of this article.

  • There is exactly one solution.
  • There are infinitely many solutions.
  • There is no solution.

If there is at least one solution, the linear system is said to be consistent. If there is no solution, the linear system is said to be inconsistent.

Specifically, in the case of two variables, a linear equation means an equation of a line. If there is exactly one solution in a linear system with two variables, it means the case where the lines meet at one point. If there are infinitely many solutions, it means the case where the lines meet at infinitely many points, i.e., they overlap. If there is no solution, it means the case where there is no point where the lines meet.

A linear equation with three variables means an equation of a plane, so depending on the solution of the linear system, it signifies how the planes overlap.

Example

Let’s solve the following linear system.

4x2y=116x8y=4 \begin{align*} 4x -2y &= 1 \\ 16x -8y &= 4 \end{align*}

Multiplying the above equation by 4-4 and adding it to the below equation results in the following.

4x2y=10=0 \begin{align*} 4x -2y &= 1 \\ 0 &= 0 \end{align*}

Then, since the lower equation does not display any information, let’s only represent it with the upper equation.

4x2y=1 4x -2y = 1

In this case, it geometrically means that the two lines coincide. In such a case, after arranging xx for yy, it is denoted as x=12y+14x = \dfrac{1}{2}y + \dfrac{1}{4}, and then some arbitrary number tt is substituted into yy to represent the solution.

x=14+12t,y=t x = \dfrac{1}{4} + \dfrac{1}{2}t, \quad y = t

Such tt is called a parameter, and the above equation is called parametric equations.

Proof2

A system of linear equations has no solution, one solution, or infinitely many solutions. There are no other cases.

When there are two different solutions, the proof is completed by showing that there are infinitely many solutions. Let x1\mathbf{x}_{1}, x2\mathbf{x}_{2} be two different solutions of the linear system Ax=bA\mathbf{x} =\mathbf{b}. And let’s designate x0=x1x2\mathbf{x}_{0} = \mathbf{x}_{1} - \mathbf{x}_{2}. Since x1\mathbf{x}_{1} and x2\mathbf{x}_{2} are two different solutions, x00\mathbf{x}_{0} \ne \mathbf{0}. Moreover, the following equation holds:

Ax0=A(x1x2)=bb=0 A \mathbf{x}_{0} = A (\mathbf{x}_{1} - \mathbf{x}_{2}) = \mathbf{b} - \mathbf{b} = \mathbf{0}

Let’s designate kk as an arbitrary constant. Then, by the above result, the following equation also holds:

A(x1+kx0)=Ax1+A(kx0)=Ax1+kAx0=b+0=b \begin{align*} A (\mathbf{x}_{1} + k\mathbf{x}_{0}) &= A\mathbf{x}_{1} + A(k\mathbf{x}_{0}) \\ &= A\mathbf{x}_{1} + kA\mathbf{x}_{0} \\ &= \mathbf{b} + \mathbf{0} \\ &= \mathbf{b} \end{align*}

Therefore, x1+kx0\mathbf{x}_{1} + k\mathbf{x}_{0} is also a solution of the linear system Ax=bA\mathbf{x} = \mathbf{b}. Since this holds for any arbitrary constant kk, there are infinitely many solutions.


  1. Howard Anton, Elementary Linear Algebra: Aplications Version (12th Edition, 2019), p2-6 ↩︎

  2. Howard Anton, Elementary Linear Algebra: Aplications Version (12th Edition, 2019), p62 ↩︎