Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matrix Algebra HGEN619 class 2006.

Similar presentations


Presentation on theme: "Matrix Algebra HGEN619 class 2006."— Presentation transcript:

1 Matrix Algebra HGEN619 class 2006

2 Heuristic You already know a lot of it Economical and aesthetic
Great for statistics

3 What you know All about (1x1) matrices Operation Example Result
Addition Subtraction Multiplication 2 x 2 Division 12 / 3

4 What you know All about (1x1) matrices Operation Example Result
Addition Subtraction 5 – 1 4 Multiplication 2 x 2 4 Division 12 / 3 4

5 What you may guess Numbers can be organized in boxes, e.g.

6 What you may guess Numbers can be organized in boxes, e.g.

7 Matrix Notation

8 Many Numbers

9 Matrix Notation

10 Useful Subnotation

11 Useful Subnotation

12 Matrix Operations Addition Subtraction Multiplication Inverse

13 Addition

14 Addition

15 Addition Conformability
To add two matrices A and B: # of rows in A = # of rows in B # of columns in A = # of columns in B

16 Subtraction

17 Subtraction

18 Subtraction Conformability
To subtract two matrices A and B: # of rows in A = # of rows in B # of columns in A = # of columns in B

19 Multiplication Conformability
Regular Multiplication To multiply two matrices A and B: # of columns in A = # of rows in B Multiply: A (m x n) by B (n by p)

20 Multiplication General Formula

21 Multiplication I

22 Multiplication II

23 Multiplication III

24 Multiplication IV

25 Multiplication V

26 Multiplication VI

27 Multiplication VII

28 Inner Product of a Vector
(Column) Vector c (n x 1)

29 Outer Product of a Vector
(Column) vector c (n x 1)

30 Inverse A number can be divided by another number - How do you divide matrices? Note that a / b = a x 1 / b And that a x 1 / a = 1 1 / a is the inverse of a

31 Unany operations: Inverse
Matrix ‘equivalent’ of 1 is the identity matrix Find A-1 such that A-1 * A = I

32 Unary Operations: Inverse
Inverse of (2 x 2) matrix Find determinant Swap a11 and a22 Change signs of a12 and a21 Divide each element by determinant Check by pre- or post-multiplying by inverse

33 Inverse of 2 x 2 matrix Find the determinant
= (a11 x a22) = (a21 x a12) For det(A) = (2x3) – (1x5) = 1

34 Inverse of 2 x 2 matrix Swap elements a11 and a22 Thus becomes

35 Inverse of 2 x 2 matrix Change sign of a12 and a21 Thus becomes

36 Inverse of 2 x 2 matrix Divide every element by the determinant Thus
becomes (luckily the determinant was 1)

37 Inverse of 2 x 2 matrix Check results with A-1 A = I Thus equals


Download ppt "Matrix Algebra HGEN619 class 2006."

Similar presentations


Ads by Google