Comps Study Guide for Linear Algebra, Summaries of Linear Algebra

This study guide was written to help you prepare for the linear algebra portion of the Comprehensive and Honors Qualifying Examination in Mathematics.

Typology: Summaries

2022/2023

Uploaded on 05/11/2023

ekasha
ekasha 🇺🇸

4.8

(22)

270 documents

1 / 20

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Comps Study Guide for Linear Algebra
Department of Mathematics and Statistics
Amherst College
September, 2017
This study guide was written to help you prepare for the linear algebra portion of the Comprehensive
and Honors Qualifying Examination in Mathematics. It is based on the Syllabus for the Comprehensive
Examination in Linear Algebra (Math 271/272) available on the Department website.
Each topic from the syllabus is accompanied by a brief discussion and examples from old exams. When
reading this guide, you should focus on three things:
Understand the ideas. If you study problems and solutions without understanding the underlying ideas,
you will not be prepared for the exam.
Understand the strategy of each proof. Most proofs in this guide are short—the hardest part is often
knowing how to start. Focus on the setup step rather than falling into the trap of memorizing proofs.
Understand the value of scratchwork. Sometimes scratchwork is needed to explore possible approaches
to a computation or proof. That is, sometimes it is helpful to work out some details on the side by
trial and error before writing up a clear, presentable solution.
The final section of the guide has some further suggestions for how to prepare for the exam.
1 Vector Spaces and Subspaces
Some basic things to be aware of, although they do not arise directly on the comps:
The definition of a vector space: A set with operations called addition and scalar multiplication (by
elements of R) satisfying a certain long list of axioms.
One of the equivalent definitions of a subspace: as a subset Wof a vector space Vsuch that Wis a
vector space in its own right, with the same addition and scalar multiplication operations.
The elements of a vector space Vare called vectors, even if those elements are functions, matrices, or other
objects. The additive identity of Vis called the zero vector, and it is usually denoted 0or 0V.
Simple vector space examples. Here are some vector spaces you should know, each with standard
addition and scalar multiplication operations. You don’t need to memorize the notation (other than for Rn,
which you surely already know), because any such notation will be defined on the exam if it appears.
Rnis the vector space of ordered n-tuples of real numbers. Sometimes denoted Rn. Sometimes its
elements are written as row vectors (x1,. . . , xn) and sometimes as columns. Note: dim(Rn) = n.
Pn(R) is the vector space of polynomials of degree less than or equal to n. Sometimes denoted Pnor
Pnor Pnor some other such variation. Note: dim(Pn(R)) = n+ 1.
Mm×n(R) is the vector space of m×nmatrices with real entries. Sometimes denoted Mm×nor some
other such variation. Note: dim(Mm×n(R)) = mn.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Comps Study Guide for Linear Algebra and more Summaries Linear Algebra in PDF only on Docsity!

Comps Study Guide for Linear Algebra

Department of Mathematics and Statistics

Amherst College

September, 2017

This study guide was written to help you prepare for the linear algebra portion of the Comprehensive and Honors Qualifying Examination in Mathematics. It is based on the Syllabus for the Comprehensive Examination in Linear Algebra (Math 271/272) available on the Department website. Each topic from the syllabus is accompanied by a brief discussion and examples from old exams. When reading this guide, you should focus on three things:

  • Understand the ideas. If you study problems and solutions without understanding the underlying ideas, you will not be prepared for the exam.
  • Understand the strategy of each proof. Most proofs in this guide are short—the hardest part is often knowing how to start. Focus on the setup step rather than falling into the trap of memorizing proofs.
  • Understand the value of scratchwork. Sometimes scratchwork is needed to explore possible approaches to a computation or proof. That is, sometimes it is helpful to work out some details on the side by trial and error before writing up a clear, presentable solution.

The final section of the guide has some further suggestions for how to prepare for the exam.

1 Vector Spaces and Subspaces

Some basic things to be aware of, although they do not arise directly on the comps:

  • The definition of a vector space: A set with operations called addition and scalar multiplication (by elements of R) satisfying a certain long list of axioms.
  • One of the equivalent definitions of a subspace: as a subset W of a vector space V such that W is a vector space in its own right, with the same addition and scalar multiplication operations.

The elements of a vector space V are called vectors, even if those elements are functions, matrices, or other objects. The additive identity of V is called the zero vector, and it is usually denoted 0 or (^0) V.

Simple vector space examples. Here are some vector spaces you should know, each with standard addition and scalar multiplication operations. You don’t need to memorize the notation (other than for Rn, which you surely already know), because any such notation will be defined on the exam if it appears.

  • Rn^ is the vector space of ordered n-tuples of real numbers. Sometimes denoted Rn. Sometimes its elements are written as row vectors (x 1 ,... , xn) and sometimes as columns. Note: dim(Rn) = n.
  • Pn(R) is the vector space of polynomials of degree less than or equal to n. Sometimes denoted Pn or P n^ or Pn or some other such variation. Note: dim(Pn(R)) = n + 1.
  • Mm×n(R) is the vector space of m × n matrices with real entries. Sometimes denoted Mm×n or some other such variation. Note: dim(Mm×n(R)) = mn.

