A system of linear equations consists of multiple linear equations involving the same set of variables. In general, a system with m equations and n variables can be represented as:
This is called a rectangular system if the number of equations (m) is not equal to the number of variables (n). However, we are particularly interested in square systems, where the number of equations equals the number of variables (m=n).
In a square system, the equations can be represented as:
where x, y, and z are the variables we aim to solve for, and the constants ai, bi, ci, and di are known values.
Solving a system of linear equations in three variables can be done using methods such as substitution, elimination, or matrix methods (like Cramer's Rule or Gaussian elimination (that we already discussed in the beginning)), which provide systematic approaches to find the values of x, y, and z that satisfy all three equations simultaneously.'
A consistent system of linear equations is a system that has at least one solution. This means that there exists at least one set of values for the unknowns that satisfies all the equations simultaneously. Consistent systems can be further classified into:
Uniquely consistent: A system that has exactly one solution.
Infinitely consistent: A system that has infinitely many solutions.
For example:
x+y=22x+2y=4
This system is consistent with infinitely many solutions because the second equation is a multiple of the first, meaning the two equations represent the same line.
An inconsistent system of linear equations is a system that has no solution. In such a system, there are no values for the unknowns that can simultaneously satisfy all the equations. This typically occurs when the equations represent parallel lines or planes that do not intersect.
For example:
x+y=2x+y=3
This system is inconsistent because the two equations represent parallel lines that never intersect. Therefore, there are no values of x and y that satisfy both equations simultaneously.
The right-hand side, C11d1+C21d2+C31d3, can be recognized as the determinant Δ1, obtained by replacing the first column of Δ with d1, d2, and d3:
Δx=Δ1
Similarly, by replacing the second column with d1, d2, and d3, we get Δy=Δ2, and by replacing the third column, we obtain Δz=Δ3.
Case 1: If Δ=0, then we can solve for x, y, and z as follows:
Thus, when Δ=0, the system has a unique solution given by:
x=ΔΔ1,y=ΔΔ2,z=ΔΔ3
Case 2: If Δ=0 but at least one of Δ1, Δ2, or Δ3 is not zero, the system has no solution. Here’s why:
Suppose Δ1=0. Then, according to Cramer’s Rule:
Δ⋅x=Δ1
Since Δ=0, this implies:
0⋅x=Δ1
which simplifies to:
0=Δ1
However, this leads to a contradiction because we assumed Δ1=0. This contradiction indicates that there are no values of x, y, and z that satisfy all three equations. Thus, the system is inconsistent, and no solution exists.
The same reasoning applies if Δ2=0 or Δ3=0. In each case, we get a similar contradiction, confirming that the system cannot have a solution when Δ=0 but any of Δ1, Δ2, or Δ3 is non-zero.
Case 3: If Δ=0, Δ1=0, Δ2=0, and Δ3=0, then the system may have infinitely many solutions or no solution, depending on whether the equations are consistent or inconsistent.
To see this, let's start by considering that Cramer's Rule would give us:
Δ⋅x=Δ1,Δ⋅y=Δ2,Δ⋅z=Δ3
With Δ=0, Δ1=0, Δ2=0, and Δ3=0, we get:
0⋅x=0,0⋅y=0,0⋅z=0
These equations hold true for any values of x, y, and z, meaning there could be infinitely many solutions. This situation suggests that the equations are dependent, allowing multiple values of x, y, and z to satisfy the system.
However, this is not always the case. In some instances, even with Δ=0, Δ1=0, Δ2=0, and Δ3=0, the system may still be inconsistent. For example, consider the system:
x+y+z=1x+y+z=2x+y+z=3
For this system, we calculate:
Δ=111111111=0,Δ1=0,Δ2=0,Δ3=0
At first glance, this might suggest infinite solutions. However, let’s examine the equations more closely. If (x0,y0,z0) is a solution to this system, then:
x0+y0+z0=1x0+y0+z0=2x0+y0+z0=3
These conditions imply that 1=2=3, which is a clear contradiction. This means that there are no values of x, y, and z that can satisfy all three equations simultaneously. Therefore, in this example, the system has no solution.
For a homogeneous system of linear equations, such as:
a1x+b1y+c1z=0a2x+b2y+c2z=0a3x+b3y+c3z=0
the solution x=y=z=0 is always a solution. This is known as the trivial solution, and it can be easily verified. Thus, a homogeneous system is always consistent.
The behavior of the system depends on the value of Δ, the determinant of the coefficient matrix:
Case 1: If Δ=0, then the only solution is the trivial solution (x=y=z=0), making it the unique solution.
Case 2: If Δ=0, the trivial solution still exists, but the system has infinitely many non-zero solutions (non-trivial solutions). This means there are infinitely many values of x, y, and z that satisfy the system, in addition to the trivial solution.
Solving System of Linear Equations using Matrices§