Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matrices.

Similar presentations


Presentation on theme: "Matrices."β€” Presentation transcript:

1 Matrices

2 Definition A rectangular array of numeric or algebraic quantities subject to mathematical operations. Something resembling such an array, as in the regular formation of elements into columns and rows.

3 Definition π‘Ž 11 π‘Ž 12 π‘Ž 13 π‘Ž 21 π‘Ž 22 π‘Ž 23 π‘Ž 31 π‘Ž 32 π‘Ž 33 If you have π‘Ž π‘›π‘š : n is the row number m is the column number.

4 Equal Matrices π‘Ž π‘βˆ’2 2𝑐 𝑑+4 = π‘Ž=5 π‘βˆ’2=12 2𝑐=22 𝑑+4=8

5 You Try… 3π‘Ž π‘βˆ’9 𝑐 2 𝑑 0 β„Ž+6 2𝑓+1 β„Ž = 12 βˆ’

6 Adding and Subtracting Matrices
In order to add or subtract matrices, the must have the same order.

7 Adding Matrices You Try… βˆ’2 3 4 βˆ’7 + βˆ’

8 Subtracting Matrices βˆ’ You Try… βˆ’2 3 4 βˆ’7 βˆ’ βˆ’

9 Solving Matrix Equations for X
π‘‹βˆ’ = 9 βˆ’9 6 0 You Try… 𝑋 = βˆ’

10 Inverses

11 Identity Element In the identity matrix, there is a series of ones along the diagonal with zeros in all the other places. 2π‘₯2 Matrix 3π‘₯3 Matrix

12 The notation for determinant is
𝐴 If the determinant is 0, the matrix has no inverse! 2π‘₯2 Matrix 𝐴 =π‘Žπ‘‘βˆ’π‘π‘

13 Notation: 𝐴 βˆ’1 = 1 𝐴 𝑑 βˆ’π‘ βˆ’π‘ π‘Ž = 1 π‘Žπ‘‘βˆ’π‘π‘ 𝑑 βˆ’π‘ βˆ’π‘ π‘Ž
Inverse of a 2π‘₯2 Matrix Notation: The inverse of matrix 𝐴 = 𝐴 βˆ’1 𝐴 βˆ’1 = 1 𝐴 𝑑 βˆ’π‘ βˆ’π‘ π‘Ž = 1 π‘Žπ‘‘βˆ’π‘π‘ 𝑑 βˆ’π‘ βˆ’π‘ π‘Ž

14 Multiplication

15 Check First Use the order of the matrix to check whether or not we can multiply them: The number columns of the first matrix must match the number of rows in the second matrix. The number of rows in the first matrix paired with the number of columns in the second matrix gives us the dimensions of the product matrix.

16 They must match. Dimensions: 3 x 2 2 x 3 The dimensions of your answer.

17 Examples 2𝑋3 βˆ—3𝑋2 4𝑋1 βˆ—4𝑋1 2𝑋6 βˆ—6𝑋4

18 How do we do it? 𝐴= ; 𝐡= To multiply matrices, we multiply the ROWS of the first matrix by the COLUMNS of the second. 𝐴𝐡=

19 π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž = π‘Žπ‘’+𝑏𝑔 π‘Žπ‘“+π‘β„Ž 𝑐𝑒+𝑑𝑔 𝑐𝑓+π‘‘β„Ž
What’s the Pattern? π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž = π‘Žπ‘’+𝑏𝑔 π‘Žπ‘“+π‘β„Ž 𝑐𝑒+𝑑𝑔 𝑐𝑓+π‘‘β„Ž

20 examples Do problems from classwork: 3, 4, 12, 19, 26

21 Examples: 2(3) + -1(5) 2(-9) + -1(7) 2(2) + -1(-6) 3(3) + 4(5)
3(-9) + 4(7) 3(2) + 4(-6)

22 *They don’t match so can’t be multiplied together.*
Dimensions: 2 x x 2 *They don’t match so can’t be multiplied together.*

23 2 x 2 2 x 2 *Answer should be a 2 x 2 0(4) + (-1)(-2) 0(-3) + (-1)(5)
1(4) + 0(-2) 1(-3) +0(5)

