Docsity

Solved Problems on the Definite Matrix - Homework | MATH 6370, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Department of Mathematics Fall 2007
MATH 6370, Section 10583 MW 5:30-7:00PM
A. Caboussat
Answers Homework Chapter 4
HOMEWORK FROM THE TEXT
Problem 1 (Chapter 4 - Problem 8) 4 8
(a) In order to show that C−BTA−1Bis positive definite, we want to prove that ∀x2∈Rm,x26= 0:
xT
2(C−BTA−1B)x2>0.
We define x=x1
x2and x1=−A−1Bx2. Thus:
0< xTA′x=...=xT
2(C−BTA−1B)x2.
(b) The matrix M=NTNis symmetric. Moreover, ∀x6= 0, y=N x 6= 0 and
xTMx =xTNTNx =yTy > 0.
(c) We can compute RTRby blocks:
RR=RT
11 0
RT
12 RT
22 R11 R12
0R22 =RT
11R11 RT
11R12
RT
12R11 RT
12R12 +RT
22R22 .
By identification:
C=RT
12R12 +RT
22R22
B=RT
11R12
A=RT
11R11
and
C−BTA−1B=RT
12R12 +RT
22R22 −RT
12R11 R−1
11 R−T
11 RT
11R12 =RT
22R22 .
(d) We have
0<det(A) = det(RTR) = det(RT) det(R) = Πn
i=1r2
ii.
Therefore r2
ii >0, for all i= 1,...,N.
(e) The equality comes from the exercise 1 Chapter 4:
1
|||R−1|||2= min
x6=0
||Rx||
||x|| = min
x6=0
xTRTRx
xTx= min
x6=0
xTA′x
xTx.
The inequlaity is satisfied if there exists one particular xsuch that the ratio is smaller than r2
ii, for all i.
Let us consider first x=e1. For this particular vector:
xTA′x
xTx=r2
11.
Then, by using (a) and (c), we have:
xTA′x
xTx=xT
2(C−BTA−1B)x2
xTx=xT
2RT
2R2x2
xTx.
pf3
pf4
pf5

Partial preview of the text

Download Solved Problems on the Definite Matrix - Homework | MATH 6370 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Department of Mathematics Fall 2007

MATH 6370, Section 10583 MW 5:30-7:00PM

A. Caboussat

Answers Homework Chapter 4

HOMEWORK FROM THE TEXT

Problem 1 (Chapter 4 - Problem 8) 4 8

(a) In order to show that C − B T A − 1 B is positive definite, we want to prove that ∀x 2 ∈ R m , x 2 6 = 0:

x

T 2

(C − B

T A

− 1 B)x 2 > 0.

We define x =

x 1

x 2

and x 1 = −A − 1 Bx 2. Thus:

0 < x

T A

′ x =... = x

T 2 (C^ −^ B

T A

− 1 B)x 2.

(b) The matrix M = N

T N is symmetric. Moreover, ∀x 6 = 0, y = N x 6 = 0 and

x

T M x = x

T N

T N x = y

T y > 0.

(c) We can compute R

T R by blocks:

R

R

R

T 11 0

R

T 12 R

T 22

R 11 R 12

0 R 22

R

T 11 R^11 R

T 11 R^12

R

T 12 R^11 R

T 12 R^12 +^ R

T 22 R^22

By identification:

C = R

T 12

R 12 + R

T 22

R 22

B = R

T 11 R 12

A = R

T 11 R^11

and

C − B

T A

− 1 B = R

T 12 R^12 +^ R

T 22 R^22 −^ R

T 12 R^11 R

− 1 11 R

−T 11 R

T 11 R^12 =^ R

T 22 R^22.

(d) We have

0 < det(A) = det(R

T R) = det(R

T ) det(R) = Π

n i= r

2 ii

Therefore r 2 ii > 0, for all i = 1,... , N.

(e) The equality comes from the exercise 1 Chapter 4:

