Jump to content

Linear system/Solution method/Several remarks/Section

From Wikiversity


Sometimes, we want to solve a simultaneous system of linear equations of the form

The goal is to find the solutions of the corresponding inhomogeneous linear systems for different vectors. In principle, we could consider independent linear systems, and solve them. However, it is smarter to perform those manipulations that we do on the left-hand side to achieve upper triangular form, simultaneously with all the vectors on the right-hand side. An important special case, for , is when the vectors are the standard vectors, see fact.

We discuss briefly some further methods to solve a linear system.


Another method to solve a linear system is the substitution method. Here, the variables are also successively eliminated, but in another way. If we want to eliminate the variable , then we look at an equation, say , where occurs with a coefficient different from . In this equation, we isolate and get a new equation of the form

where does not occur in . Then in all other equations , we replace the variable by , and obtain (after some simplifications) a linear system without the variable , which is, together with , equivalent with the original system.


Another method to solve a linear system is the equating method. Here, the variables are also successively eliminated, but in another way. In this method, in every equation , , we isolate one fixed variable, say . Suppose that (after reordering) are the equations where the variable occurs with a coefficient different from . These equations are brought into the form

where in , the variable does not occur. The linear system consisting in

is equivalent to the original system. We continue with this system without .


The methods described in fact, remark, and remark to solve a linear system differ with respect to speed, strategic conception, complexity of the coefficients, error-proneness. In the elimination method, the systematic reduction of the number of variables (reduction of dimension) is obvious, and it is unlikely to make mistakes (except for miscalculations). It is always clear how to continue. However, these advantages emerge starting with three variables. For two variables, it does not make a difference what method we choose.

The evaluation of the methods depends also on the features of the concrete system. Such features should be taken into account in order to find "short-cuts“ to the solution. The adequate choice of the solution method appropriate for the given problem is called adaptivity (a concept which is used in the didactic context with different meanings). If, for example, one row of the system has the form , then one should recognize that a part of the solution can be read off immediately, and one should not add to this row any other row. Here, one should replace in the other rows everywhere by , and continue then. Or: if four equations are given, where in two equations only the variables and appear, and where in the two other equations only the variables and appear, then one should realize that, in principle, two unrelated linear systems are given, each in two variables, and these should be solved independently. Or: it might be that a small subsystem of the system guarantees that there is no solution at all. Then only this has to be worked out, there is no need to consider the other equations. And: consider the exact question! If the question is whether a certain tuple is a solution, then we only have to plug this tuple into the equations, no manipulations are necessary.


A system of linear inequalities over the rational numbers or over the real numbers is a system of the form

where might be or . It is considerably more difficult to find the solution set of such a system than in the case of equations. In general, it is not possible to eliminate the variables.