Linear Algebra Math 221

Similar documents
Linear Algebra Math 221

Methods for Solving Linear Systems Part 2

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

Solutions to Exam I MATH 304, section 6

MATH 2360 REVIEW PROBLEMS

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Solving Linear Systems Using Gaussian Elimination

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

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

Components and change of basis

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

Evaluating Determinants by Row Reduction

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Linear Algebra 1 Exam 1 Solutions 6/12/3

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

ANSWERS. E k E 2 E 1 A = B

Linear Algebra Exam 1 Spring 2007

Review. Example 1. Elementary matrices in action: (a) a b c. d e f = g h i. d e f = a b c. a b c. (b) d e f. d e f.

Elementary maths for GMT

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

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

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

Math 2331 Linear Algebra

MA 1B PRACTICAL - HOMEWORK SET 3 SOLUTIONS. Solution. (d) We have matrix form Ax = b and vector equation 4

Linear Equations in Linear Algebra

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

This MUST hold matrix multiplication satisfies the distributive property.

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

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

and let s calculate the image of some vectors under the transformation T.

Determinants Chapter 3 of Lay

Section 2.2: The Inverse of a Matrix

EXAM. Exam #1. Math 2360, Second Summer Session, April 24, 2001 ANSWERS

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.

DETERMINANTS DEFINED BY ROW OPERATIONS

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge!

Solving Systems of Linear Equations Using Matrices

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Chapter 4. Solving Systems of Equations. Chapter 4

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Math Linear Algebra Final Exam Review Sheet

22A-2 SUMMER 2014 LECTURE 5

Matrix Factorization Reading: Lay 2.5

Chapter 2 Notes, Linear Algebra 5e Lay

Check that your exam contains 20 multiple-choice questions, numbered sequentially.

Mid-term Exam #1 MATH 205, Fall 2014

Solving Consistent Linear Systems

ANSWERS. Answer: Perform combo(3,2,-1) on I then combo(1,3,-4) on the result. The elimination matrix is

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Math 2174: Practice Midterm 1

MH1200 Final 2014/2015

Matrices and systems of linear equations

E k E k 1 E 2 E 1 A = B

CHAPTER 8: Matrices and Determinants

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

Digital Workbook for GRA 6035 Mathematics

1 - Systems of Linear Equations

Math 313 Chapter 1 Review

Dylan Zwick. Fall Ax=b. EAx=Eb. UxrrrEb

Linear System Equations

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

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Lecture 10: Determinants and Cramer s Rule

EE5120 Linear Algebra: Tutorial 1, July-Dec Solve the following sets of linear equations using Gaussian elimination (a)

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

INVERSE OF A MATRIX [2.2]

Linear Algebra Primer

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

Math 320, spring 2011 before the first midterm

3.4 Elementary Matrices and Matrix Inverse

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Matrix equation Ax = b

18.06SC Final Exam Solutions

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

4. Determinants.

Gaussian Elimination and Back Substitution

1 Last time: linear systems and row operations

EXAM. Exam #3. Math 2360 Fall 2000 Morning Class. Nov. 29, 2000 ANSWERS

Matrices and Matrix Algebra.

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

4 Elementary matrices, continued

Elementary Linear Algebra

Math 240 Calculus III

Chapter 4. Determinants

Extra Problems: Chapter 1

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

MTH 464: Computational Linear Algebra

Properties of Linear Transformations from R n to R m

Math 3191 Applied Linear Algebra

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Linear Algebraic Equations

Transcription:

Linear Algebra Math Open Book Exam Open Notes 8 Oct, 004 Calculators Permitted Show all work (except #4). (0 pts) Let A = 3 a) (0 pts) Compute det(a) by Gaussian Elimination. 3 3 swap(i)&(ii) (iii) (iii)+( )(i) A = 3 A = A = 0 3 3 (iii) (iii)+()(ii) A = A3 = 0 0 0 As A3 is upper triangular det(a3) is the product of the diagonal elements: det(a3)=()()(-) =- Of the steps in the reduction, each but the first is a simple replacement: (a) (a)+(n)(b), which doesn t affects the determinant: - = det(a3) = det(a) = det(a). The first step in the reduction was a row swap, which multiplies the determinant by (-), so det(a) = (-)det(a) = (-)(-) = Answer: det(a) = b) (0 pts) Compute det(a) by Cofactor Reduction. (all determinants, even smaller than 3x3 must be computed by cofactor reduction) We choose to expand on the first row because it has a low density (only one non-zero element): A = 3 = ( ) + (0) 3 + ( )+ () 3 + ( )+3 (0) = ( ) 3 Now we look at the remaining x determinant. No row or column gives us an advantage as they all have density two, so we arbitrarily choose to expand over the first row. (Note that the notation 3 and are x determinants, not absolute values.) A = 3 = ( ) 3 = ( ) ( ( )+ () + ( ) + (3)) = ( )( + ( 3)) = Answer: det(a) = Check: Compare the answers in parts (a) and (b)

. (0 pts) Compute the inverse of A = by Gaussian Elimination. We can compute A - by augmenting A by I and bringing A to reduced echelon form. ( A I) = 0 (ii) (ii)+( )( i) 0 (i) (i)+( )(ii) 0 0 0 0 0 (ii) ( )(ii) 0 0 0 Answer: A = Check: Multiply and check AA - =I. 3. (0 pts) If A = 4 4 a) (0 pts) Compute an LU decomposition (without pivoting) of A We write A as I times A and then step through the Gaussian Reduction of A to its echelon form U, while converting I to L by applying the corresponding steps. (The pivots of A and U are emphasized by putting them in parentheses.): 0 0 ( ) 0 0 ( ) 0 0 ( ) IA = 4 0 0 0 ( ) 0 0 0 0 0 4 0 0 0 0 0 0 0 0 Answer: Thus L = 0 and U = 0 0 0 0 0 Check: Multiply and confirm that LU = A. (In fact, at any step of the reduction we can multiply the two matrices to get a product of A.) b) (0 pts) Solve Ax v = 0 for the vector x using the LU decomposition of A. 6 We recall that Ax=b can also be written as (LU)x=b. We define y=ux and first solve Ly=b for y: 0 0 ( L b) = 0 0 6 From the first row we get the equation y =. ( )

