Engineering 代写 英国研究生论文 History And Applications Of Matrices

7年前 168次浏览 Engineering 代写 英国研究生论文 History And Applications Of Matrices已关闭评论 ,

Matrices find many applications at current time and very useful to us. Physics makes use of matrices in various domains, for example in geometrical optics and matrix mechanics; the latter led to studying in more detail matrices with an infinite number of rows and columns. Graph theory uses matrices to keep track of distances between pairs of vertices in a graph. Computer graphics uses matrices to project 3-dimensional space onto a 2-dimensional screen.

Example of application

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.

This data was placed into matrix form. The size of the matrix depends on the size of the encryption key. Let's say that our encryption matrix (encoding matrix) is a 2x2 matrix. Since I have seven pieces of data, I would place that into a 4x2 matrix and fill the last spot with a space to make the matrix complete. Let's call the original, unencrypted data matrix A.

 

 

18

5

 

A =

 

4

0

 

 

18

21

 

 

 

13

0

 

There is an invertible matrix which is called the encryption matrix or the encoding matrix. We'll call it matrix B. Since this matrix needs to be invertible, it must be square.

This could really be anything, it's up to the person encrypting the matrix. I'll use this matrix.

B =

 

4

-2

 

 

-1

3

 

The unencrypted data is then multiplied by our encoding matrix. The result of this multiplication is the matrix containing the encrypted data. We'll call it matrix X.

 

 

67

-21

 

X = A B =

 

16

-8

 

 

51

27

 

 

 

52

-26

 

The message that you would pass on to the other person is the the stream of numbers 67, -21, 16, -8, 51, 27, 52, -26.

Decryption Process

Place the encrypted stream of numbers that represents an encrypted message into a matrix.

Multiply by the decoding matrix. The decoding matrix is the inverse of the encoding matrix.

Convert the matrix into a stream of numbers.

Conver the numbers into the text of the original message.

DETERMINANTS

The determinant of a matrix A is denoted det(A), or without parentheses: det A. An alternative notation, used for compactness, especially in the case where the matrix entries are written out in full, is to denote the determinant of a matrix by surrounding the matrix entries by vertical bars instead of the usual brackets or parentheses.

For a fixed nonnegative integer n, there is a unique determinant function for the nÃ-n matrices over any commutative ring R. In particular, this unique function exists when R is the field of real or complex numbers.

For any square matrix of order 2, we have found a necessary and sufficient condition for invertibility. Indeed, consider the matrix

Example. Evaluate 

Let us transform this matrix into a triangular one through elementary operations. We will keep the first row and add to the second one the first multiplied by . We get 

Using the Property 2, we get 

Therefore, we have 

which one may check easily. 

EIGEN VALUES AND EIGEN VECTORS

In mathematics, eigenvalue, eigenvector, and eigenspace are related concepts in the field of linear algebra. The prefix eigen- is adopted from the German word "eigen" for "innate", "idiosyncratic", "own". Linear algebra studies linear transformations, which are represented by matrices acting on vectors. Eigenvalues, eigenvectors and eigenspaces are properties of a matrix. They are computed by a method described below, give important information about the matrix, and can be used in matrix factorization. They have applications in areas of applied mathematics as diverse as economics and quantum mechanics.

In general, a matrix acts on a vector by changing both its magnitude and its direction. However, a matrix may act on certain vectors by changing only their magnitude, and leaving their direction unchanged (or possibly reversing it). These vectors are the eigenvectors of the matrix. A matrix acts on an eigenvector by multiplying its magnitude by a factor, which is positive if its direction is unchanged and negative if its direction is reversed. This factor is the eigenvalue associated with that eigenvector. An eigenspace is the set of all eigenvectors that have the same eigenvalue, together with the zero vector.

These concepts are formally defined in the language of matrices and linear transformations. Formally, if A is a linear transformation, a non-null vector x is an eigenvector of A if there is a scalar λ such that

The scalar λ is said to be an eigenvalue of A corresponding to the eigenvector x.

Eigenvalues and Eigenvectors: An Introduction

The eigenvalue problem is a problem of considerable theoretical interest and wide-ranging application. For example, this problem is crucial in solving systems of differential equations, analyzing population growth models, and calculating powers of matrices (in order to define the exponential matrix). Other areas such as physics, sociology, biology, economics and statistics have focused considerable attention on "eigenvalues" and "eigenvectors"-their applications and their computations. Before we give the formal definition, let us introduce these concepts on an example. 

Example. 

Consider the matrix 

Consider the three column matrices 

We have 

In other words, we have 

Next consider the matrix P for which the columns are C1, C2, and C3, i.e., 

We have det(P) = 84. So this matrix is invertible. Easy calculations give 

Next we evaluate the matrix P-1AP. We leave the details to the reader to check that we have 

In other words, we have 

Using the matrix multiplication, we obtain 

which implies that A is similar to a diagonal matrix. In particular, we have 

for . Note that it is almost impossible to find A75 directly from the original form of A. 

This example is so rich of conclusions that many questions impose themselves in a natural way. For example, given a square matrix A, how do we find column matrices which have similar behaviors as the above ones? In other words, how do we find these column matrices which will help find the invertible matrix P such that P-1AP is a diagonal matrix? 