|||R

− 1 |||

2

= min x 6 =

||Rx||

||x||

= min x 6 =

x

T R

T Rx

x T x

= min x 6 =

x

T A

′ x

x T x

The inequlaity is satisfied if there exists one particular x such that the ratio is smaller than r 2 ii , for all i.

Let us consider first x = e 1. For this particular vector:

x T A ′ x

x T x

= r

2 11

Then, by using (a) and (c), we have:

x T A ′ x

x T x

x T 2

(C − B

T A − 1 B)x 2

x T x

x T 2

R

T 2 R 2 x 2

x T x

For any size of the Schur complement and corresponding partitioning of A ′ , we consider x 2 = e 1. The

remaining part x 1 of the vector x is given as in (a). Therefore:

x T A ′ x

x T x

x T 2

R

T 2 R 2 x 2

x T x

r 2 kk

1 + x T 1 x 1

6 r

2 kk ,

for all sizes k = 1,... , n − 1 of the block C. Conclusion follows.

(f) The equality

|||R|||

2 = max x 6 =

x

T A

′ x

x T x

is clear. Again, the compute the corresponding ratio for particular vectors x. In this case, for x = ei,

i = 1,... , N :

x T A ′ x

x T x

= x

T A

′ x =

i ∑

k=

r

2 ki >^ r

2 ii.

Conclusion follows.

(g) By using (e) and (f):

cond(R) = |||R|||

R

− 1

> |rii|

rkk

, ∀i, k = 1,... , n.

Therefore it is also true for the maximum:

cond(R) > max 16 i,k 6 N

rii

rkk

Problem 2 (Chapter 4 - Problem 11) 4 11

2.a) By using the additional exercise 5, we know that A

(k) 22 is the Schur complement of^ A^11 into^ A. By using

the exercise 8 of the text, the Schur complement is positive definite if the total matrix is positive.

2.b) We show first that a

(k−1) kk > 0 for all k = 1,... , n. By induction, for k = 1, a

(0) 11 =^ a^11 >^ 0 since^ A^ is

positive definite.

Then for k > 1, the Gauss elimination procedure guarantees that

0 < det(A) = det(A

(0) ) = det(A

(k) )

By developing the right-hand side, one can see that:

det(A

(k) ) = Π

k− 1 j=1 a

(j−1) jj ·^ a

(k−1) kk · det(A

(k) 22 ),

and therefore a

(k−1) kk

Writing the k

th step of the Gauss elimination process leads to:

a

(k) ii = a

(k−1) ii

a

(k−1) ik a

(k−1) ki

a

(k−1) kk

By induction, we can prove that a

(1) ii < aii, for i > 1 and a

(1) ii < aii for i = 1.

Then at each iteration k, since A

(k) 22 is positive definite,^ a

(k−1) ik = a

(k−1) ki

. Moreover a

(k−1) kk > 0 as shown

before. Therefore

a

(k) ii = a

(k−1) ii

a

(k−1) ik a

(k−1) ki

a

(k−1) kk

6 a

(k−1) ii

3.b) Show that if A is singular, A T is also singular. In the Gauss elimination for A T with pivoting on the rows,

there exists a step k such that all potential pivots in the correspondign column are zero (and the algorithm

stops). By taking the transpose, it corresponds to obtaining a line with all potential pivots equal to zero

and the factorization does not exist.

Problem 4 1

4.a) Clearly A = A

T

. We calculate

x

T Ax = a

n ∑

i=

x

2 i + 2c

n− 1 ∑

i=

xixi+

> 2 |c|

n ∑

i=

x

2 i

  • 2c

n− 1 ∑

i=

xixi+

> |c|

n ∑

i=

x

2 i +

n ∑

i=

c

|c|

xi

c

|c|

n− 1 ∑

i=

xixi+

> |c|

x

2 1

  • x

2 N

n ∑

i=

xi +

c

|c|

xi+

