Docsity

Solutions - Linear Algebra and Multivariable Calculus - First Midterm Solved Exam, Exams of Linear Algebra

Toggle sidebar
bg1
MATH 51 MIDTERM 1 SOLUTIONS
1. Find all solutions of the following system:
x1+x2+x4=7
x1+x2+x3+x4=10
x1+x3+x4=9
Solution. The augmented matrix for this system is
1101
1111
1011
7
10
9
Its reduced row echelon form is
1001
0100
0010
6
1
3
so the reduced form of the system is
x1+x4=6
x2=1
x3=3
Solving for the pivot variables x1,x
2,x
3we find
x=
x1
x2
x3
x4
=
6−x4
1
3
x4
=
6
1
3
0
+x4
−1
0
0
1
2. Let Lbe the intersection of the two planes
x+2y+3z=10 and 4x+5y+6z=28.
Find a parametric equation for L.
Solution. The augmented matrix for this system of equations is
123
456
10
28
Its reduced row echelon form is
10−1
01 2
2
4
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Solutions - Linear Algebra and Multivariable Calculus - First Midterm Solved Exam and more Exams Linear Algebra in PDF only on Docsity!

MATH 51 MIDTERM 1 SOLUTIONS

  1. Find all solutions of the following system:

x 1 + x 2 + x 4 = 7

x 1 + x 2 + x 3 + x 4 = 10

x 1 + x 3 + x 4 = 9

Solution. The augmented matrix for this system is

Its reduced row echelon form is

so the reduced form of the system is

x 1 + x 4 = 6

x 2 = 1

x 3 = 3

Solving for the pivot variables x 1 , x 2 , x 3 we find

x =

x 1

x 2

x 3

x 4

6 − x 4

x 4

  • x 4
  1. Let L be the intersection of the two planes

x + 2y + 3z = 10 and 4 x + 5y + 6z = 28.

Find a parametric equation for L.

Solution. The augmented matrix for this system of equations is

[

]

Its reduced row echelon form is

[ 1 0 − 1

]

so the system reduces to

x − z = 2

y + 2 z = 4

Solving for the pivot variables x and y gives

x

y

z

2 + z

4 − 2 z

z

 (^) + z

  1. (a) Suppose u and v are vectors in R

n such that u + v and u − v are orthogonal (i.e.,

perpendicular) to each other. Show that ‖u‖ = ‖v‖.

Solution. Two vectors are orthogonal if and only if their dot product is zero. So

(u + v) · (u − v) = 0

The left hand side expands to

u · u − u · v + v · u − v · v = u · u − v · v

= ‖u‖

2 − ‖v‖

2

Thus ‖u‖

2 = ‖v‖

2 , so ‖u‖ = ‖v‖.

(b) Suppose u, v, and w are unit vectors in R

n

. (Recall that a unit vector is a vector

whose length is 1.) Suppose each vector is orthogonal (i.e., perpendicular) to each

of the other two. Show that the two vectors

u − 3 v + 2w and u + v + w

are orthogonal to each other.

Solution. Since u, v and w are unit vectors, their lengths (and hence their lengths

squared) are all equal to 1. So u · u = v · v = w · w = 1. Since each vector is

perpendicular to the others, u·v = v·u = 0, u·w = w·u = 0 and v·w = w·v = 0.

So the dot product of the two vectors given is

(u − 3 v + 2w) · (u + v + w) = u · u + u · v + u · w

− 3 v · u − 3 v · v − 3 v · w

  • 2w · u + 2w · v + 2w · w

so they are orthogonal.

  1. Consider the points A = (1, 1 , 1), B = (1, 3 , 1) and C = (1, 1 , 4) in R

3 .

(a) Find the cosine of the angle at B of the triangle ABC.

Solution. The vector from B to A is

u =

The reduced row echelon form of A is

so the system reduces to

c 1 = 0

c 2 = 0

c 3 = 0

Thus only the trivial combination of u, v and w equals the zero vector, so these vectors