There are also some infinite-dimensional vector spaces which arise occasionally. For example, P (R) is the vector space of all polynomials, F (R) is the vector space of all functions f : R → R, and C(R) is the vector space of all continuous functions f : R → R. Again, don’t bother memorizing the notation, which will be fully defined if it appears; just be ready to work with such spaces if they show up on the exam.

Subspace Theorem. The following Theorem is usually used to check whether a given subset is a subspace; in fact, some books use it as the definition of a subspace.

Theorem. Let V be a vector space. A subset W ⊆ V is a subspace if it satisfies the following properties:

  1. W 6 = ∅.
  2. For all x, y ∈ W and all c ∈ R, we have cx + y ∈ W.

Property 1 is usually verified by proving that (^0) V ∈ W. Property 2 can be replaced by two separate statements:

Closed under addition: For all x, y ∈ W , we have x + y ∈ W. Closed under scalar multiplication: For all x ∈ W and c ∈ R, we have cx ∈ W.

That is, a subset W of a vector space V is a subspace if and only if W is nonempty, closed under addition, and closed under scalar multiplication. Note:

  • The empty set ∅ is not a vector space. Instead, the smallest vector space is the trivial space, { 0 }.
  • Every vector space V has two obvious subspaces: the trivial subspace { 0 } ⊆ V , and the improper subspace V ⊆ V. (Obviously, the two coincide if and only if V = { 0 } is trivial.)

1 (March 2006) Let U and V be subspaces of a vector space W. (a) Prove that U ∩ V is a subspace of W. (b) Prove that U + V = {u + v : u ∈ U, v ∈ V } is a subspace of W. (c) Give an example to show that U ∪ V need not be a subspace of W.

Proof. (a): (Nonempty) We have (^0) W ∈ U and (^0) W ∈ V , since both U and V are subspaces. Hence (^0) W ∈ U ∩ V. (Closure) Given x, y ∈ U ∩V and c ∈ R, we have cx+y ∈ U and cx+y ∈ V since both are subspaces. Hence cx + y ∈ U ∩ V. QED (a) (b): (Nonempty) We have (^0) W ∈ U and (^0) W ∈ V , since both are subspaces. Hence (^0) W + (^0) W ∈ U + V. (Closure) Given x, y ∈ U + V and c ∈ R, there exist u 1 , u 2 ∈ U and v 1 , v 2 ∈ V such that x = u 1 + v 1 and y = u 2 + v 2. Thus, cx + y = c(u 1 + v 1 ) + (u 2 + v 2 ) = (cu 1 + u 2 ) + (cv 1 + v 2 ) ∈ U + V QED (b) (c): Let W = R^2 , let U = Span({(1, 0)}), and let V = Span({(0, 1)}). [That is, U is the x-axis, and V is the y-axis.] Then U and V are subspaces because they are each the span of a set. However, (1, 0) ∈ U ⊆ U ∪ V and (0, 1) ∈ V ⊆ U ∪ V , but (1, 0) + (0, 1) = (1, 1) 6 ∈ U ∪ V. Thus, U ∪ V is not closed under addition and hence is not a subspace. QED (c) Comment 1. In the “Nonempty” step of (b), there was no need to observe that (^0) W + (^0) W = (^0) W. Yes, that’s true, and it wouldn’t hurt to say it, but it would be unnecessary. We’re simply trying to show that U + V 6 = ∅, so all we need to do is produce an element; we aren’t required to simplify that element. On the other hand, in part (c), it was important to simplify the sum (1, 0) + (0, 1), to verify that the result is not an element of U ∪ V. Comment 2. In part (c), we made use of Span (to be discussed below) because it made the proof shorter, rather than verifying by hand that both U and V are subspaces. Also in part (c), there are many ways to do this. (Any choice of W with any subspaces U and V will work, as long as U 6 ⊆ V and V 6 ⊆ U .) But it’s generally best to pick as simple an example as you can.

At the most basic level, you solve a linear system by row reducing its augmented matrix: x 1 + 2x 2 + 2x 4 = 2 2 x 2 + 4x 2 + x 3 + 7x 4 = 5 x 1 + 2x 2 − 2 x 3 − 4 x 4 + x 5 = 3

You should do this row reduction yourself (see 6 for a worked out example). The echelon matrix above has pivots [first nonzero entries of rows of an echelon form] in columns 1, 3 and 5. Thinking of the first five columns as corresponding to the variables, we see that x 2 and x 4 are free variables [since there are no pivots in these columns]. So the system of equations given by the echelon form is straightforward to solve:

x 1 + 2x 2 + 2x 4 = 2 x 3 + 3x 4 = 1 x 5 = 3