Second row: y + y = 0, so y = 0 y = 0 () = -. Third row: ()y + (-)y + y 3 = 6, so y 3 = 6 - y + y = 6 () + (-) = 0. Check: Multiply and confirm that Ly=b. Now we use this value of y to solve Ux=y for x: ( U y) = 0 0 0 0 0 0 Note first that the system is consistent, so there is a solution. We now note that the second column is non-pivot, so x is a free variable. From the third row we read the equation 0 = 0, which gives us no information. Second row: ()x 3 = -, so x 3 = -/ = -. First row: ()x + ()x + ()x 3 =, so ()x = - ()x - ()x 3 and we solve to get x = ( - x - ()(-))/ = - x / x / v Solution: x = x = 0 + x 0 Check: Multiply and confirm that Ax=b Note: The same solution set can be expressed in a number of equivalent ways. By adding two copies of the second vector to the first we get: v x = + ( x ) = 0 + s (where s= (x -)/(-)) 0 4. (0 pts) If A =. a) (0 pts) Find all matrices B such that AB=I (B is a right inverse of A). We can set this up as a system of equations and directly solve it. As A has two rows the product AB must have two rows and I must be the x identity matrix. a b Thus B must have three rows and two columns, so it has form B =. The e f matrix equation I=AB= a b = 0 gives us the system of four 0 e f equations in six unknowns: a + c + e = 0 a + c + e = 0 which gives us the augmented matrix 0 0. b + d + f = 0 b + d + f = 0 We reduce this system as

0 0 0 0 0 0 0 3 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 3 3 0 0 3 3 0 0 3 0 0 0 0 0 0 3 3 0 0 0 3 0 0 0 3 3 3 3 0 0 3 3 We read off the solutions as: e=free, f=free, a=-/3 e/3, b=/3-f/3, c=/3-e/3, d=-/3-f/3 Easier approach: Note that, just like inverting a matrix, we can more efficiently solve this as follows: 0 0 red ech form 3 3 3 0 0 3 3 3 The first augment column gives us a, c and e, so e is free and a=-/3 e/3, b=/3-f/3, c=/3-e/3 as before. The second augment column gives us the relations among b, d and f, so f is free and b=/3-f/3, d=-/3-f/3, as before. a b e f 3 3 3 3 Answer: Thus B = = e f 3 3 3 3 e f e f Check: Multiply and confirm that CA = I b) (0 pts) Find all matrices C such that CA=I (C is a left inverse of A). Answer: There is no matrix C such that CA=I The matrix A is equivalent to a linear map from R 3 to R. Thus, any matrix C such that CA=I must be an onto map from R to R 3, not a possible condition. A brute force approach to this problem is to solve the system and demonstrate that it is inconsistent. As A has three columns the product CA=I must have three columns, and it must be the 3x3 identity matrix. C must have three rows a b and two columns, so it has form C =. The matrix equation e f a b 0 0 I=CA= = gives us the system of nine equations in e f 0 0 six unknowns:

a + b = 0 0 0 0 a + b = 0 0 0 0 0 0 a + b = 0 0 0 0 0 0 c + d = 0 0 0 0 0 0 c + d = which gives us the augmented matrix 0 0 0 0 c + d = 0 0 0 0 0 0 e + f = 0 0 0 0 0 0 e + f = 0 0 0 0 0 0 e + f = 0 0 0 0 After the first few steps of Gaussian Elimination the first three rows become: 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 3 0 0 0 0 and the last row 0 0 0 0 0 0 0 0 0 0 0 3 gives us an inconsistent equation 0 = -/3. Easier approach: As we are solving the equation CA=I for C we cannot use the usual matrix vector notation. We can, however, rewrite this as A T C T =(CA) T =I. Now, we can efficiently solve this as follows: 0 0 0 0 red ech form 0 0 0 0 3 We immediately see that the system is inconsistent as the last row is interpreted as the three equations 0a+0b=, 0c+0d= and 0e+0f=-3, each of them inconsistent. 5. (0 pts) Multiple Choice: ALWAYS/SOMETIMES/NEVER (5 pts per question) a) If the 4x3 matrix A has three pivots then it defines a linear transformation T: R 3 R 4 which is onto. NEVER A linear transformation from R 3 R 4 cannot be onto. A linear transformation which is onto corresponds to a matrix which has a pivot in every row this cannot be the case for A which has four rows and three columns, hence no more than three pivots. b) If the matrices A and B are both invertible then A+B is invertible. SOMETIMES There are cases where this is true (an example is A=B=I, so A+B=I) but there are also cases where this is false (an example is B=-A, so A+B=0). c) If the matrices A and B are both invertible then AB is invertible. ALWAYS A and B are invertible iff det(a) and det(b) are non-zero. Thus det(ab)=det(a)det(b) is also non-zero and AB is invertible.

d) I A is a 4x4 matrix, then det(3a) = 8 det(a). ALWAYS The series of elementary row operations which take the matrix A to the matrix 3A is scaling each of the four rows by 3. Each of these operations multiplies the determinant by 3, so the total change is to multiply the determinant by 3 4 =8.