17-18 Sem2 Midterm2
17-18 Sem2 Midterm2
Section: D/E/F
• There are 4 pages (including this page). Please check the number of pages.
• There are 8 questions. You have to answer all the questions. The total score is 90.
• Time allowed: 120 mins.
• Please show your steps unless otherwise stated.
• No calculators allowed.
• You can use any results from the lectures (Lecture 1 to Lecture 13), notes and
sections of the textbook we covered. For other results, please give detailed ex-
planations. In particular, you cannot use the theory of determinants or
inverses of matrix
• Good luck.
1
1. (12 pts) Let
0 1 1
1 1 1
S = u1 = , u2 = , u3 = .
2 2 3
−1 −1 0
(a) Find real numbers α1 , α2 , α3 , α4 such that
v1
v2
v=
v3
v4
0 1 1 v1 1 0 0 v2 − v1
1 1 1 v2
(4pts) −→ 0 1 0 v1 + 2v2 − v3
[A|v] = (4pts)
2 2 3 v3 0 0 1 −2v2 + v3
−1 −1 0 v4 0 0 0 3v2 − v3 + v4
LS(A, v) is consistent if and only if the last column is not a pivot column.
Therefore 3v2 − v3 + v4 = 0. (2 pts)
0
0 4
0, then 3v2 − v3 + v4 6= 0. Therefore v in R but not in hSi and
(b) Let v =
1
6 R4 . (2 pts)
hence hSi =
2. (13 pts) Let
1 2 0 2 −1 1
2 4 1 7 −2 1
A=
−3 −6 0 −6 4 −3
4 8 −2 2 1 6
For this question, no steps are required.
2
(a) Let B be the RREF of A, find B. Hint: [B]14 = 2, [B]26 = −1.
(b) From the previous part, find a linearly independent set S, such that hSi =
N (A).
(c) Determine which of the following vectors
0 0
2 1
1 1
u = ,v = .
−1 −1
0 0
−2 1
3
(Remark: correct yes/no (1+1 pts) and correct combination (3 pts); but each
minor mistake (-1 pts).)
(d) The solution set is given by x + N (A).
1 −2 −2 −1
1 1 0 0
0 0 −3 1
x + N (A) = + α + β + γ α, β, γ ∈ R
0 0 1 0
1 0 0 0
0 0 0 1
(Remark: correct answer (2 pts); but each minor mistakes (-1 pts).)
3. (10 pts) Let a be a fixed real number.
1 2 a 3
1 0 0 −1
v1 = 0 , v2 = 1 , v3 = 0 , v4 = 2
0 0 1 3
Answer.
(a) Let α1 v1 + α2 v2 + α3 v3 = 0. That is,
α1 2α2 aα3 0
α1 0 0 0
+
0 α2 + 0 = 0 .
0 0 α3 0
4
From the 2nd, 3rd and 4th entries, we obtain:
α1 = α4
α2 = −2α4
α3 = −3α4 .
Consider the first entry together with the above substitution, we have
α4 − 4α4 − 3aα4 + 3α4 = 0.
Which is just
aα4 = 0.
If α4 = 0, the above implies that αi = 0 for all i, which contradicts the
assumption. Therefore we have a = 0. (4 pts)
Remark : Marks will be deducted if one assumes α4 = 1 without detail expla-
nation.
(c) If a is different from 0, {v1 , v2 , v3 , v4 } is linearly independent. Therefore
[v1 |v2 |v3 |v4 ] is nonsingular. Since each vi is in R4 , and {v1 , v2 , v3 , v4 } contain-
ing exactly 4 vectors is linearly independent, h{v1 , v2 , v3 , v4 }i = R4 .(2 pts)
Remark : 1 mark for nonsingular or any equivalent correct answers, 1 mark for
the span.
4. (14 pts) Determine which of the following subsets are subspaces of R4 :
x
1
x2
(a) W1 = ∈ R4 x1 + x2 = x3 + x4 and x1 − x2 = x3 − x4 ;
x3
x
4
x
1
x2
4
(b) W2 =
x 3 ∈R x1 + x2 = x3 + x4 or x1 − x2 = x3 − x4 .
x
4
Justify your answers (give a proof when it is a subspace, and a concrete numerical
counterexample when it is not).
Answer.
(a) Note that 0 + 0 = 0 + 0 and 0 − 0 = 0 − 0. Thus,
0
0
∈ W1
0
0
5
and hence W1 is non-empty. (1 pts)
6
Then
Thus,
αu1
αu2
αu3 ∈ W1 .
αu =
αu4
7
if and only if
α1 Bi1 + α2 Bi2 + · · · + αk Bik = Bj .
Suppose that the matrices
2 a e 2 4 1 2 0 h 0
b 2 3 f 1 0 0 1 −1 0
A= 2 c
and B =
g 0 0 0 0 0 0 1
d 6 7 5 9 0 0 0 0 0
6. (13 pts) Let S = {v1 , v2 , v3 , v4 } be a subset of Rm . Suppose
v1 + 3v3 − v4 = 0.
8
(a)
v1 + 3v3 − v4 = 0
is equivalent to
v1 = −3v3 + v4 .
Consider
α1 v1 + α2 v2 + α3 v3 + α4 v4
= α1 (−3v3 + v4 ) + α2 v2 + α3 v3 + α4 v4
= α2 v2 + (α3 − 3α1 )v3 + (α1 + α4 )v4 .
Let v ∈ hSi.
v = α1 v1 + α2 v2 + α3 v3 + α4 v4 ,
for some αi ∈ R, 1 ≤ i ≤ 4. From the above, v can be expressed as
linear combination of v2 , v3 , v4 . Therefore v ∈ h{v2 , v3 , v4 }i, and we have
hSi ⊂ h{v2 , v3 , v4 }i.
9
and (α1 , α2 , α3 , α4 ) 6= (β1 , β2 , β3 , β4 ). Show that S is linearly dependent.
Answer.
v = α1 u1 + α2 u2 + α3 u3 + α4 u4
v = β1 u1 + β2 u2 + β3 u3 + β4 u4
• Given the above two distinct linear combinations, we can subtract them to get
the following.
(α1 − β1 )u1 + (α2 − β2 )u2 + (α3 − β3 )u3 + (α4 − β4 )u4 = 0
• Since (α1 , α2 , α3 , α4 ) and (β1 , β2 , β3 , β4 ) are distinct, (αi − βi )’s are not all zero.
More precisely, there exists some index 1 ≤ k ≤ 4 such that (αk − βk ) 6= 0.
Hence, {u1 , u2 , u3 , u4 } is linearly dependent.
(Remark: correct rearrangment and argument (3+3 pts); but with minor
mistakes (-1 pts), such as missing ideas like ‘not all zero’, ‘exist some’, etc; or,
picking v = 0 (-6 pts).)
8. (12 pts) Let n be an integer ≥ 2. Let S = {u1 , u2 , u3 , . . . , un } be a subset of
distinct nonzero vectors in Rm with a nontrivial relation of linear dependence
α1 u1 + α2 u2 + · · · + αn un = 0,
where αi , i = 1, . . . , n are real numbers.
Consider the following three properties:
Property A There exist n − 1 distinct vectors of S that are linearly independent.
Property B Any n − 1 distinct vectors of S are linearly independent.
Property C Suppose that
β1 u1 + β2 u2 + · · · + βn un = 0,
where βi , i = 1, . . . , n, are real numbers. Then there exists a real number t such
that
βi = tαi
for i = 1, . . . , n.
(a) Show that if Property C is true, then Property A is true.
(b) Let n = 3, m = 4. Find an explicit numerical example to show that even if
Property C is true, Property B may not be true.
Answer.
(a) Prove by contradiction, suppose Property A is incorrect. That is any n − 1
vectors in S is linearly dependent.
10
Next because
α1 u1 + α2 u2 + · · · + αn un = 0,
is a nontrivial relation. There exists i such that αi 6= 0. (2pts) Then we have
nontrivial relation:
β1 u1 + · · · βi−1 ui−1 + βi+1 ui+1 βn un = 0 (1)
Set βi = 0, we have
β1 u1 + · · · βi−1 ui−1 + βi ui βi+1 ui+1 βn un = 0
1 0 0
0 1 2
(b) Set u1 = 0 , u2 = 0 , u3 = 0 and A = [u1 |u2 |u3 ] (2pts). The
0 0 0
* +
0
solotion set of Ax = 0 is 2 , thus Property C is satisfied. (2pts) However,
1
{u2 , u3 } are linearly dependent, Property B is not true. (2pts)
11