Guest · filters and generic practice availableBrowsing as a guest · PYQ filters and generic practice are available. Sign in only for personalised features and saved progress.
Functions question
2024 · 8 Apr · Shift 2 · Q40
JEE MainMathematicsFunctionsMCQ+4 / −1
Let f(x)={−ax+a if if −a≤x≤00<x≤a where a>0 and g(x)=(f(∣x∣)−∣f(x)∣)/2. Then the function g:[−a,a]→[−a,a] is
A
neither one-one nor onto.
B
both one-one and onto.
C
one-one.
D
onto
View written solutionFree
Correct answer: A
Given function
We have
f(x)={−a,x+a,−a≤x≤0,0<x≤a,a>0.
And
g(x)=2f(∣x∣)−∣f(x)∣,x∈[−a,a].
We must determine whether g:[−a,a]→[−a,a] is one-one and/or onto.
Find f(∣x∣)
Since ∣x∣∈[0,a], we use the second branch when ∣x∣>0, and first branch at ∣x∣=0.
If x=0, then ∣x∣=0, so
f(∣x∣)=f(0)=−a.
If x=0, then ∣x∣∈(0,a], so
f(∣x∣)=∣x∣+a.
Thus,
f(∣x∣)={−a,∣x∣+a,x=0,x=0.
Find ∣f(x)∣
We consider the two regions of x.
Case 1: −a≤x≤0
Then
f(x)=−a,
so
∣f(x)∣=a.
Case 2: 0<x≤a
Then
f(x)=x+a>0,
so
∣f(x)∣=x+a.
Hence,
∣f(x)∣={a,x+a,−a≤x≤0,0<x≤a.
Compute g(x)
Now evaluate
g(x)=2f(∣x∣)−∣f(x)∣.
Case 1: −a≤x<0
Here ∣x∣=−x>0, so
f(∣x∣)=∣x∣+a=−x+a.
Also,
∣f(x)∣=a.
Therefore,
g(x)=2(−x+a)−a=2−x.
Case 2: x=0
f(∣0∣)=f(0)=−a,∣f(0)∣=∣−a∣=a.
So
g(0)=2−a−a=−a.
Case 3: 0<x≤a
Then ∣x∣=x, so
f(∣x∣)=f(x)=x+a,
and since this is positive,
∣f(x)∣=x+a.
Thus,
g(x)=2(x+a)−(x+a)=0.
So the function is
g(x)=⎩⎨⎧2−x,−a,0,−a≤x<0,x=0,0<x≤a.
Check whether g is one-one
A function is one-one if distinct inputs give distinct outputs.
But for every x∈(0,a],
g(x)=0.
So many different values of x have the same image 0.
For example,
g(2a)=0,g(a)=0.
Since 2a=a, g is not one-one.
Check whether g is onto [−a,a]
We find the range of g.
For −a≤x<0,
g(x)=2−x
and since x∈[−a,0), we get
g(x)∈(0,2a].
(At x=−a, value is a/2; as x→0−, value tends to 0 but does not equal it from this branch.)
At x=0,
g(0)=−a.
For 0<x≤a,
g(x)=0.
Therefore the range is
Range(g)={−a}∪[0,2a].
But codomain is [−a,a]. Clearly values like −2a, a, etc. are not attained.
Hence g is not onto.
Conclusion
g is neither one-one nor onto.
Therefore, the correct option is:
A: neither one-one nor onto