Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linear Algebra I - Test 1 with Solutions | 1016 331, Exams of Linear Algebra

Material Type: Exam; Class: 1016 - Linear Algebra I; Subject: Mathematics & Statistics; University: Rochester Institute of Technology; Term: Spring 2009;

Typology: Exams

2009/2010

Uploaded on 03/28/2010

koofers-user-rij
koofers-user-rij šŸ‡ŗšŸ‡ø

10 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1016-331 RIT, 20091 1
Linear Algebra I 1016-331
Test 1 Solution
1. (6p) Let u=



1
āˆ’2
āˆ’1
0




and v=



2
1
āˆ’1
3




. Find proj uv, the projection of von u.
We compute:
proj uv=uĀ·v
uĀ·uu=1Ā·2+(āˆ’2) Ā·1+(āˆ’1) Ā·(āˆ’1) + 0 Ā·3
1Ā·1+(āˆ’2) Ā·(āˆ’2) + (āˆ’1) Ā·(āˆ’1) + 0 Ā·0




1
āˆ’2
āˆ’1
0




=1
6




1
āˆ’2
āˆ’1
0




.
2. (6p) Find the complete solution of the following linear system of equations:
x+ 2y+ 3w= 2
2x+ 4y+ 2z+ 4w= 6
x+ 2y+ 2z+w= 4.
We compute a row echelon form for the augmented matrix of the system:


12032
24246
12214


R2āˆ’2R1,R3āˆ’R1
;

120 32
002āˆ’2 2
002āˆ’2 2


R3āˆ’R2
;


1 2 0 3 2
0 0 2 āˆ’2 2
0 0 0 0 0


We use the free variables yand wto find the pivot variables: z= 1 + wand
x= 2 āˆ’2yāˆ’3w. So the complete solution is




x
y
z
w




=



2
0
1
0




+y



āˆ’2
1
0
0




+w



āˆ’3
0
1
1




.
pf3
pf4
pf5

Partial preview of the text

Download Linear Algebra I - Test 1 with Solutions | 1016 331 and more Exams Linear Algebra in PDF only on Docsity!

Linear Algebra I 1016-

Test 1 Solution

  1. (6p) Let u =

 and^ v^ =

. Find proj^ uv, the projection of^ v^ on^ u.

We compute:

proj (^) uv =

u Ā· v u Ā· u

u =

 =^

  1. (6p) Find the complete solution of the following linear system of equations:

x + 2y + 3w = 2 2 x + 4y + 2z + 4w = 6 x + 2y + 2z + w = 4.

We compute a row echelon form for the augmented matrix of the system: 



 R^2 āˆ’^2 R ;^1 ,R^3 āˆ’R^1

 R^3 ;āˆ’R^2

We use the free variables y and w to find the pivot variables: z = 1 + w and x = 2 āˆ’ 2 y āˆ’ 3 w. So the complete solution is

   

x y z w

 +^ y

 +^ w

  1. (6p) Suppose that u, v ∈ Rn^ and ||u|| = 1, ||u + 3 v|| = 4, and ||v|| =
  1. Find the angle between u and v.

First, we compute u Ā· v:

16 = (u + 3v) Ā· (u + 3v) = u Ā· u + 6u Ā· v + 9v Ā· v = 1 + 6u Ā· v + 18,

so u Ā· v = āˆ’ 1 /2. This implies that

cos Īø =

u Ā· v ||u||||v||

The angle we are looking for is Īø = arccos(āˆ’ 1 /

  1. (6p) What is the rank of the following matrix?

A =

Use Gauss elimination to create a row echelon form:

A =

R2+R 1 ,R 3 āˆ’ 2 R 1 ,R 4 āˆ’ 3 R 1 ;

R3+R 2 ,R4+7R 2 / 4 ;

As we can see, the rank is 2.

  1. (6p) Are the following vectors linearly independent? Explain.    

This shows that if a āˆ’ 2 b + c 6 = 0, then we have a pivot in the last column, and then the system is inconsistent, so for these vectors in R^3 there is no solution x, y, z, w meaning that these vectors are not in the span of the listed ones (this happens for

example for the vector

). The answer is no.

  1. (6p) Solve the system of equations (a is some real number).

ax + y + z = 1 x + ay + z = 1 x + y + az = 1

For what values of a does the system fail to have solutions, and for what values of a are there infinitely many solutions?

Consider the augmented matrix of the system and create a row echelon form: 



a 1 1 1 1 a 1 1 1 1 1 a

 R^1 ;↔R^3

1 1 a 1 1 a 1 1 a 1 1 1

 R^2 āˆ’R^1 ;,R^3 āˆ’aR^1

1 1 a 1 0 a āˆ’ 1 1 āˆ’ a 0 0 1 āˆ’ a 1 āˆ’ a^2 1 āˆ’ a

 R3+ ;R^2

1 1 a 1 0 a āˆ’ 1 1 āˆ’ a 0 0 0 2 āˆ’ a āˆ’ a^2 1 āˆ’ a

From here we can see immediately that if a = 1 , then this matrix turns into 



which shows the system will have infinitely many solutions in this case, in the form 



x y z

 (^) + y

 (^) + z

Now if a 6 = 1, then we can divide the second and third row by 1 āˆ’ a and we obtain the row echelon form (^) 



1 1 a 1 0 āˆ’ 1 1 0 0 0 2 + a 1

This will show that if a = āˆ’2 , then we have no solutions , and if a 6 = āˆ’ 2 (and of

course a 6 = 1), then we have the unique solution

 

x y z

1 /(a + 2) 1 /(a + 2) 1 /(a + 2)

  1. (6p) Show that for any collection a 1 , a 2 ,... , an of real numbers

a 1 + a 2 +... + an n

a^21 + a^22 +... + a^2 n n

When are the two sides equal?

Use the Cauchy-Schwarz inequality for the vectors

u =

a 1 a 2 .. . an

and v =

1 /n 1 /n .. . 1 /n

The two sides are equal when a 1 = a 2 = a 3 =... = an ≄ 0.

  1. (6p) Suppose that u, v and w are linearly independent vectors. For what values of k (a real number) are the vectors v āˆ’ u, k w āˆ’ v and u āˆ’ w linearly independent?

Suppose that c 1 (v āˆ’ u) + c 2 (kw āˆ’ v) + c 3 (u āˆ’ w) = 0.

This means that

(c 1 āˆ’ c 2 )v + (c 3 āˆ’ c 1 )u + (kc 2 āˆ’ c 3 )w = 0.

We know that u, v and w are linearly independent, so this means that

c 1 āˆ’ c 2 = 0 āˆ’c 1 + c 3 = 0 kc 2 āˆ’ c 3 = 0.