Uc Davis MAT67 Spring24 PracticeFirstMidterm2 Solutions
Uc Davis MAT67 Spring24 PracticeFirstMidterm2 Solutions
This examination document contains 9 pages, including this cover page, and 4 problems.
You must verify whether there any pages missing, in which case you should let the instruc-
tor know. Fill in all the requested information on the top of this page, and put your initials
on the top of every page, in case the pages become separated.
You may not use your books, notes, or any calculator on this exam.
You are required to show your work on each problem on this exam. The following rules apply:
There is no a1 solving this equality, since we would have 3a1 +1 = 6 and 2a1 +1 = −5,
a contraction. Therefore v3 ̸∈ span(v1 , v2 ).
Solution. There are (infinitely) many choices. For instance, we can take w1 =
(0, 1, 0) and w2 = (0, 0, 1), the coordinate basis.
Practice Midterm Examination 2 - Page 4 of 9 April 26 2024
2. (25 points) Consider the vector space V = R[x] and the vectors
(a) (10 points) Show that the subset U = {p(x) ∈ R[x] : p(2) = 0} is a vector subspace.
Alternatively, one can check closed under sums and scalar multiplication. For in-
stance, for closed under sums, take p, q ∈ U so that p(2) = 0 and q(2) = 0. We
want to show that p + q ∈ U . This is true because (p + q)(2) = p(2) + p(q) = 0.
a1 p1 (2) + a2 p2 (2) = 0.
a1 (1 − 22 + 3 · 25 ) + a2 (2 + 23 ) = 0, i.e.
93a1 + 10a2 = 0.
Choose any a1 , a2 with a2 = −9.3a1 , e.g. a1 = 10 and a2 = −93. Then we have
10p1 − 93p2 ∈ U and, by construction, also in span(p1 , p2 ).
Uf := {v ∈ V : f (v) = 0}
is a vector subspace.
f (a · v1 ) = a · f (v1 ) = 0, ∀v1 ∈ Uf .
Therefore Uf ⊆ V is a subspace, as it is closed under sum and scalar multiplication.
Solution. No. For instance, it does not contain a zero vector. It is also not closed
under sums, nor closed under scalar multiplication.
Practice Midterm Examination 2 - Page 7 of 9 April 26 2024
(c) (5 points) Consider the vector w = (1, −1, −2) ∈ R3 . Show that w ∈ Uf .
and so w ∈ Uf .
U2 := span(v1 , v2 , v3 ),
where v1 = (1, 0, −1, 0, 1), v2 = (4, 1, 0, 1, 1) and v3 = (0, 0, 1, 1, 0).
(a) (10 points) Show that {v2 , v1 + 35 v3 } is a basis for the subspace U1 ∩ U2 ⊆ V .
Solution. We need to argue that {v2 , v1 + 53 v3 } are linearly independent first. This
is clear, as v2 is not a multiple of v1 + 35 v3 . Now we need to show span(v2 , v1 + 35 v3 ) =
U1 ∩ U2 .
1 − 0 + 3 · 0 − 6 · 1 ̸= 0,
so v1 ̸∈ U1 .
1
It is cut out by one non-zero equation in 5-variables.