Docsity

Arbitrary Scalar - Linear Algebra - Solved Exercise, Exercises of Linear Algebra

Toggle sidebar
bg1
MTH5112 Linear Algebra I 2012–2013
Coursework 8 — Solutions
Exercise 1. As in the lectures we use the convention that, if xand yare two arbitrary vectors in
R3, we denote their entries by x1, x2, x3and y1, y2, y3respectively, so that
x=
x1
x2
x3
and y=
y1
y2
y3
.
In particular, if αis an arbitrary scalar, then
x+y=
x1+y1
x2+y2
x3+y3
,and αx=
αx1
αx2
αx3
.
(a) Lis linear, since, if x,y∈R3and α∈R, then
(i) L(x+y) = (x2+y2)+(x3+y3)
(x3+y3)+(x1+y1)=x2+x3
x3+x1+y2+y3
y3+y1=L(x) + L(y) ;
(ii) L(αx) = αx2+αx3
αx3+αx1=αx2+x3
x3+x1=αL(x).
(b) Lis not linear, since L(0) = (0,1)T6=0.
(c) Lis linear, since, if x,y∈R3and α∈R, then
(i) L(x+y) = (x2+y2)−2(x1+y1)
x3+y3=x2−2x1
x3+y2−2y1
y3=L(x) + L(y) ;
(ii) L(αx) = αx2−2αx1
αx3=αx2−2x1
x3=αL(x).
(d) Lis not linear, since L((1,0,0)T) = (1,0)Twhile L(2(1,0,0)T) = L((2,0,0)T) = (4,0)T, so
L(2(1,0,0)T) = (4,0)T6= (2,0)T= 2L((1,0,0)T).
Exercise 2.
(a) Lis linear, since, if A, B ∈Rn×nand α∈R, then
(i) L(A+B) = 5(A+B) = 5A+ 5B=L(A) + L(B) ;
(ii) L(αA) = 5(αA) = α(5A) = αL(A).
(b) Lis linear, since, if A, B ∈Rn×nand α∈R, then
(i) L(A+B) = (A+B)C+C(A+B) = (AC +CA)+(B C +CB ) = L(A) + L(B) ;
(ii) L(αA) = (αA)C+C(αA) = α(AC +CA) = αL(A).
(c) We need to distinguish two cases. If C6=Othen Lis not linear. In order to see this note
that L(I) = IC I =Cwhile L(2I) = (2I)C(2I) = 4Cso
L(2I) = 4C6= 2C= 2L(I).
If C=O, then Lis linear. In order to see this note that in this case L(A) = O, so, if
A, B ∈Rn×nand α∈R, then
(i) L(A+B) = O=O+O=L(A) + L(B) ;
(ii) L(αA) = O=αO =αL(A).
pf3
pf4

Partial preview of the text

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

MTH5112 Linear Algebra I 2012–

Coursework 8 — Solutions

Exercise 1. As in the lectures we use the convention that, if x and y are two arbitrary vectors in R^3 , we denote their entries by x 1 , x 2 , x 3 and y 1 , y 2 , y 3 respectively, so that

x =

x 1 x 2 x 3

 (^) and y =

y 1 y 2 y 3

In particular, if α is an arbitrary scalar, then

x + y =

x 1 + y 1 x 2 + y 2 x 3 + y 3

 (^) , and αx =

αx 1 αx 2 αx 3

(a) L is linear, since, if x, y ∈ R^3 and α ∈ R, then (i) L(x + y) =

