The document provides an overview of matrices, defining them as rectangular tables of elements that can be added and multiplied. It discusses their various applications in fields such as graph theory, quantum mechanics, computer graphics, and cryptography, specifically how matrices can encode and decode messages. The encoding and decoding process using matrices is illustrated through an example, demonstrating how messages can be transformed and transmitted securely.
In this document
Powered by AI
Overview of matrices as rectangular tables of elements, sizes, and dimensions, and explanation of elements.
Various applications of matrices including graph theory, quantum mechanics, computer graphics, solving equations, and cryptography.
Introduction to cryptography, encryption and decryption processes, and the role of keys.
Use of matrices for encoding and decoding messages, description of encoding message and its transmission.
Matrices Matrix (plural matrices ) is a rectangular table of elements (or entries) These elements are abstract quantities that can be added and multiplied…. Numbers
3.
Matrices come inall possible rectangular shapes, the following are a number of examples of matrices In general, we denote a matrix by Each a ij is called an element of the matrix (or an entry of the matrix); this denotes the element in row i and column j . The entries of the matrix are organized in horizontal rows and vertical columns
4.
The size, ordimension, of the matrix is n x m, where, n is the number of rows of the matrix, m is the number of column of the matrix. For example, the following matrices are of dimensions 1x4, 3x1, 2x3, and 4x2 respectively A special kind of matrix is a square matrix , i.e. a matrix with the same number of rows and columns. If a square matrix has n rows and n columns, we say that the matrix has order n. The matrix is a square matrix of order 3.
5.
Application of MatricesGraph theory The adjacency matrix of a finite graph is a basic notion of graph theory. Linear combinations of quantum states in Physics The first model of quantum mechanics by Heisenberg in 1925 represented the theory's operators by infinite-dimensional matrices acting on quantum states. This is also referred to as matrix mechanics . Computer graphics 4×4 transformation rotation matrices are commonly used in computer graphics. Solving linear equations Using Row reduction Cramer's Rule ( Determinants) Using the inverse matrix Cryptography.
Cryptography, is concernedwith keeping communications private. Cryptography mainly consists of Encryption and Decryption Encryption is the transformation of data into some unreadable form. Its purpose is to ensure privacy by keeping the information hidden from anyone for whom it is not intended, even those who can see the encrypted data. Decryption is the reverse of encryption It is the transformation of encrypted data back into some intelligible form. Encryption and Decryption require the use of some secret information, usually referred to as a key. Depending on the encryption mechanism used, the same key might be used for both encryption and decryption, while for other mechanisms, the keys used for encryption and decryption might be different. Cryptography
8.
Application of matrixto Cryptography One type of code, which is extremely difficult to break, makes use of a large matrix to encode a message. The receiver of the message decodes it using the inverse of the matrix. This first matrix, used by the sender is called the encoding matrix and its inverse is called the decoding matrix, which is used by the receiver.
9.
Messageto be sent: PREPARE TO NEGOTIATE and the encoding matrix be We assign a number for each letter of the alphabet. Such that A is 1, B is 2, and so on. Also, we assign the number 27 to space between two words. Thus the message becomes:
10.
Since we areusing a 3 by 3 matrix, we break the enumerated message above into a sequence of 3 by 1 vectors: Note that it was necessary to add a space at the end of the message to complete the last vector. We encode the message by multiplying each of the above vectors by the encoding matrix. We represent above vectors as columns of a matrix and perform its matrix multiplication with the encoding matrix Encoding
11.
We get Thecolumns of this matrix give the encoded message. Encoding is complete
Decoding To decodethe message: The receiver writes this string as a sequence of 3 by 1 column matrices and repeats the technique using the inverse of the encoding matrix. The inverse of this encoding matrix is the decoding matrix. To decode the message, perform the matrix multiplication Matrix obtained is
14.
Decoded Message Thecolumns of this matrix, written in linear form, give the original message Message received: PREPARE TO NEGOTIATE