Linear Systems
Solving Linear Systems
Systems of linear equations are common in science and mathematics. These two examples from high school science [Onan] give a sense of how they arise.
The first example is from Statics. Suppose that we have three objects, we know that one has a mass of 2 kg, and we want to find the two unknown masses. Experimentation with a meter stick produces these two balances.
For the masses to balance we must have that the sum of moments on the left equals the sum of moments on the right, where the moment of an object is its mass times its distance from the balance point. That gives a system of two linear equations.
The second example is from Chemistry. We can mix, under controlled conditions, toluene and nitric acid to produce trinitrotoluene along with the byproduct water (conditions have to be very well controlled—trinitrotoluene is better known as TNT). In what proportion should we mix them? The number of atoms of each element present before the reaction
must equal the number present afterward. Applying that in turn to the elements C, H, N, and O gives this system.
Both examples come down to solving a system of equations. In each system, the equations involve only the first power of each variable. This chapter shows how to solve any such system of equations.
Gauss’s Method
Definition 1.1 A linear combination of , …, has the form
where the numbers are the combination’s coefficients. A linear equation in the variables , …, has the form where is the constant.
An -tuple is a solution of, or satisfies, that equation if substituting the numbers , …, for the variables gives a true statement: . A system of linear equations
has the solution if that -tuple is a solution of all of the equations.
Example 1.2 The combination of and is linear. The combination is not a linear function of and , nor is .
We usually take , …, to be unequal to each other because in a sum with repeats we can rearrange to make the elements unique, as with . We sometimes include terms with a zero coefficient, as in , and at other times omit them, depending on what is convenient.
Example 1.3 The ordered pair is a solution of this system.
In contrast, is not a solution.
Finding the set of all solutions is solving the system. We don’t need guesswork or good luck; there is an algorithm that always works. This algorithm is Gauss’s Method (or Gaussian elimination or linear elimination ).
Example 1.4 To solve this system
we transform it, step by step, until it is in a form that we can easily solve.
The first transformation rewrites the system by interchanging the first and third row.
The second transformation rescales the first row by a factor of .
The third transformation is the only nontrivial one in this example. We mentally multiply both sides of the first row by , mentally add that to the second row, and write the result in as the new second row.
These steps have brought the system to a form where we can easily find the value of each variable. The bottom equation shows that . Substituting for in the middle equation shows that . Substituting those two into the top equation gives that . Thus the system has a unique solution; the solution set is .
We will use Gauss’s Method throughout the book. It is fast and easy. We will now show that it is also safe: Gauss’s Method never loses solutions nor does it ever pick up extraneous solutions, so that a tuple is a solution to the system before we apply the method if and only if it is a solution after.
Theorem 1.5 (Gauss’s Method) If a linear system is changed to another by one of these operations
an equation is swapped with another
an equation has both sides multiplied by a nonzero constant
an equation is replaced by the sum of itself and a multiple of another
then the two systems have the same set of solutions.
Each of the three operations has a restriction. Multiplying a row by is not allowed because obviously that can change the solution set. Similarly, adding a multiple of a row to itself is not allowed because adding times the row to itself has the effect of multiplying the row by . And we disallow swapping a row with itself, to make some results in the fourth chapter easier. Besides, it’s pointless.
Proof We will cover the equation swap operation here. The other two cases are similar and are Exercise 1.33.
Consider a linear system.
The tuple satisfies this system if and only if substituting the values for the variables, the ’s for the ’s, gives a conjunction of true statements: and … and … and … .
In a list of statements joined with ‘and’ we can rearrange the order of the statements. Thus this requirement is met if and only if and … and … and … . This is exactly the requirement that solves the system after the row swap.
QED
Definition 1.6 The three operations from Theorem 1.5 are the elementary reduction operations, or row operations, or Gaussian operations. They are swapping , multiplying by a scalar (or rescaling ), and row combination .
When writing out the calculations, we will abbreviate ‘row ’ by ‘’ (this is the Greek letter rho, pronounced aloud as “row”). For instance, we will denote a row combination operation by , with the row that changes written second. To save writing we will often combine addition steps when they use the same , as in the next example.
Example 1.7 Gauss’s Method systematically applies the row operations to solve a system. Here is a typical case.
We begin by using the first row to eliminate the in the second row and the in the third. To get rid of the we mentally multiply the entire first row by , add that to the second row, and write the result in as the new second row. To eliminate the in the third row we multiply the first row by , add that to the third row, and write the result in as the new third row.
We finish by transforming the second system into a third, where the bottom equation involves only one unknown. We do that by using the second row to eliminate the term from the third row.
Now finding the system’s solution is easy. The third row gives . Substitute that back into the second row to get . Then substitute back into the first row to get .
Example 1.8 For the Physics problem from the start of this chapter, Gauss’s Method gives this.
So , and back-substitution gives that . (We will solve the Chemistry problem later.)
Example 1.9 The reduction
shows that , , and .
As illustrated above, the point of Gauss’s Method is to use the elementary reduction operations to set up back-substitution.
Definition 1.10 In each row of a system, the first variable with a nonzero coefficient is the row’s leading variable . A system is in echelon form if each leading variable is to the right of the leading variable in the row above it, except for the leading variable in the first row, and any rows with all-zero coefficients are at the bottom.
Example 1.11 The prior three examples only used the operation of row combination. This linear system requires the swap operation to get it into echelon form because after the first combination
the second equation has no leading . We exchange it for a lower-down row that has a leading .
(Had there been more than one suitable row below the second then we could have used any one.) With that, Gauss’s Method proceeds as before.
Back-substitution gives , , , and .
Strictly speaking, to solve linear systems we don’t need the row rescaling operation. We have introduced it here because it is convenient and because we will use it later in this chapter as part of a variation of Gauss’s Method, the Gauss-Jordan Method.
All of the systems so far have the same number of equations as unknowns. All of them have a solution and for all of them there is only one solution. We finish this subsection by seeing other things that can happen.
Example 1.12 This system has more equations than variables.
Gauss’s Method helps us understand this system also, since this
shows that one of the equations is redundant. Echelon form
gives that and . The ‘’ reflects the redundancy.
Gauss’s Method is also useful on systems with more variables than equations. The next subsection has many examples.
Another way that linear systems can differ from the examples shown above is that some linear systems do not have a unique solution. This can happen in two ways. The first is that a system can fail to have any solution at all.
Example 1.13 Contrast the system in the last example with this one.
Here the system is inconsistent: no pair of numbers satisfies all three equations simultaneously. Echelon form makes the inconsistency obvious.
The solution set is empty.
Example 1.14 The prior system has more equations than unknowns but that is not what causes the inconsistency— Example 1.12 has more equations than unknowns and yet is consistent. Nor is having more equations than unknowns necessary for inconsistency, as we see with this inconsistent system that has the same number of equations as unknowns.
Instead, inconsistency has to do with the interaction of the left and right sides; in the first system above the left side’s second equation is twice the first but the right side’s second constant is not twice the first. Later we will have more to say about dependencies between a system’s parts.
The other way that a linear system can fail to have a unique solution, besides having no solutions, is to have many solutions.
Example 1.15 In this system
any pair of numbers satisfying the first equation also satisfies the second. The solution set is infinite; some example member pairs are , , and .
The result of applying Gauss’s Method here contrasts with the prior example because we do not get a contradictory equation.
Don’t be fooled by that example: a equation is not the signal that a system has many solutions.
Example 1.16 The absence of a equation does not keep a system from having many different solutions. This system is in echelon form, has no , but has infinitely many solutions, including , , , and (any triple whose first component is and whose second component is the negative of the third is a solution).
Nor does the presence of mean that the system must have many solutions. Example 1.12 shows that. So does this system, which does not have any solutions at all despite that in echelon form it has a row.
In summary, Gauss’s Method uses the row operations to set a system up for back substitution. If any step shows a contradictory equation then we can stop with the conclusion that the system has no solutions. If we reach echelon form without a contradictory equation, and each variable is a leading variable in its row, then the system has a unique solution and we find it by back substitution. Finally, if we reach echelon form without a contradictory equation, and there is not a unique solution— that is, at least one variable is not a leading variable— then the system has many solutions.
The next subsection explores the third case. We will see that such a system must have infinitely many solutions and we will describe the solution set.
Note. In the exercises here, and in the rest of the book, you must justify all of your answers. For instance, if a question asks whether a system has a solution then you must justify a yes response by producing the solution and must justify a no response by showing that no solution exists.
Exercises
Exercise 1.17 Worked answer
Recommended. Use Gauss’s Method to find the unique solution for each system.
Answer.
Gauss’s Method
gives that the solution is and .
Gauss’s Method here
gives , , and .
Exercise 1.18 Worked answer
Each system is in echelon form. For each, say whether the system has a unique solution, no solution, or infinitely many solutions.
Answer. If a system has a contradictory equation then it has no solution. Otherwise, if there are any variables that are not leading a row then it has infinitely many solution. In the final case, where there is no contradictory equation and every variable leads some row, it has a unique solution.
Unique solution
Infinitely many solutions
Infinitely many solutions
No solution
Infinitely many solutions
Infinitely many solutions
No solution
Infinitely many solutions
No solution
Unique solution
Exercise 1.19 Worked answer
Recommended. Use Gauss’s Method to solve each system or conclude ‘many solutions’ or ‘no solutions’.
Answer.
Gaussian reduction
shows that and is the unique solution.
Gauss’s Method
gives and as the only solution.
Row reduction
shows, because the variable is not a leading variable in any row, that there are many solutions.
Row reduction
shows that there is no solution.
Gauss’s Method
gives the unique solution .
Here Gauss’s Method gives
which shows that there are many solutions.
Exercise 1.20 Worked answer
Solve each system or conclude ‘many solutions’ or ‘no solutions’. Use Gauss’s Method.
Answer.
Gauss’s Method
followed by back-substitution gives , , and .
Here Gauss’s Method
finds that the variable does not lead a row. There are infinitely many solutions.
The steps
give .
Exercise 1.21 Worked answer
Recommended. We can solve linear systems by methods other than Gauss’s. One often taught in high school is to solve one of the equations for a variable, then substitute the resulting expression into other equations. Then we repeat that step until there is an equation with only one variable. From that we get the first number in the solution and then we get the rest with back-substitution. This method takes longer than Gauss’s Method, since it involves more arithmetic operations, and is also more likely to lead to errors. To illustrate how it can lead to wrong conclusions, we will use the system
from Example 1.13.
Solve the first equation for and substitute that expression into the second equation. Find the resulting .
Again solve the first equation for , but this time substitute that expression into the third equation. Find this .
What extra step must a user of this method take to avoid erroneously concluding a system has a solution?
Answer.
From we get that , giving .
From we get that , leading to the conclusion that .
Users of this method must check any potential solutions by substituting back into all the equations.
Exercise 1.22 Worked answer
Recommended. For which values of are there no solutions, many solutions, or a unique solution to this system?
Answer. Do the reduction
to conclude this system has no solutions if and if then it has infinitely many solutions. It never has a unique solution.
Exercise 1.23 Worked answer
This system is not linear in that it says instead of
and yet we can apply Gauss’s Method. Do so. Does the system have a solution?
Exercise 1.24 Worked answer
Recommended. What conditions must the constants, the ’s, satisfy so that each of these systems has a solution? Hint. Apply Gauss’s Method and see what happens to the right side.
Answer.
Gauss’s Method
shows that this system is consistent if and only if both and .
Reduction
shows that each of , , and can be any real number—this system always has a unique solution.
Exercise 1.25 Worked answer
True or false: a system with more unknowns than equations has at least one solution. (As always, to say ‘true’ you must prove it, while to say ‘false’ you must produce a counterexample.)
Exercise 1.26 Worked answer
Must any Chemistry problem like the one that starts this subsection— a balance the reaction problem—have infinitely many solutions?
Answer. Yes. For example, the fact that we can have the same reaction in two different flasks shows that twice any solution is another, different, solution (if a physical reaction occurs then there must be at least one nonzero solution).
Exercise 1.27 Worked answer
Recommended. Find the coefficients , , and so that the graph of passes through the points , , and .
Answer. Because , , and we get a linear system.
Gauss’s Method
shows that the solution is .
Exercise 1.28 Worked answer
After Theorem 1.5 we note that multiplying a row by is not allowed because that could change a solution set. Give an example of a system with solution set where after multiplying a row by the new system has a solution set and is a proper subset of , that is, . Give an example where .
Answer. Here
while is a proper superset because it contains at least two points: and . In this example the solution set does not change.
Exercise 1.29 Worked answer
Gauss’s Method works by combining the equations in a system to make new equations.
Can we derive the equation by a sequence of Gaussian reduction steps from the equations in this system?
Can we derive the equation with a sequence of Gaussian reduction steps from the equations in this system?
Can we derive by a sequence of Gaussian reduction steps from the equations in the system?
Answer.
Yes, by inspection the given equation results from .
No. The pair satisfies the given equation. However, that pair does not satisfy the first equation in the system.
Yes. To see if the given row is , solve the system of equations relating the coefficients of , , , and the constants:
and get and , so the given row is .
Exercise 1.30 Worked answer
Prove that, where are real numbers with , if this linear equation
has the same solution set as this one
then they are the same equation. What if ?
Answer. If then the solution set of the first equation is this.
Thus, given we can compute the associated . Taking gives the solution , and since the second equation is supposed to have the same solution set, substituting into it gives that , so . Taking in () gives , and so . Hence they are the same equation.
When the equations can be different and still have the same solution set: e.g., and .
Exercise 1.31 Worked answer
Show that if then
has a unique solution.
Answer. We take three cases: that , that and , and that both and .
For the first, we assume that . Then the reduction
shows that this system has a unique solution if and only if ; remember that so that back substitution yields a unique (observe, by the way, that and play no role in the conclusion that there is a unique solution, although if there is a unique solution then they contribute to its value). But and a fraction is not equal to if and only if its numerator is not equal to . Thus, in this first case, there is a unique solution if and only if .
In the second case, if but , then we swap
to conclude that the system has a unique solution if and only if (we use the case assumption that to get a unique in back substitution). But—where and — the condition “” is equivalent to the condition “”. That finishes the second case.
Finally, for the third case, if both and are then the system
might have no solutions (if the second equation is not a multiple of the first) or it might have infinitely many solutions (if the second equation is a multiple of the first then for each satisfying both equations, any pair will do), but it never has a unique solution. Note that and gives that .
Exercise 1.32 Worked answer
Recommended. In the system
each of the equations describes a line in the -plane. By geometrical reasoning, show that there are three possibilities: there is a unique solution, there is no solution, and there are infinitely many solutions.
Answer. Recall that if a pair of lines share two distinct points then they are the same line. That’s because two points determine a line, so these two points determine each of the two lines, and so they are the same line.
Thus the lines can share one point (giving a unique solution), share no points (giving no solutions), or share at least two points (which makes them the same line).
Exercise 1.33 Worked answer
Finish the proof of Theorem 1.5.
Answer. For the reduction operation of multiplying by a nonzero real number , we have that satisfies this system
if and only if and … and … by the definition of ‘satisfies’. Because , that’s true if and only if and … and … (this is straightforward canceling on both sides of the -th equation), which says that solves
as required.
For the combination operation , the tuple satisfies
if and only if and … and … and … again by the definition of ‘satisfies’. Subtract times the equation from equation . (Here is where we need ; if then the two ’s above are not equal.) The previous compound statement holds if and only if and … and… and… , which after cancellation says that solves
as required.
Exercise 1.35 Worked answer
Recommended. Are any of the operations used in Gauss’s Method redundant? That is, can we make any of the operations from a combination of the others?
Answer. Yes. This sequence of operations swaps rows and
so the row-swap operation is redundant in the presence of the other two.
Exercise 1.36 Worked answer
Prove that each operation of Gauss’s Method is reversible. That is, show that if two systems are related by a row operation then there is a row operation to go back .
Answer. Reverse a row swap by swapping back . Reverse the step of multiplying on both sides of a row by dividing through .
The row combination case is the nontrivial one. The operation results in this -th row.
The -th row unchanged because of the restriction. Because the -th row is unchanged, the operation returns the -th row to its original state.
(Observe that the condition on the is needed, or else this could happen
and so the result wouldn’t hold.)
Exercise 1.37 Worked answer
Puzzle. [Anton] A box holding pennies, nickels and dimes contains thirteen coins with a total value of cents. How many coins of each type are in the box? (These are US coins; a penny is cent, a nickel is cents, and a dime is cents.)
Answer. Let , , and be the number of pennies, nickels, and dimes. For variables that are real numbers, this system
has more than one solution; in fact, it has infinitely many of them. However, it has a limited number of solutions in which , , and are non-negative integers. Running through , …, shows that is the only solution using natural numbers.
Exercise 1.38 Worked answer
Puzzle. [Con. Prob. 1955] Four positive integers are given. Select any three of the integers, find their arithmetic average, and add this result to the fourth integer. Thus the numbers 29, 23, 21, and 17 are obtained. One of the original integers is:
19
21
23
29
17
Answer. Solving the system
we obtain , , , . Thus the second item, 21, is the correct answer.
Exercise 1.39 Worked answer
Puzzle. [Am. Math. Mon., Jan. 1935] Laugh at this: . It resulted from substituting a code letter for each digit of a simple example in addition, and it is required to identify the letters and prove the solution unique.
Answer. This is how the answer was given in the cited source. A comparison of the units and hundreds columns of this addition shows that there must be a carry from the tens column. The tens column then tells us that , so there can be no carry from the units or hundreds columns. The five columns then give the following five equations.
The five linear equations in five unknowns, if solved simultaneously, produce the unique solution: , , , and , so that the original example in addition was .
Exercise 1.40 Worked answer
Puzzle. [Wohascum no. 2] The Wohascum County Board of Commissioners, which has 20 members, recently had to elect a President. There were three candidates (, , and ); on each ballot the three candidates were to be listed in order of preference, with no abstentions. It was found that 11 members, a majority, preferred over (thus the other 9 preferred over ). Similarly, it was found that 12 members preferred over . Given these results, it was suggested that should withdraw, to enable a runoff election between and . However, protested, and it was then found that 14 members preferred over ! The Board has not yet recovered from the resulting confusion. Given that every possible order of , , appeared on at least one ballot, how many members voted for as their first choice?
Answer. This is how the answer was given in the cited source. Some additional material was added from [joriki]. Eight commissioners voted for . To see this, we will use the given information to study how many voters chose each order of , , .
The six orders of preference are , , , , , ; assume they receive , , , , , votes respectively. We know that
from the number preferring over , the number preferring over , and the number preferring over . Because 20 votes were cast, . Subtracting the sum of the three above equations from twice the prior equation gives . We’ve specified that each preference order got at least one vote, so that means .
From the above three equations the complete solution is then , , , , , and , as we can find with Gauss’s Method. The number of commissioners voting for as their first choice is therefore .
Comments. The answer to this question would have been the same had we known only that at least 14 commissioners preferred over .
The seemingly paradoxical nature of the commissioner’s preferences ( is preferred to , and is preferred to , and is preferred to ), an example of “non-transitive dominance”, is common when individual choices are pooled.
Exercise 1.41 Worked answer
Puzzle. [Am. Math. Mon., Jan. 1963] “This system of linear equations with unknowns,” said the Great Mathematician, “has a curious property.”
“Good heavens!” said the Poor Nut, “What is it?”
“Note,” said the Great Mathematician, “that the constants are in arithmetic progression.”
“It’s all so clear when you explain it!” said the Poor Nut. “Do you mean like and ?”
“Quite so,” said the Great Mathematician, pulling out his bassoon. “Indeed, the system has a unique solution. Can you find it?”
“Good heavens!” cried the Poor Nut, “I am baffled.”
Are you?
Answer. This is how the answer was given in the cited source. We have not used “dependent” yet; it means here that Gauss’s Method shows that there is not a unique solution. If the system is dependent and the solution is not unique. Hence . But the term “system” implies . Hence . If the equations are
then , .
Describing the Solution Set
A linear system with a unique solution has a solution set with one element. A linear system with no solution has a solution set that is empty. In these cases the solution set is easy to describe. Solution sets are a challenge to describe only when they contain many elements.
Example 2.1 This system has many solutions because in echelon form
not all of the variables are leading variables. Theorem 1.5 shows that an satisfies the first system if and only if it satisfies the third. So we can describe the solution set in this way.
This description is better because it has two equations instead of three but it is not optimal because it still has some hard to understand interactions among the variables.
To improve it, use the variable that does not lead any equation, , to describe the variables that do lead, and . The second equation gives and the first equation gives . Thus we can describe the solution set as this set of triples.
Compared with (), the advantage of () is that can be any real number. This makes the job of deciding which tuples are in the solution set much easier. For instance, taking shows that is a solution.
Definition 2.2 In an echelon form linear system the variables that are not leading are free.
Example 2.3 Reduction of a linear system can end with more than one variable free. Gauss’s Method on this system
leaves and leading and both and free. To get the description that we prefer, we work from the bottom. We first express the leading variable in terms of and , as . Moving up to the top equation, substituting for gives and solving for leaves . The solution set
has the leading variables expressed in terms of the variables that are free.
Example 2.4 The list of leading variables may skip over some columns. After this reduction
and are the leading variables, not and . The free variables are and and so we can describe the solution set as . For instance, satisfies the system—take and . The four-tuple is not a solution since its first coordinate does not equal its second.
A variable that we use to describe a family of solutions is a parameter. We say that the solution set in the prior example is parametrized with and .
The terms ‘parameter’ and ‘free variable’ do not mean the same thing. In the prior example and are free because in the echelon form system they do not lead. They are parameters because we used them to describe the set of solutions. Had we instead rewritten the second equation as then the free variables would still be and but the parameters would be and .
In the rest of this book we will solve linear systems by bringing them to echelon form and then parametrizing with the free variables.
Example 2.5 This is another system with infinitely many solutions.
The leading variables are , , and . The variable is free. Notice that, although there are infinitely many solutions, the value of doesn’t vary but is constant . To parametrize, write in terms of with . Then . Substitute for in the first equation to get . The solution set is .
Parametrizing solution sets shows that systems with free variables have infinitely many solutions. For instance, above takes on all of infinitely many real number values, each associated with a different solution.
We finish this subsection by developing a streamlined notation for linear systems and their solution sets.
Definition 2.6 An matrix is a rectangular array of numbers with rows and columns. Each number in the matrix is an entry.
We usually denote a matrix with an upper case roman letter. For instance,
has rows and columns and so is a matrix. Read that aloud as “two-by-three”; the number of rows is always stated first. (The matrix has parentheses around it so that when two matrices are adjacent we can tell where one ends and the other begins.) We name matrix entries with the corresponding lower-case letter, so that the entry in the second row and first column of the above array is . Note that the order of the subscripts matters: since . We denote the set of all matrices by .
We do Gauss’s Method using matrices in essentially the same way that we did it for systems of equations: a matrix row’s leading entry is its first nonzero entry (if it has one) and we perform row operations to arrive at matrix echelon form, where the leading entry in lower rows are to the right of those in the rows above. We like matrix notation because it lightens the clerical load, the copying of variables and the writing of ’s and ’s.
Example 2.7 We can abbreviate this linear system
with this matrix.
The vertical bar reminds a reader of the difference between the coefficients on the system’s left hand side and the constants on the right. With a bar, this is an augmented matrix.
The second row stands for and the first row stands for so the solution set is .
Matrix notation also clarifies the descriptions of solution sets. Example 2.3’s is hard to read. We will rewrite it to group all of the constants together, all of the coefficients of together, and all of the coefficients of together. We write them vertically, in one-column matrices.
For instance, the top line says that and the second line says that . (Our next section gives a geometric interpretation that will help us picture the solution sets.)
Definition 2.8 A column vector, often just called a vector, is a matrix with a single column. A matrix with a single row is a row vector. The entries of a vector are sometimes called components. A column or row vector whose components are all zeros is a zero vector.
Vectors are an exception to the convention of representing matrices with capital roman letters. We use lower-case roman or greek letters overlined with an arrow: , , … or , , … (boldface is also common: or ). For instance, this is a column vector with a third component of .
A zero vector is denoted . There are many different zero vectors—the one-tall zero vector, the two-tall zero vector, etc.—but nonetheless we will often say “the” zero vector, expecting that the size will be clear from the context.
Definition 2.9 The linear equation with unknowns is satisfied by
if . A vector satisfies a linear system if it satisfies each equation in the system.
The style of description of solution sets that we use involves adding the vectors, and also multiplying them by real numbers. Before we give the examples showing the style we first need to define these operations.
Definition 2.10 The vector sum of and is the vector of the sums.
Note that for the addition to be defined the vectors must have the same number of entries. This entry-by-entry addition works for any pair of matrices, not just vectors, provided that they have the same number of rows and columns.
Definition 2.11 The scalar multiplication of the real number and the vector is the vector of the multiples.
As with the addition operation, the entry-by-entry scalar multiplication operation extends beyond vectors to apply to any matrix.
We write scalar multiplication either as or , and sometimes even omit the ‘’ symbol: . (Do not refer to scalar multiplication as ‘scalar product’ because that name is for a different operation.)
Example 2.12
Observe that the definitions of addition and scalar multiplication agree where they overlap; for instance, .
With these definitions, we are set to use matrix and vector notation to both solve systems and express the solution.
Example 2.13 This system
reduces in this way.
The solution set is . We write that in vector form.
Note how well vector notation sets off the coefficients of each parameter. For instance, the third row of the vector form shows plainly that if is fixed then increases three times as fast as . Another thing shown plainly is that setting both and to zero gives that
is a particular solution of the linear system.
Example 2.14 In the same way, the system
reduces
to give a one-parameter solution set.
As in the prior example, the vector not associated with the parameter
is a particular solution of the system.
Before the exercises, we will consider what we have accomplished and what we will do in the remainder of the chapter. So far we have done the mechanics of Gauss’s Method. We have not stopped to consider any of the questions that arise, except for proving Theorem 1.5—which justifies the method by showing that it gives the right answers.
For example, can we always describe solution sets as above, with a particular solution vector added to an unrestricted linear combination of some other vectors? We’ve noted that the solution sets described in this way have infinitely many members so answering this question would tell us about the size of solution sets. The following subsection shows that the answer is “yes.” This chapter’s second section then uses that answer to describe the geometry of solution sets.
Other questions arise from the observation that we can do Gauss’s Method in more than one way (for instance, when swapping rows we may have a choice of rows to swap with). Theorem 1.5 says that we must get the same solution set no matter how we proceed but if we do Gauss’s Method in two ways must we get the same number of free variables in each echelon form system? Must those be the same variables, that is, is it impossible to solve a problem one way to get and free and solve it another way to get and free? The third section of this chapter answers “yes,” that from any starting linear system, all derived echelon form versions have the same free variables.
Thus, by the end of the chapter we will not only have a solid grounding in the practice of Gauss’s Method but we will also have a solid grounding in the theory. We will know exactly what can and cannot happen in a reduction.
Exercises
Exercise 2.18 Worked answer
Recommended. Solve each system using matrix notation. Express the solution using vectors.
Answer.
This reduction
leaves leading and free. Making the parameter, gives and this solution set.
A reduction
gives the unique solution , . The solution set is this.
Gauss’s Method
leaves and leading with free. The solution set is this.
This reduction
shows that the solution set is a singleton set.
This reduction is easy
and ends with and leading while and are free. Solving for gives and substitution shows that so , making this the solution set.
The reduction
shows that there is no solution—the solution set is empty.
Exercise 2.19 Worked answer
Solve each system using matrix notation. Give each solution set in vector notation.
Answer.
The reduction
ends with and leading, and with free. Solving for gives , and then substitution shows that . Hence the solution set is this.
This application of Gauss’s Method
leaves , , and leading. The solution set is here.
This row reduction
ends with and free. We have this solution set.
Gauss’s Method done in this way
ends with , , and free. Solving for shows that and then substitution shows that and we have the solution set.
Exercise 2.20 Worked answer
Solve each system using matrix notation. Express the solution set using vectors.
Answer.
This reduction
gives this solution set.
This is the reduction.
The solution set is this.
Gauss’s Method
gives the solution set.
Here is the reduction.
The solution set is empty .
Exercise 2.21 Worked answer
Recommended. The vector is in the set. What value of the parameters produces that vector?
,
,
,
Answer. For each problem we get a system of linear equations by looking at the equations of components.
The second components show that , the third components show that .
,
Exercise 2.22 Worked answer
Decide if the vector is in the set.
,
,
,
,
Answer. For each problem we get a system of linear equations by looking at the equations of components.
Yes; take .
No; the system with equations and has no solution.
Yes; take .
No. The second components give . Then the third components give . But the first components don’t check.
Exercise 2.23 Worked answer
[Cleary] A farmer with 1200 acres is considering planting three different crops, corn, soybeans, and oats. The farmer wants to use all acres. Seed corn costs $ per acre, while soybean and oat seed cost $ and $ per acre respectively. The farmer has $ available to buy seed and intends to spend it all.
Use the information above to formulate two linear equations with three unknowns and solve it.
Solutions to the system are choices that the farmer can make. Write down two reasonable solutions.
Suppose that in the fall when the crops mature, the farmer can bring in revenue of $ per acre for corn, $ per acre for soybeans and $ per acre for oats. Which of your two solutions in the prior part would have resulted in a larger revenue?
Answer.
Let be the number of acres of corn, be the number of acres of soy, and be the number of acres of oats.
To describe the solution set we can parametrize using .
There are many answers possible here. For instance we can take to get and . Another example is to take , giving and .
Plug your answers from the prior part into .
Exercise 2.24 Worked answer
Parametrize the solution set of this one-equation system.
Answer. This system has one equation. The leading variable is , the other variables are free.
Exercise 2.25 Worked answer
Recommended.
Apply Gauss’s Method to the left-hand side to solve
for , , , and , in terms of the constants , , and .
Use your answer from the prior part to solve this.
Answer.
Gauss’s Method here gives
leaving free. Solve: , and so , and Therefore the solution set is this.
Plug in with , , and .
Exercise 2.26 Worked answer
Why is the comma needed in the notation ‘’ for matrix entries?
Answer. Leaving the comma out, say by writing , is ambiguous because it could mean or .
Exercise 2.28 Worked answer
For any matrix , the transpose of , written , is the matrix whose columns are the rows of . Find the transpose of each of these.
Exercise 2.29 Worked answer
Recommended.
Describe all functions such that and .
Describe all functions such that .
Answer.
Plugging in and gives
so the set of functions is .
Putting in gives
so the set of functions is .
Exercise 2.30 Worked answer
Show that any set of five points from the plane lie on a common conic section, that is, they all satisfy some equation of the form where some of are nonzero.
Answer. On plugging in the five pairs we get a system with the five equations and six unknowns , …, . Because there are more unknowns than equations, if no inconsistency exists among the equations then there are infinitely many solutions (at least one variable will end up free).
But no inconsistency can exist because , …, is a solution (we are only using this zero solution to show that the system is consistent—the prior paragraph shows that there are nonzero solutions).
Exercise 2.31 Worked answer
Make up a four equations/four unknowns system having
a one-parameter solution set;
a two-parameter solution set;
a three-parameter solution set.
Answer.
Here is one—the fourth equation is redundant but still OK.
Here is one.
This is one.
Exercise 2.32 Worked answer
Puzzle. [Shepelev] This puzzle is from a Russian web-site
http://www.arbuz.uz/and there are many solutions to it, but mine uses linear algebra and is very naive. There’s a planet inhabited by arbuzoids (watermeloners, to translate from Russian). Those creatures are found in three colors: red, green and blue. There are red arbuzoids, blue ones, and green. When two differently colored arbuzoids meet, they both change to the third color.The question is, can it ever happen that all of them assume the same color?
Answer. This is how the answer was given in the cited source. My solution was to define the numbers of arbuzoids as -dimensional vectors, and express all possible elementary transitions as such vectors, too:
R: G: B: Operations: , , and
Now, it is enough to check whether the solution to one of the following systems of linear equations exists:
Solving
gives so if the number of transformations is an integer then is not. The other two systems give similar conclusions so there is no solution.
Exercise 2.33 Worked answer
Puzzle. [USSR Olympiad no. 174]
Solve the system of equations.
For what values of does the system fail to have solutions, and for what values of are there infinitely many solutions?
Answer the above question for the system.
Answer. This is how the answer was given in the cited source.
Formal solution of the system yields
If and , then the system has the single solution
If , or if , then the formulas are meaningless; in the first instance we arrive at the system
which is a contradictory system. In the second instance we have
which has an infinite number of solutions (for example, for arbitrary, ).
Solution of the system yields
Here, is , the system has the single solution , . For and , we obtain the systems
both of which have an infinite number of solutions.
Exercise 2.34 Worked answer
Puzzle. [Math. Mag., Sept. 1952] In air a gold-surfaced sphere weighs grams. It is known that it may contain one or more of the metals aluminum, copper, silver, or lead. When weighed successively under standard conditions in water, benzene, alcohol, and glycerin its respective weights are , , , and grams. How much, if any, of the forenamed metals does it contain if the specific gravities of the designated substances are taken to be as follows?
Aluminum Alcohol 0.81 Copper Benzene Gold Glycerin Lead Water Silver Answer. This is how the answer was given in the cited source. Let , , , , be the volumes in of Al, Cu, Pb, Ag, and Au, respectively, contained in the sphere, which we assume to be not hollow. Since the loss of weight in water (specific gravity ) is grams, the volume of the sphere is . Then the data, some of which is superfluous, though consistent, leads to only independent equations, one relating volumes and the other, weights.
Clearly the sphere must contain some aluminum to bring its mean specific gravity below the specific gravities of all the other metals. There is no unique result to this part of the problem, for the amounts of three metals may be chosen arbitrarily, provided that the choices will not result in negative amounts of any metal.
If the ball contains only aluminum and gold, there are of gold and of aluminum. Another possibility is each of Cu, Au, Pb, and Ag and of Al.
In the prior subsection the descriptions of solution sets all fit a pattern. They have a vector that is a particular solution of the system added to an unrestricted combination of some other vectors. The solution set from Example 2.13 illustrates.
The combination is unrestricted in that and can be any real numbers—there is no condition like “such that ” to restrict which pairs we can use.
That example shows an infinite solution set fitting the pattern. The other two kinds of solution sets also fit. A one-element solution set fits because it has a particular solution and the unrestricted combination part is trivial. That is, instead of being a combination of two vectors or of one vector, it is a combination of no vectors. (By convention the sum of an empty set of vectors is the zero vector.) An empty solution set fits the pattern because there is no particular solution and thus there are no sums of that form.
Theorem 3.1 Any linear system’s solution set has the form
where is any particular solution and where the number of vectors , …, equals the number of free variables that the system has after a Gaussian reduction.
The solution description has two parts, the particular solution and the unrestricted linear combination of the ’s. We shall prove the theorem with two corresponding lemmas.
We will focus first on the unrestricted combination. For that we consider systems that have the vector of zeroes as a particular solution so that we can shorten to .
Definition 3.2 A linear equation is homogeneous if it has a constant of zero, so that it can be written as .
Example 3.3 With any linear system like
we associate a system of homogeneous equations by setting the right side to zeros.
Compare the reduction of the original system
with the reduction of the associated homogeneous system.
Obviously the two reductions go in the same way. We can study how to reduce a linear system by instead studying how to reduce the associated homogeneous system.
Studying the associated homogeneous system has a great advantage over studying the original system. Nonhomogeneous systems can be inconsistent. But a homogeneous system must be consistent since there is always at least one solution, the zero vector.
Example 3.4 Some homogeneous systems have the zero vector as their only solution.
Example 3.5 Some homogeneous systems have many solutions. One is the Chemistry problem from the first page of the first subsection.
The solution set
has many vectors besides the zero vector (if we take to be a number of molecules then solutions make sense only when is a nonnegative multiple of ).
Lemma 3.6 For any homogeneous linear system there exist vectors , …, such that the solution set of the system is
where is the number of free variables in an echelon form version of the system.
Before the proof, we discuss a couple of points about it. First, the proof verifies that, given a homogeneous system in echelon form, we can use back substitution to express all of the leading variables in terms of the free variables. To see why this suffices to establish the lemma, we give an example (we will also use this walk-through as a chance to illustrate the proof’s notation).
Consider this system of homogeneous equations in echelon form.
It has five variables: , …, . To do back substitution, we start with the bottom row, equation . We solve for its leading variable, , using its leading term (the notation’s ‘’ stands for “leading”). We get .
Now back substitution enters its iteration phase. We will use the variable to count how many rows up from the bottom the current row is, so we take and look at row . We come to this row having so far expressed the leading variable in terms of free variables for row . We substitute for its expression in terms of free variables, getting . Then solving for this row’s leading variable gives .
Next is the row that is up from the bottom, row . We have so far expressed the leading variable in terms of free variables for rows and . Substitute for and , giving . Then solve for the leading variable in terms of the free variables as .
The point of this example is that now we are done. Just write the solution in vector notation
to recognize that and of the lemma’s statement are the vectors associated with the free variables and .
The second point about the proof follows from that example also. Back substitution moves up the system, using the conclusions from lower rows to do the next row. This suggests the proof strategy of mathematical induction.
Induction is an important and non-obvious proof technique that will appear a number of times in this book. Our proofs by induction will come in two steps, a base step and an inductive step. In the base step, we verify that the statement is true for some first instance, here that for an echelon form linear system we can write the bottom equation’s leading variable in terms of free variables. In the inductive step, we must establish an implication, namely that if the statement is true for all prior cases then it follows that the statement holds for the present case also. Specifically, here the inductive hypothesis is that if for the lower-down rows we can express the leading variables in terms of the free variables, then for the next row up we can express the leading variable in those terms also.
Those two steps together prove the statement for all the rows because by the base step it is true for the bottom equation, and by the inductive step the fact that it is true for the bottom equation shows that it is true for the next one up. Then, another application of the inductive step implies that it is true for the third equation up, etc.1
Proof Apply Gauss’s Method to get to echelon form. There may be some equations; we ignore these (if the system consists only of equations then the lemma is trivially true because there are no leading variables). But because the system is homogeneous there are no contradictory equations.
We will use induction to verify that each leading variable can be expressed in terms of free variables. That will finish the proof because we can use the free variables as parameters and the ’s are the vectors of coefficients of those free variables.
For the base step, consider the bottom-most equation,
where . This is the bottom row, so any variables after the leading one must be free. Move these to the right hand side and divide by
to express the leading variable in terms of free variables. (A technical point: if in the bottom equation there are no variables to the right of then . This satisfies the statement that we are verifying because, as alluded to at the start of this subsection, it has written as a sum of a number of the free variables, namely as the sum of zero many, under the convention that a trivial sum totals to .)
For the inductive step, assume that assume that for the -th equation, and the -th equation, etc., up to and including the -th equation, we can express the leading variable of that equation in terms of free variables. That is, assume that the statement that we can express the leading variable of the row in terms of the free variables holds for the bottom-most rows, with . We must verify that the statement therefore also holds for the next equation up, the -th equation.
For each of , …, , substitute its expression in terms of free variables. The result has a leading term of with , and the rest of the left hand side is a combination of free variables. Move the free variables to the right side and divide by , to end with expressed in terms of free variables.
We have done both the base step and the inductive step, so by the principle of mathematical induction the proposition is true.
QED
This shows, as discussed between the lemma and its proof, that we can parametrize solution sets using the free variables. We say that the set of vectors is generated by or spanned by the set .
To finish the proof of Theorem 3.1 the next lemma considers the particular solution part of the solution set’s description.
Lemma 3.7 For a linear system and for any particular solution , the solution set equals .
Proof We will show mutual set inclusion, that any solution to the system is in the above set and that anything in the set is a solution of the system.2
For set inclusion the first way, that if a vector solves the system then it is in the set described above, assume that solves the system. Then solves the associated homogeneous system since for each equation index ,
where and are the -th components of and . Express in the required form by writing as .
For set inclusion the other way, take a vector of the form , where solves the system and solves the associated homogeneous system and note that solves the given system since for any equation index ,
where as earlier and are the -th components of and .
QED
The two lemmas together establish Theorem 3.1. Remember that theorem with the slogan, “”.
Example 3.8 This system illustrates Theorem 3.1.
Gauss’s Method
shows that the general solution is a singleton set.
That single vector is obviously a particular solution. The associated homogeneous system reduces via the same row operations
to also give a singleton set.
So, as discussed at the start of this subsection, in this single-solution case the general solution results from taking the particular solution and adding to it the unique solution of the associated homogeneous system.
Example 3.9 The start of this subsection also discusses that the case where the general solution set is empty fits the pattern too. This system illustrates.
It has no solutions because the final two equations conflict. But the associated homogeneous system does have a solution, as do all homogeneous systems.
In fact, the solution set is infinite.
Nonetheless, because the original system has no particular solution, its general solution set is empty—there are no vectors of the form because there are no ’s.
Corollary 3.10 Solution sets of linear systems are either empty, have one element, or have infinitely many elements.
Proof We’ve seen examples of all three happening so we need only prove that there are no other possibilities.
First observe a homogeneous system with at least one non- solution has infinitely many solutions. This is because any scalar multiple of also solves the homogeneous system and there are infinitely many vectors in the set of scalar multiples of : if are unequal then , since is non- as any non- component of , when rescaled by the non- factor , will give a non- value.
Now apply Lemma 3.7 to conclude that a solution set
is either empty (if there is no particular solution ), or has one element (if there is a and the homogeneous system has the unique solution ), or is infinite (if there is a and the homogeneous system has a non- solution, and thus by the prior paragraph has infinitely many solutions).
QED
This table summarizes the factors affecting the size of a general solution.
|
||||||||||||||||||||||
|
|
The dimension on the top of the table is the simpler one. When we perform Gauss’s Method on a linear system, ignoring the constants on the right side and so paying attention only to the coefficients on the left-hand side, we either end with every variable leading some row or else we find some variable that does not lead a row, that is, we find some variable that is free. (We formalize “ignoring the constants on the right” by considering the associated homogeneous system.)
A notable special case is systems having the same number of equations as unknowns. Such a system will have a solution, and that solution will be unique, if and only if it reduces to an echelon form system where every variable leads its row (since there are the same number of variables as rows), which will happen if and only if the associated homogeneous system has a unique solution.
Definition 3.11 A square matrix is nonsingular if it is the matrix of coefficients of a homogeneous system with a unique solution. It is singular otherwise, that is, if it is the matrix of coefficients of a homogeneous system with infinitely many solutions.
Example 3.12 The first of these matrices is nonsingular while the second is singular
because the first of these homogeneous systems has a unique solution while the second has infinitely many solutions.
We have made the distinction in the definition because a system with the same number of equations as variables behaves in one of two ways, depending on whether its matrix of coefficients is nonsingular or singular. Where the matrix of coefficients is nonsingular the system has a unique solution for any constants on the right side: for instance, Gauss’s Method shows that this system
has the unique solution and . On the other hand, where the matrix of coefficients is singular the system never has a unique solution—it has either no solutions or else has infinitely many, as with these.
The definition uses the word ‘singular’ because it means “departing from general expectation.” People often, naively, expect that systems with the same number of variables as equations will have a unique solution. Thus, we can think of the word as connoting “troublesome,” or at least “not ideal.” (That ‘singular’ applies to those systems that never have exactly one solution is ironic but it is the standard term.)
Example 3.13 The systems from Example 3.3, Example 3.4, and Example 3.8 each have an associated homogeneous system with a unique solution. Thus these matrices are nonsingular.
The Chemistry problem from Example 3.5 is a homogeneous system with more than one solution so its matrix is singular.
The table above has two dimensions. We have considered the one on top: we can tell into which column a given linear system goes solely by considering the system’s left-hand side; the constants on the right-hand side play no role in this.
The table’s other dimension, determining whether a particular solution exists, is tougher. Consider these two systems with the same left side but different right sides.
The first has a solution while the second does not, so here the constants on the right side decide if the system has a solution. We could conjecture that the left side of a linear system determines the number of solutions while the right side determines if solutions exist but that guess is not correct. Compare these two, with the same right sides but different left sides.
The first has a solution but the second does not. Thus the constants on the right side of a system don’t alone determine whether a solution exists. Rather, that depends on some interaction between the left and right.
For some intuition about that interaction, consider this system with one of the coefficients left unspecified, as the variable .
If then this system has no solution because the left-hand side has the third row as the sum of the first two, while the right-hand does not. If then this system has a unique solution (try it with ). For a system to have a solution, if one row of the matrix of coefficients on the left is a linear combination of other rows then on the right the constant from that row must be the same combination of constants from the same rows.
More intuition about the interaction comes from studying linear combinations. That will be our focus in the second chapter, after we finish the study of Gauss’s Method itself in the rest of this chapter.
Exercises
Exercise 3.14 Worked answer
Solve this system. Then solve the associated homogeneous system.
Answer. This reduction solves the system.
The solution set is this.
Similarly we can reduce the associated homogeneous system
to get its solution set.
Exercise 3.15 Worked answer
Recommended. Solve each system. Express the solution set using vectors. Identify a particular solution and the solution set of the homogeneous system.
Answer. For the arithmetic to these, see the answers from the prior subsection.
This is the solution set.
Here are the particular solution and the solution set for the associated homogeneous system.
Note. There are two possible points of confusion here. First, the set given above is equal to this set
because the two sets contain the same members. All of these are correct answers to, “What is a particular solution?”
The second point of confusion is that the letter we use in the set doesn’t matter. This set also equals .
This is the solution set.
These are a particular solution, and the solution set for the associated homogeneous system.
The solution set is infinite.
This is a particular solution and the solution set for the associated homogeneous system.
The solution set is a singleton.
A particular solution and the solution set for the associated homogeneous system are here.
The solution set is infinite.
A particular solution and the solution set for the associated homogeneous system are here.
This system’s solution set is empty. Thus, there is no particular solution. The solution set of the associated homogeneous system is this.
Exercise 3.16 Worked answer
Solve each system, giving the solution set in vector notation. Identify a particular solution and the solution of the homogeneous system.
Answer. The answers from the prior subsection show the row operations. Each answer here just lists the solution set, the particular solution, and the homogeneous solution.
The solution set is this.
A particular solution and the solution set for the associated homogeneous system are here.
The solution set is infinite.
Here are a particular solution and the solution set for the associated homogeneous system.
This is the solution set.
Here is a particular solution and the solution set for the associated homogeneous system.
The solution set is this.
And, this is a particular solution and the solution set for the associated homogeneous system.
Exercise 3.17 Worked answer
Recommended. For the system
which of these can be used as the particular solution part of some general solution?
Answer. Just plug them in and see if they satisfy all three equations.
No.
Yes.
Yes.
Exercise 3.18 Worked answer
Recommended. Lemma 3.7 says that we can use any particular solution for . Find, if possible, a general solution to this system
that uses the given vector as its particular solution.
Answer. Gauss’s Method on the associated homogeneous system
gives this is the solution to the homogeneous problem.
That vector is indeed a particular solution, so the required general solution is this.
That vector is a particular solution so the required general solution is this.
That vector is not a solution of the system since it does not satisfy the third equation. No such general solution exists.
Exercise 3.19 Worked answer
One is nonsingular while the other is singular. Which is which?
Answer. The first is nonsingular while the second is singular. Just do Gauss’s Method and see if the echelon form result has non- numbers in each entry on the diagonal.
Exercise 3.20 Worked answer
Recommended. Singular or nonsingular?
Answer.
Nonsingular:
ends with each row containing a leading entry.
Singular:
ends with row without a leading entry.
Neither. A matrix must be square for either word to apply.
Singular.
Nonsingular.
Exercise 3.21 Worked answer
Recommended. Is the given vector in the set generated by the given set?
Answer. In each case we must decide if the vector is a linear combination of the vectors in the set.
Yes. Solve
with
to conclude that there are and giving the combination.
No. The reduction
shows that
has no solution.
Yes. The reduction
shows that there are infinitely many ways
to write a combination.
No. Look at the third components.
Exercise 3.22 Worked answer
Prove that any linear system with a nonsingular matrix of coefficients has a solution, and that the solution is unique.
Answer. Because the matrix of coefficients is nonsingular, Gauss’s Method ends with an echelon form where each variable leads an equation. Back substitution gives a unique solution.
(Another way to see that the solution is unique is to note that with a nonsingular matrix of coefficients the associated homogeneous system has a unique solution, by definition. Since the general solution is the sum of a particular solution with each homogeneous solution, the general solution has at most one element.)
Exercise 3.23 Worked answer
In the proof of Lemma 3.6, what happens if there are no non- equations?
Answer. In this case the solution set is all of and we can express it in the required form.
Exercise 3.24 Worked answer
Recommended. Prove that if and satisfy a homogeneous system then so do these vectors.
for
What’s wrong with this argument: “These three show that if a homogeneous system has one solution then it has many solutions—any multiple of a solution is another solution, and any sum of solutions is a solution also—so there are no homogeneous systems with exactly one solution.”?
Answer. Assume and write them as here.
Also let be the -th equation in the homogeneous system.
The check is easy.
This is similar to the prior one.
This one is not much harder.
What is wrong with that argument is that any linear combination involving only the zero vector yields the zero vector.
Exercise 3.25 Worked answer
Prove that if a system with only rational coefficients and constants has a solution then it has at least one all-rational solution. Must it have infinitely many?
Answer. First the proof.
If the system has all rational coefficients then Gauss’s Method with back substitution will use only rationals (e.g., ). Thus we can express the solution set using only rational numbers as the components of each vector. Therefore, the particular solution is all rational.
As to the question about infinitely many, there are infinitely many rational vector solutions if and only if the associated homogeneous system has infinitely many real vector solutions. That’s because setting any parameters to be rationals will produce an all-rational solution.
References cited in this section
Onan
Michael Onan, Linear Algebra, Harcourt, 1990.
Anton
Howard Anton, Elementary Linear Algebra, John Wiley & Sons, 1987.
Con. Prob. 1955
The Contest Problem Book, 1955 number 38.
Am. Math. Mon., Jan. 1935
W. R. Ransom (proposer), Hansraj Gupta (solver), Elementary problem 105, American Mathematical Monthly, vol. 42 no. 1 (Jan. 1935), p. 47.
Wohascum no. 2
The Wohascum County Problem Book problem number 2.
joriki
Mathematics Stack Exchange user joriki, http://math.stackexchange.com/a/118914/205168, 2012.
Am. Math. Mon., Jan. 1963
Underwood Dudley, Arnold Lebow (proposers), David Rothman (solver), Elementary problem 1151, American Mathematical Monthly, vol. 70 no. 1 (Jan. 1963), p. 93.
Cleary
R. Cleary, private communication, Nov. 2011.
Shepelev
Anton Shepelev, private communication, Feb 19, 2011.
USSR Olympiad no. 174
The USSR Mathematics Olympiad, number 174.
Math. Mag., Sept. 1952
Dewey Duncan (proposer), W. H. Quelch (solver), Mathematics Magazine, volume 26 number 1 (Sept-Oct. 1952), p. 48.