Observe that any homogeneous system \(AX = 0\) of linear equations has at least one solution, namely the trivial solution (\(x_i = 0\text{,}\) for all \(i\)). The augmented matrix is got from adding one zero column to \(A\text{.}\) Hence \(r(A) =
r(A^*)\text{.}\)
A homogeneous system \(AX = 0\) of \(n\) equations in the same number of unknowns (\(n\) unknowns) has a nontrivial solution if and only if \(A\) is singular, that is , if and only if \(\det(A)=0\text{.}\)
The given homogeneous system has a nontrivial solution if and only if it has infinitely many solutions, if and only if \(r(A)\lt n\text{,}\) the number of variables (TheoremΒ 1.5.8). But \(r(A)\lt n \text{,}\) if and only if \(A\) is singular.
Let \(X_1\) and \(X_2\) be two solutions of the homogeneous system \(AX=0\) and \(Y_1, Y_2\) solutions of the non homogeneous sytem \(AX=B\text{.}\) Then show the following
We would like to get the connection between solutions of a homogeneous system \(AX = 0\) and the solutions of \(AX = B\text{,}\)\(B \neq 0\text{.}\) These are stated in the following Theorem.
Suppose the non homogeneous system \(AX
= B\) of linear equations has a solution say \(X = X_0\text{.}\) All the solutions of this system are of the form
\begin{equation*}
X_0 + X_h,
\end{equation*}
where \(X_h\) runs through all the solutions of the corresponding homogeneous system \(AX =0\text{.}\)
Suppose \(Y\) is a solution of \(AX = B\text{,}\) i.e. \(AY = B\text{.}\) Then \(A (Y - X_0) = 0\) and hence \(Y-X_0\) is a solution of \(AX = 0\) and \(Y = X_0+(Y-X_0)=X_0+X_h\text{,}\) where \(X_h=Y-X_0\text{.}\)
If \((\alpha_1 ,\ldots, \alpha_n)\) is a solution of a system of linear equations, then the complete solution is given by \(x_1 = \alpha_1 + y_1 ,\ldots , x_n = \alpha_n + y_n\) , where \((y_1 ,\ldots, y_n)\) is the general solution of the associated homogeneous system.
Let us consider one equation in two variables, \(2x_1+3x_2=5\text{.}\) The corresponding homogeneous system is \(2x_1+3x_2=0\text{.}\) It is easy see that \(\left\{\begin{pmatrix} \alpha\\-\frac{2}{3}\alpha\end{pmatrix}:\alpha\in \R\right\}\) is set of all solutions of \(2x_1+3x_2=0\text{.}\) Let us consider a solution \(X_0=\begin{pmatrix} 0\\\frac{5}{3}\end{pmatrix}\) of the non homogeneous system \(2x_1+3x_2=5\text{.}\) Let \(X=\begin{pmatrix} \alpha\\-\frac{2}{3}\alpha\end{pmatrix}\) be any solution of \(2x_1+3x_2=0\text{.}\) Then it is easy to check that \(X_0+X=\begin{pmatrix} \alpha\\\frac{5}{3}-\frac{2}{3}\alpha\end{pmatrix}\) is a solution of \(2x_1+3x_2=5\text{.}\) Alternatively, to solve \(2x_1+3x_2=5\text{,}\) we can free one of the variable say \(x_1\text{.}\) That is \(x_1\) can take any real value. Let \(x_1=\alpha\text{,}\) then \(x_2=\frac{5}{3}-\frac{2}{3}\alpha\text{.}\) Hence a generic solution of \(2x_1+3x_2=5\) is given by \(\begin{pmatrix}x_1\\x_2\end{pmatrix}=\begin{pmatrix} \alpha\\\frac{5}{3}-\frac{2}{3}\alpha\end{pmatrix}\text{,}\) which can be rewritten as \(\begin{pmatrix} \alpha\\\frac{5}{3}-\frac{2}{3}\alpha\end{pmatrix}=\begin{pmatrix} 0\\\frac{5}{3}\end{pmatrix}+\begin{pmatrix} \alpha\\-\frac{2}{3}\alpha\end{pmatrix}
\text{.}\) Thus all solutions of \(2x_1+3x_2=5\) are of the form
(1.6.1), we get \(3x_1-3x_3=12\) which implies \(x_1=4+x_3\text{.}\) Now substituting \(x_1=4+x_3\) in the second equation of (1.6.1), we get \(x_2=3+x_3\text{.}\) Here we can take \(x_3\) as a free variable, hence any solution of~(1.6.1) is of the form
Geometrically, each equation in the non homogeneous system represents a plane and the solution is the line of intersection of the the two planes. Similarly, each equation of the corresponding homogeneous system represents a plane passing through the origin and parallel to the corresponding plane of the non homogeneous system. Thus the solution of the corresponsing homogeneosu system in the line of intersection of the the two planes passing through the origin. Thus the solutions of the system and the corresponsing homogeneous system are parallel lines. Visualize this using the following Sage syntax.