Math 320, spring 2011 before the first midterm

Similar documents
Determinants Chapter 3 of Lay

This MUST hold matrix multiplication satisfies the distributive property.

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Properties of the Determinant Function

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

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

Homework Set #8 Solutions

Honors Advanced Mathematics Determinants page 1

Linear Systems and Matrices

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

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Topic 15 Notes Jeremy Orloff

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Math 313 (Linear Algebra) Exam 2 - Practice Exam

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

MATH 1210 Assignment 4 Solutions 16R-T1

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.

Determinants and Scalar Multiplication

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

MATH2210 Notebook 2 Spring 2018

1 Last time: determinants

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

MATH 2030: EIGENVALUES AND EIGENVECTORS

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Math Linear Algebra Final Exam Review Sheet

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

Math 240 Calculus III

Determinants An Introduction

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Announcements Wednesday, October 25

Determinants by Cofactor Expansion (III)

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

22A-2 SUMMER 2014 LECTURE 5

Linear Algebra and Vector Analysis MATH 1120

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and


Matrix Arithmetic. j=1

det(ka) = k n det A.

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

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

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

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

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

Evaluating Determinants by Row Reduction

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

ANSWERS. E k E 2 E 1 A = B

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

Review of linear algebra

Notes on Determinants and Matrix Inverse

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

8 Square matrices continued: Determinants

Second Midterm Exam April 14, 2011 Answers., and

Math 215 HW #9 Solutions

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

Math 308 Practice Final Exam Page and vector y =

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

POLI270 - Linear Algebra

ANSWERS (5 points) Let A be a 2 2 matrix such that A =. Compute A. 2

3 Matrix Algebra. 3.1 Operations on matrices

MTH 102A - Linear Algebra II Semester

12. Perturbed Matrices

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

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Matrices and Linear Algebra

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

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Inverses and Determinants

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Therefore, A and B have the same characteristic polynomial and hence, the same eigenvalues.

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

Lecture 1 Systems of Linear Equations and Matrices

Determinants and Scalar Multiplication

NOTES FOR LINEAR ALGEBRA 133

MATH 106 LINEAR ALGEBRA LECTURE NOTES

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

TOPIC III LINEAR ALGEBRA

1. Select the unique answer (choice) for each problem. Write only the answer.

MATH10212 Linear Algebra B Homework Week 5

Determinants: Uniqueness and more

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

5.3 Determinants and Cramer s Rule

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

Lecture 10: Determinants and Cramer s Rule

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

= 1 and 2 1. T =, and so det A b d

Homework 11/Solutions. (Section 6.8 Exercise 3). Which pairs of the following vector spaces are isomorphic?

Math Lecture 26 : The Properties of Determinants

MATH10212 Linear Algebra B Homework 7

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Chapter SSM: Linear Algebra Section Fails to be invertible; since det = 6 6 = Invertible; since det = = 2.

Problems for M 10/26:

MATH 15a: Linear Algebra Practice Exam 2

Transcription:

Math 320, spring 2011 before the first midterm Typical Exam Problems 1 Consider the linear system of equations 2x 1 + 3x 2 2x 3 + x 4 = y 1 x 1 + 3x 2 2x 3 + 2x 4 = y 2 x 1 + 2x 3 x 4 = y 3 where x 1,, x 4 are the unknowns, and y 1, y 2, y 3 are given constants (i) If you want to find the general solution to this system by row reduction, then which matrix do you have to row-reduce? (ii) Compute the Reduced Row Echelon Form of the matrix you found in (i) (iii) What is the general solution to the system of equations? (iv) Answer the same questions for the system 2x 1 + 3x 2 2x 3 + x 4 = y 1 x 1 + 3x 2 2x 3 + 2x 4 = y 2 2x 1 + 2x 3 x 4 = y 3 2 A system of two equations with four unknowns has been row-reduced to the matrix [ ] 1 0 0 1 4 0 1 2 3 1 Find the general solution to this system of equations 3 Consider the matrix 1 0 3 4 0 1 0 0 0 0 0 1 (i) Which system of equations does this matrix stand for? (ii) Find the general solution of that system of equations 4 Consider the matrix A = 1 2 1 2 4 k 0 1 3 in which k is a constant (i) For which values of the constant k does the matrix have an inverse? (ii) Show how you use row reduction to find the inverse of A if k = 0 5 Let A = [ ] 1 3 0 2 and B = [ ] 2 4 1 0 (i) Compute the determinants of these matrices (ii) Compute det A 25 (iii) Compute det(a + B) (iv) Compute det(a 2 BAB 2 ) (v) If C is a 2 2 matrix with det C = +2, compute det( C) and det(c 1 ) 1

