Applications of Matrices

Slides:



Advertisements
Similar presentations
Using Matrices in Real Life
Advertisements

390 Codes, Ciphers, and Cryptography
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
An Introduction to Cryptography TEA fellows February 9, 2012 Dr. Kristen Abernathy.
4-5 Matrix Inverses and Solving Systems Warm Up Lesson Presentation
Finding the Inverse of a Matrix
Table of Contents Matrices - Multiplication Assume that matrix A is of order m  n and matrix B is of order p  q. To determine whether or not A can be.
Table of Contents Matrices - Inverse of a 2  2 Matrix To find the inverse of a 2  2 matrix, use the following pattern. Let matrix A be given by... Then.
Table of Contents Matrices - Inverse Matrix Definition The inverse of matrix A is a matrix A -1 such that... and Note that... 1) For A to have an inverse,
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Copyright © Cengage Learning. All rights reserved. 7.8 Applications of Matrices and Determinants.
4-6 3x3 Matrices, Determinants, & Inverses
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
2.4 Inverse of Linear Transformations For an animation of this topic visit: Is the transformation.
Copyright © 2011 Pearson, Inc. 7.3 Multivariate Linear Systems and Row Operations.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Matrices This chapter is not covered By the Textbook 1.
Holt Algebra Matrix Inverses and Solving Systems A matrix can have an inverse only if it is a square matrix. But not all square matrices have inverses.
4.7 Identity and Inverse Matrices
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Multiplicative Inverses of Matrices and Matrix Equations.
Instructions for using this template. Remember this is Jeopardy, so where I have written “Answer” this is the prompt the students will see, and where.
Using Inverse Matrices in Real Life
What you will learn 1. What an identity matrix is
Making and decoding a code message
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
4.4 Identity and Inverse Matrices
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Cryptography and Coding Theory
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
2.2 The Inverse of a Matrix. Example: REVIEW Invertible (Nonsingular)
Notes Over 10.5 Using Cramer’s Rule for a 2 x 2 System
Notes Over 4.4 Finding the Inverse of 2 x 2 Matrix.
2.5 – Determinants and Multiplicative Inverses of Matrices.
3.6 Multiplying Matrices Homework 3-17odd and odd.
Cryptography Cryptography is the use of mathematics to encode messages and prevent them from being read by anyone who doesn’t know the code. One way that.
Warm UP: Review of Inequalities What do each of the symbols represent: 1. > 2. < Greater Than 2. Less than 3. Less than or equal to 4. Greater.
Warm Up Multiple the matrices. 1. Find the determinant –1 0.
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
Investigating Identity and Inverse Matrices QUESTION: What are some properties of identity and inverse matrices? 1 Let A =, B =, and C=. Consider the 2.
Chapter 4 Systems of Linear Equations; Matrices
12-4: Matrix Methods for Square Systems
MATRIX MULTIPLICATION
From the ASCII table… Symbol Decimal Binary A B 66
10.5 Inverses of Matrices and Matrix Equations
Warm-up 1. Find A-1 , A = 2. Solve AX = B when B =
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Warm Up Use scalar multiplication to evaluate the following:
Section 6.4 Multiplicative Inverses of Matices and Matrix Equations
4-5 Matrix Inverses and Solving Systems Warm Up Lesson Presentation
Applications of Inverse Matrices
Objectives Multiply two matrices.
Applications of Matrices
Section 9.4 Multiplicative Inverses of Matices and Matrix Equations
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Chapter 4 Systems of Linear Equations; Matrices
3.6 Multiply Matrices.
1.8 Matrices.
1.11 Use Inverse Matrices to Solve Linear Systems
Matrix Operations SpringSemester 2017.
SLOT Week 9 – Day 1.
1.8 Matrices.
Hill Cipher The Hill Cipher uses matrix multiplication to encrypt a message. First, you need to assign two numbers to each letter in the alphabet and also.
3.5 Perform Basic Matrix Operations Algebra II.
Introduction to Matrices
Chapter 4 Systems of Linear Equations; Matrices
Presentation transcript:

Applications of Matrices 8.5 Applications of Matrices Copyright © Cengage Learning. All rights reserved.

Cryptography

Objectives Use matrices to encode and decode messages. MATRIX

Cryptography A cryptogram is a message written according to a secret code. (The Greek word kryptos means “hidden.”) Matrix multiplication can be used to encode and decode messages.

Cryptography To begin, you need to assign a number to each letter in the alphabet (with 0 assigned to a blank space), as follows. 0 = _ 9 = I 18 = R 1 = A 10 = J 19 = S 2 = B 11 = K 20 = T 3 = C 12 = L 21 = U 4 = D 13 = M 22 = V 5 = E 14 = N 23 = W 6 = F 15 = O 24 = X 7 = G 16 = P 25 = Y 8 = H 17 = Q 26 = Z

Cryptography Then the message is converted to numbers and partitioned into uncoded row matrices, each having n entries, as demonstrated in Example 6.

Example 6 – Forming Uncoded Row Matrices Write the uncoded row matrices of order m x n for the message (n depends on the dimensions of your key, m is as many full rows are needed to write the complete message). a) For this example, we’ll be using a 3 x 3 key, so code the letters into groups of 3… MEET ME MONDAY.

Cryptography 0 = _ 9 = I 18 = R 1 = A 10 = J 19 = S 2 = B 11 = K 20 = T 3 = C 12 = L 21 = U 4 = D 13 = M 22 = V 5 = E 14 = N 23 = W 6 = F 15 = O 24 = X 7 = G 16 = P 25 = Y 8 = H 17 = Q 26 = Z

Cryptography To encode a message, choose an n x n invertible matrix as a key. b) Use write a coded message representing MEET ME MONDAY

Cryptography To decode a message, use the encoded matrix and multiply by the inverse of the key. c) Check your decoding from the previous slide using the key above and convert back to a phrase using the standard 0 – 26 letter correlation.

8.5 Example – Worked Solutions

Example 6 – Forming Uncoded Row Matrices a) Write the uncoded row matrices of order 1 x 3 for the message MEET ME MONDAY. Solution: Partitioning the message (including blank spaces, but ignoring punctuation) into groups of three produces the following uncoded row matrices. [13 5 5] [20 0 13] [5 0 13] [15 14 4] [1 25 0] Note that a blank space is used to fill out the last uncoded row matrix. M E E T M E M O N D A Y

Cryptography b) To encode a message, choose an n x n invertible matrix such as Given an encoding matrix (key), multiply the uncoded row matrix by A to obtain coded row matrices. Here is an example. Uncoded Matrix x Key Matrix [A] = Coded Matrix 13 5 5 20 0 13 5 0 13 15 14 4 1 25 0 ∙ 1 2 2 −1 1 3 1 −1 −4 = 13 −26 21 33 −53 −12 18 −23 −42 5 −20 56 −24 23 77 Solution:

Cryptography To decode a message, use the encoded matrix and multiply by the inverse of the key. c) Check your decoding from the previous slide using the key above and convert back to a phrase using the standard 0 – 26 letter correlation. Coded Matrix x Inverse Key Matrix [A]-1 = Uncoded Matrix 13 −26 21 33 −53 −12 18 −23 −42 5 −20 56 −24 23 77 ∙ −1 −10 −8 −1 −6 −5 0 −1 −1 = 13 5 5 20 0 13 5 0 13 15 14 4 1 25 0 Solution: