Homogeneous systems of linear equations
We call a system of equations homogeneous if the right-hand side of every equation is zero.
Definition of a homogeneous system
The general form of a homogeneous system of equations looks like this:
This system contains m equations in n unknowns, and the right-hand sides of all the equations are zero. If they were not zero, it would not be a homogeneous system. We can rewrite the system above as a matrix by copying all the coefficients, that is, all the terms aij, into the same positions they have in the system. We leave out the right-hand column of zeros, because it is unnecessary. Like this:
This matrix represents the system of m equations in n unknowns described above. Each row of the matrix corresponds to one equation. The whole system can then be written as
Basic properties of the system
From the article on systems of linear equations and from the Rouché–Capelli theorem we can get several useful statements about homogeneous systems of equations.
- Every homogeneous system has a solution.
- The set of all solutions of a homogeneous system always contains the trivial (zero) solution. If we substitute zero for all the variables, we get m equations 0 = 0.
- From the Rouché–Capelli theorem we know that writing the general solution of a system of equations requires n − k parameters, where n is the number of variables and k is the rank of the augmented matrix of the system, which in our case is k = rank(A). If n = k, we need no parameters and the system has only one solution, the trivial one. Moreover, n = k if and only if the matrix A contains no linearly dependent column (for a square matrix this means it is non-singular).
- It also follows from the previous point that the system has a non-trivial solution if and only if the matrix A contains a linearly dependent column.
- If the system has more unknowns than equations, it has a non-trivial solution. If there are more unknowns than equations, then k = rank(A) can be at most the number of equations, that is, m. And if k < n, then n − k > 0, so there will be further solutions, which we describe using n − k parameters.
Properties of the solution set
- The sum of any two solutions of the system Ax = 0 is also a solution of the system. If x1 and x2 are solutions of the system, then Ax1 = 0 and Ax2 = 0, and by the statement above A(x1 + x2) = 0 as well.
The proof is simple. Assume that Ax1 = 0 and Ax2 = 0, and we will prove A(x1 + x2) = 0. Addition and multiplication of matrices satisfy the distributive law, so we can write
By assumption, however, Ax1 = 0 and Ax2 = 0, so the expression Ax1 + Ax2 can be rewritten as 0+0. We get the equation 0 = 0, so the statement holds.
For example, if we have two solutions of a system, x1 = (0, 5, 6) and x2 = (7, 3, 5), then x3 = x1 + x2 = (0 + 7, 5 + 3, 6 + 5) = (7, 8, 11) is also a solution of the system.
- For every constant c ∈ ℝ, c times a solution of the system is also a solution. If x1 is a solution of the system Ax = 0, then c · x1 is also a solution of the system.
Again the proof is simple. Assume that x1 is a solution of the system Ax = 0 and c ∈ ℝ. We will prove that the equality
holds. Since c is a numerical constant, we can take it out as a common factor in front of the whole expression:
By assumption Ax1 = 0, so from c · Ax1 we get c · 0 = 0.
- A consequence of the previous two points is that any linear combination of solutions of the system is also a solution of that system.
Now a question arises. If some solutions are just linear combinations of other solutions, is there a set of solutions from which we can generate all the other solutions?
Let’s try writing the solutions of the system into a matrix. That is, if x1 = (x11, x12, …, x1n) is a solution, x2 = (x21, x22, …, x2n) is a solution, and so on for xi, we create a matrix F that contains these solutions as its columns:
Since we can form infinitely many different linear combinations, and therefore infinitely many solutions, the matrix F will be infinite. What interests us now is whether we can shrink the matrix F so that it contains only finitely many columns, from which we can generate all the other solutions.
How many columns will be left? The matrix F has n rows, because the original system had n variables and each column represents one solution. The largest possible rank of the matrix F is therefore exactly n. If the matrix F has more than n columns, at least one column is certainly linearly dependent. It follows that we can write the whole solution set into a matrix of size at most n × n and work out the other solutions using linear combinations. Any further column would certainly be redundant. The question remains whether we can reduce the size of the matrix F even further.
Fundamental set of solutions
From the Rouché–Capelli theorem we know that the general solution of the system Ax = 0 can be expressed using n − k parameters, where n is the number of variables and k = rank(A). We label the parameters t1, t2, …, tn − k. How could we use these parameters to generate two linearly independent solutions?
In the first case we substitute 1 for the parameter t1 and zero for the others. That is, t1 = 1 and t2 = t3 = … = tn − k = 0. In the second case we do the same, only moving the 1 to the second parameter: t2 = 1 and t1 = t3 = t4 = … = tn − k = 0. If we substitute these parameters into the general solution, we get two different solutions that are linearly independent.
Example: let
be the general solution of some homogeneous system of equations with three parameters. For the choice of parameters t1 = 1, t2 = t3 = 0 we get the particular solution x1 = (1, 0, 0, 2, 0), for t1 = t3 = 0, t2 = 1 we get x2 = (0, 1, 0, 0, 0), and for t1 = t2 = 0, t3 = 1 we get x3 = (0, 0, 1, 0, 4). We write the particular solutions into the matrix F:
From the first three rows alone it is clear that the columns are linearly independent. We have therefore built three different particular solutions that are linearly independent of one another. At the same time, any further solution is linearly dependent on them. If we choose the parameters t1 = 1, t2 = 2, t3 = 0 and work out the solution, we get x4 = (1, 2, 0, 2, 0).
But we can also express this solution as x1 + 2x2 = (1, 0, 0, 2, 0) + 2(0, 1, 0, 0, 0) = (1, 2, 0, 2, 0). The same works for the other solutions. We have thus obtained a matrix with three columns that defines all the solutions of the system of equations.
The procedure can be generalised. If we have a system Ax = 0 and its general solution, which uses n − k parameters, then we can express the solutions of the system using n − k linearly independent particular solutions of the system. We call such a set of solutions a fundamental set of solutions.
We can obtain these solutions, for example, by substituting 1 for each of the parameters t1, t2, …, tn − k in turn, with all the other parameters equal to zero. This gives n − k solutions of the system that are linearly independent.
This is not the only way to build n − k linearly independent particular solutions of the system. Instead of 1, we can substitute any non-zero number for the parameter ti and we still get linearly independent solutions.
Once more, the definition of a fundamental set of solutions of the system Ax = 0: it is a set of particular solutions {x1, x2, …, xn − k} such that
- x1, x2, …, xn − k are linearly independent,
- any solution of the system Ax = 0 can be expressed as a linear combination of the particular solutions x1, x2, …, xn − k.
Example
Solve the homogeneous system of equations and find a fundamental set of solutions:
The coefficient matrix A of the system has the form
We can work out the determinant of this matrix. It is equal to zero. The matrix of the system is therefore singular and the system has a non-trivial solution. We find the general solution of the system using Gaussian elimination. The last, fourth, row is equal to the sum of the first three rows, so the whole fourth row becomes zero. Then we multiply the first row by three and the second row by minus one, and the third row will be equal to the sum of the first two rows:
There is no point in simplifying further. We can see that the matrix has rank two, rank(A) = 2. To write the general solution of the system we need two parameters, which we call s and t. To write the fundamental set of solutions we need two particular solutions.
We have now arrived at this system of equations:
From the second equation we make x3 the subject.
We substitute parameters for x1 and x2, so s = x1 and t = x2. Then we can write x3 = −4s − 3t. It remains to work out x4. We find it from the first equation:
The general solution is therefore (s, t, −4s − 3t, 26(s + t)). To obtain a fundamental set of solutions, we must find two particular solutions (that is, two specific solutions) that are linearly independent. We find them by substituting first s = 1, t = 0 and then s = 0, t = 1 for the parameters. For the first pair of parameters we have the particular solution
and for the second pair
These solutions are linearly independent. Since we used two parameters in the general solution, two particular solutions are enough to form the fundamental set. The fundamental set of solutions therefore looks like this
We can also check that these two solutions are valid by substituting them into the original equations. For X1 we get these equations:
After simplifying we have:
We can see that every equation comes out as 0 = 0. It seems we have worked it out correctly.
Chapters: Systems of linear equations, Cramer’s rule, Homogeneous systems of linear equations