Question
Mathematics Question on Functions
The function is f(x)=2−cos3x1,x∈[0,3π], is
A
one-one, but not onto
B
onto, but not one-one
C
one-one as well as onto
D
neither one-one nor onto
Answer
one-one as well as onto
Explanation
Solution
Given, f(x)=2−cos3x1,x∈[0,3π] For one - one Let f(x1)=f(x2)
⇒ 2−cos3x11=2−cos3x21
⇒ 2−cos3x1=2−cos3x2
⇒ cos3x1=cos3x2⇒x1=x2
⇒ f is one-one For onto Let y=f(x),y∈ codomain
⇒ y=2−cos3x1
⇒ y(2−cos3x)=1
⇒ 2−cos3x=y1
⇒ cos3x=2−y1
⇒ x=31cos−1(2−y1)
Here, for all y∈ codomain there exist x∈ domain. so f(x) is onto.
Here for all yE codomain there exist x∈ domain. so is on to. f(x)