are linearly independent.

  1. Let

A =

What condition(s) must b satisfy to be in the column space of A? (Your answer should

be one or more equations of the form? b 1 +? b 2 +? b 3 +? b 4 = ?.)

Solution. The augmented matrix for the system Ax = b is

b 1

b 2

b 3

b 4

Putting the left hand side of the matrix in reduced row echelon form, we get

b 1

b 2

b 3 − b 1

b 4 − 2 b 1

b 1 − 2 b 2

b 2

b 3 − b 1 − b 2

b 4 − 2 b 1 + 2b 2

For a solution to exist, the terms on the right in the last two rows must equal zero. So

b mus satisfy

−b 1 − b 2 + b 3 = 0

− 2 b 1 + 2 b 2 + b 4 = 0

to be in the column space of A.

  1. (a) Suppose u is a vector in R

4

. Let V be the set of all vectors in R

4 which are

orthogonal (i.e. perpendicular) to u. That is,

V = {x ∈ R

4 | x · u = 0 }.

Show that V is a subspace of R

4 .

Solution. Since 0 · u = 0, 0 is in V , so V is nonempty. Now we need to verify the

two subspace properties.

  1. Let x, y be vectors in V. Then x · u = 0 and y · u = 0. So

(x + y) · u = x · u + y · u = 0 + 0 = 0

which means x + y is in V. So V is closed under addition.

  1. Let x be a vector in V and c any scalar. Since x · u = 0,

(cx) · u = c(x · u) = c0 = 0

so cx is in V. Thus V is closed under scalar multiplication.

(b) Suppose the vector u in part (a) is

u =

Find a basis for V.

Solution. A vector

x =

x 1

x 2

x 3

x 4

is in V if x · u = 0. That is,

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

This system of one equation is in reduced row echelon form. Solving for the pivot

variable x 1 we get

x =

x 1

x 2

x 3

x 4

− 2 x 2 − 3 x 3 − 4 x 4

x 2

x 3

x 4

= x 2

  • x 3
  • x 4

So 

is a basis for V.

(c) What is the dimension of the subspace V in part (b)?

Solution. The basis for V found in part (b) had 3 elements, so the dimension of

V is 3.

(c) If v =

then Av =

. (You do not need to check this.)

Find all solutions of

Ax =

Solution. Since the vector v is one solution, every solution takes the form v + xn

where xn is in N(A). Thus the solutions are

  • c 1
  • c 2

where c 1 and c 2 are arbitrary real numbers.

  1. Let

x =

 (^) y =

 A =

[

]

B =

Compute each the following, if possible.

(a) 3x + 2y

Solution.

(b) x · y

Solution. 1(2) + 2(−1) + 3(4) = 12

(c) A(x + y)

Solution.

[

]

[

]

[

]

(d) y + Ax Since

Ax =

[

]

[

]

[

]

y + Ax =

[

]

is undefined.

(e) B(Ax)

Solution. First, as in part (d),

Ax =

[

]

so

B(Ax) =

[

]

Note: This question did not involve matrix multiplication!

  1. Circle T or F to mark each of the following true or false.

(a) If v · w < 0 then the angle between v and w is less than 90

◦

. T F

(b) The dot product of two vectors in R

3 is a vector in R

3

. T F

(c) Any three vectors in R

3 span R

3

. T F

(d) The columns of a matrix are linearly independent if and only if its rank

equals the number of columns.

T F

(e) For all matrices A, the column space of A equals the column space of

the reduced row echelon form of A.

T F

(f) For all matrices A, the null space of A equals the null space of the reduced

row echelon form of A.

T F

(g) If V = span(v 1 , v 2 ,... , vk), then dim(V ) ≤ k. T F

(h) If v 1 , v 2 ,... , vk are linearly independent vectors in V , then dim(V ) ≥ k. T F

(i) A system of three equations in four unknowns cannot have a unique

solution.

T F

(j) A system of four equations in three unknowns cannot have more than

one solution.

T F