Docsity

MATH 115A Midterm I Solutions: Linear Independence, Polynomials, Linear Transformations, Exams of Linear Algebra

Toggle sidebar
bg1
MATH 115A PRACTICE MIDTERM I SOLUTIONS
(1) Let v,wand xbe three vectors in a vector space Vover a field F. Show
that {v, w, x}is linearly independent if and only if none of the vectors is in
the span of the other two.
Solution. For the forward direction: Assume {v, w, x}is linearly indepen-
dent. We proceed with indirect proof. Assume that one of the vectors is in
the span of the others. Without loss of generality, suppose vis in the span
of wand x:
v=aw +bx
for scalars aand b. But then v−aw −bx = 0, which contradicts {v, w , x}
being linearly independent.
For the reverse direction: Assume none of the vectors is in the span of
the other two. We proceed with indirect proof. Suppose av +bw +cx = 0
for scalars a, b, c which are not all zero. Without loss of generality, suppose
a6= 0. Then v=−(b/a)w−(c/a)xis in the span of the other two vectors,
contradiction.
(2) Let P3(R) be the space of polynomials of degree no greater than 3 with
coefficients in R. Let Wbe the subspace of P3(R) consisting of polynomials
fwhich satisfy f(1) = 0. Find a basis for Wand carefully prove that it is
one.
Solution. Suppose a0, . . . , a3are scalars. A polynomial f(x) = a0+a1x+
a2x2+a3x3lies in Wif and only if f(1) = a0+a1+a2+a3= 0, or in
other words, a0=−a1−a2−a3. Then
f(x) = a0+a1x+a2x2+a3x3
= (−a1−a2−a3) + a1x+a2x2+a3x3
=a1(x−1) + a2(x2−1) + a3(x3−1)
So any polynomial in Wis in the span of {x−1, x2−1, x3−1}. These
polynomials have different degrees, so they are linearly independent. Thus
{x−1, x2−1, x3−1}is a basis for W.
1
pf3
pf4

Partial preview of the text

Download MATH 115A Midterm I Solutions: Linear Independence, Polynomials, Linear Transformations and more Exams Linear Algebra in PDF only on Docsity!

(1) Let v, w and x be three vectors in a vector space V over a field F. Show that {v, w, x} is linearly independent if and only if none of the vectors is in the span of the other two.

Solution. For the forward direction: Assume {v, w, x} is linearly indepen- dent. We proceed with indirect proof. Assume that one of the vectors is in the span of the others. Without loss of generality, suppose v is in the span of w and x:

v = aw + bx

for scalars a and b. But then v − aw − bx = 0, which contradicts {v, w, x} being linearly independent. For the reverse direction: Assume none of the vectors is in the span of the other two. We proceed with indirect proof. Suppose av + bw + cx = 0 for scalars a, b, c which are not all zero. Without loss of generality, suppose a 6 = 0. Then v = −(b/a)w − (c/a)x is in the span of the other two vectors, contradiction. 

(2) Let P 3 (R) be the space of polynomials of degree no greater than 3 with coefficients in R. Let W be the subspace of P 3 (R) consisting of polynomials f which satisfy f (1) = 0. Find a basis for W and carefully prove that it is one.

Solution. Suppose a 0 ,... , a 3 are scalars. A polynomial f (x) = a 0 + a 1 x + a 2 x^2 + a 3 x^3 lies in W if and only if f (1) = a 0 + a 1 + a 2 + a 3 = 0, or in other words, a 0 = −a 1 − a 2 − a 3. Then

f (x) = a 0 + a 1 x + a 2 x^2 + a 3 x^3 = (−a 1 − a 2 − a 3 ) + a 1 x + a 2 x^2 + a 3 x^3 = a 1 (x − 1) + a 2 (x^2 − 1) + a 3 (x^3 − 1)

So any polynomial in W is in the span of {x − 1 , x^2 − 1 , x^3 − 1 }. These polynomials have different degrees, so they are linearly independent. Thus {x − 1 , x^2 − 1 , x^3 − 1 } is a basis for W.  1

(3) Let V be a vector space and let W 1 and W 2 be two subspaces. Let B 1 and B 2 be bases for W 1 and W 2 , respectively. Assume that no vector in B 1 belongs to B 2 and vice versa. Show that if B 1 ∪ B 2 is linearly independent, then W 1 ∩ W 2 = 0.

Solution. Assume B 1 ∪ B 2 is linearly independent. Suppose v ∈ W 1 ∩ W 2 ; we will show that v must be the zero vector. Since v ∈ V 1 , and B 1 is a basis for V 1 , we may write v = a 1 v 1 + · · · + anvn for scalars ai and vectors vi ∈ B 1. Similarly, we also have v = b 1 w 1 + · · · + bmwm for scalars bi and vectors wi ∈ B 2. Putting together the above two equations gives a 1 v 1 + · · · + anvn − b 1 w 1 − · · · − bmwm = 0. But the vs and ws are linearly independent, implying that all the scalars are zero. This has the consequence that v = 0, as required. 

(4) Let T : V → W be a linear transformation between vector spaces. Let {v 1 ,... , vn} be a linearly independent set of vectors in V. Assume that T is one-to-one. Show that {T (v 1 ),... , T (vn)} is also linearly independent.

Solution. Suppose that a 1 T (v 1 ) + · · · + anT (vn) = 0 for scalars ai. We must show that each ai = 0. Since T is linear, this may be rewritten T (a 1 v 1 + · · · + anvn) = 0 which means that a 1 v 1 + · · · + anvn ∈ N (T ). But T is one-to-one, which means that N (T ) = { 0 }. Thus a 1 v 1 + · · · + anvn = 0. Since the vi are linearly independent, we have each ai = 0 as required. 

(5) Let T : P 2 (R) → R be a linear transformation. Show that there must exist scalars A, B and C so that T follows the rule T (a 0 + a 1 x + a 2 x^2 ) = Aa 0 + Ba 1 + Ca 2.

dim R(T ). Since R(T ) is a subspace of W , we have dim W ≥ dim R(T ) = dim V as claimed. 

(8) Let V be a vector space of finite dimension n. Let {v 1 ,... , vn− 1 } be a set of linearly independent vectors in V. Show that there’s another vector vn ∈ V so that {v 1 ,... , vn} is a basis for V.

Solution. Let L = {v 1 ,... , vn− 1 }. Let G be any generating set for V (for instance, a basis). By the replacement theorem, there’s a subset H of G for which L ∪ H is a basis for V. Since the dimension of V must be the number of elements in L ∪ H, we must have n = (n − 1) + #H. Thus #H = 1 and H has only one vector, say vn. This is the required vector.