Docsity

Test 1 Solution, Exams of Linear Algebra

Toggle sidebar
bg1
Test 1 Solution
Math 2030
Thursday May 29
Name:
BannerID:
Question 1. For each of the following statements, state whether they are true or false.
(1) Two row equivalent matrices can have different ranks. false
Reason: Row equivalent matrices have the same REF and hence the same rank.
(2) A consistent system of linear equations must have a free variable. false
Reason: If there are no free variables then the system can still be consistent; it
will have a unique solution.
(3) The dot product v·vof a vector v∈Rnwith itself is always
greater than or equal to zero. true
Reason: v·v=v2
1+v2
2+···v2
nand these are all squares and hence their sum
is greater than or equal to zero.
(4) A consistent linear system of 2 equations in 3 variables can have
a unique solution. false
Reason: There are only two rows in the REF, so it there can be at most two
pivot columns. Thus one column remains that always contributes a free variable
and infinitely many solutions.
(5) If vis orthogonal to uand uis orthogonal to wthen vis orthogonal to w. false
Reason: Take v=wthen both vand ware orthogonal to ubut they are
parallel to each other.
(6) The expression x+ (y·z) makes sense if x,y
and zare vectors and y·zis a dot product. false
Reason: y·zis a scalar and cannot be added to the vector x.
(7) The vector (2,2,−1) is a solution to the following system of equations
x1+ 3x2+x3= 7
2x1+x2+x3= 1.
false
Though (2,2,−1) satisfies the first equation, it does not statisfy the second.
Thus, it is not a solution to the system.
(8) The matrix
21002
13403
01011
is in row echelon form. false
Reason: The pivot of the second row is directly below the pivot of the first. For
this to be REF, it must be to the the right.
(9) The column space of a matrix is the span of its columns. true
Reason: This is the defintion of the column space.
(10) The matrix
11042
00133
00000
is in reduced row echelon form. true
Reason: The zero row are at the bottom, the leading entries are 1’s, above the
pf3
pf4
pf5

Partial preview of the text

Download Test 1 Solution and more Exams Linear Algebra in PDF only on Docsity!

Test 1 Solution

Math 2030 Thursday May 29

Name: BannerID:

Question 1. For each of the following statements, state whether they are true or false.

(1) Two row equivalent matrices can have different ranks. false Reason: Row equivalent matrices have the same REF and hence the same rank. (2) A consistent system of linear equations must have a free variable. false Reason: If there are no free variables then the system can still be consistent; it will have a unique solution. (3) The dot product v · v of a vector v ∈ Rn^ with itself is always greater than or equal to zero. true Reason: v · v = v 12 + v^22 + · · · v n^2 and these are all squares and hence their sum is greater than or equal to zero. (4) A consistent linear system of 2 equations in 3 variables can have a unique solution. false Reason: There are only two rows in the REF, so it there can be at most two pivot columns. Thus one column remains that always contributes a free variable and infinitely many solutions. (5) If v is orthogonal to u and u is orthogonal to w then v is orthogonal to w. false Reason: Take v = w then both v and w are orthogonal to u but they are parallel to each other. (6) The expression x + (y · z) makes sense if x, y and z are vectors and y · z is a dot product. false Reason: y · z is a scalar and cannot be added to the vector x. (7) The vector (2, 2 , −1) is a solution to the following system of equations x 1 + 3x 2 + x 3 = 7 2 x 1 + x 2 + x 3 = 1.

false Though (2, 2 , −1) satisfies the first equation, it does not statisfy the second. Thus, it is not a solution to the system.

(8) The matrix

 (^) is in row echelon form. false

Reason: The pivot of the second row is directly below the pivot of the first. For this to be REF, it must be to the the right. (9) The column space of a matrix is the span of its columns. true Reason: This is the defintion of the column space.

(10) The matrix

 (^) is in reduced row echelon form. true

Reason: The zero row are at the bottom, the leading entries are 1’s, above the

leading entries are all zeros, and the leading entries of row two is to the right of the leading entry of row one.

Question 2. Write the vectors x, y and z as linear combinations of a and b.

a b

x

z y

x = 3a + 2b y = 4a + − 2 b z = −(1/2)a + (3/2)b

