Presentation is loading. Please wait.

Presentation is loading. Please wait.

Numerical Analysis Lecture 17.

Similar presentations


Presentation on theme: "Numerical Analysis Lecture 17."— Presentation transcript:

1 Numerical Analysis Lecture 17

2 Chapter 4

3 Eigen Value Problems

4 Let [A] be an n x n square matrix
Let [A] be an n x n square matrix. Suppose, there exists a scalar and a vector such that

5 Power Method Jacobi’s Method

6 Power Method

7 To compute the largest eigen value and the corresponding eigenvector of the system
where [A] is a real, symmetric or un-symmetric matrix, the power method is widely used in practice.

8 Procedure Step 1: Choose the initial vector such that the largest element is unity. Step 2: The normalized vector is pre-multiplied by the matrix [A].

9 Step 3:The resultant vector is again normalized.
Step 4: This process of iteration is continued and the new normalized vector is repeatedly pre-multiplied by the matrix [A] until the required accuracy is obtained.

10 We calculate

11 Now, the eigen value can be computed as the limit of the ratio of the corresponding components of and That is, Here, the index p stands for the p-th component in the corresponding vector

12 Sometimes, we may be interested in finding the least eigen value and the corresponding eigenvector.
In that case, we proceed as follows. We note that Pre-multiplying by , we get

13 The inverse matrix has a set of eigen values which are the reciprocals of the eigen values of [A].

14 Thus, for finding the eigen value of the least magnitude of the matrix [A], we have to apply power method to the inverse of [A].

15 Jacobi’s Method

16 Definition An n x n matrix [A] is said to be orthogonal if

17 If [A] is an n x n real symmetric matrix, its eigen values are real, and there exists an orthogonal matrix [S] such that the diagonal matrix D is

18 This diagonalization can be carried out by applying a series of orthogonal transformations

19 Let A be an n x n real symmetric matrix
Let A be an n x n real symmetric matrix. Suppose be numerically the largest element amongst the off-diagonal elements of A. We construct an orthogonal matrix S1 defined as

20

21 where are inserted in positions respectively, and elsewhere it is identical with a unit matrix. Now, we compute

22 Therefore, , only if, That is if

23 Thus, we choose such that the above equation is satisfied, thereby, the pair of off-diagonal elements dij and dji reduces to zero. However, though it creates a new pair of zeros, it also introduces non-zero contributions at formerly zero positions.

24 Also, the above equation gives four values of , but to get the least possible rotation, we choose

25 As a next step, the numerically largest off-diagonal element in the newly obtained rotated matrix D1 is identified and the above procedure is repeated using another orthogonal matrix S2 to get D2. That is we obtain

26 Similarly, we perform a series of such two-dimensional rotations or orthogonal transformations. After making r transformations, we obtain

27 Example Find all the eigen values and the corresponding eigen vectors of the matrix by Jacobi’s method

28 Solution The given matrix is real and symmetric. The largest off-diagonal element is found to be Now, we compute

29 Which gives, Thus, we construct an orthogonal matrix Si as

30 The first rotation gives,

31 We observe that the elements d13 and d31 got annihilated
We observe that the elements d13 and d31 got annihilated. To make sure that calculations are correct up to this step, we see that the sum of the diagonal elements of D1 is same as the sum of the diagonal elements of the original matrix A.

32 As a second step, we choose the largest off-diagonal element of D1 and is found to be and compute

33 which again gives Thus, we construct the second rotation matrix as

34 At the end of the second rotation, we get

35 Which turned out to be a diagonal matrix, so we stop the computation
Which turned out to be a diagonal matrix, so we stop the computation. From here, we notice that the eigen values of the given matrix are 5,1 and –1. The eigenvectors are the column vectors of

36 Therefore

37 Example Find all the eigen values of the matrix by Jacobi’s method.

38 Solution Here all the off-diagonal elements are of the same order of magnitude. Therefore, we can choose any one of them. Suppose, we choose a12 as the largest element and compute

39 Which gives, Then and we construct an orthogonal matrix S1 such that

40 The first rotation gives

41 Now, we choose as the largest element of D1 and compute

42 Now we construct another
orthogonal matrix S2, such that

43 At the end of second rotation, we obtain
Now, the numerically largest off-diagonal element of D2 is found to be and compute

44 Thus, the orthogonal matrix is

45 At the end of third rotation, we get
To reduce D3 to a diagonal form, some more rotations are required. However, we may take 0.634, and as eigen values of the given matrix.

46 Numerical Analysis Lecture 17


Download ppt "Numerical Analysis Lecture 17."

Similar presentations


Ads by Google