x 1 = 2 − 2 x 2 − 2 x 4 x 3 = 1 − 3 x 4 x 5 = 3

Notice how we solve for the pivot variables x 1 , x 3 , x 5 in terms of the free variables. So the general solution is       x 1 x 2 x 3 x 4 x 5

2 − 2 x 2 − 2 x 4 x 2 1 − 3 x 4 x 4 3

  • x 2
  • x 4

, where x 2 , x 4 ∈ R are arbitrary.

On the linear algebra comps, one often encounters homogeneous systems, where all the constant terms are zero. In this example, the corresponding homogeneous system is

x 1 + 2x 2 + 2x 4 = 0 2 x 2 + 4x 2 + x 3 + 7x 4 = 0 x 1 + 2x 2 − 2 x 3 − 4 x 4 + x 5 = 0

with row reduction and general solution

 

x 1 x 2 x 3 x 4 x 5

= x 2

  • x 4

We will say more about matrices in Section 3 of this study guide. For now, we mention two important uses of row reduction and the echelon form:

  • The nullspace of a matrix A is the solution set of its corresponding homogeneous system of equations. The method above produces a basis of the nullspace of A, namely the set of vectors that the free variables end up multiplied by in the solution. That is, in the example above,

the nullspace of

 (^) has basis

  • The column space of a matrix A is the span of its columns. If B is the echelon form of A, then the columns of A corresponding to the columns of B with pivots form a basis of the column space. In the example above, the echelon form has pivots in columns 1, 3 and 5, so that

the column space of

 (^) has basis

See 6 for a similar problem, and see Section 2 for more on nullspaces and column spaces.

Row reduction arises most obviously when you are asked to solve an specific system of equations. But it can also arise at other times, especially on problems that involve explicit vectors. Here are some examples of problems involving linear independence and span where row reduction arises naturally.

3 (March 2016) Is the following set of polynomials linearly independent? Explain your answer: {x^3 − 3 x + 1, x^2 + 2x + 2, x^3 − 2 x^2 }.

Solution/Proof. Yes. Call the three polynomials f , g, h. Given scalars a, b, c ∈ R such that af + bg + ch = 0, we have (a + c)x^3 + (b − 2 c)x^2 + (− 3 a + 2b)x + (a + 2b) = 0, i.e., a + c = 0, b − 2 c = 0, − 3 a + 2b = 0, a + 2b = 0.

Thus, (a, b, c) is a solution of the system of equations described by

Row reduction [omitted here; try it yourself!] leads to the echelon form

There are no free variables. The third row of the echelon form gives c = 0, so the second gives b = 0, and the third gives a = 0. Since the only solution (a, b, c) to af + bg + ch = 0 is a = b = c = 0, the set {f, g, h} is linearly independent. QED

4 (January 2015) Suppose that V is a vector space and u and v are vectors in V. Show that Span({ 3 u + v, u − v}) = Span({u, v}).

Proof. (⊆): Clearly, 3u + v ∈ Span({u, v}), and u − v ∈ Span({u, v}). Thus, since Span({u, v}) is a subspace, we have Span({ 3 u + v, u − v}) ⊆ Span({u, v}). (⊇): Note that 4u = (3u + v) + (u − v), so u = 14 (3u + v) + 14 (u − v) ∈ Span({ 3 u + v, u − v}). Similarly, 4v = (3u + v) − 3(u − v), so v = 14 (3u + v) − 34 (u − v) ∈ Span({ 3 u + v, u − v}). Since Span({ 3 u + v, u − v}) is a subspace, we have Span({ 3 u + v, u − v}) ⊇ Span({u, v}). QED Comment. The (⊇) direction required some seemingly clever choices of coefficients. How did we find them? By doing scratchwork! For example, when showing u ∈ Span({ 3 u + v, u − v}), we needed to find scalars a, b ∈ R so that a(3u + v) + b(u − v) = u. This becomes the system

[

]

which we solved (in scratchwork) to get a = 14 and b = 14.

Be sure you are comfortable with row reduction and solving linear systems. See problems 6 , 7 , 16 , 17 , 20 , 21 , 22 and 23 of this study guide for more problems that require row reduction. Side Note: A matrix B is in echelon form if it fits the staircase pattern, where each pivot has all zeros below it and to the left of it. B is in reduced echelon form if, in addition, each pivot also has all zeros above it, and each pivot is exactly 1. Some of the echelon forms in this guide are reduced (e.g., in the example on page 4), and some are not (e.g., in Example 3 ). On the comps, you may use either kind, as you prefer. On the one hand, the reduced echelon form can make it easier to write down the solution; on the other hand, if you only need the number or location of the pivots, a non-reduced echelon form suffices.

Some proof problems combine the notions of linear maps, span, linear independence, one-to-one, and/or onto, so be prepared for problems like the following.

5 (March 2013) Suppose that V and W are vector spaces, T : V → W is a linear transformation, and let v 1 , v 2 ,... , vn ∈ V. Prove that if {T (v 1 ), T (v 2 ),... , T (vn)} spans W and T is one-to-one, then {v 1 , v 2 ,... , vn} spans V.

