Solutions to Midterm 2 Practice Problems Written by Victoria Kala Last updated 11/10/2015

Similar documents
Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

2. Every linear system with the same number of equations as unknowns has a unique solution.

What is on this week. 1 Vector spaces (continued) 1.1 Null space and Column Space of a matrix

Carleton College, winter 2013 Math 232, Solutions to review problems and practice midterm 2 Prof. Jones 15. T 17. F 38. T 21. F 26. T 22. T 27.

2018 Fall 2210Q Section 013 Midterm Exam II Solution

DEF 1 Let V be a vector space and W be a nonempty subset of V. If W is a vector space w.r.t. the operations, in V, then W is called a subspace of V.

Math Linear Algebra Final Exam Review Sheet

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Final Examination 201-NYC-05 December and b =

Practice Final Exam Solutions

Solutions to Math 51 Midterm 1 July 6, 2016

LINEAR ALGEBRA REVIEW

MATH 2030: ASSIGNMENT 4 SOLUTIONS

MATH 300, Second Exam REVIEW SOLUTIONS. NOTE: You may use a calculator for this exam- You only need something that will perform basic arithmetic.

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Homework Set #8 Solutions

SUMMARY OF MATH 1600

Math 54. Selected Solutions for Week 5

(i) [7 points] Compute the determinant of the following matrix using cofactor expansion.

1 Last time: inverses

(c)

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Math 3191 Applied Linear Algebra

Row Space, Column Space, and Nullspace

Review Notes for Midterm #2

Span & Linear Independence (Pop Quiz)

Calculating determinants for larger matrices

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

CSL361 Problem set 4: Basic linear algebra

Kevin James. MTHSC 3110 Section 4.3 Linear Independence in Vector Sp

Math 3C Lecture 20. John Douglas Moore

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

Midterm #2 Solutions

Final Examination 201-NYC-05 - Linear Algebra I December 8 th, and b = 4. Find the value(s) of a for which the equation Ax = b

Review Notes for Linear Algebra True or False Last Updated: February 22, 2010

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

Math 250B Midterm II Information Spring 2019 SOLUTIONS TO PRACTICE PROBLEMS

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

Fact: Every matrix transformation is a linear transformation, and vice versa.

Sample Final Exam: Solutions

NAME MATH 304 Examination 2 Page 1

Math 1553, Introduction to Linear Algebra

Math 4377/6308 Advanced Linear Algebra

Section 1.8/1.9. Linear Transformations

Span and Linear Independence

No books, notes, any calculator, or electronic devices are allowed on this exam. Show all of your steps in each answer to receive a full credit.

MTH 362: Advanced Engineering Mathematics

Solution: By inspection, the standard matrix of T is: A = Where, Ae 1 = 3. , and Ae 3 = 4. , Ae 2 =

This MUST hold matrix multiplication satisfies the distributive property.

MATH2210 Notebook 3 Spring 2018

Abstract Vector Spaces and Concrete Examples

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Math 369 Exam #2 Practice Problem Solutions

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Announcements Wednesday, September 27

We showed that adding a vector to a basis produces a linearly dependent set of vectors; more is true.

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

CHAPTER 8: Matrices and Determinants

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1)

1. TRUE or FALSE. 2. Find the complete solution set to the system:

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