2 Inverses and determinants of square matrices Matrix Operations ( 34) Inverses ( 35) Here is a brief summary of some of the concepts that are introduced in the book IT IS ASSUMED THAT YOU HAVE READ THE BOOK After the summary there are also solutions to some of the conceptual problems in the homework Answers to the other homework problems can be found in the book You can add and multiply matrices, and just as with ordinary numbers matrix addition & multiplication is associative: and distributive: (A + B) + C = A + (B + C), A(BC) = (AB)C, A(B + C) = AB + AC, (A + B)C = AC + BC but it is normally not commutative, ie for most matrices A and B AB BA In those special cases where AB = BA, the matrices A and B are said to commute: A and B commute Three equivalent definitions of A 1 for a square matrix A First description of A 1 Suppose we are given two n n matrices A = a n1 a nn B = b 11 b 1n b n1 b nn We say B = A 1 if the solution of the system of equations a 11 x 1 + + a 1n x n = y 1 x 1 = b 11 y 1 + + b 1n y n = is given by = a n1 x 1 + + a nn x n = y n x n = b n1 y 1 + + b nn y n Second description of A 1 We say B = A 1 if where the solution of the system of equations Ax = y is always given by x = By x = x 1 x n and y = are column vectors Note that this second description is just the same as the first, but written in matrix form, using matrix multiplication to interpret Ax and By y 1 y n

3 Third description of A 1 We say B = A 1 if AB = BA = I The inverse of a product If A and B are invertible, then so is AB and one has (AB) 1 = B 1 A 1 Note the reversal of order This is important since with matrices AB usually is not equal to BA Determinants ( 36) Basic properties that help in computing determinants You can factor out a constant from any row or column in a determinant, eg ca 21 ca 2n a 21 a 2n = c a n1 a nn a n1 a nn Adding a multiple of any row to another row in a determinant does not change its value The same applies to columns Example: a 21 a 2n a 21 + ka 11 a 2n + ka 1n = a n1 a nn a n1 a nn Swapping two rows changes the sign of a determinant Important properties of determinants Solutions to some problems 34 Problem 31 det(a T ) = det A det(ab) = det(a) det(b) det(a 1 ) = 1 det A (provided det A 0) You are asked to show that (A + B)(A B) A 2 B 2, for the two matrices A and B from example 5 You could look up what A and B are and compute both (A + B)(A B) and A 2 B 2 (the answers are in the back of the book), but

4 34 Problem 32 35 Problem 32 35 Problem 34 this misses the point somewhat Instead, you learn more by doing the following calculation: (A B)(A + B) = A(A + B) B(A + B) = AA + AB BA BB = A 2 B 2 + AB BA So if AB = BA then (A B)(A + B) = A 2 B 2 is true, but if AB BA, then it is not true For A and B as in example 5, one has AB BA and therefore (A+B)(A B) A 2 B 2 The same comments as for the previous problem apply to this problem The most instructive solution is as follows: (A + B) 2 = (A + B)(A + B) = A(A + B) + B(A + B) = AA + AB + BA + BB = A 2 + AB + BA + B 2 So if AB = BA then (A + B) 2 = A 2 + 2AB + B 2 is true (because AB + BA = AB + AB = 2AB), but if AB BA, then it is not true If A is invertible, and if AB = AC, then multiply both sides of the equation from the left with A 1, and you find AB = AC = A 1 AB = A 1 AC = IB = IC = B = C A diagonal matrix is a matrix of the form d 1 0 0 0 0 d 2 0 0 D = 0 0 0 d n Since none of the diagonal entries d 1, d 2,, d n are zero (that is the assumption in the problem), you can define 1/d 1 0 0 0 0 1/d 2 0 0 E = 0 0 0 1/d n By computing the following matrix products you find ED = I, and also DE = I Therefore D is invertible and its inverse is given by E