((x 2 +^ y 2 ) + (x 3 +^ y 3 ) (x 3 + y 3 ) + (x 1 + y 1 )

(x 2 +^ x 3 x 3 + x 1

(y 2 +^ y 3 y 3 + y 1

= L(x) + L(y) ;

(ii) L(αx) =

(αx 2 +^ αx 3 αx 3 + αx 1

= α

(x 2 +^ x 3 x 3 + x 1

= αL(x).

(b) L is not linear, since L( 0 ) = (0, 1)T^6 = 0. (c) L is linear, since, if x, y ∈ R^3 and α ∈ R, then (i) L(x + y) =

((x 2 +^ y 2 )^ −^ 2(x 1 +^ y 1 ) x 3 + y 3

(x 2 −^2 x 1 x 3

(y 2 −^2 y 1 y 3

= L(x) + L(y) ;

(ii) L(αx) =

(αx 2 −^2 αx 1 αx 3

= α

(x 2 −^2 x 1 x 3

= αL(x).

(d) L is not linear, since L((1, 0 , 0)T^ ) = (1, 0)T^ while L(2(1, 0 , 0)T^ ) = L((2, 0 , 0)T^ ) = (4, 0)T^ , so L(2(1, 0 , 0)T^ ) = (4, 0)T^6 = (2, 0)T^ = 2L((1, 0 , 0)T^ ).

Exercise 2. (a) L is linear, since, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = 5(A + B) = 5A + 5B = L(A) + L(B) ; (ii) L(αA) = 5(αA) = α(5A) = αL(A). (b) L is linear, since, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = (A + B)C + C(A + B) = (AC + CA) + (BC + CB) = L(A) + L(B) ; (ii) L(αA) = (αA)C + C(αA) = α(AC + CA) = αL(A). (c) We need to distinguish two cases. If C 6 = O then L is not linear. In order to see this note that L(I) = ICI = C while L(2I) = (2I)C(2I) = 4C so L(2I) = 4C 6 = 2C = 2L(I). If C = O, then L is linear. In order to see this note that in this case L(A) = O, so, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = O = O + O = L(A) + L(B) ; (ii) L(αA) = O = αO = αL(A).

(d) L is linear, since, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = C(A + B)C = CAC + CBC = L(A) + L(B) ; (ii) L(αA) = C(αA)C = αCAC = αL(A).

Exercise 3. (a) L is linear, since, if p, q ∈ P 2 and α ∈ R, then (i) for any t ∈ R (L(p+q))(t) = t^2 (p+q)(0) = t^2 (p(0)+q(0)) = t^2 p(0)+t^2 q(0) = (L(p))(t)+(L(q))(t) , so L(p + q) = L(p) + L(q) ; (ii) for any t ∈ R (L(αp))(t) = t^2 (αp)(0) = t^2 (αp(0)) = αt^2 p(0) = α(L(p))(t) , so L(αp) = αL(p). (b) L is not linear, since (L( 0 ))(t) = −t, so L( 0 ) 6 = 0.

Exercise* 4. (a) L is not linear since L( 0 ) = (1, 2 , 3)T^6 = 0. (b) L is linear, since, if x, y ∈ R^3 and α ∈ R, then (i) L(x + y) =

((x 3 +^ y 3 )^ −^ (x 2 +^ y 2 ) (x 2 + y 2 ) − (x 1 + y 1 )

(x 3 −^ x 2 x 2 − x 1

(y 3 −^ y 2 y 2 − y 1

= L(x) + L(y) ;

(ii) L(αx) =

(αx 3 −^ αx 2 αx 2 − αx 1

= α

(x 3 −^ x 2 x 2 − x 1

= αL(x).

(c) L is linear, since, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = (A + B)T^ = AT^ + BT^ = L(A) + L(B) ; (ii) L(αA) = (αA)T^ = αAT^ = αL(A). (d) L is linear, since, if A, B ∈ Rn×n^ and α ∈ R, then (i) L(A + B) = (A + B)M 2 = AM 2 + BM 2 = L(A) + L(B) ; (ii) L(αA) = (αA)M 2 = α(AM 2 ) = αL(A). (e) L is not linear. In order to see this note that L(I) = I^2 M = IM = M while L(2I) = (2I)^2 M = 4IM = 4M , so L(2I) = 4M 6 = 2M = 2L(I). (f) L is not linear, since (L( 0 ))(t) = 2t for all t ∈ R, so L( 0 ) 6 = 0.

Exercise 5. Suppose that L is one-to-one. We need to show that if L(v) = 0 , then v = 0. In order to see this, suppose that L(v) = 0. Then L(v) = 0 = L( 0 ), so v = 0 because L is one-to-one. Conversely, suppose that ker(L) = { 0 }. We need to show that if L(v 1 ) = L(v 2 ) then v 1 = v 2. In order to see this, suppose that L(v 1 ) = L(v 2 ). But then L(v 1 − v 2 ) = L(v 1 ) − L(v 2 ) = 0 , hence v 1 − v 2 ∈ ker(L), and thus v 1 − v 2 = 0 , that is v 1 = v 2 , since ker(L) = { 0 }.

so L(p 1 ) = 1 p 1 + 0 p 2 + 0 p 3 L(p 2 ) = (−1)p 1 + 1 p 2 + 0 p 3 L(p 3 ) = 1 p 1 + (−2)p 2 + 1 p 3 hence

[L]PP =