0% found this document useful (0 votes)
164 views4 pages

260mid2 2007fall Solutions

The document describes a math exam for a basic linear algebra midterm. It contains 4 questions assessing students' knowledge of linear algebra concepts like matrix operations, linear independence, subspaces, and inner products. The exam has a total of 100 points and a 90 minute time limit. It tests topics such as finding the determinants of matrices, concluding if matrices are row equivalent, finding bases of subspaces, transition matrices between bases, and defining an inner product on the space of polynomials.

Uploaded by

altansenel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views4 pages

260mid2 2007fall Solutions

The document describes a math exam for a basic linear algebra midterm. It contains 4 questions assessing students' knowledge of linear algebra concepts like matrix operations, linear independence, subspaces, and inner products. The exam has a total of 100 points and a 90 minute time limit. It tests topics such as finding the determinants of matrices, concluding if matrices are row equivalent, finding bases of subspaces, transition matrices between bases, and defining an inner product on the space of polynomials.

Uploaded by

altansenel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

METU

Department of Mathematics
Group List No.
BASIC LINEAR ALGEBRA
Midterm II
Code : Math 260 Last Name :
Acad. Year : 2007-2008 :
: Fall Name Student No. :
Semester
Coordinator : S.F, S.O, A.S. Department : Section :
Signature :
Date : November 28 2007
Time : 17:40 4 QUESTIONS ON 4 PAGES
Duration : 90 minutes TOTAL 100 POINTS
1 2 3 4

Show your work ! Partial credits will not be given for correct answers if they are not justified.

Question 1 (12+6+6=24 points)


 
1 2 3
 
The product of two (3 × 3)-matrices A and B is known to be AB =  0 4 5 , and the adjoint matrix Adj(A) has
0 0 6
determinant 4.
a) Find the determinants
det(A−1 ) =
det A =
det B =

Solution:  
1 2 3
 
(det A)(det B) = det  0 4 5  = 24 and Adj(A) = (det A)A−1
0 0 6

(det A)3
Since A is 3 × 3-matrix, det(Adj(A)) = (det A)3 det(A−1 ) = det A = (det A)2 = 4

There are two possibilities: either det A = 2, det B = 12, det A−1 = 21 , or det A = −2, det B = −12, det A−1 = − 21 .

h i
b) Can we conclude that the row 1 2 3 is a linear combination of the rows of matrix B ? (Present complete
and detailed arguments !)

Solution:
hYes. The rows
i of matrix B form a basis of R3 , because det B 6= 0 (a theorem). So, any row and in particular
1 2 3 is a linear combination of the rows of matrix B.

c) Can we conclude that matrices A and B are row-equivalent ? (Present complete and detailed arguments !)

Solution:
Yes. A and B are both row equivalent to the unit matrix, because det A 6= 0, det B 6= 0 (a theorem). Thus, A and B
are row equivalent to each other.
Question 2 (10+10=20 points)
 
1 " #
2×3   0
Consider the subspace V ⊂ R formed by (2 × 3)-matrices A such that A  2  = .
0
0
a) Find a basis of V and determine the dimension of V .

Solution:

 
" # 1 " # " #
a b c   a + 2b 0 a + 2b = 0
 2 = =
d e f d + 2e 0 d + 2e = 0
0

Four free variables b, c, e, f , so dim V = 4.

" # " # " # " #


−2 1 0 0 0 1 0 0 0 0 0 0
Fundamental solutions (basis of V ): , , , .
0 0 0 0 0 0 −2 1 0 0 0 1

b) Extend your basis of V to a basis of R2×3 by choosing additional vectors from the standard basis of R2×3 .

Solution:

     
−2 0 0 0 1 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0 1 0 0 0 0 1 0 0 0 0
     
 1 0 0 0 0 1 0 0 0 0   1 0 0 0 0 1 0 0 0 0   0 1 0 0 0 0 1 0 0 0 
     
 0 1 0 0 0 
0 1 0 0 0   0 1 0 0 0 0 1 0 0 0   0 0 1 0 0 0 0 0 1 0 
 →  → 
 0 0 −2 0 0 
0 0 1 0 0   0 0 0 0 0 0 0 1 2 0   0 0 0 1 0 0 0 0 0 1 
    
     
 0 0 1 0 0 0 0 0 1 0   0 0 1 0 0 0 0 0 1 0   0 0 0 0 1 2 0 0 0 0 
0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 2 0

" # " #
1 0 0 0 0 0
So, additional vectors-matrices (corresponding to 5th and 8th columns) are and .
0 0 0 1 0 0
Question 3 (8+8+8+8=32 points)
Consider the vector space of polynomials, P2 = {ax2 + bx + c|a, b, c ∈ R}, and its subset V formed by those p(x) ∈ P2
which satisfy the condition p(1) + p0 (2) = 0.
a) Show that V is a subspace of P2 .

Solution
p1 (1) + p01 (2) = 0
⇒ (p1 + p2 )(1) + (p1 + p2 )0 (2) = 0, so V is closed with respect to addition
p2 (1) + p02 (2) = 0
p(1) + p0 (2) = 0 ⇒ cp(1) + cp0 (2) = c(p(1) + p0 (2)) = 0, so V is closed with respect to scalar multiplication. Therefore
V is a subspace of P2 .

b) Show that B = {p1 , p2 } and C = {q1 , q2 } are two bases of V , where p1 = x2 − 2x − 1, p2 = x2 − x − 3, q1 = x − 2,


q2 = x2 − 3x + 1. Solution
if p(x) = ax2 + bx + c, then p0 (x) = 2ax + b and p(1) + p0 (2) = (a + b + c) + (4a + b) = 5a + 2b + c = 0. The solution
space V is two dimensional (one equation with three unknowns a, b, c). This equation is satisfied for p1 , p2 , q1 , q2 :
5−4−1=0
5−2−3=0
, so p1 , p2 , q1 , q2 ∈ V .
0+2−2=0
5−6+1=0
p1 , p2 are not proportional and thus linearly independent. Then they form a basis of V (because V is two-dimensional).
Similarly, q1 , q2 form a basis.

c) Determine the coordinates of p1 , p2 with respect to basis C.

Solution

x2 − 2x − 1 = c1 (x − 2) + c2 (x2 − 3x + 1) ⇒ c2 = 1, c1 = 1,

" #
1
coordinates [p1 ]C =
1

x2 − x − 3 = c1 (x − 2) + c2 (x2 − 3x + 1) ⇒ c2 = 1, c1 = 2,

" #
2
coordinates [p2 ]C =
1

d) Find the both transition matrices: PB→C (from B to C) and PC→B (from C to B). Write down how the coordinate
columns [v]B and [v]C are related to PB→C and PC→B .

Solution " #
1 2
PC→B = [p1 ]C [p2 ]C =
1 1

" #−1 " #


−1 1 2 1 −2
PB→C = PC→B = =
1 1 −1 1
Question 4 (8+8+8=24 points)
a) Show that (p|q) = p(1)q(1) + p(2)q(2) + p(3)q(3) is an inner product in the space of polynomials P2 = {ax2 + bx + c :
a, b, c ∈ R}.

Solution:
Positivity: (p|p) = (p(1))2 + (p(2))2 + (p(3))2 ≥ 0. If (p|p) = 0, then p(1) = p(2) = p(3) = 0, but polynomial p cannot
have 3 roots (because its degree ≤ 2), except the case p = 0 (constant zero polynomial).

Symmetry: (p|q) = (q|p) (obvious).

Linearity:
(c1 p1 + c2 p2 |q) = (c1 p1 (1) + c2 p2 (1))q(1) + (c1 p1 (2) + c2 p2 (2))q(1) + (c1 p1 (3) + c2 p2 (3))q(1) = c1 (p1 |q) + c2 (p2 |q).

b) Determine the norms ||1|| and ||x|| with respect to this inner product.

Solution:
p p
||p|| = (p|p) = (p(1))2 + (p(2))2 + (p(3))2
√ √
||1|| = 1 + 1 + 1 = 3
√ √
||x|| = 1 + 4 + 9 = 14

c) Determine cos(φ), for angle φ between the vectors-polynomials 1 and x, with respect to the above inner product.

Solution:
(1|x) = 1 · 1 + 1 · 2 + 1 · 3 = 6

(1|x)
cos(φ) = = √ 6
√ = √6
||1||·||x|| 3 14 42

You might also like