The function f:[−1,1]→R is given by f(x)=x+2x
Domain: [−1,1]
Codomain: R
To check if the function is one-one, assume f(x1)=f(x2)
x1+2x1=x2+2x2
x1(x2+2)=x2(x1+2)
x1x2+2x1=x2x1+2x2
2x1=2x2
x1=x2
Since f(x1)=f(x2) implies x1=x2, the function is one-one.
To check if the function is onto, find the range of f(x) for x∈[−1,1].
At x=−1:
f(−1)=−1+2−1
f(−1)=1−1
f(−1)=−1
At x=1:
f(1)=1+21
f(1)=31
To determine if f(x) is monotonic, find the derivative:
f′(x)=(x+2)2(x+2)⋅1−x⋅1
f′(x)=(x+2)22
Since (x+2)2>0 for all x∈[−1,1], we have f′(x)>0.
The function is strictly increasing on [−1,1].
Therefore, the range of f is [−1,31].
Range: [−1,31]
Codomain: R
Since the range does not equal the codomain, the function is not onto.
For example, there is no x∈[−1,1] such that f(x)=2.
The function is one-one only.