Docsity

Key for Final Exam | Linear Algebra | MATH 150, Exams of Linear Algebra

Toggle sidebar
bg1
Dong Vu
Georgetown University
Keys to Final Exam
Math 150 - Linear Algebra - Summer 2007
August 9th, 2007. Time: 2.5 hours (4:15pm-6:45pm)
Question 1 (30 points).
Suppose that A = 120
021
a. Determine if AATis positive de…nite or not?
We …rst calculate AAT=120
0212
4
1 0
2 2
0 1 3
5=5 4
4 5 :Then
we could check all diagonal submatrices: [5] and 5 4
4 5 :We have:
det([5])=5 >0 and det5 4
4 5 = 9 >0. So that AATis positive
de…nite.
b. If your answer in (a) is Yes, …nd U such that (AAT=UTUwhere
U is a square matrix). If your answer in (a) is No, LU-factorize AAT
Since we see AATis positive de…nite, we now …nd U such that
UTU. First, we LU-factorize AAT:
5 4
4 5 !C1=5
4
5 4
4 5 !14
5
4 5 !14
5
09
5!9
5
9
5!C2=9
5
9
5![1]
So, L=5 0
49
5; U =14
5
0 1 :Take each column of L devided
by the square root of the main diagonal entry correspondingly.
Then we …nd UT=p5 0
4
p5
3
p5,U="p54
p5
03
p5#
c. Determine the shortest distance from P(3;3;3) to the plane
that goes through the origin and two columns vectors of AT:!
a=
(1;2;0)T;!
b= (0;2;1)T
We …rst construct the orthogonal (or normal) vector that is or-
thogonal to both !
a= (1;2;0)T;!
b= (0;2;1)Tby Cross-Product. We
have:
1
pf3
pf4
pf5

Partial preview of the text

Download Key for Final Exam | Linear Algebra | MATH 150 and more Exams Linear Algebra in PDF only on Docsity!

Dong Vu

Georgetown University

Keys to Final Exam

Math 150 - Linear Algebra - Summer 2007

August 9

th

, 2007. Time: 2.5 hours (4:15pm-6:45pm)

Question 1 (30 points).

Suppose that A =

a. Determine if AA

T

is positive deÖnite or not?

We Örst calculate AA

T

: Then

we could check all diagonal submatrices: [5] and

: We have:

det([5])=5 >0 and det

= 9 > 0. So that AA

T

is positive

deÖnite.

b. If your answer in (a) is Yes, Önd U such that (AA

T = U T

U where

U is a square matrix). If your answer in (a) is No, LU-factorize AA

T

Since we see AA

T

is positive deÖnite, we now Önd U such that

U

T

U. First, we LU-factorize AA

T :  5 4

4 5

! C 1 =

4 5 4 5

4 5 0

9 5

9 5

9 5

! C 2 =

9 5

9 5

! [1]

So, L =

9 5

; U =

4 5 0 1

: Take each column of L devided

by the square root of the main diagonal entry correspondingly.

Then we Önd U

T

 p 5 0 4 p 5

3 p 5

, U =

" (^) p 5

4 p 5 0

3 p 5

c. Determine the shortest distance from P (3; 3 ; 3) to the plane

that goes through the origin and two columns vectors of A

T

a =

T ;

b = (0; 2 ; 1) T

We Örst construct the orthogonal (or normal) vector that is or-

thogonal to both

a = (1; 2 ; 0)

T ;

b = (0; 2 ; 1)

T

by Cross-Product. We

have:

w =

a

b =

det

det

det

Then the line goes through P(3,3,3) perpendicular to plane ABC

must have the vector form:P + t

w or x = 3 + 2t; y = 3 t; z = 3 + 2t

The plane ABC have the equation: 2(x 1) 1(y 2) + 2(z 0) =

0 or 2 x y + 2z = 0

Now we Önd the intersection between the plane ABC and the line

through P perpendicular to the plane ABC. We Önd t:

2(3 + 2t) (3 t) + 2(3 + 2t) = 0! 9 t + 9 = 0! t = 1 :

So, the intersection point Q is: Q = (3+2t,3-t,3+2t)=(1,4,1).

Now we Önd the distance between P (3; 3 ; 3) and Q(1; 4 ; 1):

P Q =

( 2 ; 1 ; 2)! jj

P Qjj =

p (2) 2

  • 1 2
  • (2) 2 =

p 9 = 3

Question 2 (20 points).

Suppose that A =

a. Determine if A is positive deÖnite or not?Solve the problem:

max(X

T

AX) subject to jjXjj 1?

Since we would have to solve the maximization problem, then it

is wise to use eigen values to check positive deÖniteness.

Characteristic equation:

3 7 

2 +14 8)( 1) = 0

( 2)( 4)( 1)( 1) = 0

 1 = 1;  2

3

4

Eigen values are: 1,1,2,4. Since all eigen values are positive and

A is symmetric! A is positive deÖnite.

So that max(X

T

AX) = max(X 1 ; X 2 ; X 3 ; X 4 ) = 4 when Y = (0,0,0,1)

T

where Y = P

