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.
Linear Algebra · Chapter test
Matrices
Work this sheet on paper, showing every step — the method is what is being marked, and the solutions are written so you can check your route rather than just your answer. Check shapes before every product, say “on the left” or “on the right” every time you multiply by an inverse, and name every result you use (“by the reversal rule”, “by the Invertible Matrix Theorem, statement (d)”, “by the one-sided inverse corollary”). No calculator is needed anywhere: every answer is an integer or a small fraction. Full worked solutions are on a separate page; each question also has its own reveal, so you can check one answer without seeing the rest.
- 1.Computation · 7 min
Let and . State the size of every intermediate matrix you form.
- (a)Compute .
- (b)Write with symmetric and skew-symmetric, and check both types by inspecting entries.
- (c)Compute and . Confirm that even though , and check whether either equals .
Show the solution to question 1
(a) Transpose, scale, then subtract. Transposing swaps the off-diagonal entries: , still , so the combination is defined. Then
(b) Use the formulas and . With ,
is symmetric because . is skew-symmetric because and its diagonal is zero, as skew-symmetry forces. Sanity check: .
(c) Row–column rule, four entries each. Both products are :
The two products differ in three of their four entries, so . Their traces are and : equal, exactly as guarantees. By contrast , which matches neither — the trace is linear, not multiplicative.
- 2.Proof · 7 min
Throughout, is an matrix and is its symmetric–skew decomposition, and . Argue from the definitions and the transpose and trace laws; testing on examples earns nothing.
- (a)Prove that a matrix which is both symmetric and skew-symmetric must be the zero matrix.
- (b)Prove that and hence . Give two different proofs that : one entrywise, one using only the trace laws.
- (c)Prove that . (Write as a double sum using the row–column rule and swap the names of the two summation indices.) Deduce that .
Show the solution to question 2
(a) Compare the two conditions entry by entry. Symmetric means for all ; skew-symmetric means . If both hold then , so and . Every entry is zero, so .
(This is the reason the decomposition is unique: two decompositions give , a matrix that is symmetric by the left side and skew-symmetric by the right side, hence zero.)
(b) Entrywise proof. Setting in gives , so every diagonal entry of is and .
Proof from the trace laws. The trace is linear and , so
Either way, linearity then gives .
(c) Write the trace as a double sum. By the row–column rule, , so
The names of the summation indices are arbitrary, so rename : the same number is . Now use and :
Hence , so . (A second route: , using , the reversal rule, and .)
Deduction. Expand without assuming anything commutes: . Taking traces and using linearity, . The middle terms are and , leaving .
- 3.Computation · 7 min
Let and .
- (a)For each of , , , , and , decide from the shapes alone whether it is defined, and give the size of each one that is.
- (b)Compute and , and verify that their traces agree.
- (c)Compute directly and compare it with . Then, without multiplying anything out, say which transpose is equal to, and why.
Show the solution to question 3
(a) Match inner dimensions. is and is , so is and is .
: , defined, size . : , defined, size . : , inner dimensions , undefined — only square matrices have powers. : , defined, . : , defined, . : , defined, .
Note that is defined here only because and have reversed shapes, and it cannot be , which is .
(b) Row–column rule. For , row of is and row is :
For use the row rule: row of is row of times , a combination of the two rows of . Row of is , giving ; row is , giving ; row is , giving . So
Traces: and . A and a matrix with the same trace, exactly as promises for any compatible pair.
(c) Compute, then compare. and , so
Transposing the answer to (b) gives — the same, confirming the reversal rule .
For , apply the reversal rule to the other product: . So is the transpose of , namely the matrix . Nothing new needs multiplying; the rule tells you which product to transpose.
- 4.Proof · 7 min
Let .
- (a)Compute and .
- (b)Conjecture a formula for valid for every integer and prove it by induction on .
- (c)Write and compute . Explain exactly why the binomial theorem may be applied to even though matrix multiplication is not commutative, and use it to rederive your formula.
Show the solution to question 4
(a) Multiply directly.
(b) Conjecture. The diagonal is ; the corner runs , which is . So conjecture
Proof by induction. Base case : the formula gives . Inductive step: suppose the formula holds for some . Since by the definition of powers (associativity makes the bracketing irrelevant),
because . This is the formula with in place of , so it holds for every .
(c) Split off the identity. , and . So is nilpotent and every power with is zero.
The binomial expansion of is obtained by multiplying out brackets and collecting terms, and collecting together with requires . So the theorem is valid for matrices exactly when the two summands commute. Here and , and commutes with everything: by the product laws and . Hence
since every term with contains . That is , the formula from (b). Sanity check at : , matching (a).
- 5.Computation · 9 min
Let and . Every time you multiply by an inverse, say whether it is on the left or on the right.
- (a)Show that is invertible, find , and verify before using it.
- (b)Solve and for the unknown matrix . Check each answer by substitution, and explain why the two solutions differ.
- (c)Now let and be invertible matrices. Solve for , and verify your answer by substituting back.
Show the solution to question 5
(a) Determinant, then swap-and-negate. , so is invertible and
Verify: .
(b) Strip from the correct side. For , multiply on the left by : , so :
Check: .
For , multiply on the right by : , so :
Check: .
The solutions differ because : multiplication is not commutative, so “divide by ” is meaningless until you say which side. Each solution is unique, by the same left- or right-multiplication that produced it.
(c) Undo the operations in reverse order. The outermost operation is the transpose, so remove it first: transposing both sides and using gives . Next multiply on the left by : . Finally multiply on the right by : .
Verify: , regrouping by associativity, and transposing gives . The order cannot be swapped to : those are different matrices in general.
- 6.Computation · 11 min
Let .
- (a)Compute by row-reducing . Name every row operation, and say at which point you can already be certain that is invertible.
- (b)Write each row operation you used as an elementary matrix in the order performed. State the identity relating , and , explain from it why , and hence express itself as a product of elementary matrices (you need not multiply that product out). Write explicitly.
- (c)Use to solve , and check the answer in the original system.
Show the solution to question 6
(a) Reduce, carrying along.
The left block is now upper triangular with three nonzero pivots, so it has pivot positions and the reduction can never produce a zero row: is invertible (Invertible Matrix Theorem, statement (c)), before the upward sweep is even started. Now clear upward: and give
Sanity check two entries of : row of times column of is ; row times column is .
(b) One elementary matrix per operation, first operation nearest . In the order performed,
where is with placed in position . Because a row operation is left multiplication by its elementary matrix, the reduction says
So satisfies . Multiplying this on the right by , which exists by (a), gives ; alternatively, the one-sided inverse corollary says a left inverse of a square matrix is the inverse. That is exactly what the right block computed: it is .
Inverting the product with the reversal rule and ,
(Multiplying the five factors out does return ; the first factor alone already restores the in position .)
(c) Multiply on the left by .
Check: , and this is the only solution because is invertible.
- 7.Critique · 9 min
Three short arguments follow. Each contains an error. For each one, quote the exact sentence that is wrong, name the theorem or hypothesis being abused, and then give a correct treatment — which may or may not reach the same conclusion.
- (a)“Let be a square matrix with . Then . Cancelling the factor on the left gives . So the identity is the only idempotent matrix.”
- (b)“Let and . A direct computation gives . By the corollary that a one-sided inverse suffices, , and therefore as well.”
- (c)“Let be and suppose that the system has exactly one solution. Since has a solution, statement (g) of the Invertible Matrix Theorem holds, so is invertible.”
Show the solution to question 7
(a) The wrong sentence is “Cancelling the factor on the left gives .” There is no cancellation law for matrices: from one may conclude only by multiplying on the left by , which requires to be invertible — and nothing in the hypothesis says it is. The argument silently assumes the very thing that decides the question.
Correct treatment: the deduction is valid if is invertible, so the true statement is “an invertible idempotent matrix is the identity”. A singular idempotent need not be: satisfies and . (It is singular, as it must be: has the nontrivial solution , so statement (d) fails.) The conclusion of the argument is false.
(b) The wrong sentence is “By the corollary that a one-sided inverse suffices, .” That corollary is a statement about matrices — it is a consequence of the Invertible Matrix Theorem, which is a square-matrix theorem. Here is and is ; neither is square, so neither can be invertible in the first place (the definition needs both products to have the same size), and the symbol has no meaning. The computation is correct; the inference from it is not.
Correct treatment: compute directly. Row of is row of times , so rows and of are rows and of and row is zero:
Indeed could never be : has the nonzero solution (three unknowns, two equations), and then , whereas .
(c) The wrong sentence is “Since has a solution, statement (g) of the Invertible Matrix Theorem holds.” Statement (g) says is solvable for every ; solvability for one particular establishes nothing. (The matrix with is a solvable system on a singular matrix.) The argument quotes the wrong statement — but its conclusion happens to be true, and the unused word “exactly” is what saves it.
Correct treatment: use the uniqueness. Let be the unique solution and suppose . Then , so is also a solution, and uniqueness forces , that is . Hence has only the trivial solution, which is statement (d), and by the Invertible Matrix Theorem is invertible. In words: a unique solution to any one consistent square system already certifies invertibility; a merely existing one does not.
- 8.Computation · 10 min
Let .
- (a)Partition into four blocks , write down , and , and explain — without row-reducing — why is invertible.
- (b)Compute using the block formula for a block upper triangular matrix. Keep the factors in the order the formula prescribes, and check one full row of .
- (c)Replace the zero block by to obtain . Compute the Schur complement and decide whether is invertible, stating the criterion you use.
Show the solution to question 8
(a) Read off the blocks.
and the lower-left block is . A block upper triangular matrix with square diagonal blocks is invertible if and only if its diagonal blocks are. Here and , so both are invertible by the criterion, and therefore is invertible.
(b) Assemble the formula . Swap-and-negate (both determinants are ):
The corner block, left to right:
so and
Check row of : row of is , and against the four columns of it gives , , , . That is , the first row of . (Row , , gives , , , as well.)
(c) Block elimination. From (b), , so
The criterion: since is invertible, . The first factor is block triangular with identity diagonal blocks, hence invertible, so is invertible exactly when the second factor is — that is, exactly when and are both invertible. Here has a zero row, so it is singular, and therefore is not invertible.
Sanity check on itself: the change put a single in position , so row of is , identical to row . Two equal rows means produces a zero row, so has fewer than pivots — singular by the Invertible Matrix Theorem, exactly as the Schur complement predicted.
- 9.Critique · 8 min
Each argument below reaches a false conclusion. For each: identify the exact step that fails and name the law of numbers that is being applied to matrices without justification; produce an explicit counterexample to the conclusion, with the verifying computation; and state the correct theorem that survives, with proof.
- (a)“Suppose is both symmetric and orthogonal. Then and , so , hence . Taking square roots, . So the identity is the only symmetric orthogonal matrix.”
- (b)“Let be nilpotent, say . Taking -th roots of both sides gives . So the only nilpotent matrix is the zero matrix.”
- (c)“If and are idempotent matrices then so is , because .”
Show the solution to question 9
(a) The failing step is “Taking square roots, .” Even for real numbers has two solutions, and for matrices has infinitely many: there is no square-root law. Everything before that step is correct, so what has actually been proved is that a symmetric orthogonal matrix satisfies .
Counterexample: . It is symmetric by inspection, and , so it is orthogonal — yet . (It is the reflection in the line .)
Correct theorem: a symmetric matrix is orthogonal if and only if . Proof. If and then . Conversely if and then , which is the definition of orthogonal.
(b) The failing step is “Taking -th roots of both sides gives .” For numbers, forces because there are no zero divisors; matrices have zero divisors, so a power of a nonzero matrix can vanish and no root-extraction is available.
Counterexample: , and .
Correct theorem: nilpotent matrices are far from being zero in general, but they are always singular — a nilpotent matrix is never invertible. Proof. If and were invertible, multiplying on the left by gives , which is false for .
(c) The failing step is “.” By definition , and rearranging the middle factors to uses commutativity, , which is not given. This is the same error as writing .
Counterexample: and . Both are idempotent ( by inspection; ). Their product is , and
So is not idempotent.
Correct theorem: if and are idempotent and commute, then is idempotent. Proof. , where the third equality is exactly the commuting hypothesis and the last uses idempotence.
- 10.Proof · 10 min
Let be an matrix, so that is square of size . You may use that for any .
- (a)Prove that the equations and have exactly the same solutions .
- (b)Deduce that is invertible if and only if the columns of are linearly independent. Say which statements of the Invertible Matrix Theorem you use and to which matrix you apply them.
- (c)Let . Verify (b) in both directions for this . Then show that is not invertible by exhibiting a nonzero with , and explain why the same must happen for every matrix.
Show the solution to question 10
(a) Two inclusions. If , then multiplying on the left by gives . So every solution of the first equation solves the second.
Conversely suppose . Multiply on the left by the row : . By the reversal rule , so with this reads
A sum of squares of real numbers is zero only when every term is zero, so , that is . The two solution sets coincide.
(b) Apply the theorem to the square matrix . Statements (a) and (d) of the Invertible Matrix Theorem, applied to the matrix , say: is invertible if and only if has only the trivial solution. By part (a) that is the same as having only the trivial solution. Finally, , so “ only for ” is word for word the definition of the columns being linearly independent — the (d)(e) rewrite, which is valid for any shape of because it is a rewrite, not a theorem about square matrices. Chaining the three equivalences: invertible columns of independent.
Note that the theorem is applied only to , which is square; itself may be any shape, and for it is never invertible.
(c) Both directions, then the other product. The columns and are independent: neither is a multiple of the other (the second has a nonzero middle entry, the first does not). And
with , so it is invertible — independent columns and invertible , as (b) requires.
For (size ), first find with : the equations are and . Taking gives . Then with , so statement (d) fails for and it is singular. As a direct check,
This is forced for every matrix : is , so is a homogeneous system of equations in unknowns. Its echelon form has at most pivots, hence at least one free variable, hence a nonzero solution ; and then by the same two-step argument. So is always singular when has more rows than columns, while is invertible exactly when the columns are independent — which is why least squares works with and never with .
- 11.Proof · 10 min
Let be an invertible matrix and a nilpotent matrix with , and suppose and commute: .
- (a)Prove that also commutes with : .
- (b)Let . Prove by induction that for every , and conclude that is nilpotent.
- (c)Prove that is invertible, with .
- (d)Apply this with and to compute exactly, and check the first row of the product .
Show the solution to question 11
(a) Multiply the commuting relation by on both sides. Start from . Multiplying on the left by gives . Now multiply on the right by : .
(b) Induction on . The case is the definition of . Suppose . Then
By (a), commutes with , hence with (move past one factor of at a time, times): . So
which completes the induction. In particular , so is nilpotent. (Without the commuting hypothesis this fails: cannot be regrouped.)
(c) Factor out and use the finite geometric series. Since is invertible, . Let . Multiplying out, the sum telescopes:
and the same computation in the other order gives (every factor here is a power of , and powers of one matrix commute with each other). So is invertible with inverse . Then is a product of two invertible matrices, hence invertible, and by the reversal rule for inverses
(d) Specialise. commutes with everything and , so . Powers of : (the single moves one place further from the diagonal) and , so and . Therefore
Check: , and its first row against the three columns of the candidate inverse gives , , : the first row of , as required.
- 12.Sketch · 12 min
Work in homogeneous coordinates, writing the point as . Let be the matrix of the counterclockwise rotation by about the origin, and the matrix of the translation by .
- (a)Write down and , and compute both products and . State in words which motion each product performs, in which order.
- (b)Let be the unit square with vertices , , , . Compute the image of each vertex under and under , then draw one set of axes showing and both image squares, labelling each image vertex with the name of the vertex it came from.
- (c)Each of and is a rotation by about some point. Find the fixed point of each by solving a linear system, and mark both centres on your sketch. Explain what the sketch shows about versus .
- (d)Compute by the reversal rule, without row reduction, and verify that it fixes the centre you found for .
Show the solution to question 12
(a) The two matrices and their products. In homogeneous coordinates a linear map sits in the top-left block and a translation in the last column:
Multiplying (the rightmost factor acts first):
For the only new work is the last column: row of times column of is . For , row of times column of is . So is “rotate, then translate”: . And is “translate, then rotate”: . The products differ, so the two orders are different motions.
(b) Images of the vertices. Under , :
Under , :
The sketch must show three unit squares on one grid. The original occupies . The -image occupies , immediately to the right of and sharing the edge ; its corner labels read at , at , at , at — the labels go round in the same counterclockwise sense as on , because a rotation preserves orientation, but they have been turned a quarter turn. The -image occupies , up and to the left, with at , at , at , at . The two image squares do not overlap; the gap between them is the whole content of .
(c) Fixed points. A fixed point of satisfies , i.e. and , so : the centre is , which is the vertex — consistent with (b), where stayed put. So is the rotation by about ; the image square is spun a quarter turn about its top-right corner.
A fixed point of satisfies , i.e. and , so , , : the centre is . Check: sends to . So is the rotation by about , a point outside , which is why the image landed far away.
Mark both centres. The sketch shows that the two composites are the same kind of motion — a quarter turn — about different centres, two units apart. That is the geometry behind non-commutativity here: which operation runs first changes where the rotation centre ends up, not the amount of rotation.
(d) Reverse the order and invert each factor. By the reversal rule . Undoing a translation by is translating by , and undoing a rotation is rotating by :
(the columns of are orthonormal, so is orthogonal and its inverse is its transpose), and
the entry being . Check that it is the inverse: has first row times the columns , , , giving ; the other rows work the same way, so the product is . As a map, sends , and at the centre this gives : the inverse fixes the same point, as it must — undoing a rotation about is rotating the other way about .
Solutions: calc-path.com/linear-algebra/test/matrices/answers