Print this page and work through it on paper. Revealed answers are never printed, so you can check one question and still print a clean sheet.

  1. Show the solution to question 1

    (a) Two lines that cross once. The line passes through and and rises steeply (slope ); the line passes through and and falls (slope ). The slopes differ, so the lines are not parallel and must cross exactly once. To find where, add the two equations: , so , and then . The solution set is the single point .

    Check in both equations: and . The sketch shows a steep rising line and a falling line meeting at , with the four intercepts labelled.

    (b) The same line twice. Multiplying through by gives , which is exactly the second equation. So the two equations carry identical information and describe one line, through and with slope . Draw a single line and label it with both equations. The solution set is the whole line: solving for , it is .

    Check at : the point gives and .

    (c) Parallel and distinct. Rewriting, and : the same slope , different intercepts. The first line crosses the axes at and ; the second at and , so it lies strictly above the first everywhere. Algebraically: any solution of the first equation satisfies , and the second demands , so , which is false. The solution set is empty. The sketch shows two parallel lines that never meet.

    (d) Suppose two lines had two distinct common points and . Through two distinct points there passes exactly one line, so both lines are that line — they coincide, and then every point of the line is common to both, giving infinitely many solutions. So as soon as a pair of lines shares two points it shares all of them. The only possible counts are zero (parallel and distinct), one (crossing) and infinitely many (coincident): exactly the three pictures in (a), (b) and (c).

  2. Show the solution to question 2

    (a) Reduce and read off. The augmented matrix is

    replaces the first row by :

    replaces the second row by ; the first row is the source and does not change:

    Row says , and row then gives . Check in the original system: and . Both hold.

    (b) Inverses and why they matter. The inverse of is ; the inverse of is .

    The proof that row operations preserve the solution set has two halves. The direct half shows that any solution of the old system still satisfies the new equations (a scaled equation or a sum of true equations is still true). That half only says the original solutions survive; it does not say the reduced system has no extra solutions. The reverse inclusion comes from applying the same direct argument to the inverse operations, which carry the reduced system back to the original: any solution of the reduced system therefore satisfies the original equations. So , read off the reduced system, is a solution of the original because and exist and are themselves row operations.

    (c) Multiplying a row by zero. After the matrix is , the system , . The second equation has been erased, so the solution set is the whole line , . The point satisfies , but in the original second equation .

    The violated requirement is that scaling (R2) uses a nonzero scalar. The operation has no inverse — nothing recovers from — so the reverse inclusion in (b) is unavailable, and the new system acquires solutions the original never had.

  3. Show the solution to question 3

    (a) Forward phase. The augmented matrix is

    Column : the pivot is the in position . gives and gives :

    Column : the pivot is the in position . gives :

    Column of the remaining submatrix is zero, so the next pivot is the in position , and there are no rows below it. This is an echelon form: the leading entries move strictly right down the rows.

    (b) Reading the staircase. The pivot positions are , and , so the pivot columns are , and . The basic variables are and the free variable is .

    No row has the form with , so by the existence and uniqueness criterion the system is consistent; and since there is a free variable, the same criterion says it has infinitely many solutions.

    (c) Backward phase and the general solution. Start with the rightmost pivot, in column ; it is already . Clear above it with , giving ; row already has a in column . Next the pivot in column : gives . The reduced echelon form is

    Set . The rows say , and , so the general solution is

    Check at , the point : ; ; . All three original equations hold.

  4. Show the solution to question 4

    (a) The three elementary matrices. Apply each operation to .

    gives ; its inverse operation is , so .

    gives ; the inverse of scaling by is scaling by , the same operation, so .

    gives ; its inverse operation is , so .

    (b) The product of the operations. Multiply right to left, since acts first:

    Verification:

    Since is square and , . Sanity check with the inverse formula: , so , which is .

    (c) as a product, and the wrong order. From we get , using the rule that the inverse of a product reverses the order. So

    Check: the first two factors multiply to , and then .

    Now the other order: , and

    Matrix multiplication is not commutative, and the product records the operations in the reverse of the order they were performed: the last operation acts on the result of the earlier ones, so it sits furthest left. is the matrix of a different procedure — first, then , then — and indeed , nowhere near .

  5. Show the solution to question 5

    (a) Solve for weights. is in the span exactly when has a solution, that is, when

    The second equation forces ; the first then gives , so and . The third must be checked, not assumed: , which holds. So and is in the span.

    For the first two coordinates are the same, so any weights would again have to be , and then the third coordinate reads . No weights exist and is not in the span.

    (b) The span as one equation. Reduce with a symbolic right-hand side:

    The pivot in column is the . makes the last row . The system is consistent exactly when that entry is ; multiplying by ,

    Check: gives , in the span; gives , not in the span — matching (a). The two spanning vectors are not multiples of one another (), so the span is a plane through the origin in , and is its equation. Sanity check that the generators satisfy it: gives and gives .

    (c) The three views. As scalar equations: , , . As a vector equation: . As a matrix equation: with

    The theorem that the three views agree says these have exactly the same solution set, and in particular that is consistent if and only if lies in the span of the columns of . Here all three are inconsistent, which is what (a) found.

  6. Show the solution to question 6

    (a) Symbolic elimination. The augmented matrix and its reduction:

    The pivot in column is the in row . gives the last row :

    Everything is decided by the last row, , via the existence and uniqueness criterion.

    If : three pivots in three columns, no impossible row, so exactly one solution for every . If and : the last row reads , an impossible row, so no solution. If and : the last row is , there are two pivots and is free, so infinitely many solutions.

    Sanity check of the unique case at , : , then , then . In the original equations: , , . All hold.

    (b) The free case. With the echelon form is rows , , . Set . Row gives ; row gives . So

    a line in . Check at , the point : , , . All hold.

    (c) Why some right-hand sides must fail. With the coefficient matrix reduces to rows , , : two pivots, so , and the third row has no pivot. The solvability theorem says is consistent for every if and only if has a pivot in every row; that fails, so some makes the system inconsistent. Appending a column adds at most one pivot, so is (consistent) or (inconsistent).

    To find the condition, repeat the reduction with a general right-hand side: leaves , leaves , and leaves in the last row. The system is consistent exactly when

    Sanity checks: from part (b) gives , consistent as found; gives , so is an explicit inconsistent instance.

  7. Show the solution to question 7

    (a) Uniqueness is a statement about the null space. Let be a solution of , which exists by hypothesis.

    () Suppose is the only solution, and let . Then , so is a solution. By uniqueness , hence . So .

    () Suppose and let be solutions. Then , so and . There is exactly one solution.

    (Both directions are the structure theorem for solution sets in the special case where the null space is trivial: the solution set is a single point exactly when is.)

    (b) Counting pivots in a square matrix. By the proposition on when nontrivial solutions exist, has only the trivial solution if and only if every column of is a pivot column. So has pivot positions.

    Distinct pivot positions lie in distinct rows, so these pivots occupy distinct rows. But has exactly rows, so every row of contains a pivot position.

    By the solvability theorem, a pivot in every row is equivalent to being consistent for every .

    (c) Two counterexamples. Tall: take , which is . The equation reads , , so only the trivial solution. But reads , , which is inconsistent. The step that breaks is " pivots fill all rows": here pivot cannot fill rows, and the second row has none.

    Wide: take , which is . It has a pivot in every row, so by the solvability theorem is consistent for every (indeed works). But column has no pivot, so is free and . Here the hypothesis of (b) itself fails — the null space is not trivial — which shows the converse direction "pivot in every row pivot in every column" is false when there are more columns than rows. The two conditions coincide only when .

  8. Show the solution to question 8

    (a) Reduce to RREF. Forward phase:

    Column of the remaining block is zero, so the next pivot is the in position . gives . Backward phase: gives , and gives :

    Pivot columns and ; free variables and . The rows say and , so

    Check in the original system: ; ; . All hold.

    (b) The null space. By the structure theorem the parameter vectors span the null space: . Direct verification against the rows , , of :

    For : ; ; .

    For : ; ; .

    Both are in the null space, as claimed.

    (c) A different particular solution. Check : ; ; . So is a solution. Then

    since . That is, is the point of the family in (a) with .

    The structure theorem says the solution set is for any one solution — the theorem's proof never used which solution was chosen. Taking gives the description . Concretely the two descriptions are reparametrisations of one another: , and as runs over so does . The particular solution is a choice; the set, and the null space directions, are not.

  9. Show the solution to question 9

    (a) The three errors.

    Step 1 tests pairs, but dependence is about combinations. The characterisation of dependence says a list is dependent if and only if some is a linear combination of the others — all of them together, not one at a time. For two vectors that reduces to "one is a multiple of the other", but for three it does not: may be a combination of and without being a multiple of either. The pairwise checks are correct as far as they go; the sentence "so no vector is a linear combination of the others" is a non sequitur.

    Step 2 uses a one-way corollary backwards. The corollary " implies dependent" is an implication, not an equivalence. When it says nothing at all: lists with can be independent or dependent. (Any list containing is dependent, whatever is; so is in .) "The corollary does not apply" is not evidence of independence.

    Step 3 confuses a nonzero column with a pivot column. The reduced matrix is correct, but a pivot column is a column containing a pivot position — the leading entry of some row — not a column with a nonzero entry in it. The leading entries are the in row (column ) and the in row (column ); the entries and in column are not leading entries of their rows. So the pivot columns are and only, and the proposition on independence in terms of pivots (independent if and only if every column is a pivot column) says the columns are dependent, the opposite of the student's conclusion.

    (b) The correct determination. Row-reduce the matrix with the vectors as columns:

    Two pivots for three columns, so column is free and the list is linearly dependent. To find a relation, solve with the free variable : row gives , so ; row gives , so . Hence

    Check: . This is exactly the situation Step 1 could not see — is a combination of the other two while being a multiple of neither.

  10. Show the solution to question 10

    (a) Appending a column adds at most one pivot. Run the forward phase of Gaussian elimination on . The algorithm works through the columns from left to right, and every choice it makes while processing the first columns — which column is next, which rows to swap, which multiples to subtract — depends only on entries in those columns. So when the algorithm reaches column , the left block has been carried to an echelon form of and the matrix reads for some .

    Every pivot of is a leading entry of its row in too, because appending an entry to the right of a row does not change where its first nonzero entry is. That accounts for pivot positions of . The remaining rows are zero to the left of the bar. If any of them has a nonzero entry in the last column, the algorithm swaps one such row to the top of the remaining block and clears the rest of the column below it, creating exactly one further pivot position, in column ; if none does, no pivot is created. Since pivots move strictly rightward down the rows, a single column can contain at most one pivot position, so the last column contributes or pivots and never more. Hence

    (The counts are independent of the route taken, by the uniqueness of the reduced echelon form.) The extra pivot exists exactly when the last column is a pivot column, which by the existence and uniqueness criterion is exactly when the system is inconsistent. So is the consistent case.

    (b) Full row rank and full column rank force . By the solvability theorem, consistent for every means has a pivot position in every row; distinct pivots lie in distinct rows, so the number of pivots is exactly , i.e. .

    By the proposition on nontrivial solutions, having only the trivial solution means every column of is a pivot column; distinct pivots lie in distinct columns, so the number of pivots is exactly , i.e. .

    The rank is a single well-defined number (uniqueness of the reduced echelon form), so and is square.

    (c) A lower bound on the nullity. By the rank bounds, . By the rank theorem, , and therefore

    In words: a wide matrix cannot impose more independent constraints than it has rows, so at least degrees of freedom always survive.

    Examples with , . Equality: is already in reduced echelon form with pivots in columns and , so and . Nullity : the zero matrix has no nonzero entry, hence no pivot, so (by the rank bounds, the zero matrix is the only matrix of rank ) and : every vector of is in the null space. The intermediate value is also attainable, for instance by , whose second row is twice the first, leaving a single pivot.

  11. Show the solution to question 11

    (a) Eliminate and record. Column : the pivot is . The multiplier for row is , and gives . The multiplier for row is , and gives :

    Column : the pivot is . The multiplier for row is , and gives . No interchange was needed, so by the theorem on multipliers

    Verification: row of is ; row is . Both match (row of is row of , which is row of ).

    (b) Two right-hand sides, one factorization. First, . Forward substitution on , top down: ; gives ; gives . Back substitution on , bottom up: gives ; gives ; gives . So . Check in : , , .

    Second, . Forward: ; ; . Back: gives ; gives ; gives . So . Check in : , , .

    The elimination was paid for once; each further right-hand side costs only two triangular sweeps.

    (c) A matrix that needs a permutation. Suppose with unit lower triangular and upper triangular, and compare rows of the product. Row of is , so row of equals row of , namely . Row of is ; matching forces and then . Row of is , whose first two entries are ; matching forces and , a contradiction. So no such factorization exists. (Elimination shows the same thing: after clearing column the entry is while the entry is , so a swap is unavoidable.)

    Swap rows and in advance with , so that

    Now eliminate: , gives ; , gives ; the entry is already , so . Hence

    Check: row of is and row is , the second and third rows of .

  12. Show the solution to question 12

    (a) The model. In equals out at each intersection:

    : , i.e. .

    : , i.e. .

    : , i.e. .

    : , i.e. .

    Adding the , and equations gives , that is — exactly the equation. So is redundant: every internal road appears once as an inflow and once as an outflow, so summing all four left-hand sides gives , and the four right-hand sides also sum to because total external inflow () equals total external outflow ().

    For the rank, reduce the augmented matrix (rows in the order ):

    Then gives and gives :

    Pivots in columns , so the coefficient matrix has rank ; by the rank theorem the nullity is .

    (b) All flows. Free variables and . Row : , so . Row : , so . Row : . In parametric vector form

    Check the particular solution at every intersection: : ; : ; : ; : . All balance.

    The direction adds one car per hour to each of : a circulation around the outer loop, which changes no external flow. The direction reroutes one car per hour from the path onto the direct road : the same car arrives at either way, so again nothing external changes. These are the two independent ways to move traffic around without anyone noticing at the boundary.

    (c) Closing . Setting forces , leaving the one-parameter family . Nonnegativity requires (road ) and (road ; the condition is then automatic). So the admissible flows are exactly

    The smallest occurs at : , with , , . Check at : ; at : ; at : ; at : . All balance, and no road is negative.

    (d) Unbalanced totals. The equation becomes , i.e. ; the other three rows are unchanged. Repeating the reduction, the last step now gives , an impossible row, so by the existence and uniqueness criterion the system is inconsistent. (Equivalently, now has left side equal to that of but right side .) Physically: the network would have to release cars per hour while only enter, and a steady flow cannot create ten cars an hour out of nothing.

Full solutions sheet →