T

X and P is orthonormal eigen vector matrix of A.

We could Önd X if we want: X = PY.

We have eigen vector of A is:

: We normalize

to get P=

2 p 6 0 0

1 p 2

1 p 6 0 0

1 p 2

1 p 6 1 1 0 0

So: projS f(1; 0 ; 0 ; 1)

T g =

1 3 1 3 1 3 1

Question 3 (20 points).

Suppose that S = f(1; 0 ; 1 ; 0)

T ; (2; 1 ; 1 ; 1)

T ; (2; 1 ; 0 ; 0)

T ; (0; 1 ; 0 ; 1)

T g

a. Determine if R

4

= span(S)? Find the matrix of the transfor-

mation CS (v) - coordinate of v 2 R

4

to the coordinate based on the

basis S?

We set up P =

. Using co-factor expansion, we get

det(P ) = 1 > 0. So that S is a basis of R

4

:Then R

4 = span(S)

We know that CS (v) = P

1

S v^ for^ v^2 R

4

: So we need to Önd

P

1 S

:Using determinant method with adjoint matrix, we could get:

P

1 S

So the matrix of transformation in coordinate changing on the

basis A is:

b. T is a linear transformation: T : span(S)! R

3

: Suppose that

T ((1; 0 ; 1 ; 0)

T ) = (1; 0 ; 1)

T ; T ((2; 1 ; 1 ; 1)

T ) = (1; 0 ; 0)

T ;

T ((2; 1 ; 0 ; 0)

T ) = (2; 0 ; 1)

T ; T ((0; 1 ; 0 ; 1)

T ) = (2; 0 ; 4)

T

: If T is an isomor-

phism or not?

(Hint: check if kerT={0})

We see that T (

0 since T is assumed a linear transformation.

However, we see that T ((1; 0 ; 1 ; 0)

T +(2; 1 ; 1 ; 1)

T (2; 1 ; 0 ; 0)

T ) = (1; 0 ; 1)

T

(1; 0 ; 0)

T (2; 0 ; 1)

T

Then T ((1; 0 ; 2 ; 1)

T ) = (0; 0 ; 0) T =

0 = T ((0; 0 ; 0)

T

).So, T is not one-

to-one. Therefore, T is not an isomorphism

Question 4 (20 points).

a. DeÖne P 2 is the space of all polynomial of degree 2. Then

we deÖne CD (p) is the coordinate of polynomial p on the basis D =

f 1 ; 1 + x; 1 + x

2

g: Find general formula for CD (p) based on coe¢ cients

of p?

Suppose that p = a 0 + a 1 x + a 2 x

2

. Then we present p in terms of

the basis D:

p = a 0 +a 1 x + a 2 x

2 = r 0 +r 1 (1 + x) + r 2 (1 + x

2 )! r 2 = a 2 ; r 1 = a 1 ; r 0 = a 0 a 1 a 2

So CD (a 0 + a 1 x + a 2 x

2 ) =

a 0 a 1 a 2

a 1

a 2

b. A linear transformation T : P 2! U where U = spanfEg where

E = (sin(x); sin(x

2

); x; 1).

T (1) = 2;

T (x) = sin(x) if x 6 = 1 ; and

T (x

2 ) = sin(x

2

) + x if x 6 =  1 :

Suppose that x is a variable and x 6 = 0;  1 ;Önd coordinates of

T (p) on the basis E in U, so denoted CE (T (p))? Find the matrix

of transformation that transform CD (p) into CE (T (p))? where D is a

basis in part (a)

T (p) = T (a 0 + a 1 x + a 2 x 2 ) = a 0 T (1) + a 1 T (x) + a 2 T (x 2 ) = 2a 0 + a 1 sin x +

a 2 (sin x 2

  • x) = a 1 sin x + a 2 sin x 2
  • a 2 x + 2a 0

Then we have: CE (T (p)) = (a 1 ; a 2 ; a 2 ; 2 a 0 )

T

We know that the matrix of transformation is [CE (T (1)); CE (T (1 +

x)); CE (T (1 + x 2 ))]

CE (T (1)) = CE (2) = (0; 0 ; 0 ; 2)

T

since 2 = 0  sin x + 0  sin x

2

  • 0  x + 2  1

CE (T (1 + x)) = CE (2 + sin x) = (1; 0 ; 0 ; 2)

T

since 2 + sin x = 1  sin x + 0 

sin x

2

  • 0  x + 2  1

CE (T (1 + x

2 )) = CE (T (1 + x

2 )) = CE (2 + sin x

2

  • x) = (0; 1 ; 1 ; 2)

T

since

2 + sin x

2

  • x = 0  sin x + 1  sin x

2

  • 1  x + 2  1

So that: [CE (T (1)); CE (T (1 + x)); CE (T (1 + x

2 ))] =

We could check:

In (a), we know that CD (a 0 + a 1 x + a 2 x

2 ) =

a 0 a 1 a 2

a 1

a 2

We check:

a 1

a 2

a 2

2 a 0

a 0 a 1 a 2

a 1

a 2

So, the matrix of transformation is: