idempotency and projection matrices - …dnett/s611/04projectionmatrices.pdfsuppose a = " 1 1...

32
Idempotency and Projection Matrices Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 1 / 32

Upload: truongnhi

Post on 05-May-2018

239 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Idempotency and Projection Matrices

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 1 / 32

Page 2: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

A square matrix P is idempotent iff PP = P.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 2 / 32

Page 3: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

A square matrix P is a projection matrix that projects onto the vector

space S ⊆ Rn iff

(a) P is idempotent,

(b) Px ∈ S ∀ x ∈ Rn, and

(c) Pz = z ∀ z ∈ S.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 3 / 32

Page 4: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Result P.1:

Suppose P is an idempotent matrix. Prove that P projects onto a vector

space S iff S = C(P).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 4 / 32

Page 5: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof of Result P.1:

(=⇒) Property (b) of a projection matrix implies that

Px ∈ S ∀ x ∴ C(P) ⊆ S.

By Property (c) of a projection matrix, Pz = z ∀ z ∈ S.

Thus, any z ∈ S also in C(P). ∴ S ⊆ C(P), and we have C(P) = S.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 5 / 32

Page 6: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(⇐=) Need to show that any idempotent P is a projection matrix that

projects onto C(P) as follows:

(a) PP = P,

(b) Px ∈ C(P) ∀ x,

(c) z ∈ C(P)⇒ ∃ x 3 z = Px. Therefore, Pz = PPx = Px = z. �

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 6 / 32

Page 7: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Result A.14:

AA− is a projection matrix that projects onto C(A).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 7 / 32

Page 8: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof of Result A.14:

(a) (AA−)(AA−) = (AA−A)A− = AA−. Therefore, AA− is idempotent.

(b) AA−x = Az ∀ x, where z = A−x. Thus AA−x ∈ C(A) ∀ x.

(c) ∀ z ∈ C(A), ∃ y 3 z = Ay,∴ AA−z = AA−Ay = Ay = z. �

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 8 / 32

Page 9: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Alternatively, we could have proved idempotency and then shown

C(A) = C(AA−) as below:

Ax = (AA−A)x = (AA−)Ax⇒ C(A) ⊆ C(AA−).

AA−x = A(A−x)⇒ C(AA−) ⊆ C(A).

∴ C(A) = C(AA−).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 9 / 32

Page 10: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Result A.15:

I − A−A is a projection matrix that projects onto N (A).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 10 / 32

Page 11: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof of Result A.15:

(a)

(I − A−A)(I − A−A)

= I − A−A− A−A + A−AA−A

= I − A−A− A−A + A−A

= I − A−A.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 11 / 32

Page 12: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(b) Note that

A(I − A−A)x = (A− AA−A)x

= (A− A)x

= 0 ∀ x.

∴ (I − A−A)x ∈ N (A) ∀ x.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 12 / 32

Page 13: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(c) If z ∈ N (A), then

(I − A−A)z = z− A−Az

= z− 0

= z.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 13 / 32

Page 14: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Prove that C(I − A−A) = N (A).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 14 / 32

Page 15: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof:

The result follows from Result A.15 and P.1.

An alternative proof is as follows.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 15 / 32

Page 16: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof:

Suppose z ∈ N (A). Then

Az = 0⇒ A−Az = 0

⇒ z− A−Az = z

⇒ (I − A−A)z = z

⇒ z ∈ C(I − A−A).

∴ N (A) ⊆ C(I − A−A).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 16 / 32

Page 17: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Suppose z ∈ C(I − A−A). Then ∃ x 3 z = (I − A−A)x. Thus

Az = A(I − A−A)x

= (A− AA−A)x

= (A− A)x

= 0.

Thus, z ∈ N (A). It follows that C(I − A−A) ⊆ N (A). Hence,

C(I − A−A) = N (A). �

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 17 / 32

Page 18: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Result A.16:

