Matrix App
Matrix App
OF
MATRICES
WHAT IS A MATRIX?
• In mathematics, a matrix (plural matrices, or less commonly
matrixes) is a rectangular array of numbers, such as
• An item in a matrix is called an entry or an element. Matrices of
the same size can be added and subtracted entrywise and
matrices of compatible sizes can be multiplied. These operations
have many of the properties of ordinary arithmetic, except that
matrix multiplication is not commutative, that is, AB and BA are
not equal in general. Matrices consisting of only one column or
row define the components of vectors, while higher-
dimensional (e.g., three-dimensional) arrays of numbers define
the components of a generalization of a vector called a tensor.
Applications of matrices
FIELD OF APPLICATION OF USAGE
MATRICES
STEPS FOR
ENCRYPTION
STEP 1 :
• Consider the message “PREPARE TO
NEGOTIATE"
• A message is converted into numeric form
according to some scheme. The easiest
scheme is to let space=0, A=1, B=2, ..., Y=25,
and Z=26. For example, the message "Red
Rum" would become 18, 5, 4, 0, 18, 21, 13.
STEP 2:
the encoding matrix be
It follows from (1) and (2) that the Fibonacci encryption algorithm
(1) is reduced to the
n-multiple multiplication of the initial matrix M by the matrix Qp
and the Fibonacci decryption algorithm is reduced to the n-
multiple multiplication of the secret message E by the inverse
matrix .
STEP 2:
• Let's consider now the multiplication of the
initial matrix M by the matrix Qp. Let's consider
the concrete example when the initial message
is represented in the form of the 4 X4 matrix:
• For this case the Qp-
…….1
matrix of the 4-d order (p +
1 = 4) is used for encryption:
STEP 3:
• For calculation of the matrix of E = M ´ Q3 we
can represent it in the following form:
……….6
CONCLUDING STEP
• Comparing the initial matrix (3) with its secret equivalent (6)
we can formulate the following rule concerning the
multiplication of the initial matrix M by the coding Qp-mat.
• RULE:
For the multiplication of the initial matrix (6) by the inverse
matrix it is necessary to shift all the matrix entries of the initial
matrix (6) to the left by one column, and form the last entries
of each row by means of the subtraction of the second entry
of each row of the initial matrix from its first entry.