|
|||||||||||
|
4.5 Solving Systems Using Inverse Matrices
|
Real Life Application: Encoding a Message. A cryptogram is a message written according to a secret code. The following technique uses matrices to encode and decode messages. These can be fun to use in class when passing notes. This way, your teacher can't read the message and you can argue that you were just using your math, right? To begin, assign a number to each letter in the alphabet (with 0 assigned to a space or break that represents the end of each word) i.e.:
The massage is converted to numbers and partitioned into 1 x 2 uncoded row matrices. For instance, the message "MATRICES" would be converted into the following row matrices: [13 1] [20 18] [9 3] [5 19] To encode the message choose a 2 x 2 matrix (A) that has an inverse and multiply the uncoded row matrices (on the right) by A to obtain coded row matrices. Ex. 1 Use the matrix
The message then becomes: -11, 23, 16, -14, -3, 9, 33, -47 Decoding a Message Obviously, if you are going to encode the message, you should know how to decode it. It just makes life simpler. Use the inverse of Matrix A to decode the message Solution: To decode the message, partition the message into groups to 2 numbers to form coded row matrices. Then multiply each coded row matrix by the inverse of A (on the right) to obtain the decoded row matrices.
You try: 1) Encode: |
||||||||||
![]() |
4.1 Matrix Operations|4.2 Matrix Multiplication|4.3 Determinants 4.4 Identity and Inverse|4.5 Solving Systems Using Inverse Matrices |