Solutions For Mid-Semester Exam
Solutions For Mid-Semester Exam
Question 1.
(a) (5 marks) Find the values of x for which the following is an augmented
matrix corresponding to a consistent system:
1 −2 1 x
0 5 −2 x2
4 −23 10 x3
Solution.
(a) We reduce the given augmented matrix to echelon form:
1 −2 1 x 1 −2 1 x
R →R −4R1
0 5 −2 x2 −−3−−−3−−−→ 0 5 −2 x2
4 −23 10 x 3 0 −15 6 x − 4x 3
1 −2 1 x
R →R +3R2
−−3−−−3−−−→ 0 5 −2 x2
0 0 3
0 x − 4x + 3x 2
x3 + 3x2 − 4x = x(x2 + 3x − 4)
= x(x + 4)(x − 1)
Solution.
(a) We reduce [A I] to RREF:
1 2 x 1 0 0
1 2 x 1 0 0 R →1R
0 3 4 0 1 0 −−2−−− 3 2
−→ 0 1 34 1
0 3 0
0 0 5 0 0 1
0 0 5 0 0 1
1 0 x − 83 1 − 23
0
R →R −2R2 4
0 13
−−1−−−1−−−→ 0 1
3 0
0 0 5 0 0 1
1 0 x − 38 1 − 23
0
R3 → 51 R3
4
0 31
−−−−−−→ 0 1 3 0
1
0 0 1 0 0 5
1 0 x − 38 1 − 23
0
R2 →R2 − 4 R3
0 31 4
−−−−−−−3−→ 0 1 0 − 15
1
0 0 1 0 0 5
1 0 0 1 − 23 8−3x
15
R1 →R1 −(x− 38 )R3
1 4
−−−−−−−−−−−−→ 0 1 0 0 3 − 15
1
0 0 1 0 0 5
Thus
1 − 23 8−3x
15
−1 1 4
A 0 3
= − 15
1
0 0 5
(b) We first note that A−1 exists for every choice of x ∈ R. Having fixed
x ∈ R, the span of the columns of A−1 is all of R3 . This may be justified
in any of the following ways:
A−1 (Ab) = b.
A−1 x = b
A−1 x = b
Question 3. Let
V = {x ∈ R : x > 0},
and define addition for V by
x ⊕ y := xy
α ∗ x = xα .
(a) (7 marks) Verify the closure axioms, the commutative, zero and inverse
properties for addition, and the property 1 ∗ x = x for all x ∈ V .
(Remark: V is in fact a vector space over the field R. You need not
verify the other properties of a vector space.)
Solution.
x ⊕ y = xy = yx = y ⊕ x.
• Existence of additive identity:
For every x ∈ V ,
x⊕1=x×1=x
Hence 1 is a zero vector in V .
• Existence of additive inverse:
Let x ∈ V . Since x1 > 0 it follows that 1
x ∈ V . Further
1
x⊕ = 1.
x
1
Hence x is an additive inverse of x in V .
• Lastly, let x ∈ V . Then 1 ∗ x = x1 = x.
(b) When we consider the question whether V is a subspace of R (with
the usual vector space structure on R), we strip V of the vector space
structure defined in part (a) and view it simply as a subset of R. In
order for V to be a subspace of R it must be a vector space under the
usual operations of vector addition and scalar multiplication
which are defined on R.
x > 0 =⇒ cx ≤ 0.
Hence cx ∈
/ V.
4. 13 ∈ V, −13 ∈ R, but −169 ∈
/ V.
Question 4 (10 marks). Choose any four of the five sets below. For each
set you choose, state whether or not it is a subspace of M3×3 (the space of
all 3 × 3 matrices having real entries). Justify each answer. All choices carry
equal marks.
(a) The set of all invertible 3 × 3 matrices
(b) The set of all 3 × 3 matrices whose trace is 0 (The trace of a square
matrix A is the sum of its diagonal entries.)
Solution.
(a) Let V be the set of all invertible 3 × 3 matrices. V is not a subspace of
M3×3 . This can be justified in any of the following ways:
1. V is not closed under vector addition. For example, I ∈ V, −I ∈ V ,
but I − I = 0 and 0 ∈/ V.
2. V is not closed under scalar multiplication. If c = 0, then I ∈ V but
cI = 0 and cI ∈/ V.
3. 0 ∈
/ V . Thus V is not a subspace of M3×3 , by the definition listed on
p. 220 of the course textbook (3rd edition).
(b) Let V be the set of all 3 × 3 matrices whose trace is 0. V is a subspace
of M3×3 . This is verified as follows:
Let A, B ∈ V . Let A = (aij ) and B = (bij ). Then
3
X
trace(A + B) = aii + bii
i=1
3
X 3
X
= aii + bii
i=1 i=1
= trace(A) + trace(B)
=0
Hence A + B ∈ V . Thus V is closed under vector addition.
Let A ∈ V and c ∈ R. Then
3
X
trace(cA) = caii
i=1
X3
=c aii
i=1
= c trace(A)
=0
Hence cA ∈ V . Thus V is closed under scalar multiplication.
(c) Let V be the set of all 3 × 3 echelon matrices. V is not a subspace of
M3×3 . This is because V is not closed under vector addition. Coun-
terexamples abound. One is given here for your reference: Let
1 0 0
A = 0 −1 0
0 0 1
Let A, B ∈ V . Then
(A + B)T = AT + B T
=A+B
(cA)T = cAT
= cA
Let A, B ∈ V . Then
(A + B)T = AT + B T
= −A − B
= −(A + B)
Hence A + B ∈ V . Thus V is closed under vector addition.
(cA)T = cAT
= c(−A)
= −cA
Solution.
Method 2. The following result was proved in class for both Section A as
well as Section B:
Using the above result, it suffices to show that the set {v1 , . . . , vn , w}
is not linearly independent in V .
Hence
n n
!
X X
ci vi + ci w = 0. (2)
i=1 i=1
w∈
/ Span{v1 , v2 , . . . , vn } =⇒ {v1 + w, v2 + w, . . . , vn + w} is l.i.