Question 3. Solve the following system of equations using Gaussian elimination. Is this system of equations consistent with a unique solution, consistent with infinitely many solutions, or inconsistent?

x 1 − x 2 + x 3 = 0 2 x 1 − 2 x 2 + x 3 + 2 x 4 = 1 x 2 + x 3 = 0 4 x 2 + 3 x 3 + 2 x 4 = 2

− 2 R 1 +R 2 −→

R 2 ↔R 3 −→

− 4 −→R 2 +R 4

− 1 −→R 3 +R 4

As the last equation reads 0 = 1, the system is inconsistent (and has no solutions).

For s = 0 and t = 1 we get

C =

These points are on P. (2) Find two vectors that run parallel to P. To find vectors running parallel to P we can take vectors between two points on P. In particular

u =

AB = B − A =

and

v =

AC = C − A =

It’s no coincidence that these correspond to the direction vectors in the definition of P. (3) Find a normal to P. The formula for cross product is,  

u 1 u 2 u 3

 ×

v 1 v 2 v 3

u 2 v 3 − u 3 v 2 u 3 v 1 − u 1 v 3 u 1 v 2 − u 2 v 1

n = u × v =

 ×

(4) Write the generic equation of P. The generic equation of P is an expression of the form ax + by + cz = d where n = (a, b, c). Thus the equation is −x − y + z = d for some constant d. Substituting in point A on P gives − 1 − 0 + 2 = d and hence d = 1. The full generic equation is thus, −x − y + z = 1. It is easy to verify that A, B and C all satisfy this equation.

Question 6.

(1) Define the norm of a vector x = (x 1 , x 2 ,... , xn) ∈ Rn.

‖x‖ =

x · x =

x^21 + x^22 + · · · + x^2 n

(2) Let x, y ∈ Rn^ be vectors with ‖x‖ = 4 and ‖y‖ = 3. Use the triangle inequality and properties of norms to show that the norm of x + ty is less than 10 if − 2 < t < 2. (Hint: you will not need the coordinates of x or y)

As − 2 < t < 2 we know |t| < 2. ‖x + ty‖ ≤ ‖x‖ + ‖ty‖ by triangle inequality = ‖x‖ + |t|‖y‖ by properties of the norm = 4 + |t| 3 < 4 + 2 · 3 = 10 Thus ‖x + ty‖ < 10. (3) Given x = (x 1 , x 2 ), y = (y 1 , y 2 ), and z = (z 1 , z 2 ) in R^2 , prove that z · (x + y) = (z · x) + (z · y).

z · (x + y) = (z 1 , z 2 ) · ((x 1 , x 2 ) + (y 1 , y 2 )) = (z 1 , z 2 ) · (x 1 + y 1 , x 2 + y 2 ) = z 1 (x 1 + y 1 ) + z 2 (x 2 + y 2 ) = z 1 x 1 + z 1 y 1 + z 2 x 2 + z 2 y 2 = z 1 x 1 + z 2 x 2 + z 1 y 1 + z 2 y 2 = (z 1 , z 2 ) · (x 1 , x 2 ) + (z 1 , z 2 ) · (y 1 , y 2 ) = (z · x) + (z · y)

Question 7. Define v 1 , v 2 , and v 3 as follows;

v 1 =

 (^) , v 2 =

 (^) , v 3 =

(1) Show that {v 1 , v 2 , v 3 } is linearly dependent.  

 −R −→^1 +R^2

 2 R −→^1 +R^3

The REF of this system has a free variable (and is consistent) showing that there will be an infinite number of solutions. Thus the vectors v 1 , v 2 , v 3 are linearly dependent as any solution to the above system, other than the trivial solution, gives coefficents x 1 , x 2 , x 3 with x 1 v 1 + x 2 v 2 + x 3 v 3 = 0. (2) What is an explicit non-trivial linear combination of v 1 , v 2 , v 3 that gives the zero vector? To do this, we find solutions to the above. Let x 3 = t. Then x 2 = −t and 3 x 1 = x 2 − 2 x 3 = − 3 t. Thus x 1 = −t. Picking any t (other than zero) gives coefficients of the linear combination we’re looking for. If we pick t = 1 then x 1 = − 1 , x 2 = −1 and x 3 = 1. We see that

x 1 v 1 + x 2 v 2 + x 3 v 3 = −