5 36 Problem 50 36 Problem 51 36 Problem 52 36 Problem 53 If a matrix A satisfies A 2 = A, then det(a 2 ) = det(a) = det(a A) = det(a) = det(a) det(a) = det(a) = det(a) 2 = det(a) Therefore det(a) is a number which satisfies (det A) 2 = det A This implies det A = 0 or det A = 1 (More detail: if x = det A, then we have shown x 2 = x This is an equation for x Either x = 0, or else you can divide both sides by x, in which case you find x = 1) If a matrix A satisfies A n = 0 forsome integer n, then show that det A = 0 Solution Using the basic property det(ab) = det(a) det(b) we find det(a n ) = det(a A A) = det(a) det(a) det(a) = ( det(a) ) n Therefore, if det(a n ) = 0, then (det A) n = 0 Since det A is a number (det A) n implies det A = 0 The problem tells you that certain matrices are called orthogonal Ignoring the terminology, the problem asks this: if a matrix A satisfies A T = A 1, then show that its determinant is either +1 or 1 Solution Since det A T = det A, and since det A 1 = 1/ det A, we find that if A T = A 1, then the determinant of A must satisfy det A = 1 det A, Multiply both sides with det A and you find that (det A) 2 = 1 Therefore det A = ±1 Again some terminology is introduced which, for the purposes of solving the problem, you can ignore The problem asks you to show that if three square matrices A, B, P are related by A = P 1 BP, then A and B have the same determinant Solution Use the properties of the determinant: det(a) = det(p 1 BP ) = (det P 1 )(det B)(det P ) = 1 (det B)(det P ) = det B det P That s all Note that in the last step you can cancel the two det P s, because they are numbers When you look at the expression P 1 BP you might think that you can cancel P and P 1 because P 1 P = I But you can t because in the product

6 P 1 BP there s a B between the P 1 and P If it were true that BP = P B, then you could say P 1 BP = P 1 P B because BP = P B = IB because P 1 P = I = B, but if BP P B then this doesn t work 36 Problem 54 You are asked to prove: AB is invertible both A and B are invertible Solution This is the section about determinants, and one of the main uses of determinants is that they tell you when a matrix is invertible: Apply this to the product AB: Since det AB = (det A)(det B), we get A is invertible det A 0 AB is invertible det AB 0 AB is invertible (det A)(det B) 0 The product of two numbers (such as det A and det B) is nonzero if and only if both numbers are nonzero, so we find AB is invertible det A 0 and det B 0 Finally, det A 0 is equivalent to A is invertible, and the same for B Therefore AB is invertible A is invertible and B is invertible 36 Problem 56 If all entries of a matrix A are integers, then its determinant also is an integer because you find it by adding and multiplying entries of A (you never have to divide) If B = A 1 then the ij entry of B is given by Cramer s formula b ij = A ji det A Here A ji is the ji cofactor of the matrix A It is an (n 1) (n 1) determinant whose entries are integers because they come from A Therefore A ji is an integer If we are given that det A = 1, then our formula for b ij shows us that In particular, b ij is an integer b ij = A ji det A = A ji,

