What if a linear system has more equations than variables?

What if a linear system has more equations than variables?

Email me at antrobusj1~~~@nku.edu.

antrobusj1~~~@nku.edu

  • Know when a system has infinitely many solutions (dependent).
  • Know when a system has no solutions (inconsistent).

As we saw in Section 2.1, systems of equations do not always have unique solutions. They may also have infinitely many solutions, or no solution at all! We now introduce an important theorem.

Theorem. If there are fewer equations than variables, then the system is called underdetermined and cannot have a unique solution. In this case, there are either infinitely many or no solutions. For an example of this, refer to what can happen with only two planes in three dimensions:

What if a linear system has more equations than variables?
What if a linear system has more equations than variables?

A system with more equations than variables is called overdetermined. If the number of equations equals the number of variables, we will say the system is balanced or square. A balanced or overdetermined system may also have infinitely many or no solutions:

What if a linear system has more equations than variables?
What if a linear system has more equations than variables?

However, a balanced system or an overdetermined system may have a unique solution (whereas an underdetermined system may not):

What if a linear system has more equations than variables?

Let's look at some examples. Of course, we will continue our use of augmented matrices and row-reduction to solve these systems.

Example. This system has infinitely many solutions. You can tell because these two lines are the same. (The second one is scaled by a factor of 3.) $$\begin{align} x+2y&=4\\ 3x+6y&=12 \end{align}$$ Now let's solve it! $$\begin{align} &\left[\begin{array}{rr|r} 1 & 2 & 4\\ 3 & 6 & 12 \end{array}\right]\\ \frac{1}{3}R_2\rightarrow R_2 &\left[\begin{array}{rr|r} 1 & 2 & 4 \\ 1 & 2 & 4 \end{array}\right]\\ -R_1+R_2\rightarrow R_2 &\left[\begin{array}{rr|r} 1 & 2 & 4 \\ 0 & 0 & 0 \end{array}\right]\\ \end{align}$$ Notice that there is only one pivot column in this row-reduced matrix. The second column is not a pivot column, so we call $y$ a free variable. A system with free variables is called dependent. Variables that do correspond to a pivot column are called fixed variables. In general, we can express the solution of the system as the fixed variables in terms of the free variables. $$x=4-2y$$ This is a dependent system, and there are infintely many solutions, depending on the value of the free variable $y$. Once a value of $y$ is selected, the value of $x$ is automatically fixed.

Theorem. If there is a row in an augmented matrix containing all zeros to the left of the vertical line and a nonzero entry to the right of the line, then the corresponding system of equations has no solution. Next we will see an example of this phenomenon.

Example. This system has no solution, so we call it inconsistent. $$\begin{align} x+y+z&=1\\ 3x-y-z&=4\\ x+5y+5z&=-1 \end{align}$$ Now let's try to solve it! $$\begin{align} &\left[\begin{array}{rrr|r} 1 & 1 & 1 & 1\\ 3 & -1 & -1 & 4\\ 1 & 5 & 5 & -1 \end{array}\right]\\ \begin{array}{rr} -3R_1+R_2\rightarrow R_2\\ -R_1+R_3\rightarrow R_3 \end{array} &\left[\begin{array}{rrr|r} 1 & 1 & 1 & 1\\ 0 & -4 & -4 & 1\\ 0 & 4 & 4 & -2 \end{array}\right]\\ R_2+R_3\rightarrow R_3 &\left[\begin{array}{rrr|r} 1 & 1 & 1 & 1\\ 0 & -4 & -4 & 1\\ 0 & 0 & 0 & -1 \end{array}\right]\\ \end{align}$$ We don't need to go any further than this. The last row reads $0x+0y+0z=-1$, that is, $0=-1$. Such a false statement reveals that this system of equations has no solution. It is inconsistent!

Homework (Due Friday, June 19)

  1. (3 points) Solve the system of linear equations using row reduction techniques on an augmented matrix. $$\begin{align} x+2y&=3\\ 2x-3y&=-8\\ x-4y&=-9 \end{align}$$
  2. (3 points) Solve the system of linear equations using row reduction techniques on an augmented matrix. $$\begin{align} 2x+3y&=2\\ x+3y&=-2\\ x-y&=3 \end{align}$$
  3. (4 points) Solve the system of linear equations using row reduction techniques on an augmented matrix. $$\begin{align} x+2z&=1\\ y-z&=3\\ 2x+y+3z&=5 \end{align}$$