Moreover x

T Ax = 0 implies in order that x 1 = 0, xN = 0 and then all the others xi = 0. Clearly, if x = 0

then x

T Ax = 0.

We have seen that, if a matrix A is symmetric positive definite

Ax = 0 ⇒ x

T Ax = 0 ⇒ x = 0,

and therefore A is invertible and the Gauss elimination algorithm can be used.

4.b) We set ~a = (2, 2 ,... , 2)

T ∈ R

N and ~c = (− 1 , − 1 ,... , −1)

T ∈ R

N − 1

. The algorithm reads as follows:

a(1) =

a(1)

For i = 1, (N − 1)

c(i) = c(i)/a(i)

a(i + 1) =

a(i + 1) − c(i) ∗ c(i)

Resolution of the linear system L~y =

b :

b(1) = b(1)/a(1)

For i = 1, (N − 1)

b(i + 1) = (b(i + 1) − c(i) ∗ b(i))/a(i + 1)

Resolution of the linear system L T ~x = ~y :

b(N ) = b(N )/a(N )

For i = (N − 1), 1

b(i) = (b(i) − c(i) ∗ b(i + 1))/a(i)

Problem 6 2

6.a) The norm |||·||| satisfies the following properties:

  • Clearly |||A||| > 0.

|||A||| = 0 ⇔ max X^ ~∈RN^ ,~x 6 =~ 0

||A~x||

||~x||

||A~x||

||~x||

, ∀~x ∈ R

N , ~x 6 = ~ 0.

Therefore, this is equivalent to

||A~x|| = 0, ∀~x ∈ R

N , ~x 6 =

0 ⇔ A = 0.

  • Let λ ∈ R:

|||λA||| = max X^ ~∈RN^ ,~x 6 =~ 0

||λA~x||

||~x||

= |λ| max X^ ~∈RN^ ,~x 6 =~ 0

||A~x||

||~x||

|||A + B||| = max X^ ~∈RN^ ,~x 6 =~ 0

||(A + B)~x||

||~x||

6 max X^ ~∈RN^ ,~x 6 =~ 0

||A~x|| + ||B~x||

||~x||

6 |||A||| + |||B|||.

|||AB||| = max X^ ~∈RN^ ,~x 6 =~ 0

||AB~x||

||~x||

6 max X^ ~∈RN^ ,~x 6 =~ 0

|||A||| ||B~x||

||~x||

6 |||A||| max X^ ~∈RN^ ,~x 6 =~ 0

||B~x||

||~x||

6 |||A||| |||B|||.

6.b) Let us define the Euclidian norm ||~z||

2 C

|zi|

2 on C

N , λ ∈ C an eigenvalue of A associated with

eigenvector ~z. Then

||A~z|| C = ||λ~z|| C = |λ| ||~z|| C ⇔ |λ| =

||A~z|| C

||~z|| C

We can check that, if ~z = ~x + i~y,

||A~z||

2 C = ||A~x||

2

  • ||A~y||

2 .

and

||~z||

2 C = ||~x||

2

  • ||~y||

2 .

By definition of the spectral norm, we have ||A~x|| 6 |||A||| ||~x||, for all ~x ∈ R

N

. Therefore

|λ|

2

||A~z||

2 C

||~z||

2 C

||A~x||

2

  • ||A~y||

2

||~x||

2

  • ||~y||

2

|||A|||

2 (||~x||

2

  • ||~y||

2 )

||~x||

2

  • ||~y||

2

6 |||A|||

2 .

Conclusion follows: ρ(A) 6 |||A|||.

6.c) By definition, cond(A) = |||A|||

∣A−^1

∣ (^) > ρ(A)ρ(A−^1 ). Let us notice that the eigenvalues of A−^1 are the

inverse of the eigenvalues of A. Therefore

ρ(A

− 1 ) = max 16 i 6 N

λi

min 16 i 6 N |λi|

Conclusion follows.