



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: STATISTICS; Subject: Statistics & Applied Probability; University: University of California - Santa Barbara; Term: Winter 2009;
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Math 5A - Midterm 2 Review Problems - Solutions Winter 2009
The exam will focus on topics from Section 3.6 and Chapter 5 of the text, although you may need to know additional material from Chapter 3 (covered in 3C) or from Chapter 4 (covered earlier this quarter). Below is an outline of the key topics and sample problems of the type you may be asked on the test. Many are similar to homework problems you have done–just remember that you will be required to show your work and/or justify your answers on the exam.
3.6: Span, Linear (In)dependence, Basis, Dimension.
(a) (1, 2), (2, 1) Solution. We write c 1 (1, 2) + c 2 (2, 1) = (0, 0) and solve for c 1 and c 2. This yields two equations c 1 + 2c 2 = 0 and 2c 1 + c 2 = 0, and it follows that c 1 = c 2 = 0 is the only solution. Hence the two vectors are linearly independent.
(b) (2, −2), (− 2 , 2) Solution. Notice that (− 2 , 2) = −(2, −2). Since one vector is a scalar multiple of the other, they are linearly dependent. (c) (1, 2 , 1), (1, 3 , 1), (0, − 1 , 0) Solution. We write c 1 (1, 2 , 1) + c 2 (1, 3 , 1) + c 3 (0, − 1 , 0) = (0, 0 , 0) which yields only 2 equations c 1 + c 2 = 0 and 2c 1 + 3c 2 − c 3 = 0 in 3 unknowns. Hence there must be nonzero solutions: for instance, c 1 = 1, c 2 = − 1 , c 3 = −1 is such a solu- tion. This means the vectors are linearly dependent.
(d) (1, 0 , 0), (1, 1 , 0), (1, 1 , 1) Solution. We write c 1 (1, 0 , 0) + c 2 (1, 1 , 0) + c 3 (1, 1 , 1) = (0, 0 , 0), which yields 3 equations c 1 + c 2 + c 3 = 0, c 1 + c 2 = 0 and c 3 = 0. It follows that c 1 = c 2 = c 3 = 0 is the only solution, and thus the vectors are linearly independent.
(e) x + 1, x^2 + 2x, x^2 − 2 in the vector space P 2 of polynomials of degree less than or equal to 2. Solution. We write a(x + 1) + b(x^2 + 2x) + c(x^2 − 2) = 0, and compare the coefficients of each different power of x on each side of the equation. This yields 3 equations (the first comes from looking at the constant terms, the second from the x-terms and the third from the x^2 -terms): a− 2 c = 0, a+2b = 0 and b+c = 0. Solving for a, b, c, we see that there is a free variable, and one nonzero solution is given by a = 2, b = − 1 , c = 1. Hence the vectors are linearly dependent.
5.1: Linear Transformations–Definition and Standard Matrix.
(a) T : R^2 → R^3 defined by T (x, y) = (x + y, x − y, 2 x). Solution. Linear. The standard matrix for T has columns equal to T (e 1 ) = (1, 1 , 2) and T (e 2 ) = (1, − 1 , 0). Hence, we see that T is linear because it coincides with matrix multiplication:
x y
x y
5.2: Kernel and Image of a Linear Transformation. Rank and Nullity.
Im(T ) = span{(1, 1 , 2), (1, − 1 , 0)},
and since these two vectors are linearly independent, they are a basis for the image. (d) We calculate Im(T ) first. Again it will be the column space of the standard matrix of T. So Im(T ) = span{(0, 1 , 0), (0, 0 , 1), (1, 0 , 0)} = R^3 , and these three vectors are linearly independent (in fact, they are just the standard basis vectors in a different order) so they form a basis for im(T ). The rank-nullity theorem implies that dim ker(T ) = dim R^3 − dim Im(T ) = 3 − 3 = 0, so ker(T ) must be the zero subspace. (Again, a basis for ker(T ) is the empty set ∅.) (e) Since ker(T ) = {y ∈ C(2)(R) | y′′^ − y = 0}, we must solve the differential equation y′′^ − y = 0. The characteristic equation is r^2 − 1 = 0, and the characteristic roots are r = 1, −1. Thus the general solution is y = c 1 et^ + c 2 e−t. This means that a basis for the kernel consists of the two linearly independent solutions f 1 (t) = et^ and f 2 (t) = e−t.
We have ker(T ) = span{(0, 0 , 1)} Im(T ) = span{(1, 0 , 0), (0, 1 , 0)} (why?).
5.3: Eigenvalues, Eigenvectors, Eigenspaces.
(a)
A =
Solution. The characteristic polynomial is p(x) = (1 − x)(− 2 − x) + 2 = x^2 + x = x(x + 1). Hence the eigenvalues are x = 0, −1. For x = 0, the eigenvectors are just the nonzero vectors in ker A. Since the second row of A is −2 times the first row, the kernel is defined by a single equation: it consists of all vectors (y, z) with y + z = 0. Thus one such eigenvector is (1, −1). For x = −1, the eigenvectors are the nonzero vectors in ker(A + I), which contains all (y, z) such that 2y + z = 0. Thus one such eigenvector is (1, −2). (b) B =
Solution. The characteristic polynomial is p(z) = (2 − z)(2 − z) + 4 = z^2 − 4 z + 8, which has two complex roots z = 2 ± 2 i, and these are the eigenvalues. For z = 2 + 2i, the eigenvectors are just the nonzero vectors in ker(B − (2 + 2i)I). We write down this matrix and convert it to RREF:
B − (2 + 2i)I =
− 2 i − 2 2 − 2 i
1 −i 0 0
Hence any (x, y) with x − iy = 0 is an eigenvector: for instance (i, 1). For z = 2 − 2 i, we have
B − (2 − 2 i)I =
2 i − 2 2 2 i
1 i 0 0
Hence any (x, y) with x + iy = 0 is an eigenvector: for instance (−i, 1). (c)
C =
Solution. Using the fact that the matrix C is upper-triangular, we easily compute its characteristic polynomial p(t) = det(C − tI) = (1 − t)(2 − t)(1 − t) and thus the eigenvalues of C are t = 1, 2. For t = 1, we convert the matrix C − I to RREF to compute its kernel:
(a)
A =
Solution. We start by finding the eigenvalues and eigenvectors. The characteris- tic polynomial is p(t) = (1 − t)(1 − t) − 1 = t^2 − 2 t = t(t − 2). Thus the eigenvalues are t = 0, 2. Since there are two distinct eigenvalues (and A is 2 × 2), there is a theorem that says that A is diagonalizable. To find the change of coordinate ma- trix P , we still need to find a basis of eigenvectors. When t = 0, the eigenvectors are the nonzero elements of the ker(A): (1, −1) is one such vector. When t = 2, we can find an eigenvector by solving (A − 2 I)x = 0, which yields the equation −x + y = 0. Thus one eigenvector for eigenvalue 2 is (1, 1). Thus
(b)
B =
Solution. The characteristic polynomial is p(t) = (2 − t)^2. Thus t = 2 is the only eigenvalue for B. The eigenspace for the eigenvalue t = 2 is ker(B − 2 I), which is spanned by (1, 0). Since the eigenspace is only one-dimensional, it is not possible to find a basis of R^2 consisting of eigenvectors of B. Hence B is not diagonalizable. (c) C is the 3 × 3 matrix from Problem 9. Solution. We already found two linearly independent eigenvectors (6, 1 , 0) and (3, 0 , 1) for the eigenvalue 2. Thus to show that C is diagonalizable, we only need to find one more eigenvector that is not spanned by these two. We first must find another eigenvalue. The characteristic polynomial is det(C − tI) = (4−t)[(− 4 −t)(5−t)+18]−1[−12(5−t)+36]−1[36+6(− 4 −t)] = −t^3 +5t^2 − 8 t+4 = −(t − 2)^2 (t − 1) (factoring it is not too bad since we know that (t − 2)^2 should be one factor). Thus the other eigenvalue is t = 1. If we try to solve Cx = x we get three equations: 3x − 12 y − 6 z = 0; x − 5 y − 3 z = 0; and −x + 6y + 4z = 0. Adding the last two yields y + z = 0, and then the last one becomes x = 2y. Thus we get an eigenvector (2, 1 , −1) with eigenvalue 1. We now have a basis of eigenvectors of C, and these make up the columns of our change of coordinate matrix P :