Practical problems in many fields of study—such as biology, business, chemistry, computer science, economics, electronics, engineering, physics and the social sciences—can often be reduced to solving a system of linear equations. Linear algebra arose from attempts to find systematic methods for solving these systems, so it is natural to begin this book by studying linear equations.

If , , and are real numbers, the graph of an equation of the form

   

What if a linear system has more equations than variables?

is a straight line (if and are not both zero), so such an equation is called a linear equation in the variables and . However, it is often convenient to write the variables as

What if a linear system has more equations than variables?
, particularly when more than two variables are involved. An equation of the form

   

What if a linear system has more equations than variables?

is called a linear equation in the variables

What if a linear system has more equations than variables?
. Here
What if a linear system has more equations than variables?
denote real numbers (called the coefficients of
What if a linear system has more equations than variables?
, respectively) and is also a number (called the constant term of the equation). A finite collection of linear equations in the variables
What if a linear system has more equations than variables?
is called a system of linear equations in these variables. Hence,

   

What if a linear system has more equations than variables?

is a linear equation; the coefficients of

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
are ,
What if a linear system has more equations than variables?
, and , and the constant term is . Note that each variable in a linear equation occurs to the first power only.

Given a linear equation

What if a linear system has more equations than variables?
, a sequence
What if a linear system has more equations than variables?
of numbers is called a solution to the equation if

   

What if a linear system has more equations than variables?

that is, if the equation is satisfied when the substitutions

What if a linear system has more equations than variables?
are made. A sequence of numbers is called a solution to a system of equations if it is a solution to every equation in the system.

A system may have no solution at all, or it may have a unique solution, or it may have an infinite family of solutions. For instance, the system

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
has no solution because the sum of two numbers cannot be 2 and 3 simultaneously. A system that has no solution is called inconsistent; a system with at least one solution is called consistent.

Show that, for arbitrary values of and ,

   

What if a linear system has more equations than variables?

is a solution to the system

   

What if a linear system has more equations than variables?

Simply substitute these values of

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
in each equation.

   

What if a linear system has more equations than variables?

Because both equations are satisfied, it is a solution for all choices of and .

The quantities and in this example are called parameters, and the set of solutions, described in this way, is said to be given in parametric form and is called the general solution to the system. It turns out that the solutions to every system of equations (if there are solutions) can be given in parametric form (that is, the variables

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, are given in terms of new independent variables , , etc.).

When only two variables are involved, the solutions to systems of linear equations can be described geometrically because the graph of a linear equation

What if a linear system has more equations than variables?
is a straight line if and are not both zero. Moreover, a point
What if a linear system has more equations than variables?
with coordinates and lies on the line if and only if
What if a linear system has more equations than variables?
—that is when ,
What if a linear system has more equations than variables?
is a solution to the equation. Hence the solutions to a system of linear equations correspond to the points
What if a linear system has more equations than variables?
that lie on all the lines in question.

In particular, if the system consists of just one equation, there must be infinitely many solutions because there are infinitely many points on a line. If the system has two equations, there are three possibilities for the corresponding straight lines:

  • The lines intersect at a single point. Then the system has a unique solution corresponding to that point.
  • The lines are parallel (and distinct) and so do not intersect. Then the system has no solution.
  • The lines are identical. Then the system has infinitely many solutions—one for each point on the (common) line.

With three variables, the graph of an equation

What if a linear system has more equations than variables?
can be shown to be a plane and so again provides a “picture” of the set of solutions. However, this graphical method has its limitations: When more than three variables are involved, no physical image of the graphs (called hyperplanes) is possible. It is necessary to turn to a more “algebraic” method of solution.

Before describing the method, we introduce a concept that simplifies the computations involved. Consider the following system

   

What if a linear system has more equations than variables?

of three equations in four variables. The array of numbers

   

What if a linear system has more equations than variables?

occurring in the system is called the augmented matrix of the system. Each row of the matrix consists of the coefficients of the variables (in order) from the corresponding equation, together with the constant term. For clarity, the constants are separated by a vertical line. The augmented matrix is just a different way of describing the system of equations. The array of coefficients of the variables

   

