Professional Documents
Culture Documents
Inverse Power Method, Shifted Power Method and Deflation
Inverse Power Method, Shifted Power Method and Deflation
3)
−4 14 0 1
Example A −5 13 0 , x 0 1 .
−1 0 2 1
Eigenvalues of A are: 2, 3, 6.
[xsol,rv,flag,k]PowerMethod(inv(A),ones(3,1),3,10^(-8),100);
1/rv(k1)
2.00000002822991
1
−4 14 0 1
Example A −5 13 0 , x 0 1 .
−1 0 2 1
Eigenvalues of A are: 2, 3, 6.
[xsol,rv,flag,k]PowerMethod(A-6*eye(3),ones(3,1),3,10^(-8),100);
rv(k1)6
2.00000004036276
[xsol,rv,flag,k]PowerMethod(A-eye(3),ones(3,1),3,10^(-8),100);
rv(k1)1
6.00000010217939
[xsol,rv,flag,k]PowerMethod(inv(A-eye(3)),ones(3,1),3,10^(-8),100)
1/rv(k1)1
2.0000
16 −8 2 1
2 −12 1 0
Example A . (1) Find regions which containe all eigenvalues of A. (2) Use
−1 1 −4 1
0 −1 2 3
the Power Method to approximate as many eigenvalues of A as possible.
(1)
(2)
3. Deflation:
Property: Matrices A and A T have the same set of eigenvalues.
Property: Let i , w i be eigenpairs of A T , i.e., A T w i i w i . If i ≠ j , then w Ti v j 0.
Proof: 0 w Ti Av j − v Tj A T w i j w Ti v j − i v Tj w i j − i w Ti v j w Ti v j 0.
Property: Let B A − i v i x T , where v Ti x 1. Then eigenvalues of B are 0, and j for j ≠ i.
Proof:
Bv i Av i − i v i x T v i i − i 1v i 0.
For j ≠ i,
B T w j A − i v i x T T w j A T w j − i xv Ti w j A T w j j w j .
In the case where | 1 | | 2 | | n |, we can use the Power Method to find 1 , 2 , … , n one by one
by deflation using matrices: B 1 A, B 2 B 1 − 1 u 1 x T1 , B 3 B 2 − 2 u 2 x T2 , . . . . .
Question: How to construct x i ?
Two methods:
a. Hotelling Deflation Method:
xi 1 ui, u1 v1
‖u i ‖ 22
b. Wielandt Deflation Method:
2
xi 1 B T where u ii is the ithe element of u i and B ii is the ith row of B i , u 1 v 1 .
i u ii ii
−4 14 0 1
Example A −5 13 0 , x 0 1 .
−1 0 2 1
By Hotelling Deflation Method:
B1A;
[xsol,rv,flag,k]PowerMethod(B1,ones(3,1),3,10^(-8),100);
r1rv(k1);
u1xsol;
x1u1/norm(u1,2)^2;
B2B1-r1*u1*x1’;
[xsol,rv,flag,k]PowerMethod(B2,ones(3,1),3,10^(-8),100);
r2rv(k1);
u2xsol;
x2u2/norm(u2,2)^2;
B3B2-r2*u2*x2’;
[xsol,rv,flag,k]PowerMethod(B3,ones(3,1),3,10^(-8),100);
r3rv(k1);
u3xsol;
[r1 r2 r3]
6.0000 3.0000 2.0000
By Weilandt Deflation Method:
B1A;
[xsol,rv,flag,k]PowerMethod(B1,ones(3,1),3,10^(-8),100);
r1rv(k1);
u1xsol;
x1B1(1,1:3)’/(r1*u1(1));
B2B1-r1*u1*x1’;
[xsol,rv,flag,k]PowerMethod(B2,ones(3,1),3,10^(-8),100);
r2rv(k1);
u2xsol;
x2B2(2,1:3)’/(r2*u2(2));
B3B2-r2*u2*x2’;
[xsol,rv,flag,k]PowerMethod(B3,ones(3,1),3,10^(-8),100);
r3rv(k1);
u3xsol;
[r1 r2 r3]
6.0000 3.0000 2.0000
Next question: How to form eigenvectors of A?
Let B A − 1 v 1 x T where v T1 x 1 and 0, u 1 and i , u i for i 2, . . . , n be eigenpairs of B. We
know u 1 v 1 . Let v i a u i b v 1 . What are values of a and b? Observe that
3
Bv i A − 1 v 1 x T v i Av i − 1 x T v i v 1 i v i − 1 x T v i v 1 .
Left:
Bv i B a u i b v 1 aBu i bBv 1 a i u i b0v 1 a i u i ;
right:
i v i − 1 x T v i v 1 i au i bv 1 − 1 x T au i bv 1 v 1
a i u i b i v 1 − 1 ax T u i v 1 − 1 bx T v 1 v 1
a i u i b i v 1 − 1 ax T u i v 1 − 1 b1v 1 .
Bv i B a u i b v 1 a i u i a i u i b i v 1 − 1 ax T u i v 1 − 1 b1v 1
or
b i v 1 − 1 ax T v 1 v 1 − 1 bv 1 0 or b i − 1 − 1 ax T u i v 1 0.
One solution to the equation is to let a i − 1 and b 1 x T v 1 and
v i i − 1 u i 1 x T u i v 1 .