a) Which of the following functions are 1-1 and which are onto? Justify your answer.
i) f : R ! R
0
given by f (x) = x
2
where R
0
is the set fx 2 Rjx 0g.
ii) f : R ! R given by f (x) = x
2
+ x + 1. (3)
b) If we consider the expression
1
2 3x
as a function on R, what will be its domain and
range? Will it have an inverse? Justify your answer. (2)
c) Let a =
(
1
2
p
2
;
p
3
2
p
2
;
1
p
2
)
and b =
(
1
p
2
; 0;
1
p
2
)
.
i) Find the direct cosines of a and b.
ii) Find the angle between a and b. (2)
d) Check that the vectors u =
(
3
5
;
4
5
; 0
)
, v =
(
4
5
;
3
5
; 0
)
and w = (0; 0; 1) are orthonormal.
Further, write the vector a = (1; 1; 2) as a linear combination of the vectors.
Expert's answer
Answer on Question #45759, Engineering, Other
Task:
a) Which of the following functions are 1-1 and which are onto? Justify your answer.
i) f:R→R0 given by f(x)=x2 where R0 is the set fx2Rjx0g.
ii) f:R→R given by f(x)=x2+x+1.
b) Let a=(1+2p2;p3+2p2;1+p2)
and b=(1+p2;0;1+p2).
i) Find the direct cosines of a and b.
ii) Find the angle between a and b.
c) Check that the vectors u=(35;45;0)v=(45;35;0)
and w=(0;0;1) are orthonormal. Further, write the vector a=(1;1;2) as a linear combination of the vectors.
Solution:
a)
The function is injective or 1 to 1 if every element of the function's codomain is the image of at most one element of its domain.
The function f from a set X to a set Y is surjective (or onto), or a surjection, if every element y in Y has a corresponding element x in X such that f(x)=y.
i) f:R→R0 given by f(x)=x2
if R0=R∖{0} then f is not onto because for y=−2 we can't find a x such that f(x)=x2 and it is not 1 to 1, because f(1)=f(−1)=1. If R0=[0;+∞] then f is onto, because for every y in [0;+∞) exists x=y such that y=f(x) and it is not 1 to 1, because f(−1)=f(1).
ii) f:R→R given by f(x)=x2+x+1.
This function is not onto, because for y=0 we can't find x such that 0=x2+x+1. And it is not 1 to 1 because f(1)=f(−2)=3.