Title: Advanced Algebra Chapter 4
1Advanced Algebra Chapter 4
- Matrices and Determinants ?
2Matrix Operations4.1
- Matrix
- Rectangular array of numbers
- Dimensions
- Rows x Columns
- Entries
- Elements
3Comparing Matrices
- Two matrices are equal iff their dimensions are
equal and all corresponding entries are equal
4Adding and Subtracting Matrices
- Must have the same dimensions to be compatible
5Adding and Subtracting Matrices
6Adding and Subtracting Matrices
7Adding and Subtracting Matrices
8Scalar Multiplication
- Any matrix can be multiplied by a real number
constant, called a scalar - This is called scalar multiplication
9Scalar Multiplication
10Scalar Multiplication
11Matrix Equations
12Matrix Equations
13Properties of Matrix Operations
- Let A, B, and C be matrices with the same
dimension and let c be a scalar. - Associative Property of Addition
- (A B) C A (B C)
14Properties of Matrix Operations
- Let A, B, and C be matrices with the same
dimension and let c be a scalar. - Commutative Property of Addition
- A B B A
15Properties of Matrix Operations
- Let A, B, and C be matrices with the same
dimension and let c be a scalar. - Distributive Property of Addition
- c(A B) cA cB
16Properties of Matrix Operations
- Let A, B, and C be matrices with the same
dimension and let c be a scalar. - Distributive Property of Subtraction c(A B)
cA - cB
17p.203 15-23, 33-36
18Multiplying Matrices4.2
19Multiplying Matrices
- The product of two matrices A and B is defined
provided the number of columns in A is equal to
the number of rows in B. - Inner dimensions must be equal
- Row 1 times column 1 gives entry 1,1
- Row 2 times column 1 gives entry 2,1
- Etc.
20Multiplying Matrices
21Multiplying Matrices
22Multiplying Matrices
23Multiplying Matrices
24Properties of Matrix Mult.
- Associative Property
- A(BC) (AB)C
- Left Distributive
- A(B C) AB BC
- Right Distributive
- (A B)C AC BC
- Associative Property of Scalar Multiplication
- c(AB) (cA)B A(cB)
25p.211 23-29
26Determinants4.3
27Determinants
- Numerical answer
- The only time working with matrices that you will
get an answer that is not a matrix - Can only find determinants of square matrices
- Used for many matrix applications
- Solving equations
- Determining if inverses exist
- And many, many more! ?
28Determinant of a 2 x 2
- The determinant of a 2 x 2 matrix is the
difference of the products of the entries on the
diagonals
29Determinants
30Determinants
31Determinant of a 3 x 3
- Repeat the 1st two columns to the right of the
matrix, then subtract the product of the postive
diagonals from the negative diagonals
32Determinants
33Determinants
34Determinants
35p.21817-24 All
36Cramers Rule4.3 (Day 2)
37Cramers Rule
- Coefficient Matrix
- A matrix consisting of only the coefficients of a
linear system
38Cramers Rule for 2 x 2 matrices
- Let A be the coefficient matrix of the linear
systemIf det A does not equal 0, then the
system has exactly 1 solution. The solution is
39Cramers Rule
40Cramers Rule
41Cramers Rule
42 Cramers Rule for 3 x 3 matrices
- Let A be the coefficient matrix of the linear
systemIf det A does not equal 0, then the
system has exactly 1 solution. The solution is
43Cramers Rule
44Cramers Rule
45p.219 39-41, 45-47
46Extra Credit After Chp 4 Quiz
- 5 bales of hay are weighed two at a time in all
possible combininations. The weights in pounds
are 110, 111, 112, 113, 115, 116, 117, 118, 120,
and 121. How much does each bale weigh?
47Identity and Inverse Matrices4.4
48Identity Matrix
- Identity
- Matrix with all 1s on the main diagonal and all
0s in the remaining places - The product of any matrix and the identity matrix
is the original matrix
49Identity Matrix
50Identity Matrix
51Inverse Matrices
- Two matrices are inverses of each other iff their
product produces the identity matrix - Same idea as
52Inverse Matrices
- The inverse of the matrix
is - When will an inverse not exist?
- When det(A) 0
53Inverse Matrices
54Inverse Matrices
55Matrix Equations
56Matrix Equations
57p.227 13-16, 25-27, 33-36
58Using Codes4.4 Day 2
59Cryptograms
- Cryptogram
- Message written in code
- Military use
- Computer programming
- Internet
60Converting Messages
- Need to assign every letter a number
- Encode the message using a matrix
- Decode the matrix using the inverse of that matrix
61Coding
- H E L L O _
- Encoder matrix
62Uncoding
- Take resulting matrices and multiply by the
inverse of the coding matrix to find original
letters
63Assignment
- With a partner, you must create a message and
encrypt it for another group. All groups will
use the coding matrix
64Solving Systems Using Matrices4.5
65Solving Systems
- Set up an equation similar to AX B as we did in
the previous section - -Matrix of Variables
- -Matrix of Constants
66Solving Systems
- To solve the systemWe have to set this up in
terms of a coefficient matrix, variable matrix,
and an answer matrix
67Solving Systems
- Next, we multiply both sides by the inverse of
the coefficient matrix
68Solving Systems
69Solving Systems
70Solving Systems
71p.233 23-31
72Augmented Matrices
- Augmented Matrix
- Matrix containing the coefficient matrix and the
matrix of constants
73How do we use augmented matrices?
- Treat these like systems of equations
- Interchange two rows
- Multiply a row by a nonzero constant
- Add a multiple of 1 row to another
74What are we looking for?
- Get our matrix so we only have 1s on the main
diagonal and only 0s underneath them
75Augmented Matrices
76Augmented Matrices
77Augmented Matrices
78p.238 1-8