7 Answers and Hints (1i) There are two options Either you keep the constants y 1, y 2, y 3, in which case you get 2 3 2 1 y 1 1 3 2 2 y 2 1 0 2 1 y 3 or you don t write the constants y 1, y 2, y 3 but you keep track of their coefficients instead Then you get the bigger matrix 2 3 2 1 1 0 0 1 3 2 2 0 1 0 1 0 2 1 0 0 1 (1ii) I don t write the coefficients of y 1, y 2, y 3 and work with the bigger matrix which only contains coefficients instead This leads me to the RREF: ( R2)+R1 1 3 2 2 0 1 0 1 0 2 1 0 0 1 ( R1)+R2 ( R1)+R3 (R3)+R2 R2/3,R3/2 0 3 2 3 1 2 0 0 0 2 0 1 1 1 0 3 0 3 2 3 1 0 0 2 0 1 1 1 0 1 0 1 2/3 1 1/3 0 0 1 0 1/2 1/2 1/2 If you had carried the y 1, y 2, y 3 along in your computation, you would have ended up with 1 0 0 1 y 1 y 2 0 1 0 1 2 3 y 1 + y 2 + 1 3 y 3 0 0 1 0 1 2 y 1 + 1 2 y 2 + 1 2 y 3 (1iii) The solution has one parameter in it, since the RREF does not tell you what x 4 is If we call the parameter t then we get the following solution x 1 = y 1 y 2 + t; x 2 = 2 3 y 1 + y 2 + 1 3 y 3 t x 3 = 1 2 y 1 + 1 2 y 2 + 1 2 y 3 x 4 = t

8 (1iv) 2 3 2 1 1 0 0 1 3 2 2 0 1 0 2 0 2 1 0 0 1 The general solution is ( R2)+R1 ( R1)+R2 ( 2R1)+R3 ( R3)+R2 R2/3,R3/2 x 1 = y 1 y 2 + t x 2 = y 1 4 3 y 2 + 1 3 y 3 4 3 t x 3 = y 1 + y 2 + 1 2 y 3 + 1 2 t x 4 = t 1 3 2 2 0 1 0 2 0 2 1 0 0 1 0 3 2 3 1 2 0 0 0 2 +1 2 2 1 0 3 0 4 3 4 1 0 0 2 +1 2 2 1 0 1 0 4/3 1 4/3 1/3 0 0 1 1/2 1 1 1/2 (2) The matrix is already in reduced row echelon form You can solve for x 1 and x 2, but x 3 and x 4 are undetermined, so we make them parameters, s and t The general solution is then x 1 = 4 t x 2 = 1 2s 3t x 3 = s x 4 = t (3i) x 1 +3x 3 = 4 x 2 = 0 0 = 1 (3ii) The last equation 0 = 1 is not satisfied for any choice of x 1, x 2, x 3, so there is no solution (4i) Compute the determinant of the matrix to see if it has an inverse 1 2 1 2 4 k 0 1 3 = 1 2 1 0 0 k 2 = (k 2) 1 2 0 1 3 0 1 = k + 2

9 (in the first step we subtract the first row twice from the second row) So if k 2 the matrix has an inverse because its determinant is nonzero (4ii) Here is how you get the inverse for any k except k = 2 The question asked you to do this with k = 0 Form the matrix [A I] which you get from A by appending the identity matrix Then row reduce until you get [I B] The matrix B is the inverse Here is one way to get there: 1 2 1 1 0 0 2 4 k 0 1 0 1 2 1 1 0 0 0 0 k 2 2 1 0 1 2 1 1 0 0 0 0 k 2 2 1 0 1 0 5 1 0 2 0 0 k 2 2 1 0 1 0 5 1 0 2 0 0 1 2/(k 2) 1/(k 2) 0 1 0 0 1 10/(k 2) 5/(k 2) 2 0 1 0 6/(k 2) 3/(k 2) 1 0 0 1 2/(k 2) 1/(k 2) 0 Therefore the inverse matrix is 1 10/(k 2) 5/(k 2) 2 A 1 = 6/(k 2) 3/(k 2) 1 2/(k 2) 1/(k 2) 0 (5i) det A = 2, det B = 4 (5ii) det(a 25 ) = det(a A A) = (det A)(det A) (det A) = (det A) 25 = 2 25 (5iii) There s no simple rule for det(a + B) so we first compute A + B: det(a + B) = 1 + 2 3 + 4 0 + 1 2 + 0 = 3 7 1 2 = 1 (5iv) det(a 2 BAB 2 ) = (det A) 2 (det B)(det A)(det B 2 ) = 2 2 4 2 4 2 = (5v) det( C) = ( 1) 2 det C = det C = 2, and det(c 1 ) = 1/ det C = 1/2