1. Analogy

Let’s assume that we’d like do a numerical processing in the best suited base on this purpose.

Let’s have an example : we’d like to divide an even number by 2. It turns out that the base 2 is the best suited base for doing that. Indeed a simple shift from left to right does that processing.

We have the three following steps :

  1. Change of basis (from decimal to binary)
  2. We do the processing in that new base (shift)
  3. Change of basis (from binary to decimal)

Example I

Let’s divide 208 by 16.

Let’s proceed the above steps discussed :

  1. Conversion of 208 into the base 2 : 11010000
  2. 1st shift : 01101000. 2nd shift : 00110100. 3rd shift : 00011010. 4th shift : 00001101
  3. Conversion of 00001101 into the decimal base : 13

2. Calculation

A diagonalizable matrix A is decomposed as follows :

A=PDP1

In (1) P is the eigenvectors matrix of A and D the eigenvalues matrix of A.

In our analogy of above, the calculation of Ax would be the numerical processing. We then have in (1), from right to left :

  1. Conversion of x in a new basis, becoming x
  2. Processing the linear transformation in the new basis : Dx=y
  3. Conversion of y in the starting basis, becoming y

Example II

Let A=(2134). Let’s diagonalize A.

We determined the eigenvectors of A in the dedicated chapter (let β=1).

Then P=(1113) and P1=14(3111). The matrix of the eigenvalues is : D=(1005).

The diagonalization of A is thus :

3. But more concretely ?

The point of the diagonalization is to proceed the linear transformation in a more suited basis. This new basis is composed of the eigenvectors and turns to be a new axis system.

This reduces the calculation amount, since in the new basis, y is obtained by multiplying by a factor λi the components of x for each axis independently from one another. Figure 12.1 shows the linear transformation of the example II in the new basis : D(vw)x=(1v5w)y.

application_in_new_basis

Figure 12.1 : linear transformation in a new basis

Recapitulation

The diagonalization proceeds a basis change . Only if they exist and form a basis, the eigenvectors become the new basis.

A diagonalizable matrix A is decomposed as follows :

Each eigenvalue in D must stand in the same column than the related eigenvector in P.

D is a diagonal matrix. Since the elements outside of its diagonal equal zero, D acts on each axis independently from one another, which reduces the calculation amount.