Matrices are commonly used to encrypt data. Here is a simple form such an encryption can take. First, we represent each letter in the alphabet by a number, so let us take < space > = 0, A = 1, B = 2, and so on. Thus, for example, "ABORT MISSION" becomes [1 2 15 18 20 0 13 9 19 19 9 15 14]. To encrypt this coded phrase, we use an invertible matrix of any size with integer entries. For instance, let us take A to be the 2 × 2 matrix 1 2 4 3 . We can first arrange the coded sequence of numbers in the form of a matrix with two rows (using zero in the last place if we have an odd number of characters) and then multiply on the left by A. Encrypted Matrix = 1 2 4 3 1 15 20 13 19 9 14 2 18 0 9 19 15 0 = 5 51 20 31 57 39 14 10 114 80 79 133 81 56 , which we can also write as [5 10 51 114 20 80 31 79 57 133 39 81 14 56]. To decipher the encoded message, multiply the encrypted matrix by A−1. The following exercise uses the above matrix A for encoding and decoding.Use the matrix A to encode the phrase "GO TO PLAN B".
Permutations and Combinations
If there are 5 dishes, they can be relished in any order at a time. In permutation, it should be in a particular order. In combination, the order does not matter. Take 3 letters a, b, and c. The possible ways of pairing any two letters are ab, bc, ac, ba, cb and ca. It is in a particular order. So, this can be called the permutation of a, b, and c. But if the order does not matter then ab is the same as ba. Similarly, bc is the same as cb and ac is the same as ca. Here the list has ab, bc, and ac alone. This can be called the combination of a, b, and c.
Counting Theory
The fundamental counting principle is a rule that is used to count the total number of possible outcomes in a given situation.
Matrices are commonly used to encrypt data. Here is a simple form such an encryption can take. First, we represent each letter in the alphabet by a number, so let us take < space > = 0, A = 1, B = 2, and so on. Thus, for example, "ABORT MISSION" becomes
To encrypt this coded phrase, we use an invertible matrix of any size with integer entries. For instance, let us take A to be the 2 × 2 matrix
|
1 | 2 |
|
||
4 | 3 |
We can first arrange the coded sequence of numbers in the form of a matrix with two rows (using zero in the last place if we have an odd number of characters) and then multiply on the left by A.
Encrypted Matrix | = |
|
||||||||||||||||||||||||||
= |
|
which we can also write as
To decipher the encoded message, multiply the encrypted matrix by
The following exercise uses the above matrix A for encoding and decoding.
Use the matrix A to encode the phrase "GO TO PLAN B".
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images