Let f(x)={−aif −a≤x≤0x+aif 0<x≤af(x) = \begin{cases} -a & \text{if } -a \leq x \leq 0 \\ x + a & \text{if } 0 < x \leq a \end{cases}f(x)={−ax+aif −a≤x≤0if 0<x≤a where a>0a > 0a>0 and g(x)=(f(x)−∣f(x)∣)/2g(x) = (f(x) - |f(x)|)/2g(x)=(f(x)−∣f(x)∣)/2. Then the function g:[−a,a]→[−a,a]g : [-a, a] \rightarrow [-a, a]g:[−a,a]→[−a,a] is :
neither one-one nor onto
onto
both one-one and onto
one-one
(g(x)=f(x)−∣f(x)∣2)(g(x)=\frac{f(x)-|f(x)|}{2})(g(x)=2f(x)−∣f(x)∣)
If(f(x)<0⇒g(x)=f(x)=−a)If(f(x)<0\Rightarrow g(x)=f(x)=-a)If(f(x)<0⇒g(x)=f(x)=−a)
If(f(x)>0⇒g(x)=0)If(f(x)>0\Rightarrow g(x)=0)If(f(x)>0⇒g(x)=0)
So range = ({-a, 0})
→\rightarrow→ Not one-one, not onto
Neither one-one nor onto
Tagged One-one, onto functions and counting functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.