is Use at most six elementary row operations. (Partial

1 Last time: determinants

Math 308 Practice Final Exam Page and vector y =

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

Practice Exam. 2x 1 + 4x 2 + 2x 3 = 4 x 1 + 2x 2 + 3x 3 = 1 2x 1 + 3x 2 + 4x 3 = 5

Chapter 3. Vector spaces

Solutions to Final Exam

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

Matrices related to linear transformations

Designing Information Devices and Systems I Discussion 4B

MAT 242 CHAPTER 4: SUBSPACES OF R n

Linear Algebra Highlights

χ 1 χ 2 and ψ 1 ψ 2 is also in the plane: αχ 1 αχ 2 which has a zero first component and hence is in the plane. is also in the plane: ψ 1

Math 308 Final, Autumn 2017

Math 54 Second Midterm Exam, Prof. Srivastava October 31, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

Digital Workbook for GRA 6035 Mathematics

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Review for Chapter 1. Selected Topics

Math113: Linear Algebra. Beifang Chen

1 9/5 Matrices, vectors, and their applications

Vector space and subspace

Math 2174: Practice Midterm 1

Review problems for MA 54, Fall 2004.

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Math 3108: Linear Algebra

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Problem 1: Solving a linear equation

1. General Vector Spaces

Transcription:

Solutions to Midterm 2 Practice Problems Written by Victoria Kala vtkala@math.ucsb.edu Last updated //25 Answers This page contains answers only. Detailed solutions are on the following pages. 2 7. (a) A (g) 7 5 cos θ sin θ 4. (b) T (2 ) ( 2 ) sin θ cos θ (c) ker(t ) {} (d) range(t ) span 2. (a) Linear (b) Not linear (c) Linear (d) Not linear 9 4. (a) 8 7 (b) 5 2 (c) Undefined 9 27 42 (d) 4 4 2 4 4 (e) Undefined 8 28 (f) 8 64 5. (a) det(g) (b) G does not exist 6. (a) det(j) 5 (b) J / / /5 /5 /7 /7 7. U is not a subspace 8. See detailed solution 4 5 9. (a) col(k) span 2 2 9 9 8 9 4 5 4 7 (b) null(k) span 4 5

Detailed Solutions. Let T be the linear transformation defined by the formula T (x x 2 ) (x 2 x x + x 2 x x 2 ). (a) Find the standard matrix A for the linear transformation such that T (x) Ax. Solution. Recall that the standard matrix A is given by A ( T (e ) T (e 2 ) ) where e ( ) and e 2 ( ). We need to find T ( ) and T ( ). Using the formula above we see that T ( ) ( ) and T ( ) ( ). Therefore A. Let s check: x 2 x x x 2 x + x 2 x x 2 This is the same as T (x x 2 )! (b) Find the image of (x x 2 ) (2 ). Solution. Use the formula above to find T (2 ) (or you can use matrix multiplication using the matrix in (a)): T (2 ) ( 2 ). (c) Find the kernel of T (Hint: This is the null space of A). Solution. The kernel of T is the set of all vectors x such that T (x). But since T (x) Ax then we solve Ax (this is the null space of A): R2+R R R2+R4 R4 R+R R R+R4 R4 2

R2 R R R This shows x x 2 hence x. This is the only solution to Ax hence ker(t ) null(a) {}. (d) Find the range of T (Hint: This is the column space of A). Solution. The range of T is the column space of A. The column space of A is the span of the columns: col(a) span. This is the solution. However here is another question: is this a basis of the column space? The answer is yes! We found the reduced row echelon form of A to be. The first and second column each have a pivot hence the first and second column of A are linearly independent and span the space. 2. Determine whether T : R 2 R 2 is a linear operator where (a) T (x (2x + y x Solution. Linear operator means linear transformation. For (a) (d) we need to show that: (( ) ( x w x w T + T + T and T ( ( ( x x c ct. ) Let s look at addition: x w 2x + y 2w + 2x + y + 2w + T + T + y x y w x y + w (( ) x w x + w 2(x + w) + (y + ) T + T y + (x + w) (y + ) We see that T (( ) ( x w x w + T + T and so the first property holds.

Let s look at scalar multiplication: ( ) x cx 2cx + cy T c T y cy cx cy (( x 2x + y c(2x + ct c ) x y c(x ( ) x x We see that T c ct and so the second property holds. y y Thus T is a linear transformation. (b) T (x (x + Solution. Let s look at addition: ( x w x + w + x + w + 2 T + T + y y + ( ) x w x + w x + w + T + T y y + y + Therefore T (( ) ( x w x w + T + T and so the first property doesn t hold. This is enough to show that the transformation is not linear. It also doesn t hold for scalar multiplication: ( ( x cx cx + T c T ) cy cy ( x x + cx + c ct c y cy Therefore T ( ( ( x x c ct and so the second property doesn t hold. ) Since neither property holds then T is not a linear transformation. (Note: you only need to show that one property fails so choose whichever one seems easiest to you.) (c) T (x (y Solution. Let s look at addition: ( ( x w y T + T (( ) x w T + T We see that T ( x + y ) w T x + T y ( + ) ) ( x + w y + y + y + y + y + w and so the first property holds. 4

Let s look at scalar multiplication: ( ) x cx cy T c T y cy cy ( ( x y cy ct c cy ( ) x x We see that T c ct and so the second property holds. y y Thus T is a linear transformation. (d) T (x ( x Solution. Let s look at addition: ( ( x w ) ( x ) ( w T + T + ) x + w y y + ( ) ( x w x + w ) x + w T + T y y + y + Therefore T (( ) ( x w x w + T + T and so the first property doesn t hold. This is enough to show that the transformation is not linear. It also doesn t hold for scalar multiplication: ( ( ( x cx ) cx T c T ) cy cy ( x ) ( ) x c x ct c y y c y Therefore T ( ( ( x x c ct and so the second property doesn t hold. ) Since neither property holds then T is not a linear transformation. (Note: you only need to show that one property fails so choose whichever one seems easiest to you.). Consider the matrices A 2 4 B C 2 4 2 D 5 5 2 2 4 Compute the following (where possible). If the operation is not defined explain why. (a) B 2 2B + I. 5

Solution. B is a 2 2 matrix. B 2 will also be a 2 2 matrix 2B will be a 2 2 matrix and I will be a 2 2 matrix therefore B 2 2B + I is defined and B 2 4 4 4 2B + I 2 + 2 2 2 6 6 8 2 + + 4 4 9 4 (b) A T C Solution. A is a 2 matrix and so A T will be a 2 matrix. C is also 2 matrix hence A T C is defined and T A T C 2 4 2 5 4 2 2 5 ( ) 4 2 2 5 8 7 5 2 (c) BD Solution. B is a 2 2 matrix D is a matrix. The number columns of B are not the same as the number rows of D hence BD is not defined. (d) (AC)D Solution. A is a 2 matrix C is a 2 matrix. AC is defined and will be a 6

matrix. D is a matrix and so (AC)D is defined. 5 2 (AC)D 2 4 2 5 2 4 + 2 + 6 + 5 2 + 6 4 + 2 2 + + 4 + 2 + 5 2 4 2 6 5 2 5 2 8 4 5 7 2 4 2 + 8 5 + + 2 6 + 2 + 24 5 + 2 + 24 25 + + 6 2 + 2 4 5 + 2 2 + + 4 8 + 5 + 28 9 27 42 4 4 2 4 4 (e) CB 2A Solution. C is a 2 matrix B is a 2 2 matrix. The number of columns of C is not the same as the number of rows of B so CB is undefined. Therefore CB 2A is not defined. (f) B Solution. B (B ). B will be a 2 2 matrix and will be defined since det(b) 4 2 8 and B 2. 8 4 (B ) will be a 2 2 matrix and ( ) (B ) 2 8 4 2 2 2 8 4 4 4 4 6 2 8 6 4 8 28 8 64 7

(g) CC T Solution. C is a 2 matrix and C T is a 2 matrix. The number of columns of C match the number of rows of C T so CC T is defined and T 4 2 4 2 4 2 4 5 5 5 2 5 + 6 + 4 + 4 + + 4 + 9 + + 25 2 7 7 5 cos θ sin θ 4. Find the inverse of. sin θ cos θ Solution. The inverse is well defined since cos θ sin θ sin θ cos θ cos2 θ + sin 2 θ and cos θ sin θ cos θ sin θ sin θ cos θ sin θ cos θ sin θ Let s check our solution: ( cos θ sin θ cos θ sin θ cos 2 θ + sin 2 θ sin θ cos θ sin θ cos θ sin θ cos θ + sin θ cos θ The other direction works as well. 5 4 5. Let G 4. 6 (a) Find det(g). ( cos θ sin θ cos θ Solution. Let s use cofactor expansion by crossing out the first column: 5 4 4 6 4 6 5 4 6 + ( ) 5 4 4 ( 24) ( 2 + 2) 24 + 24 ). ) sin θ cos θ + sin θ cos θ sin 2 θ + cos 2 θ 8

Thus det(g). (b) Does G exist? If so find it. Solution. No G does not exist since det(g). 6. Let J 5. 5 7 (a) Find det(j). Solution. J is a lower triangular matrix hence the determinant of J is the product of the diagonal entries: det(j) 5 7 5. (b) Does J exist? If so find it. Proof. We set up the augmented matrix ( J I ) and reduce to get ( I J ) : R R R R R2 R R4 R R4 5 5 7 R2 R R2 5 5 7 5 5 7 5 7 5 R R R4 R R4 5 5 7 R4 R2 R4 R2 R2 5 5 7 / / /5 /5 7 5 5 7 / / 5 7 9

5 R R / / /5 /5 /7 /7 Therefore J / / /5 /5. /7 /7 Let s check our solution: / / /5 /5 5 / + / / /5 + /5 /5 + /5 5/5 /7 /7 5 7 /7 + /7 /7 + /7 5/7 + 5/7 The other direction works as well. 7. Let U {(x : x 2 y } be a subset of R 2. Is U a subspace of R 2? Why or why not? Solution. You should always sketch the subset whenever possible. U can easily be sketched out (see the figure below U is the dark shaded set). We need to verify look at the three properties of a subspace to see if U is a subspace: ( ( (i) The ero vector of R 2 is. U since 2 and. ) ) If you are looking at this graphically you can clearly see that the ero vector is in the set U. ( x w (ii) We need to pick two vectors in U and add them together. Let U. Then x( 2 ( w) 2 ( y ) and. When we add the two vectors together we have x w x + w +. The inequalities will also add together and we will have y + x + w 4 and( y + ) 2. Since these inequalities are not preserved (they aren t 2 x + w and ) then U hence U is not closed under addition. y + If you are looking at this graphically you need to find two vectors that when added ( together they are no longer in the set U. One such example would be the vectors ( ) ) 2 2 and which are both in U. But their sum is which is not in U. (These 2 vectors are plotted in the figure below.)

x (iii) We need to pick a vector in U and multiply it by a scalar. Let U and c R. ( y ) cx Then x 2 and y. If we multiply c by our vector we have. If c then our cy inequalities will be cx 2c and cy c; if c < then our inequalities will be cx 2c and cy c. Since these inequalities are not preserved then U is not closed under scalar multiplication. If you are looking at this graphically you need to find a vector and a scalar such that a scalar multiplied by this vector will no ( longer ) be ( in) the set U. One such example would be the vector and the scalar 5: 5 U. (These vectors are plotted in 5 the figure below.) Above we showed that U fails under addition and scalar multiplication therefore U is not a subspace. Showing just one of these fails is enough to show that U is not a subspace. 8. Let v ( 2 ) v 2 (2 9 ) v ( 4). Show that the set S {v v 2 v } is a basis for R. Solution. To show that S is a basis we need to show that (i) all the vectors in S are linearly independent and (ii) the vectors in S span the space which in this case is R. (i) Linearly Independent: We need to take an arbitrary linear combination and set it equal to the ero vector: c v + c 2 v 2 + c v.

We set up an augmented matrix with our vectors as the columns and reduce to solve for c c 2 c : 2 2 9 2R+R2 R2 2 5 R+R R 2 5 4 4 2 2R+R2 R2 2 2 R R 2R2+R R 2 2 This is enough for us to solve the system. This shows that c c 2 c. This proves that the set of vectors in S are linearly independent. (ii) Span: In the previous part we showed that the matrix formed by v v 2 v has a pivot in every row. This implies that these vectors span R. You can also use the fact that a set of n linearly independent vectors spans R n. 9. Let K 4 2 5 4 2 6 9 8 2 2 6 9 9 7 4 2 5 4. (a) Find a basis for the column space of K. Solution. The column space of K is the spanning set of all the columns of K: 4 2 5 4 col(k) span 2 2 6 6 9 9 8 9 2 7 4 2 5 4 However we are asked to find the basis of col(k) which means we only want to find the linearly independent vectors in this set. We will do this by reducing K: 4 2 5 4 4 2 5 4 2 6 9 8 2 2 6 9 9 7 2R+R2 R2 2 6 2 6 9 9 7 4 2 5 4 4 2 5 4 4 2 5 4 4 2 5 4 2R+R R 2 6 R+R R 2 6 4 2 5 4 2

4 2 5 4 4 2 5 4 R2+R R 2 6 5 2R+R2 R2 4 5 4 2 2 4 7 5R+R R 4 5 4R2+R R 4 5 The columns with pivots are the st rd and 5th columns. This means that the st rd and 5th columns of K will form the basis of the column space of K: 4 5 col(k) span 2 2 9 9 8 9 4 5 (b) Find a basis for the null space of K. Solution. We need to find all the vectors x such that Kx. We do this by reducing the augmented matrix ( K ). We already reduced the matrix in part (a): 4 7 4 5 The columns with pivots are associated with x x x 5. The free variables are x 2 x 4 x 6. We set x 2 s x 2 t x u for s t u R. We now solve for x x x 5 in terms of the free variables. From the third row we have: From the second row we have: From the first row we have: x 5 + 5x 6 x 5 5u x + x 4 + 4x 6 x t 4u x x 2 4x 4 7x 6 x s + 4t + 7u We write our solution out in parametric form: x s + 4t + 7u 4 7 x 2 s x x 4 t 4u t s + t + 4 u x 5 5u 5 x 6 u

This is the spanning set for null space of K: null(k) span 4 7 4 5 4