From now on, we will call column matrices vectors. So the above column matrices C1, C2, and C3 are now vectors. We have the following definition. 

Definition. Let A be a square matrix. A non-zero vector C is called an eigenvector of A if and only if there exists a number (real or complex)  such that 

If such a number  exists, it is called an eigenvalue of A. The vector C is called eigenvector associated to the eigenvalue . 

Remark. The eigenvector C must be non-zero since we have 

for any number . 

Example. Consider the matrix 

We have seen that 

where 

So C1 is an eigenvector of A associated to the eigenvalue 0. C2 is an eigenvector of A associated to the eigenvalue -4 while C3 is an eigenvector of A associated to the eigenvalue 3. 

It may be interesting to know whether we found all the eigenvalues of A in the above example. In the next page, we will discuss this question as well as how to find the eigenvalues of a square matrix.

PROOFS OF PROPERTIES OF EIGEN VALUES:::

PROPERTY 1

{Inverse of a matrix A exists if and only if zero is not an eigenvalue of A}

Suppose A is a square matrix. Then A is singular if and only if λ=0 is an eigenvalue of A. 

Proof   We have the following equivalences:

A is singular 

⇔there exists x≠0, Ax=0 

⇔there exists x≠0, Ax=0x 

⇔λ=0 is an eigenvalue of A 

Since SINGULAR matrix A has eigenvalue and the inverse of a singular matrix does not exist this implies that for a matrix to be invertible its eigenvalues must be non-zero.

PROPERTY-2

Eigenvalues of a matrix are real or complex conjugates in pairs

Suppose A is a square matrix with real entries and x is an eigenvector of A for the

eigenvalue λ. Then x is an eigenvector of A for the eigenvalue λ. â-¡

Proof  

Ax =Ax 

=Ax 

=λx 

=λx 

A has real entries   x  eigenvector of A 

Suppose A is an mÃ-n matrix and B is an nÃ-p matrix. Then AB=AB. â-¡

Proof   To obtain this matrix equality, we will work entry-by-entry. For 1≤i≤m, 1≤j≤p,

ABij =ABij =∑nk=1AikBkj =∑nk=1AikBkj =∑nk=1AikBkj =∑nk=1AikBkj =ABij 

APPLICATION OF EIGEN VALUES IN FACIAL RECOGNITION

How does it work?

The task of facial recogniton is discriminating input signals (image data) into several classes (persons). The input signals are highly noisy (e.g. the noise is caused by differing lighting conditions, pose etc.), yet the input images are not completely random and in spite of their differences there are patterns which occur in any input signal. Such patterns, which can be observed in all signals could be - in the domain of facial recognition - the presence of some objects (eyes, nose, mouth) in any face as well as relative distances between these objects. These characteristic features are called eigenfaces in the facial recognition domain (or principal components generally). They can be extracted out of original image data by means of a mathematical tool called Principal Component Analysis (PCA). 

By means of PCA one can transform each original image of the training set into a corresponding eigenface. An important feature of PCA is that one can reconstruct reconstruct any original image from the training set by combining the eigenfaces. Remember that eigenfaces are nothing less than characteristic features of the faces. Therefore one could say that the original face image can be reconstructed from eigenfaces if one adds up all the eigenfaces (features) in the right proportion. Each eigenface represents only certain features of the face, which may or may not be present in the original image. If the feature is present in the original image to a higher degree, the share of the corresponding eigenface in the "sum" of the eigenfaces should be greater. If, contrary, the particular feature is not (or almost not) present in the original image, then the corresponding eigenface should contribute a smaller (or not at all) part to the sum of eigenfaces. So, in order to reconstruct the original image from the eigenfaces, one has to build a kind of weighted sum of all eigenfaces. That is, the reconstructed original image is equal to a sum of all eigenfaces, with each eigenface having a certain weight. This weight specifies, to what degree the specific feature (eigenface) is present in the original image. 

If one uses all the eigenfaces extracted from original images, one can reconstruct the original images from the eigenfaces exactly. But one can also use only a part of the eigenfaces. Then the reconstructed image is an approximation of the original image. However, one can ensure that losses due to omitting some of the eigenfaces can be minimized. This happens by choosing only the most important features (eigenfaces). Omission of eigenfaces is necessary due to scarcity of computational resources. 

How does this relate to facial recognition? The clue is that it is possible not only to extract the face from eigenfaces given a set of weights, but also to go the opposite way. This opposite way would be to extract the weights from eigenfaces and the face to be recognized. These weights tell nothing less, as the amount by which the face in question differs from "typical" faces represented by the eigenfaces. Therefore, using this weights one can determine two important things:

 Determine, if the image in question is a face at all. In the case the weights of the image differ too much from the weights of face images (i.e. images, from which we know for sure that they are faces), the image probably is not a face.

 Similar faces (images) possess similar features (eigenfaces) to similar degrees (weights). If one extracts weights from all the images available, the images could be grouped to clusters. That is, all images having similar weights are likely to be similar faces.

这些您可能会感兴趣

筛选出你可能感兴趣的一些文章,让您更加的了解我们。