What if a linear system has more equations than variables?

is called the coefficient matrix of the system and

What if a linear system has more equations than variables?
is called the constant matrix of the system.

Elementary Operations

The algebraic method for solving systems of linear equations is described as follows. Two such systems are said to be equivalent if they have the same set of solutions. A system is solved by writing a series of systems, one after the other, each equivalent to the previous system. Each of these systems has the same set of solutions as the original one; the aim is to end up with a system that is easy to solve. Each system in the series is obtained from the preceding system by a simple manipulation chosen so that it does not change the set of solutions.

As an illustration, we solve the system

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
in this manner. At each stage, the corresponding augmented matrix is displayed. The original system is

   

What if a linear system has more equations than variables?

First, subtract twice the first equation from the second. The resulting system is

   

What if a linear system has more equations than variables?

which is equivalent to the original. At this stage we obtain

What if a linear system has more equations than variables?
by multiplying the second equation by
What if a linear system has more equations than variables?
. The result is the equivalent system

   

What if a linear system has more equations than variables?

Finally, we subtract twice the second equation from the first to get another equivalent system.

   

What if a linear system has more equations than variables?

Now this system is easy to solve! And because it is equivalent to the original system, it provides the solution to that system.

Observe that, at each stage, a certain operation is performed on the system (and thus on the augmented matrix) to produce an equivalent system.

The following operations, called elementary operations, can routinely be performed on systems of linear equations to produce equivalent systems.

  1. Interchange two equations.
  2.  Multiply one equation by a nonzero number.
  3. Add a multiple of one equation to a different equation.

Suppose that a sequence of elementary operations is performed on a system of linear equations. Then the resulting system has the same set of solutions as the original, so the two systems are equivalent.

Elementary operations performed on a system of equations produce corresponding manipulations of the rows of the augmented matrix. Thus, multiplying a row of a matrix by a number means multiplying every entry of the row by . Adding one row to another row means adding each entry of that row to the corresponding entry of the other row. Subtracting two rows is done similarly. Note that we regard two rows as equal when corresponding entries are the same.

In hand calculations (and in computer programs) we manipulate the rows of the augmented matrix rather than the equations. For this reason we restate these elementary operations for matrices.

The following are called elementary row operations on a matrix.

  1. Interchange two rows.
  2. Multiply one row by a nonzero number.
  3. Add a multiple of one row to a different row.

In the illustration above, a series of such operations led to a matrix of the form

   

What if a linear system has more equations than variables?

where the asterisks represent arbitrary numbers. In the case of three equations in three variables, the goal is to produce a matrix of the form

   

What if a linear system has more equations than variables?

This does not always happen, as we will see in the next section. Here is an example in which it does happen.

   

What if a linear system has more equations than variables?

Solution:
The augmented matrix of the original system is

   

What if a linear system has more equations than variables?

To create a in the upper left corner we could multiply row 1 through by . However, the can be obtained without introducing fractions by subtracting row 2 from row 1. The result is

   

What if a linear system has more equations than variables?

The upper left is now used to “clean up” the first column, that is create zeros in the other positions in that column. First subtract times row 1 from row 2 to obtain

   

What if a linear system has more equations than variables?

Next subtract times row 1 from row 3. The result is

   

What if a linear system has more equations than variables?

This completes the work on column 1. We now use the in the second position of the second row to clean up the second column by subtracting row 2 from row 1 and then adding row 2 to row 3. For convenience, both row operations are done in one step. The result is

   

What if a linear system has more equations than variables?

Note that the last two manipulations did not affect the first column (the second row has a zero there), so our previous effort there has not been undermined. Finally we clean up the third column. Begin by multiplying row 3 by

What if a linear system has more equations than variables?
to obtain

   

What if a linear system has more equations than variables?

Now subtract times row 3 from row 1, and then add times row 3 to row 2 to get

   

What if a linear system has more equations than variables?

The corresponding equations are

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
, which give the (unique) solution.

The algebraic method introduced in the preceding section can be summarized as follows: Given a system of linear equations, use a sequence of elementary row operations to carry the augmented matrix to a “nice” matrix (meaning that the corresponding equations are easy to solve). In Example 1.1.3, this nice matrix took the form

   

