If the function f:R→R is defined by f(x)=∣x∣(x−sinx), then which of the following statements is TRUE?
SOLUTION
For x∈R the function is defined as f(x)=∣x∣(x−sinx).
Write it piece-wise:
• If x≥0, then ∣x∣=x, so f(x)=x2−xsinx−(1)
• If x<0, then ∣x∣=−x, so f(x)=−x2+xsinx−(2)
Step 1 : Monotonicity (injectivity)
Differentiate each branch.
For x≥0, using (1): f′(x)=dxd[x2−xsinx]=2x−sinx−xcosx
Factor as f′(x)=x(2−cosx)−sinx.
Because sinx≤x for x≥0, f′(x)≥x(2−cosx)−x=x(1−cosx)≥0,
and for every x>0 we have 1−cosx>0, giving f′(x)>0.
Thus f(x) is strictly increasing on [0,∞).
For x<0, using (2): f′(x)=dxd[−x2+xsinx]=−2x+sinx+xcosx
Rewrite as f′(x)=−x(2−cosx)+sinx.
For negative x we have sinx≥x, hence f′(x)≥−x(2−cosx)+x=−x(1−cosx).
Now x<0⇒−x>0 and 1−cosx≥0, so
−x(1−cosx)>0 whenever x=0.
Therefore f′(x)>0 for all x<0, making f(x) strictly increasing on (−∞,0) as well.
Combining both intervals, f′(x)>0 for every x=0 and f′(0)=0,
so the entire function is strictly increasing on R.
Hence f is one-one.
Step 2 : Range (surjectivity)
Find the limits at the ends of the domain.
As x→−∞ use (2): f(x)=−x2+xsinx=−x2(1−xsinx).
Since xsinx≤1/∣x∣→0, the quadratic term dominates and
f(x)→−∞.}
As x→+∞ use (1): f(x)=x2−xsinx=x2(1−xsinx)→+∞.}
The function is continuous (both pieces and their first derivatives meet at x=0), strictly increasing, and its values run from −∞ to +∞.
By the Intermediate Value Theorem the range equals R, so f is onto.
Step 3 : Conclusion
f is both one-one and onto. Hence the true statement is:
Option C which is: f is BOTH one-one and onto.
Tagged One-one, onto functions and counting functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.