MA 432 • Exam 2
Solution Manual
Mock Exam 2 Solution Manual
MA 432 • Spring 2026 • Version 1
Final answers at a glance
• 1. det(A) = −2.
• 2. (a) The set is a subspace.
(b) The set is not a subspace.
• 3. (a) 1 + x = 51 p1 + 51 p2 + 25 p3 .
(b) 1 + x + x2 = 53 p1 − 25 p2 + 15 p3 .
• 4. W (f1 , f2 , f3 )(x) = 2e3x ̸= 0, so the functions are linearly independent.
• 5. {x2 + 1, x2 − 1, 2x − 1} is linearly independent; since dim P2 = 3, it is a basis for P2 .
Problem 1
20 points
Evaluate the determinant of
1
3 1 5 3
−2 −7 0 −4 2
0 1 0 1 .
A= 0
0
0 2 1 1
0
0 0 1 1
Use determinant-preserving row replacements:
R2 ← R2 + 2R1 ,
R4 ← R4 − 2R3 ,
R5 ← R5 − R4 .
This gives
1 3 1 5 3
0 −1 2 6 8
0 0 1 0 1 .
0 0 0 1 −1
0 0 0 0 2
Because all three operations are of the form Ri ← Ri + kRj , the determinant does not change. The
resulting matrix is upper triangular, so its determinant is the product of its diagonal entries:
det(A) = 1 · (−1) · 1 · 1 · 2 = −2.
Answer: det(A) = −2 .
Page 1 of 5
MA 432 • Exam 2
Solution Manual
Problem 2
20 points
Use the subspace test to determine which sets are subspaces of F (−∞, ∞).
(a) S = {f ∈ F (−∞, ∞) : f (0) = 0}
To be a subspace, S must contain the zero function and be closed under addition and scalar
multiplication.
• The zero function belongs to S because 0(0) = 0.
• If f, g ∈ S, then f (0) = 0 and g(0) = 0, so
(f + g)(0) = f (0) + g(0) = 0 + 0 = 0.
Hence f + g ∈ S.
• If c ∈ R and f ∈ S, then
(cf )(0) = c f (0) = c · 0 = 0.
Hence cf ∈ S.
Therefore, S is a subspace of F (−∞, ∞).
(b) T = {f ∈ F (−∞, ∞) : f (0) = 1}
The zero function is not in T because 0(0) = 0 ̸= 1. Therefore T fails the first part of the subspace
test, so T is not a subspace. (It also fails closure under scalar multiplication: if f ∈ T , then
(2f )(0) = 2 ̸= 1.)
Answer: (a) subspace
(b) not a subspace.
Problem 3
20 points
Let
p1 = 2 + x + x2 ,
p2 = 1 − x2 ,
p3 = 1 + 2x.
To determine whether a polynomial is in span{p1 , p2 , p3 }, write
ap1 + bp2 + cp3 = (2a + b + c) + (a + 2c)x + (a − b)x2 .
Then match coefficients.
(a) Is 1 + x in the span?
Set
(2a + b + c) + (a + 2c)x + (a − b)x2 = 1 + x.
Matching coefficients gives
2a + b + c = 1,
a + 2c = 1,
a − b = 0.
Page 2 of 5
MA 432 • Exam 2
Solution Manual
From a − b = 0, we get b = a. Substituting into the first equation gives 3a + c = 1. Together with
a + 2c = 1, solving yields
1
1
2
a= ,
b= ,
c= .
5
5
5
So
1
1
2
1 + x = p1 + p2 + p3 .
5
5
5
Hence 1 + x is in the span.
(b) Is 1 + x + x2 in the span?
Set
(2a + b + c) + (a + 2c)x + (a − b)x2 = 1 + x + x2 .
Matching coefficients gives
2a + b + c = 1,
a + 2c = 1,
a − b = 1.
From a − b = 1, we get b = a − 1. Solving the system gives
2
b=− ,
5
3
a= ,
5
1
c= .
5
Therefore
3
2
1
1 + x + x2 = p1 − p2 + p3 .
5
5
5
So 1 + x + x2 is also in the span.
Answer:
1
1
2
1 + x = p1 + p2 + p3
5
5
5
and
2
1
3
1 + x + x2 = p 1 − p 2 + p 3 .
5
5
5
Problem 4
20 points
Use the Wronskian to show that
f1 (x) = ex ,
f2 (x) = xex ,
f3 (x) = x2 ex
are linearly independent in C ∞ (−∞, ∞).
First compute the derivatives:
f1′ (x) = ex ,
f2′ (x) = (x + 1)ex ,
f3′ (x) = (x2 + 2x)ex ,
f1′′ (x) = ex ,
f2′′ (x) = (x + 2)ex ,
f3′′ (x) = (x2 + 4x + 2)ex .
Thus the Wronskian is
ex
xex
x2 ex
x
x
2
(x + 2x)ex .
W (f1 , f2 , f3 )(x) = e (x + 1)e
ex (x + 2)ex (x2 + 4x + 2)ex
Page 3 of 5
MA 432 • Exam 2
Solution Manual
Factor out ex from each row:
3x
W (f1 , f2 , f3 )(x) = e
1
x
x2
2
1 x+1
x + 2x .
1 x + 2 x2 + 4x + 2
Now do row operations inside the determinant:
R2 ← R2 − R1 ,
R3 ← R3 − R1 .
Then
3x
W (f1 , f2 , f3 )(x) = e
1 x
x2
0 1
2x .
0 2 4x + 2
Expand along the first column:
W (f1 , f2 , f3 )(x) = e3x
1
2x
= e3x (4x + 2) − 4x = 2e3x .
2 4x + 2
Since 2e3x ̸= 0 for every x ∈ (−∞, ∞), the Wronskian is never zero. Therefore the functions are
linearly independent.
Answer: W (f1 , f2 , f3 )(x) = 2e3x ̸= 0 , so {ex , xex , x2 ex } is linearly independent.
Problem 5
20 points
Show that
p1 = x2 + 1,
p2 = x2 − 1,
p3 = 2x − 1
form a basis for P2 .
Because P2 has dimension 3, it is enough to show that p1 , p2 , p3 are linearly independent.
Assume
c1 p1 + c2 p2 + c3 p3 = 0.
Then
c1 (x2 + 1) + c2 (x2 − 1) + c3 (2x − 1) = 0.
Collect like terms:
(c1 + c2 )x2 + 2c3 x + (c1 − c2 − c3 ) = 0.
For this polynomial to be the zero polynomial, each coefficient must be zero:
c1 + c2 = 0,
2c = 0,
3
c − c − c = 0.
1
2
3
From 2c3 = 0, we get c3 = 0. Then the system becomes
c1 + c2 = 0,
c1 − c2 = 0.
Page 4 of 5
MA 432 • Exam 2
Solution Manual
Adding these equations gives 2c1 = 0, so c1 = 0, and then c2 = 0.
Thus the only solution is
c1 = c2 = c3 = 0,
so {p1 , p2 , p3 } is linearly independent. Since there are three linearly independent polynomials in the
three-dimensional space P2 , they form a basis.
Answer: {x2 + 1, x2 − 1, 2x − 1} is a basis for P2 .
Page 5 of 5