Any symmetric and idempotent matrix P is the unique symmetric

projection matrix that projects onto C(P).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 18 / 32

Page 19: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof of Result A.16:

Suppose Q is a symmetric projection matrix that projects onto C(P).Then

Pz = Qz = z ∀ z ∈ C(P)

⇒ PPx = QPx ∀ x

⇒ Px = QPx ∀ x

⇒ P = QP.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 19 / 32

Page 20: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Now Q is a projection matrix that projects on C(P), therefore,

C(P) = C(Q). Thus

Qz = Pz = z ∀ z ∈ C(Q)

⇒ QQx = PQx ∀ x

⇒ Qx = PQx ∀ x

⇒ Q = PQ.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 20 / 32

Page 21: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Now note that

(P− Q)′(P− Q) = P′P− P′Q− Q′P + Q′Q

= PP− PQ− QP + QQ

= P− Q− P + Q

= 0.

∴ P− Q = 0⇒ P = Q. �

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 21 / 32

Page 22: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Any symmetric, idempotent matrix P is known as an

orthogonal projection matrix because (Px) ⊥ (x− Px), i.e.,

(Px)′(x− Px) = x′Px− x′P′Px

= x′Px− x′PPx

= x′Px− x′Px

= 0.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 22 / 32

Page 23: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Corollary A.4:

If P is a symmetric projection matrix, then I − P is a symmetric

projection matrix that projects onto C(P)⊥ = N (P).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 23 / 32

Page 24: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Proof of Corollary A.4:

First note that C(P)⊥ = N (P′) = N (P) by the symmetry of P.

We need to show that properties (a-c) of a projection matrix hold for

I − P onto N (P).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 24 / 32

Page 25: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(a) Is I − P idempotent?

(I − P)(I − P) = I − P− P + PP

= I − P− P + P

= I − P.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 25 / 32

Page 26: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(b) Is (I − P)x ∈ N (P) ∀ x?

P(I − P)x = (P− PP)x

= (P− P)x

= 0.

∴ (I − P)x ∈ N (P) ∀ x.

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 26 / 32

Page 27: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

(c) Does (I − P)z = z ∀ z ∈ N (P)?

∀ z ∈ N (P), (I − P)z = z− Pz

= z− 0

= z.

Finally, we should note that (I − P)′ = I′ − P′ = I − P so that I − P is

symmetric as claimed in statement of the result. �

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 27 / 32

Page 28: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Suppose A =

[1

1

].

Find the orthogonal projection matrix that projects onto C(A).

Find the orthogonal projection matrix that projects onto N (A′).

Find the orthogonal projection of x =

[4

2

]onto C(A) and onto

N (A′).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 28 / 32

Page 29: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Need to find a symmetric, idempotent matrix whose column space is

C(A), where

C(A) = {x ∈ R2 : x1 = x2}.

Thus, P must have the form

P =

[a a

a a

].

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 29 / 32

Page 30: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

Because P must be idempotent,[a a

a a

][a a

a a

]=

[2a2 2a2

2a2 2a2

]=

[a a

a a

].

This implies 2a2 = a⇒ a = 1/2. ∴ P =

[1/2 1/2

1/2 1/2

].

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 30 / 32

Page 31: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

We know

I − P =

[1/2 −1/2

−1/2 1/2

]is the orthogonal projection matrix that projects onto

C(P)⊥ = C(A)⊥ = N (A′).

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 31 / 32

Page 32: Idempotency and Projection Matrices - …dnett/S611/04ProjectionMatrices.pdfSuppose A = " 1 1 #: Find the orthogonal projection matrix that projects onto C(A). Find the orthogonal

P

[4

2

]=

[3

3

], (I − P)

[4

2

]=

[1

−1

].

C(A)

N(A')

(4, 2)

(3,3)

(1,-1)

Copyright c©2012 Dan Nettleton (Iowa State University) Statistics 611 32 / 32