Docsity

Vector Spaces and Eigenvalues - Lecture Notes | AEB 6933, Study notes of Introduction to Macroeconomics

Toggle sidebar
bg1
1
Vector Spaces and Eigenvalues
Lecture XXVII
I. Orthonormal Bases and Projections
A. Suppose that a set of vectors
1,r
xx
for a basis for some space
S
in
m
R
space such that
rm
. For mathematical simplicity, we may want to
form an orthogonal basis for this space. One way to form such a basis is
the Gram-Schmit orthonormalization. In this procedure, we want to
generate a new set of vectors
1,r
yy
that are orthonormal.
B. The Gram-Schmit process is:
11
21
2 2 1
11
3 1 3 2
33
1 1 2 2
'
'
''
''
yx
xy
y x y
yy
x y x y
yxy y y y
which produces a set of orthogonal vectors, and then
12
'
i
i
ii
y
zyy
that produces a orthonormal vectors (vectors of length one).
C. Example, from last lecture, we know that
16
7
9
,
4
3
1
21 xx
spans a plane in three dimensional space. Setting
,
2
y
is derived as:
2
1
70
9 7 16 3 13
91
450
73
13
1
16 4 20
1 3 4 3 13
4
y
pf3
pf4
pf5

Partial preview of the text

Download Vector Spaces and Eigenvalues - Lecture Notes | AEB 6933 and more Study notes Introduction to Macroeconomics in PDF only on Docsity!

Vector Spaces and Eigenvalues

Lecture XXVII

I. Orthonormal Bases and Projections

A. Suppose that a set of vectors x 1^ ,^  xr for a basis for some space S in Rm space such that r m. For mathematical simplicity, we may want to form an orthogonal basis for this space. One way to form such a basis is the Gram-Schmit orthonormalization. In this procedure, we want to generate a new set of vectors y 1 ,  yr that are orthonormal. B. The Gram-Schmit process is: 1 1 2 2 2 1 1 1 1 3 3 3 1 3 2 1 1 2 2

y x y x x^ y y y y y x x^ y^ x^ y y y y y

which produces a set of orthogonal vectors, and then (^12) '

i^ i i i

z^ y y y

that produces a orthonormal vectors (vectors of length one). C. Example, from last lecture, we know that

x 1 x 2

spans a plane in three dimensional space. Setting y 1 (^) x 1 , y 2 is derived as:

2

y

Professor Charles Moss Fall 2005

The vectors can then be normalized to one. However, to test for orthogonality: 70 13 1 3 4 50 0 13 20 13 D. Theorem 2.13 Every (^) r -dimensional vector space, except the zero- dimensional space 0 , has an orthonormal basis. E. Theorem 2.14 Let z 1 , zr be an orthornomal basis for some vector space S , of Rm. Then each x Rm can be expressed uniquely as x u v where u S and v is a vector that is orthogonal to every vector in S. F. Definition 2.10 Let S be a vector subspace of Rm. The orthogonal complement of S , denoted S , is the collection of all vectors in^ Rm that are orthogonal to every vector in S : That is, S x : x Rm and x y 0 y S. G. Theorem 2.15. If S is a vector subspace of Rm then its orthogonal complement S is also a vector subspace of Rm.

II. Projection Matrices

A. The orthogonal projection of an m^1 vector x onto a vector space S can be expressed in matrix form.

  1. Let z 1^ ,^  zr be any othonormal basis for S while z 1^ ,^  zm is an orthonormal basis for^ Rm. Any vector x can be written as: x (^) 1 z 1 (^)  (^) r z (^) r r 1 zr (^) 1  m zm u v

Aggregating 1 , 2 where (^1 1) r and

2 r 1 m^ and assuming a similar decomposition of Z Z 1 (^) Z 2 , the vector x can be written as:

1 1 2 2 1 1 2 2

x Z Z Z u Z v Z

Professor Charles Moss Fall 2005

Premultiplying each side by X yields: 1 1 1 1

X X X X X X X y X X X X X X X y X X X y

B. Idempotent matrices can be defined as any matrix such that AA A.

  1. Note that the sum of square errors under the projection can be expressed as:

1 1

1 1

1 1

N N

n n

SSE y X y X y X X X X y y X X X X y

I X X X X y I X X X X y

y I X X X X I X X X X y

  1. In general, the matrix I n X X X^1 X is referred to as an idempotent matrix. An idempotent matrix is one that AA A : 1 1 1 1 1 1 1

n n n

n

I X X X X I X X X X

I X X X X X X X X

X X X X X X X X

I X X X X

  1. Thus, the SSE can be expressed as: 1 1

SSE y I n X X X X y y y y X X X X y v v which is the sum of the orthogonal errors from the regression.

III. Eigenvalues and Eigenvectors

A. Eigenvalues and eigenvectors (or more appropriately latent roots and characteristic vectors) are defined by the solution Ax x

Professor Charles Moss Fall 2005

for a nonzero x. Mathematically, we can solve for the eigenvalue by rearranging the terms: 0 0

Ax x A I x Solving for then involves solving the characteristic equation that is implied by: A I 0. Again using the matrix in the previous example:

2 3

B. In general, there are m roots to the characteristic equation. Some of these roots may be the same. In the above case, the roots are complex. Turning to another example: 5 3 3 4 2 3 {1, 2,5} 4 4 5

A

The eigenvectors are then determined by the linear dependence in A I matrix. Taking the last example: 4 3 3 4 3 3 4 4 4

A I

Given the first eigenvalue. Obviously, the first and second rows are linear. The reduced system then implies that as long as x 1 (^) x 2 and x 3 0 , the resulting matrix is zero. C. Theorem 11.5.1 For any symmetric matrix, A , there exists an orthogonal matrix H (that is, a square matrix satisfying H H I ) such that: H AH ' where is a diagonal matrix. The diagonal elements of are called the characteristic roots (or eigenvalues) of A. The (^) ith column of H is called the characteristic vector (or eigenvector) of A corresponding to the characteristic root of A. D. This proof follows directly from the definition of eigenvalues. Letting H be a matrix with eigenvalues in the columns it is obvious that