Proof. Given v ∈ V , we need to show v ∈ Span({v 1 ,... , vn}). Since T (v) ∈ W = Span({T (v 1 ),... , T (vn)}, there exist scalars a 1 ,... , an ∈ R such that T (v) = a 1 T (v 1 ) + · · · + anT (vn) = T (a 1 v 1 + · · · + anvn). Since T is one-to-one, we have v = a 1 v 1 + · · · + anvn ∈ Span({v 1 ,... , vn}). QED Comment 1. As always in a proof, start by focusing on the goal. We need to show that {v 1 , v 2 ,... , vn} spans V ; so ask yourself what the first and last line of such a proof should be. Comment 2. If you know T is linear, then there’s a good chance that you will have to use the fact that T (a 1 v 1 + · · · + anvn) = a 1 T (v 1 ) + · · · + anT (vn). So be ready to do so.

Here is a problem about finding bases for the column space and null space of a particular matrix.

6 (March 2014) Find [bases for] the column space and the null space (or kernel) for the matrix

A =

Solution. We do row reduction:

−R

−2R

+2R

−R

 → ×(−1)

This echelon form matrix has pivots in columns 1 and 3. So those columns of the original matrix A are a basis for the column space. That is, (column space of A) = Span{(1, 1 , 2), (2, 1 , 3)}. For the kernel, the free variables are x 2 , x 4 , and the echelon form gives the general solution    

x 1 x 2 x 3 x 4

 =^ x^2

 +^ x^4

 =⇒^ Ker(A) = Span{(−^2 ,^1 ,^0 ,^ 0),^ (−^1 ,^0 ,^ −^1 ,^ 1)}.

Comment 1. When you do row reduction, be sure to indicate what operations you are doing at each step. Do this both to avoid errors and to avoid losing excess points if you do make an error. Comment 2. Don’t do two row reduction operations in one step unless those two operations commute. For example, you can add multiples of row 1 to both rows 2 and 3 in one step, but you can’t add row 1 to row 2 and multiply row 2 by −1 in the same step.

Sometimes you may be asked to find a basis for some subspace when there is no obvious linear map or matrix. In that case, usually the subspace is actually the kernel or image of some linear map or matrix which will make itself apparent once you starting playing with it. Here is an example of such a problem.

7 (March 2009) Let V be the vector space of polynomials with real coefficients and of degree at most 3, and let W = {f ∈ V | f (0) = f ′′(0) and f ′(1) = 0}. (a) Prove that W is a subspace of V. (b) Find a basis for W.

(a): Proof. (Nonempty) Let f = 0 ∈ V. Then f ′^ = 0 and f ′′^ = 0, so f (0) = 0 = f ′′(0) and f ′(0) = 0. That is, f ∈ W. So W 6 = ∅. (Closure) Given f, g ∈ W and c ∈ R, we have (cf + g)(0) = cf (0) + g(0) = cf ′′(0) + g′′(0) = (cf + g)′′(0) and (cf + g)′(1) = cf ′(1) + g′(1) = c · 0 + 0 = 0, and hence cf + g ∈ W. QED (a) (b): Solution. Write an element f of V = P 3 (R) as f = a + bx + cx^2 + dx^3. Then f ′^ = b + 2cx + 3dx^2 , and f ′′^ = 2c + 6dx. So f (0) = a, f ′′(0) = 2c, and f ′(1) = b + 2c + 3d. Hence, W = {a + bx + cx^2 + dx^3 ∈ V | a = 2c and b + 2c + 3d = 0}. Thus, we are solving the system a − 2 c = 0 and b + 2c + 3d = 0 for a, b, c, d ∈ R. That is, we need the kernel of A =

[

]

, which is already in echelon form. Since there are pivots only in the columns for a and b, the free variables are c and d. Setting c = 1 and d = 0 gives a = 2 and b = −2, yielding x^2 − 2 x + 2. Setting c = 0 and d = 1 gives a = 0 and b = −3, yielding x^3 − 3 x. So {x^2 − 2 x + 2, x^3 − 3 x} is a basis for W. Comment. In the moment, it can be easy to forget that we’re dealing with elements of V , which are polynomials. So when you finish the problem, make sure your answer actually fits. In particular, the answer to (b) is not {(2, − 1 , 1 , 0), (0, − 3 , 0 , 1)}, but rather {x^2 − 2 x + 2, x^3 − 3 x}.

Some facts about dimension.

  • Fact: If X ⊆ V is a subspace, then dim(X) ≤ dim(V ). Moreover, if dim(V ) < ∞, then dim(X) = dim(V ) if and only if X = V.
  • Fact: Let V be a vector space with dim(V ) = n, and let S ⊆ V be a set of m distinct vectors in V.
    • If m < n, then S cannot span V.
    • If m > n, then S cannot be linearly independent.

Here are two useful facts that might be called “two-out-of-three” theorems:

  • Theorem: Let V be a vector space, and let S ⊆ V be a set of n distinct vectors in V. If any two of the following conditions hold, then all three hold (and S is a basis for V ): 1. S is linearly independent. 2. S spans V. 3. dim(V ) = n.
  • Theorem: Let T : V → W be a linear transformation, and suppose that at least one of V, W is finite-dimensional. If any two of the following conditions hold, then all three hold: 1. T is one-to-one. 2. T is onto. 3. dim(V ) = dim(W ). In this case, T is invertible. (More on this later; see page 13 of this Guide.)

Here is a very important fact, sometimes called the Rank-Nullity Theorem or the Dimension Theorem.

  • Theorem: Let T : V → W be a linear transformation. Then rank(T ) + nullity(T ) = dim(V ).

10 (March 2011) Suppose that T : R^3 → R^2 and U : R^2 → R^3 are linear transformations, and for all v ∈ R^2 , (T ◦ U )(v) = v.

(a) Prove that T is onto. (b) What is the nullity of T? Is T one-to-one? Justify your answers.

Proof. (a): Given v ∈ R^2 , let w = U (v) ∈ R^3. Then

T (w) = T (U (v)) = (T ◦ U )(v) = v. QED (a)

(b): We have nullity(T ) = 1. No, T is not one-to-one. To see this, note by part (a) that the range R(T ) is all of R^2 , because T is onto. Thus, the rank of T is rank(T ) = dim(R(T )) = 2. So by the Rank-Nullity Theorem,

nullity(T ) = dim(R^3 ) − rank(T ) = 3 − 2 = 1.

Since the nullspace N (T ) has dimension nullity(T ) = 1 > 0, T is not one-to-one. QED (b)

11 (February 2007) Let V and W be vector spaces over R and let T : V → W be a linear map. Assume that V has a basis {v 1 ,... , vn} such that {T (v 1 ),... , T (vn)} spans W.

(a) Prove that T is onto. (b) If dim V = dim W , what else can you conclude about T? Explain your reasoning.

Proof. (a): Given w ∈ W , there exist a 1 ,... , an ∈ R such that w = a 1 T (v 1 ) + · · · + anT (vn), since {T (v 1 ),... , T (vn)} spans W. Thus,

w = T

a 1 v 1 + · · · + anvn

lies in the image of T , as desired. QED (a)

(b): T is one-to-one and onto (and hence invertible). We know from part (a) that T is onto, and we know from the hypothesis of (b) that dim(W ) = dim(V ) = n < ∞. Thus, by a two-out-of-three theorem, T must also be one-to-one. QED (b)

12 (January 2012) Let T : V → V be a linear transformation on a finite dimensional vector space V. Suppose T is one-to-one (injective). Prove that if {v 1 ,... , vn} is a basis for V , then {T (v 1 ),... , T (vn)} is also a basis for V.

Proof. First, we claim that {T (v 1 ),... , T (vn)} is linearly independent. Given scalars a 1 ,... , an ∈ R such that a 1 T (v 1 ) + · · · + anT (vn) = 0 , we have

T

a 1 v 1 + · · · + anvn

Since T is one-to-one, it has trivial kernel, so a 1 v 1 + · · · + anvn = 0. Because {v 1 ,... , vn} is linearly independent, it follows that a 1 = · · · = an = 0, proving our claim.

Now dim(V ) = n (because by hypothesis, it has a basis consisting of n elements), and by our claim, {T (v 1 ),... , T (vn)} is a linearly independent set of n elements in V. Thus, by a two-out-of-three theorem, {T (v 1 ),... , T (vn)} also spans V and hence is a basis for V. QED

3 Matrices

Know:

  • an m × n matrix is an m-row, n-column grid of real numbers.
  • how to add two m × n matrices.
  • how to multiply AB, where A ∈ Mm×n(R) and B ∈ Mn×p(R).
  • matrix addition is commutative and associative.
  • matrix multiplication is associative but not commutative.
  • the m × n matrix of zeros (denoted 0 or O) is the additive identity: A + O = O + A = A.
  • the n × n identity matrix I, sometimes denoted In, has 1’s down the diagonal and 0’s everywhere else. It satisfies AI = A and IB = B (for A is m × n and B is n × p).
  • the distributive laws A(B + C) = AB + AC and (A + B)C = AC + BC.
  • How to convert a system of linear equations to a matrix equation of the form Ax = b.

In addition, if A is a square matrix (i.e., n × n), know

  • A is a diagonal matrix if every entry not on the diagonal is 0.
  • The transpose of A, denoted At^ or AT^ , is the n × n matrix formed by reflecting A across the diagonal.
  • The determinant of A, denoted det(A), is a real number given by a more complicated formula. Know:
    • How to compute det(A) for a given n × n matrix, for any n ≥ 1.
    • The fact that det(AB) = det(A) det(B).
    • The fact that det(A) 6 = 0 if and only if A is invertible (see later).
    • An alternate notation for a determinant is to put vertical lines instead of brackets around the entries of the matrix. For example,

a b c d

∣ means the same thing as det

[

a b c d

]

, namely ad − bc.

Determinants don’t usually arise directly on comps exams, but you will need determinants to find eigenvalues.

Matrix of a linear transformation. Let V and W be finite-dimensional vector spaces with bases α = {v 1 ,... , vn} and β = {w 1 ,... , wm}, respectively, and let T : V → W be a linear transformation. Find real numbers aij , for 1 ≤ i ≤ m and 1 ≤ j ≤ n, by computing T (v 1 ),... , T (vn) and expressing each as a linear combination of w 1 ,... , wm. That is,

T (v 1 ) = a 11 w 1 + a 21 w 2 + · · · + am 1 wm T (v 2 ) = a 12 w 1 + a 22 w 2 + · · · + am 2 wm .. . T (vn) = a 1 nw 1 + a 2 nw 2 + · · · + amnwm.

Then, turning the grid of coefficients sideways, the m × n matrix of T with respect to α and β is

[T ]βα =

a 11 a 12 · · · a 1 n a 21 a 22 · · · a 2 n .. .

am 1 am 2 · · · amn

Here are two problems you should try yourself. See also Example 17 later.

14 (March 2013) Let P 2 be the vector space consisting of all polynomials of degree at most 2, and let B = { 1 , x + 1, x^2 + x + 1}, which is a basis for P 2. Let T : P 2 → P 2 be the linear transformation defined by the equation T (f ) = f − f ′. Find the matrix of T with respect to B.

Answer:

 

1 − 1 1 0 1 − 2 0 0 1

 

15 (January 2014) Suppose T : V → V is a linear transformation, B = {b 1 , b 2 , b 3 } is a basis for V , and the matrix representation of T with respect to B is

A =

Determine T (2b 1 + 4b 3 ) as a linear combination of b 1 , b 2 , and b 3. Answer: 24b 1 + 2b 2 − 2 b 3

Invertible maps. A linear transformation T : V → W is invertible if it has an inverse, i.e., if there is another linear map T −^1 : W → V such that T (T −^1 (w)) = w for all w ∈ W , and T −^1 (T (v)) = v for all v ∈ V. Know that the following are equivalent:

  • T is invertible (i.e., T has an inverse T −^1 : W → V ).
  • T is one-to-one and onto.

In addition, recall that one of the earlier two-out-of-three theorems (see page 8 of this Guide) says the following: if either dim(V ) < ∞ or dim(W ) < ∞ (or both), then T being invertible is equivalent to each of the following statements:

  • dim(V ) = dim(W ) and T is one-to-one.
  • dim(V ) = dim(W ) and T is onto.

Facts: Suppose T : V → W is invertible. Then:

  • Its inverse T −^1 is unique.
  • Its inverse T −^1 is also invertible, and (T −^1 )−^1 = T.
  • If U : W → X is also invertible, then U T : V → X is invertible, and (U T )−^1 = T −^1 U −^1.

Invertible matrices. A square matrix A ∈ Mn×n(R) is invertible if it has an inverse, i.e., if there is another matrix B ∈ Mn×n(R) such that AB = I and BA = I. Know that the following are equivalent:

  • A is invertible
  • The columns of A are linearly independent.
  • The rows of A are linearly independent.
  • The columns of A together span Rn.
  • The rows of A together span Rn.
  • The columnspace (i.e., range or image) of A is all of Rn.
  • The nullspace (i.e., kernel) of A is { 0 }.
  • rank(A) = n.
  • nullity(A) = 0.
  • det(A) 6 = 0.
  • λ = 0 is not an eigenvalue of A.

Warning: the equivalencies above are only for square matrices. Nonsquare matrices are never invertible.

Facts: Suppose A ∈ Mn×n(R) is invertible. Then:

  • Its inverse A−^1 is unique.
  • Its inverse A−^1 is also invertible, and (A−^1 )−^1 = A.
  • If B ∈ Mn×n(R) is invertible, then AB is invertible, and (AB)−^1 = B−^1 A−^1.

Know how to compute inverses:

  • A =

[

a b c d

]

is invertible if and only if ad − bc 6 = 0, in which case A−^1 =

ad − bc

[

d −b −c a

]

  • For 3 × 3 and larger matrices, use the Gauss-Jordan method (row reduction), as in the next example.

16 (February 2006) Compute the inverse of the matrix

A =

Check your answer by matrix multiplication.

Solution. We do row reduction:

↓ ↑

 → −2R

−4R

−R

→ −R

So A−^1 =

. Now we check by multiplication:

AA−^1 =

 = I.

Comment: We only need to check either AA−^1 = I or A−^1 A = I. Because A is square, if one is true, then the other is automatically true. (Can you use the facts about invertible matrices to see why?)

Change of basis. Let V be a finite-dimensional vector space, and let α = {v 1 ,... , vn} and β = {w 1 ,... , wn} both be bases for V. The change-of-basis matrix from α-coordinates to β-coordinates is the n × n matrix [I]βα, where I : V → V is the identity map I(v) = v. That is,

[I]βα =

a 11 a 12 · · · a 1 n a 21 a 22 · · · a 2 n .. .

an 1 an 2 · · · ann

, where

v 1 = a 11 w 1 + a 21 w 2 + · · · + an 1 wn v 2 = a 12 w 1 + a 22 w 2 + · · · + an 2 wn .. . vn = a 1 nw 1 + a 2 nw 2 + · · · + annwn

As before, note that the grid of coefficients is flipped sideways to form the matrix.

  • For any v ∈ V , recall that [v]α ∈ Rn^ is the n-entry column vector of α-coordinates for v. We can compute the β-coordinate vector for v via the formula [v]β = [I]βα[v]α.
  • The change of coordinates matrix to change coordinates the other way is the inverse: [I]αβ = ([I]βα)−^1.

Here are two problems you should try yourself where change-of-basis matrices may be useful. Try each two ways: using change-of-basis matrices, and working things out as described in the Comment for Example 17.

18 (March 2012) Let P 2 = {a + bt + ct^2 : a, b, c ∈ R}, and suppose that T : R^2 → P 2 is a linear transformation which satisfies

T

( [ 1

] )

= 1 − 2 t and T

( [^3

] )

= t + 2t^2.

(a) Find T

( [^8

] )

. Answer: −1 + 5t + 6t^2. (b) Is T one-to-one? Answer: Yes. (c) Is T onto? Answer: No.

19 (January 2015) Let V be the vector space of polynomials of degree at most 2, and let B = { 1 , x + 1, x^2 + x + 1}, which is a basis for V. Suppose that T : V → V is a linear transformation, and the matrix of T relative to B is (^) 

Find T (3x^2 + x + 2). Answer: 1 − 5 x − 5 x^2.

4 Eigenvalues and Eigenvectors

Let A be an n × n matrix, let λ ∈ R be a scalar, and let v ∈ Rn. We say that v is an eigenvector of A with eigenvalue λ if v 6 = 0 and Av = λv.

  • To say “λ is an eigenvalue of A” means there exists v ∈ Rn^ r { 0 } such that Av = λv.
  • To say “v is an eigenvector of A” means that v 6 = 0 and there exists λ ∈ R such that Av = λv.
  • An eigenvalue λ can be 0.
  • An eigenvector v cannot be 0. (By definition.) Side note: One can also define eigenvalues and eigenvectors for more general linear maps T : V → V , as well as to allow complex numbers, but neither of these topics appears on the comps exam.

Computations. The characteristic polynomial of A is det(A − λI); that is, subtract the variable λ from each diagonal entry and take the determinant. The result is a polynomial of degree n in the variable λ.

  • Fact: The roots of the characteristic polynomial of A are precisely the eigenvalues of A.
  • The number of times that a given scalar λ shows up as a root of the characteristic polynomial is called the algebraic multiplicity of λ, or sometimes simply the multiplicity of λ.
  • The eigenspace Eλ of an eigenvalue λ is the nullspace N (A − λI) of the matrix A − λI. It consists of all the eigenvectors with eigenvalue λ, along with 0 , which is not an eigenvector.
  • The eigenspace dimension dim(Eλ) is sometimes called the geometric multiplicity of λ.
  • Fact: For any eigenvalue λ of A, we have 1 ≤ (geometric multiplicity of λ) ≤ (algebraic multiplicity of λ).

Thus, to find the eigenvalues and eigenvectors of a matrix A:

  1. Compute the characteristic polynomial det(A − λI).
  2. Find all roots of the characteristic polynomial; these are the eigenvalues.
  3. For each eigenvalue λ, use row reduction to find a basis for the eigenspace Eλ = N (A − λI).

Diagonalization. We say an n × n matrix A is diagonalizable if there is an invertible matrix P and a diagonal matrix D such that P −^1 AP = D. The following are equivalent:

  • A is diagonalizable.
  • There is a basis for Rn^ consisting of eigenvectors of A.
  • All roots of the characteristic polynomial of A are real, and for each such root λ, (geometric multiplicity of λ) = (algebraic multiplicity of λ).

In that case, the matrix P consists of the n linearly independent eigenvectors down the columns, and the diagonal matrix D has the eigenvalues along the diagonal, in the same order.

Fact: If A has n distinct real eigenvalues, then A is certainly diagonalizable. (However, if A has repeated eigenvalues, it may or may not be diagonalizable.)

20 (January 2015) Let

A =

(a) Find all eigenvalues of A. (b) Find, if possible, an invertible matrix P such that P −^1 AP is diagonal, or show that no such matrix exists.

Solution. (a): The characteristic polynomial of A is

det(A−λI) =

5 − λ 0 0 0 1 − λ 2 1 2 4 − λ

= (5−λ)

1 − λ 2 2 4 − λ

∣ = (5−λ)(λ

(^2) − 5 λ+4−4) = −λ(λ−5) (^2) ,

so the eigenvalues are 0, 5 , 5. (Or if you prefer, 0 and 5, where 5 has algebraic multiplicity 2.)

(b): Since λ = 5 has algebraic multiplicity 2, we focus on it first. We have A − 5 I =

Doing a quick row reduction (details omitted here) leads to the echelon form

, which has

2 pivots and hence nullity 3 − 2 = 1. That is, the nullspace of A − 5 I has dimension only 1, which is strictly less than the algebraic multiplicity of λ = 5. Since there is an eigenvalue whose eigenspace has dimension strictly less than its algebraic multiplicity, the matrix A is not diagonalizable. That is, there does not exist an invertible matrix P such that P −^1 AP is diagonal. Comment: When you’re trying to decide whether or not A is diagonalizable, hone in on any eigenval- ues of algebraic multiplicity at least 2. There’s no sense wasting your time finding the eigenvectors

 (^) for λ = 0 and

 (^) for λ = 5 if it turns out — as it does here — that the matrix isn’t

diagonalizable.

Here are two diagonalization problems you should try yourself.

22 (March 2008) Let

A =

(a) Find all eigenvalues of A. Answer: λ = 0, 1 , 1. (b) Find an invertible matrix P such that P −^1 AP is a diagonal matrix, or show that there is no

such matrix P. One Answer: P =

 

1 − 1 2 0 1 0 1 0 1

 .

23 (March 2009) Let M be the matrix

M =

(a) Find the eigenvalues of M. Answer: λ = 2, 3 , 3. (b) Is M diagonalizable? Why or why not? Partial Answer: No.

Note on 22 : there is more than one possible correct answer for part (b). For example, we could

permute the three columns of P any way we choose. We could also replace the column

 (^) by any nonzero

scalar multiple, and we could replace the other two columns

by any other basis for the (2-

dimensional) eigenspace of λ = 1. For any of these changes, the columns would still be a linearly independent set of eigenvectors, making P −^1 AP still a diagonal matrix.

Note on 23 , the “Answer” to part (b) doesn’t include the very important answer to “Why?” The full answer is very similar to part (b) of 20 above. In particular, a computation shows that the eigenvalue λ = 3 has algebraic multiplicity 2, but geometric multiplicity only 1.

5 Preparing for the Linear Algebra Exam

Now that you have finished reading the content part of the Study Guide, what should you do next to prepare for the linear algebra exam? The key thing to keep in mind is that

You need an active knowledge of linear algebra.

Here are a some suggestions to help you achieve this.

Read the Study Guide Actively. There are several places where the Study Guide asks you to do a problem yourself. Do so. For those problems, the Study Guide gives you the final answer so you can check your work. However, on the exam, we grade all of your work, not just the final answer.

Read Your Notes and Your Linear Algebra Book. In many places in the Study Guide, we say “Know... ,” without stating the facts precisely. This is deliberate, since we want you to refer to your notes and your linear algebra book when studying for the exam. For example, this Study Guide doesn’t explain the strategy of row reduction or how to compute determinants (although some examples appear in the worked problems). You are expected to review how to do that yourself. Not everything covered in your linear algebra course is part of the exam. For example, orthogonality and the Gram-Schmidt process are important topics from linear algebra, but they are not covered on the comps exam. This Study Guide and the Syllabus for the Comprehensive Examination in Linear Algebra (Math 271/272 ) list the topics that you need to know.

Know Basic Results and Definitions. Keep in mind that knowing the precise statements of definitions and basic theorems is essential. The adjective “precise” is important here. For example, if a problem asks you to define an eigenvector of a matrix A, writing just

Av = λv

will not get full credit. You need to state the whole definition: v ∈ Rn^ is an eigenvector of A if

v 6 = 0 and there exists λ ∈ R such that Av = λv.

Study Old Exams and Solutions. The Department website has a collection of old Comprehensive Exams, many with solutions. It is very important to do practice problems. This is one of the key ways to acquire an active knowledge of linear algebra. However, there are two dangers to be aware of when using old exams and solutions:

  • Thinking that the exams tell you what to study. Every topic on the Syllabus and in this Study Guide is fair game for an exam question.
  • Reading the solutions. This is passive. To get an active knowledge of the material, do problems from the old exams yourself, and then check the solutions. The more you can do this, the better.

Work Together, Ask Questions, and Get Help. Studying with your fellow math majors can help. You can learn a lot from each other. Faculty are delighted to help. Don’t hesitate to ask us questions and show us your solutions so we can give you feedback. The QCenter has excellent people who have helped many students in the past prepare for the Comprehensive Exam.

Start Now. Properly preparing for the linear algebra exam will take longer than you think. Start now.