Docsity

Subspace - Linear Algebra - Solved Exercise, Exercises of Linear Algebra

Toggle sidebar
bg1
MTH5112 Linear Algebra I 2012–2013
Coursework 7 — Solutions
Exercise* 1. We start by observing that His the nullspace of the matrix
A=1−2 1 3
011−4,
which is in row echelon form. The free variables are tand u, and the leading variables are r
and s. Setting t=αand u=βwe obtain successively, s=−t+ 4u=−α+ 4βand r=
2s−t−3u= 2(−α+ 4β)−α−3β=−3α+ 5β. Thus, an arbitrary element of His of the form
(−3α+ 5β, −α+ 4β , α, β)Twhere αand βare arbitrary real numbers. Now
−3α+ 5β
−α+ 4β
α
β
=α
−3
−1
1
0
|{z }
=x1
+β
5
4
0
1
|{z}
=x2
,
so Span (x1,x2) = H. Moreover, x1and x2are clearly linearly independent, since they are not
scalar multiples of each other. Thus {x1,x2}is a basis for Hand dim H= 2.
Exercise 2. Since
1 0 −3
−2 1 6
011
=R2+ 2R1
1 0 −3
0 1 0
0 1 1
=
R3−R2
1 0 −3
0 1 0
0 0 1
= 1 ·1·1 = 1 6= 0 ,
the three vectors b1,b2,b3are linearly independent, by Theorem 4.31. But since dim R3= 3, these
vectors must span R3by Theorem 4.44. Thus they form a basis for R3, as claimed.
Similarly, since
1 2 1
3 0 0
−111
= (−3) ·
2 1
1 1= (−3) ·(2 −1) = −36= 0 ,
the three vectors d1,d2,d3are linearly independent so must form a basis for R3.
Exercise* 3.
(a) We start by showing that the three vectors are linearly independent. In order to see this, let
c1p1+c2p2+c3p3=0.
This means that, for all t∈R
c1(2 −4t+t2) + c2(3 + t) + c3= 0 ,
so, for all t∈R
(2c1+ 3c2+c3)+(−4c1+c2)t+c1t2= 0 .
Thus, the cineed to satisfy the system
2c1+ 3c2+c3= 0
−4c1+c2= 0
c1= 0
We could proceed using Gaussian elimination, but the system is easily solved by inspection:
equation 3 yields c1= 0; equation 2 then gives c2= 0, and equation 1 finally gives c3= 0.
Thus the three vectors are linearly independent. But since dim P2= 3, they span P2by
Theorem 4.44. Thus {p1,p2,p3}is a basis for P2, as claimed.
pf3
pf4

Partial preview of the text

Download Subspace - Linear Algebra - Solved Exercise and more Exercises Linear Algebra in PDF only on Docsity!

MTH5112 Linear Algebra I 2012–

Coursework 7 — Solutions

Exercise* 1. We start by observing that H is the nullspace of the matrix

A =

which is in row echelon form. The free variables are t and u, and the leading variables are r

and s. Setting t = α and u = β we obtain successively, s = −t + 4u = −α + 4β and r =

2 s − t − 3 u = 2(−α + 4β) − α − 3 β = − 3 α + 5β. Thus, an arbitrary element of H is of the form

(− 3 α + 5β, −α + 4β, α, β)

T where α and β are arbitrary real numbers. Now

− 3 α + 5β

−α + 4β

α

β

= α

=x 1

+β

=x 2

so Span (x 1 , x 2 ) = H. Moreover, x 1 and x 2 are clearly linearly independent, since they are not

scalar multiples of each other. Thus {x 1 , x 2 } is a basis for H and dim H = 2.

Exercise 2. Since

∣ ∣ ∣ ∣ ∣ ∣ 1 0 − 3

= R 2 + 2R 1

R 3 − R 2

the three vectors b 1 , b 2 , b 3 are linearly independent, by Theorem 4.31. But since dim R

3 = 3, these

vectors must span R

3 by Theorem 4.44. Thus they form a basis for R

3 , as claimed.

Similarly, since

∣ ∣ ∣ ∣ ∣ ∣ 1 2 1

the three vectors d 1 , d 2 , d 3 are linearly independent so must form a basis for R

3 .

Exercise* 3.

(a) We start by showing that the three vectors are linearly independent. In order to see this, let

c 1 p 1 + c 2 p 2 + c 3 p 3 = 0.

This means that, for all t ∈ R

c 1 (2 − 4 t + t

2 ) + c 2 (3 + t) + c 3 = 0 ,

so, for all t ∈ R

(2c 1 + 3c 2 + c 3 ) + (− 4 c 1 + c 2 )t + c 1 t

2 = 0.

Thus, the ci need to satisfy the system

2 c 1 + 3 c 2 + c 3 = 0

− 4 c 1 + c 2 = 0

c 1 = 0

We could proceed using Gaussian elimination, but the system is easily solved by inspection:

equation 3 yields c 1 = 0; equation 2 then gives c 2 = 0, and equation 1 finally gives c 3 = 0.

Thus the three vectors are linearly independent. But since dim P 2 = 3, they span P 2 by

Theorem 4.44. Thus {p 1 , p 2 , p 3 } is a basis for P 2 , as claimed.

(b) Since [p]B = (− 1 , 3 , 2)

T we have

p = −p 1 + 3p 2 + 2p 3 ,

that is,

p(t) = −p 1 (t) + 3p 2 (t) + 2p 3 (t) = −2 + 4t − t

2

  • 9 + 3t + 2 = 9 + 7t − t

2 ,

for all t ∈ R.

(c) We need to find c 1 , c 2 , c 3 ∈ R such that

c 1 p 1 + c 2 p 2 + c 3 p 3 = q.

This means that, for all t ∈ R

c 1 (2 − 4 t + t

2 ) + c 2 (3 + t) + c 3 = 6 − t

2 ,

so, for all t ∈ R

(2c 1 + 3c 2 + c 3 ) + (− 4 c 1 + c 2 )t + c 1 t

2 = 6 − t

2 .

Thus, comparing coefficients of the polynomials on the right and on the left of the equation

above, the ci need to satisfy the system

2 c 1 + 3 c 2 + c 3 = 6

− 4 c 1 + c 2 = 0

c 1 = − 1

We could proceed using Gaussian elimination, but the system is easily solved by inspection:

equation 3 yields c 1 = − 1 ; equation 2 then gives c 2 = 4c 1 = − 4 , and equation 3 finally gives

c 3 = 6 − 2 c 1 − 3 c 2 = 20. Thus

[q]B =

Exercise 4. Let B = {b 1 , b 2 , b 3 } and D = {d 1 , d 2 , d 3 } be the bases given in Exercise 2.

(a) The transition matrix from D to the standard basis is the matrix whose columns are formed

by the elements of D. Thus

S 1 = PD =

(b) The transition matrix from the standard basis to B is the inverse of the transition matrix PB

from B to the standard basis. Using Gauss-Jordan inversion we find

(PB|I) =

 ∼ R

2 + 2R 1

R 3 − R 2

R 1 + 3R 3

so

S 2 = P

− 1 B =

Finally, the transition matrix from D to B is

P

− 1 B PD^ =

Exercise 8.

(a) Yes. Take, for example,

A =

Then clearly rank A = 1 and nul A = 2.

(b) No. Since rank B + nul B = 3 6 = 4 such a matrix cannot exist because it violates the

Rank-Nullity Theorem.