What if a linear system has more equations than variables?

The following definitions identify the nice matrices that arise in this process.

A matrix is said to be in row-echelon form (and will be called a row-echelon matrix if it satisfies the following three conditions:

  1. All zero rows (consisting entirely of zeros) are at the bottom.
  2. The first nonzero entry from the left in each nonzero row is a , called the leading for that row.
  3. Each leading is to the right of all leading s in the rows above it.

A row-echelon matrix is said to be in reduced row-echelon form (and will be called a reduced row-echelon matrix if, in addition, it satisfies the following condition:

4.     Each leading is the only nonzero entry in its column.

The row-echelon matrices have a “staircase” form, as indicated by the following example (the asterisks indicate arbitrary numbers).

   

What if a linear system has more equations than variables?

The leading s proceed “down and to the right” through the matrix. Entries above and to the right of the leading s are arbitrary, but all entries below and to the left of them are zero. Hence, a matrix in row-echelon form is in reduced form if, in addition, the entries directly above each leading are all zero. Note that a matrix in row-echelon form can, with a few more row operations, be carried to reduced form (use row operations to create zeros above each leading one in succession, beginning from the right).

The importance of row-echelon matrices comes from the following theorem.

Every matrix can be brought to (reduced) row-echelon form by a sequence of elementary row operations.

In fact we can give a step-by-step procedure for actually finding a row-echelon matrix. Observe that while there are many sequences of row operations that will bring a matrix to row-echelon form, the one we use is systematic and is easy to program on a computer. Note that the algorithm deals with matrices in general, possibly with columns of zeros.

Step 1. If the matrix consists entirely of zeros, stop—it is already in row-echelon form.

Step 2. Otherwise, find the first column from the left containing a nonzero entry (call it ), and move the row containing that entry to the top position.

Step 3. Now multiply the new top row by

What if a linear system has more equations than variables?
to create a leading .

Step 4. By subtracting multiples of that row from rows below it, make each entry below the leading zero. This completes the first row, and all further row operations are carried out on the remaining rows.

Step 5. Repeat steps 1–4 on the matrix consisting of the remaining rows.

The process stops when either no rows remain at step 5 or the remaining rows consist entirely of zeros.

Observe that the gaussian algorithm is recursive: When the first leading has been obtained, the procedure is repeated on the remaining rows of the matrix. This makes the algorithm easy to use on a computer. Note that the solution to Example 1.1.3 did not use the gaussian algorithm as written because the first leading was not created by dividing row 1 by . The reason for this is that it avoids fractions. However, the general pattern is clear: Create the leading s from left to right, using each of them in turn to create zeros below it. Here is one example.

   

What if a linear system has more equations than variables?

Solution:

The corresponding augmented matrix is

   

What if a linear system has more equations than variables?

Create the first leading one by interchanging rows 1 and 2

   

What if a linear system has more equations than variables?

Now subtract times row 1 from row 2, and subtract times row 1 from row 3. The result is

   

What if a linear system has more equations than variables?

Now subtract row 2 from row 3 to obtain

   

What if a linear system has more equations than variables?

This means that the following reduced system of equations

   

What if a linear system has more equations than variables?

is equivalent to the original system. In other words, the two have the same solutions. But this last system clearly has no solution (the last equation requires that , and satisfy

What if a linear system has more equations than variables?
, and no such numbers exist). Hence the original system has no solution.

To solve a linear system, the augmented matrix is carried to reduced row-echelon form, and the variables corresponding to the leading ones are called leading variables. Because the matrix is in reduced form, each leading variable occurs in exactly one equation, so that equation can be solved to give a formula for the leading variable in terms of the nonleading variables. It is customary to call the nonleading variables “free” variables, and to label them by new variables

What if a linear system has more equations than variables?
, called parameters. Every choice of these parameters leads to a solution to the system, and every solution arises in this way. This procedure works in general, and has come to be called

To solve a system of linear equations proceed as follows:

  1.  Carry the augmented matrix\index{augmented matrix}\index{matrix!augmented matrix} to a reduced row-echelon matrix using elementary row operations.
  2.  If a row
    What if a linear system has more equations than variables?
    occurs, the system is inconsistent.
  3.  Otherwise, assign the nonleading variables (if any) as parameters, and use the equations corresponding to the reduced row-echelon matrix to solve for the leading variables in terms of the parameters.

There is a variant of this procedure, wherein the augmented matrix is carried only to row-echelon form. The nonleading variables are assigned as parameters as before. Then the last equation (corresponding to the row-echelon form) is used to solve for the last leading variable in terms of the parameters. This last leading variable is then substituted into all the preceding equations. Then, the second last equation yields the second last leading variable, which is also substituted back. The process continues to give the general solution. This procedure is called back-substitution. This procedure can be shown to be numerically more efficient and so is important when solving very large systems.

Rank

It can be proven that the reduced row-echelon form of a matrix

What if a linear system has more equations than variables?
is uniquely determined by
What if a linear system has more equations than variables?
. That is, no matter which series of row operations is used to carry
What if a linear system has more equations than variables?
to a reduced row-echelon matrix, the result will always be the same matrix. By contrast, this is not true for row-echelon matrices: Different series of row operations can carry the same matrix
What if a linear system has more equations than variables?
to different row-echelon matrices. Indeed, the matrix
What if a linear system has more equations than variables?
can be carried (by one row operation) to the row-echelon matrix
What if a linear system has more equations than variables?
, and then by another row operation to the (reduced) row-echelon matrix
What if a linear system has more equations than variables?
. However, it is true that the number of leading 1s must be the same in each of these row-echelon matrices (this will be proved later). Hence, the number depends only on
What if a linear system has more equations than variables?
and not on the way in which
What if a linear system has more equations than variables?
is carried to row-echelon form.

The rank of matrix

What if a linear system has more equations than variables?
is the number of leading s in any row-echelon matrix to which
What if a linear system has more equations than variables?
can be carried by row operations.

Compute the rank of

What if a linear system has more equations than variables?
.

Solution:

The reduction of

What if a linear system has more equations than variables?
to row-echelon form is

   

What if a linear system has more equations than variables?

Because this row-echelon matrix has two leading s, rank

What if a linear system has more equations than variables?
.

Suppose that rank

What if a linear system has more equations than variables?
, where
What if a linear system has more equations than variables?
is a matrix with rows and columns. Then
What if a linear system has more equations than variables?
because the leading s lie in different rows, and
What if a linear system has more equations than variables?
because the leading s lie in different columns. Moreover, the rank has a useful application to equations. Recall that a system of linear equations is called consistent if it has at least one solution.

Suppose a system of equations in variables is consistent, and that the rank of the augmented matrix is .

  1. The set of solutions involves exactly parameters.
  2. If
    What if a linear system has more equations than variables?
    , the system has infinitely many solutions.
  3. If , the system has a unique solution.

Proof:

The fact that the rank of the augmented matrix is means there are exactly leading variables, and hence exactly nonleading variables. These nonleading variables are all assigned as parameters in the gaussian algorithm, so the set of solutions involves exactly parameters. Hence if

What if a linear system has more equations than variables?
, there is at least one parameter, and so infinitely many solutions. If , there are no parameters and so a unique solution.

Theorem 1.2.2 shows that, for any system of linear equations, exactly three possibilities exist:

  1. No solution. This occurs when a row
    What if a linear system has more equations than variables?
    occurs in the row-echelon form. This is the case where the system is inconsistent.
  2.  Unique solution. This occurs when every variable is a leading variable.
  3.  Infinitely many solutions. This occurs when the system is consistent and there is at least one nonleading variable, so at least one parameter is involved.

 https://www.geogebra.org/m/cwQ9uYCZ Please answer these questions after you open the webpage:

1.  For the given linear system, what does each one of them represent?

2. Based on the graph, what can we say about the solutions? Does the system have one solution, no solution or infinitely many solutions? Why

3. Change the constant term in every equation to 0, what changed in the graph?

4. For the following linear system:

   

What if a linear system has more equations than variables?

Can you solve it using Gaussian elimination? When you look at the graph, what do you observe?

Many important problems involve linear inequalities rather than linear equations For example, a condition on the variables and might take the form of an inequality

What if a linear system has more equations than variables?
rather than an equality
What if a linear system has more equations than variables?
. There is a technique (called the simplex algorithm) for finding solutions to a system of such inequalities that maximizes a function of the form
What if a linear system has more equations than variables?
where and are fixed constants.

A system of equations in the variables

What if a linear system has more equations than variables?
is called homogeneous if all the constant terms are zero—that is, if each equation of the system has the form

   

What if a linear system has more equations than variables?

Clearly

What if a linear system has more equations than variables?
is a solution to such a system; it is called the trivial solution. Any solution in which at least one variable has a nonzero value is called a nontrivial solution.
Our chief goal in this section is to give a useful condition for a homogeneous system to have nontrivial solutions. The following example is instructive.

Show that the following homogeneous system has nontrivial solutions.

   

What if a linear system has more equations than variables?

Solution:

The reduction of the augmented matrix to reduced row-echelon form is outlined below.

   

What if a linear system has more equations than variables?

The leading variables are

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
, so
What if a linear system has more equations than variables?
is assigned as a parameter—say
What if a linear system has more equations than variables?
. Then the general solution is
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
. Hence, taking
What if a linear system has more equations than variables?
(say), we get a nontrivial solution:
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
.

The existence of a nontrivial solution in Example 1.3.1 is ensured by the presence of a parameter in the solution. This is due to the fact that there is a nonleading variable (

What if a linear system has more equations than variables?
in this case). But there must be a nonleading variable here because there are four variables and only three equations (and hence at most three leading variables). This discussion generalizes to a proof of the following fundamental theorem.

If a homogeneous system of linear equations has more variables than equations, then it has a nontrivial solution (in fact, infinitely many).

Proof:

Suppose there are equations in variables where

What if a linear system has more equations than variables?
, and let
What if a linear system has more equations than variables?
denote the reduced row-echelon form of the augmented matrix. If there are leading variables, there are nonleading variables, and so parameters. Hence, it suffices to show that
What if a linear system has more equations than variables?
. But
What if a linear system has more equations than variables?
because
What if a linear system has more equations than variables?
has leading 1s and rows, and
What if a linear system has more equations than variables?
by hypothesis. So
What if a linear system has more equations than variables?
, which gives
What if a linear system has more equations than variables?
.

Note that the converse of Theorem 1.3.1 is not true: if a homogeneous system has nontrivial solutions, it need not have more variables than equations (the system

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
has nontrivial solutions but
What if a linear system has more equations than variables?
.)

Theorem 1.3.1 is very useful in applications. The next example provides an illustration from geometry.

We call the graph of an equation

What if a linear system has more equations than variables?
a conic if the numbers , , and are not all zero. Show that there is at least one conic through any five points in the plane that are not all on a line.

Solution:

Let the coordinates of the five points be

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
. The graph of
What if a linear system has more equations than variables?
passes through
What if a linear system has more equations than variables?
if

   

What if a linear system has more equations than variables?

This gives five equations, one for each , linear in the six variables , , ,

What if a linear system has more equations than variables?
, , and
What if a linear system has more equations than variables?
. Hence, there is a nontrivial solution by Theorem 1.1.3. If
What if a linear system has more equations than variables?
, the five points all lie on the line with equation
What if a linear system has more equations than variables?
, contrary to assumption. Hence, one of , , is nonzero.

Linear Combinations and Basic Solutions

As for rows, two columns are regarded as equal if they have the same number of entries and corresponding entries are the same. Let and be columns with the same number of entries. As for elementary row operations, their sum

What if a linear system has more equations than variables?
is obtained by adding corresponding entries and, if is a number, the scalar product
What if a linear system has more equations than variables?
is defined by multiplying each entry of by . More precisely:

   

What if a linear system has more equations than variables?

A sum of scalar multiples of several columns is called a linear combination of these columns. For example,

What if a linear system has more equations than variables?
is a linear combination of and for any choice of numbers and .

If

What if a linear system has more equations than variables?
and
What if a linear system has more equations than variables?

then
What if a linear system has more equations than variables?
.

Let

What if a linear system has more equations than variables?

and
What if a linear system has more equations than variables?
. If
What if a linear system has more equations than variables?

and
What if a linear system has more equations than variables?
,
determine whether and are linear combinations of , and .

Solution:

For , we must determine whether numbers , , and exist such that

What if a linear system has more equations than variables?
, that is, whether

   

What if a linear system has more equations than variables?

Equating corresponding entries gives a system of linear equations

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
for , , and . By gaussian elimination, the solution is
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
where is a parameter. Taking
What if a linear system has more equations than variables?
, we see that
What if a linear system has more equations than variables?
is a linear combination of , , and .

Turning to , we again look for , , and such that

What if a linear system has more equations than variables?
; that is,

   

What if a linear system has more equations than variables?

leading to equations

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
for real numbers , , and . But this time there is no solution as the reader can verify, so is not a linear combination of , , and .

Our interest in linear combinations comes from the fact that they provide one of the best ways to describe the general solution of a homogeneous system of linear equations. When
solving such a system with variables

What if a linear system has more equations than variables?
, write the variables as a column matrix:
What if a linear system has more equations than variables?
. The trivial solution is denoted
What if a linear system has more equations than variables?
. As an illustration, the general solution in
Example 1.3.1 is
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
, where is a parameter, and we would now express this by
saying that the general solution is
What if a linear system has more equations than variables?
, where is arbitrary.

Now let and be two solutions to a homogeneous system with variables. Then any linear combination

What if a linear system has more equations than variables?
of these solutions turns out to be again a solution to the system. More generally:

   

What if a linear system has more equations than variables?

In fact, suppose that a typical equation in the system is

What if a linear system has more equations than variables?
, and suppose that

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
are solutions. Then
What if a linear system has more equations than variables?
and
What if a linear system has more equations than variables?
.
Hence
What if a linear system has more equations than variables?
is also a solution because

   

What if a linear system has more equations than variables?

A similar argument shows that Statement 1.1 is true for linear combinations of more than two solutions.

The remarkable thing is that every solution to a homogeneous system is a linear combination of certain particular solutions and, in fact, these solutions are easily computed using the gaussian algorithm. Here is an example.

Solve the homogeneous system with coefficient matrix

   

What if a linear system has more equations than variables?

Solution:

The reduction of the augmented matrix to reduced form is

   

What if a linear system has more equations than variables?

so the solutions are

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
by gaussian elimination. Hence we can write the general solution in the matrix form

   

What if a linear system has more equations than variables?

Here

What if a linear system has more equations than variables?
and
What if a linear system has more equations than variables?
are particular solutions determined by the gaussian algorithm.

The solutions

What if a linear system has more equations than variables?
and
What if a linear system has more equations than variables?
in Example 1.3.5 are denoted as follows:

The gaussian algorithm systematically produces solutions to any homogeneous linear system, called basic solutions, one for every parameter.

Moreover, the algorithm gives a routine way to express every solution as a linear combination of basic solutions as in Example 1.3.5, where the general solution becomes

   

What if a linear system has more equations than variables?

Hence by introducing a new parameter

What if a linear system has more equations than variables?
we can multiply the original basic solution
What if a linear system has more equations than variables?
by 5 and so eliminate fractions.

For this reason:

Any nonzero scalar multiple of a basic solution will still be called a basic solution.

In the same way, the gaussian algorithm produces basic solutions to every homogeneous system, one for each parameter (there are no basic solutions if the system has only the trivial solution). Moreover every solution is given by the algorithm as a linear combination of
these basic solutions (as in Example 1.3.5). If

What if a linear system has more equations than variables?
has rank , Theorem 1.2.2 shows that there are exactly parameters, and so basic solutions. This proves:

Let

What if a linear system has more equations than variables?
be an matrix of rank , and consider the homogeneous system in variables with
What if a linear system has more equations than variables?
as coefficient matrix. Then:

  1. The system has exactly basic solutions, one for each parameter.
  2. Every solution is a linear combination of these basic solutions.

Find basic solutions of the homogeneous system with coefficient matrix

What if a linear system has more equations than variables?
, and express every solution as a linear combination of the basic solutions, where

   

What if a linear system has more equations than variables?

Solution:

The reduction of the augmented matrix to reduced row-echelon form is

   

What if a linear system has more equations than variables?

so the general solution is

What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
,
What if a linear system has more equations than variables?
, and
What if a linear system has more equations than variables?
where , , and are parameters. In matrix form this is

   

What if a linear system has more equations than variables?

Hence basic solutions are

   

What if a linear system has more equations than variables?