The concept of a linear equation will now be extended to systems of linear equations.
A system of linear equations is understood to be one or more linear equations with one or more unknowns.
A solution of the system of equations is a list of values of the unknowns that, when substituted into each equation of the system, gives a set of equations that are valid (a true statement). Not every system of equations has a solution: the system
for example, has no solution. Such a system is called
conflicting.
Solving a system of equations is the determination of all the solutions. The result is also called the solution.
Two systems of linear equations are called equivalent if they have the same solution.
A system of linear equations is often solved by reduction, that is, by replacing it by another system of linear equations that is both simpler than the previous one, and equivalent to it.
In case the system is conflicting, mathematicians speak of the empty set of solutions or simply the empty solution. We will not use this terminology in this course; we will simply say it has no solution.
We usually fix an order of the unknowns and write solutions as a list of values of the variables in this order; but other formats are also widely used.
Note the difference between a solution and the solution: the solution of the linear equation in the unknowns and is , but is a solution.
The solution of an equation with the two unknowns and is generally a line in the plane. The solutions of two equations with two unknowns are the points that belong to the lines of both equations. In the example given,
we are dealing with two parallel lines.
In the reduction, usually elementary operations are being used. These are the following three operations on systems of linear equations:
- The multiplication of both sides of a equation by the same number distinct from zero.
- The addition of a multiple of one equation to one of the other equations.
- The interchange of two equations.
Later we will discuss these operations more extensively.
Consider the system
with unkowns
and
, which we also write as
Here,
is the logical "and" operator.
A solution of this system is
In order to see that this is a solution, we substitute these values in the equations:
These equalities hold, so
is a solution. This solution can also be written as \
or
Solving the system is finding
all solutions. In this case, there are no more solutions, as we show below.
If we subtract the second equation twice from the first equation, we get a new linear equation, namely . The original system of equations is equivalent to
Subtracting the first equation of the new system from the second equation, we get the following equivalent system:
Interchanging the two equations gives the solution in a familiar order of variables.
We discuss how a system of linear equations can be seen as a system of vector equations.
The system of equations
can also be written in
vector form as
In this form, solving the system is nothing but finding an expression of the vector
as a linear combination of the vectors
and
.
The vectors are written here as column vectors. The column vector corresponds to the row vector . The system of equations
can be also written in terms of row vectors:
We show why the system of linear equations is equivalent to the equation in vector form. We have
The vector equation can therefore be written as
This amounts to an equality for each coordinate:
Thus, we recovered the original system of equations.
We will often see that a linear algebra problem eventually leads to solving a system of linear equations. Therefore we pay considerable attention to finding solutions.
A system of linear equations can have more equations than unknowns. We give an example of two equations with one unknown. By repeating the dynamic example at the bottom of this page to generate repeated below you can see that in this case there are three possibilities:
- There is no solution: the equations may be conflicting. That means that no solution of one equation form the system is also a solution of the other. Also, it may be that one of the equations has no solution.
- There is exactly one solution.
- There is more than one solution: in this case the number of solutions is even infinite, because all the values of the unknown will satisfy both equations.
We have already seen that the system
is conflicting.
The system
with unkowns
and
has exactly one solution.
The system
has more than one solution: for each value of , the pair is a solution.
Solve the following system of equations for
:
There are two linear equations with the same unknown, namely
. We can solve these individually:
A look at the two separate solutions gives that there is one solution.
Therefore, the answer is
.