24 Systems of Equations Applications

25 Steps to creating an equation from context:
Read the problem statement Identify the known quantities Identify the unknown variables Create an equation using the known quantities and the variables you found. Keep in mind… In systems of equations, you will have 2 or 3 equations (hence the β€œsystem” part). Therefore, you will have to decide which quantities and variables belong together.

26 Example The admission fee at a small fair is $1.50 for children and $4.00 for adults. On a certain day, 2200 people enter the fair and $5,050 is collected. How many children and how many adults attended?

27 Example 2 Two small pitchers and one large pitcher can hold 8 cups of water.Β  One large pitcher minus one small pitcher constitutes 2 cups of water.Β  How many cups ofΒ  water can each pitcher hold? Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β 

28 Example 3 A test has twenty questions worth 100 points.Β  The test consists of True/False questions worth 3 points each and multiple choice questions worth 11 points each.Β  How many multiple choice questions are on the test?

29 Using Inverse Matrices
Solving Systems Using Inverse Matrices

30 Solve the system using inverse matrices
3x + 2y = 7 4x - 5y = 11 The formula to find the solution is: You can use the inverse of the coefficient matrix to find the solution. A= Set up a matrix equation to find the solution. A B

31 Solve the system using inverse matrices
2x - 4y = 9 The formula to find the solution is: 3x - 2y = 1 A= Set up a matrix equation to find the solution. A B

32 Solve the system using inverse matrices
x + 4y = 8 The formula to find the solution is: 2x - 2y = -6 A= Set up a matrix equation to find the solution. A B

33 Solve the system using inverse matrices
The formula to find the solution is: Set up a matrix equation to find the solution.

34 Vertex-Edge Graphs

35 What is a vertex-edge graph?
A collection of points, some of which are joined by line segments or curves Examples:

36 Vertex A point on the graph.

37 Edge A line segment or curve connecting the vertices of a graph.

38 In the Real-World Vertices may represent things such as people or places. Edges may represent connections such as roads or relationships. What are the edges, and what do they represent? What about the vertices?

39 Complete Graph A graph in which every vertex is adjacent to every other vertex. Which of these is complete? B A

40 Digraph A directed vertex edge graph

41 2 4 Degree of the Vertex The number of edges that enter a vertex.
What is the degree of vertex A? What is the degree of vertex C? 2 4

42 Real World Example The vertex edge graph below represents five people: Bob (B), Dustin (D), Mike (M), Sue (S) and Tammy (T). An edge connecting two vertices indicates that those two people have a class together.

43 Who has a class with Mike?
Tammy & Sue

44 Who does not have a class with Bob?
Tammy & Mike

45 Using Matrices to Represent a Vertex-Edge Graph
We can use an adjacency matrix to represent the vertex-edge graph. Step 1: Create a matrix listing all vertices in the row and column. Step 2: Fill in the matrix listing the number of relationships between the two points. If they share an edge, there will be a β€œ1” If there is no relationship, there will be a β€œ0”

46 Create a Matrix using the following Vertex-Edge Graph:

47 Create a Matrix using the following Vertex-Edge Graph:

48 Drawing a Vertex-Edge Graph
Use the following matrix to create the vertex-edge graph that corresponds.

49 Drawing a Vertex-Edge Graph
Use the following matrix to create the vertex-edge graph that corresponds.

50 Extended Relationships
A railway serves four cities: Harrisburg, Baltimore, Philadelphia and Atlantic City. Trains travel between Harrisburg and Baltimore, Harrisburg and Philadelphia, and Philadelphia and Atlantic City. Draw a vertex edge graph and it’s adjacency matrix to represent this situation.

51 Railway Continued… If we take 𝐴 2 , we can see the relationship that is formed by using 2 trains. What relationship would 𝐴 3 give?

52 Summary 3-2-1 On a separate sheet of paper to turn in, list:
3 vocabulary words you have learned and their relationship to the vertex-edge graph 2 reasons to use a vertex-edge graph 1 real-world example of a vertex-edge graph


Download ppt "Matrices."

Similar presentations


Ads by Google