math21b review to first midterm spring 2007
play

Math21b Review to first midterm Spring 2007 1 Matrices 2 column - PowerPoint PPT Presentation

Math21b Review to first midterm Spring 2007 1 Matrices 2 column picture x 1 x 2 Ax= v v v m 2 1 x m x 1 x m v v x 1 v + ... + = + m 2 1 3 row picture Ax= Example: A x =0, means x is perpendicular to row space.


  1. Math21b Review to first midterm Spring 2007 1

  2. Matrices 2

  3. column picture x 1 x 2 Ax= v v v m 2 1 x m x 1 x m v v x 1 v + ... + = + m 2 1 3

  4. row picture Ax= Example: A x =0, means x is perpendicular to row space. Example: A x =b, means b is the dot k product of the k’th row with x. 4

  5. mxp nxm . nxp matrix = multiplication 5

  6. Problem: Can we multiply a 4 x 5 matrix A with a 5x4 matrix B? in other words: Is A B defined? 6

  7. Matrix algebra: except for two things With nxn matrices in general: A,B,C,D,... one can work as with numbers A B = B A A+B = B+A a (A+B)=aA + aB -1 A might not exist even A(B+C) = AB + AC for nonzero A A (B C) = (A B) C -1 -1 -1 (A B) = B A etc 7

  8. A,B, arbitrary True or False? nxn matrices 2 2 (A + B) ( A - B) = A - B 2 3 4 -1 (1+A+A + A ) = (1-A ) (1-A) assuming (1-A) is invertible 1=I n 8

  9. Row reduction 9

  10. Gauss-Jordan elimination Subtract Scale Swap row a two from row rows other row S S S 10

  11. First blackboard problem 11

  12. Row reduce the X matrix 8 0 0 0 8 0 8 0 8 0 0 0 8 0 0 0 8 0 8 0 8 0 0 0 8 12

  13. Remember the Boston milkshake scare? 13

  14. 14

  15. Gotscha! 15

  16. You can no more escape 16

  17. Executed with water gun 17

  18. Warriors with their prey 18

  19. The milkshake as a matrix 19

  20. Lets row reduce it! 20

  21. The rref death of a milkshake 21

  22. leading 1 22

  23. There is a kernel! kernel = nukleus (Lat) Does this mean, there was a nuklear or even a nukelar device in that milkshake? 23

  24. lets rowreduce this. just kidding... 24

  25. Row reduced echelon form 1. Every first nonzero element in a row is 1 2. Leading columns otherwise only contain 0’s 3. Every row above leading row leads to the left “Leaders like to be first, do not like other leaders in the same column and like leaders above them to be to their left. “ 25

  26. Row reduced echelon form? 1 4 2 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 26

  27. Row reduced echelon form? 1 4 2 6 2 0 1 2 3 4 0 0 0 0 0 0 0 0 0 0 27

  28. Row reduced echelon form? 5 1 0 0 0 1 0 0 1 0 0 3 0 0 0 1 0 4 0 0 0 0 1 5 0 0 0 0 0 0 28

  29. Inverting a matrix 29

  30. Second blackboard problem 30

  31. invert the following matrix 1 0 3 1 1 4 3 0 10 31

  32. 1 0 3 1 1 4 3 0 10 32

  33. 0 1 0 3 1 0 0 0 1 1 4 1 1 3 0 0 0 10 32

  34. 0 1 0 3 1 0 0 0 1 1 4 1 1 3 0 0 0 10 -3 1 10 0 0 0 -1 2 1 0 1 0 1 -3 0 0 0 1 32

  35. Which 2x2 matrices are their own inverse? 1 0 -1 0 4 examples: 0 -1 0 1 1 0 -1 0 are there 0 1 0 -1 more? 33

  36. There are more! 34

  37. Two hints: think geometrically change basis 35

  38. II. Linear transformations 36

  39. T plays well with 0, addition and scalar multiplication: T(0)=0 T(x+y) = T(x) + T(y) T(r x) = r T(x) 37

  40. How do we express T as a matrix? 38

  41. Key Fact: The columns of A are the images of the basis vectors. v v ... v 1 2 m 39

  42. Geometry Algebra v i v v ... v 1 2 m e i 40

  43. Example What does the following transformation do? 1 0 0 0 1 2 0 0 1 41

  44. Examples of transformations 42

  45. rotations 43

  46. 44

  47. rotation-dilation 45

  48. 46

  49. shears 47

  50. 48

  51. projections 49

  52. Pikaboo, where has Oliver gone? 50

  53. reflections 51

  54. 52

  55. dilations 53

  56. 54

  57. Third blackboard problem 55

  58. Find the matrix of the transformation in R 4 which reflects at the xz plane then reflects at the yz plane. 56

  59. Quiz coming up! 57

  60. 58

  61. What is the length of 100 6 -8 1 8 6 0 59

  62. The answer is .... 60

  63. 1 0000000000 0000000000 0000000000 0000000000 100 0000000000 10 0000000000 0000000000 0000000000 0000000000 0000000000 1 gogool, term coined by Milton Sirotta (1929-1980), nephew of Edward Kasner (1878-1955) 61

  64. III. Basis 62

  65. Linear independence if a v + a v + .... + a v = 0 1 1 2 2 n n then, a = a = ... = a = 0 1 2 n 63

  66. Spanning every v in V can be written as a v + a v + .... + a v = v 1 1 2 2 n n 64

  67. Basis linear independent and span 65

  68. Standard basis 66

  69. Standard basis 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 e 3 e 4 e 2 e 1 67

  70. How do we check to have a basis? v v 2 v 3 v 4 1 68

  71. Fourth blackboard problem 69

  72. Is this a basis? 1 1 1 1 1 1 1 2 1 1 3 1 1 1 1 4 v v 2 v 3 v 4 1 70

  73. IV. Image and Kernel 71

  74. 72

  75. 72

  76. 72

  77. Rene Magritte, The son of man: 1963 73

  78. Oliver Knill Son of a peach, 2007 74

  79. Oliver Knill Son of a peach, 2007 74

  80. im(A) = { Ax | x in V } ker(A) im(A) ker(A) = { x | Ax =0 } 75

  81. How do we compute a basis for the image and kernel? row reduce! 76

  82. 77

  83. 78

  84. Dimension formula rank nullety dim(im(A)) + dim(ker(A)) = m fundamental theorem of linear algebra? rank nulletly theorem 79

  85. Computing the image: The basis is the set of pivot columns. Computing the kernel: The basis is obtained by solving the linear system in row reduced echelon form and taking free variables. 80

  86. Fifth blackboard problem 81

  87. Image and kernel of X matrix 1 0 0 0 1 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 82

  88. XXX (2003) , movie won Taurus award for this stunt. 18 cameras filmed in Auburn CA at 730 feet bridge. 83

  89. IV. Coordinates 84

  90. v coordinates in standard basis -1 [v] = S v B [v] coordinates in basis B 85

  91. -1 B = S A S 86

  92. Sixth blackboard problem 87

  93. Problem { } , , , 1 1 1 1 B= 0 1 1 1 0 0 1 1 0 0 0 1 1 2 What are the B 3 coordinates of v = 4 88

  94. 1 1 1 1 S= 0 1 1 1 0 0 1 1 0 0 0 1 1 -1 0 0 -1 S= 0 1 -1 0 0 0 1 -1 0 0 0 1 89

  95. 1 -1 0 0 1 -1 Sv= 0 1 -1 0 2 0 0 1 -1 3 0 0 0 1 4 -1 = -1 -1 4 90

  96. V. Linear Spaces 91

  97. n R 0 R 2 R 1 R 92

  98. From vectors 10% 20% to 30% 1 4 functions 3 40% 4 4 0 3 2 0 2 1 1 2 0 3 4 93

  99. From 4 3 vectors 2 to 1 1 functions 2 0 3 4 4 3 0 2 0 1 1 0 2 3 4 94

  100. polynomials 95

Recommend


More recommend