Sign in
12thPass logo
New chatPYQ LibraryDoubtsRank report
Sign in to see Recents

Your guest activity stays on this device

Sign in to save progress →
Sign in

Functions question

2024 · 8 Apr · Shift 2 · Q40
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.
  1. PYQ Library
  2. /JEE Main
  3. /Mathematics
  4. /Functions
  5. /2024 · 8 Apr · Shift 2 · Q40

Functions question

2024 · 8 Apr · Shift 2 · Q40

JEE MainMathematicsFunctionsMCQ+4 / −1
Let f(x)={−a if −a≤x≤0x+a if 0<x≤af(x)=\left\{\begin{array}{ccc}-\mathrm{a} & \text { if } & -\mathrm{a} \leq x \leq 0 \\ x+\mathrm{a} & \text { if } & 0\lt x \leq \mathrm{a}\end{array}\right.f(x)={−ax+a​ if  if ​−a≤x≤00<x≤a​ where a>0\mathrm{a}\gt 0a>0 and g(x)=(f(∣x∣)−∣f(x)∣)/2\mathrm{g}(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
  1. A
    neither one-one nor onto.
  2. B
    both one-one and onto.
  3. C
    one-one.
  4. D
    onto
View written solutionFree

Correct answer: A

  1. Given function

We have

f(x)={−a,−a≤x≤0,x+a,0<x≤a,a>0.f(x)= \begin{cases} -a, & -a\le x\le 0,\\[4pt] x+a, & 0<x\le a, \end{cases} \qquad a>0.f(x)={−a,x+a,​−a≤x≤0,0<x≤a,​a>0.

And

g(x)=f(∣x∣)−∣f(x)∣2,x∈[−a,a].g(x)=\frac{f(|x|)-|f(x)|}{2}, \qquad x\in[-a,a].g(x)=2f(∣x∣)−∣f(x)∣​,x∈[−a,a].

We must determine whether g:[−a,a]→[−a,a]g:[-a,a]\to[-a,a]g:[−a,a]→[−a,a] is one-one and/or onto.


  1. Find f(∣x∣)f(|x|)f(∣x∣)

Since ∣x∣∈[0,a]|x|\in[0,a]∣x∣∈[0,a], we use the second branch when ∣x∣>0|x|>0∣x∣>0, and first branch at ∣x∣=0|x|=0∣x∣=0.

  • If x=0x=0x=0, then ∣x∣=0|x|=0∣x∣=0, so f(∣x∣)=f(0)=−a.f(|x|)=f(0)=-a.f(∣x∣)=f(0)=−a.
  • If x≠0x\ne 0x=0, then ∣x∣∈(0,a]|x|\in(0,a]∣x∣∈(0,a], so f(∣x∣)=∣x∣+a.f(|x|)=|x|+a.f(∣x∣)=∣x∣+a.

Thus,

f(∣x∣)={−a,x=0,∣x∣+a,x≠0.f(|x|)= \begin{cases} -a, & x=0,\\[4pt] |x|+a, & x\ne 0. \end{cases}f(∣x∣)={−a,∣x∣+a,​x=0,x=0.​
  1. Find ∣f(x)∣|f(x)|∣f(x)∣

We consider the two regions of xxx.

Case 1: −a≤x≤0-a\le x\le 0−a≤x≤0

Then f(x)=−a,f(x)=-a,f(x)=−a, so ∣f(x)∣=a.|f(x)|=a.∣f(x)∣=a.

Case 2: 0<x≤a0<x\le a0<x≤a

Then f(x)=x+a>0,f(x)=x+a>0,f(x)=x+a>0, so ∣f(x)∣=x+a.|f(x)|=x+a.∣f(x)∣=x+a.

Hence,

∣f(x)∣={a,−a≤x≤0,x+a,0<x≤a.|f(x)|= \begin{cases} a, & -a\le x\le 0,\\[4pt] x+a, & 0<x\le a. \end{cases}∣f(x)∣={a,x+a,​−a≤x≤0,0<x≤a.​
  1. Compute g(x)g(x)g(x)

Now evaluate g(x)=f(∣x∣)−∣f(x)∣2.g(x)=\frac{f(|x|)-|f(x)|}{2}.g(x)=2f(∣x∣)−∣f(x)∣​.

Case 1: −a≤x<0-a\le x<0−a≤x<0

Here ∣x∣=−x>0|x|=-x>0∣x∣=−x>0, so f(∣x∣)=∣x∣+a=−x+a.f(|x|)=|x|+a=-x+a.f(∣x∣)=∣x∣+a=−x+a. Also, ∣f(x)∣=a.|f(x)|=a.∣f(x)∣=a. Therefore, g(x)=(−x+a)−a2=−x2.g(x)=\frac{(-x+a)-a}{2}=\frac{-x}{2}.g(x)=2(−x+a)−a​=2−x​.

Case 2: x=0x=0x=0

f(∣0∣)=f(0)=−a,∣f(0)∣=∣−a∣=a.f(|0|)=f(0)=-a, \qquad |f(0)|=|-a|=a.f(∣0∣)=f(0)=−a,∣f(0)∣=∣−a∣=a. So g(0)=−a−a2=−a.g(0)=\frac{-a-a}{2}=-a.g(0)=2−a−a​=−a.

Case 3: 0<x≤a0<x\le a0<x≤a

Then ∣x∣=x|x|=x∣x∣=x, so f(∣x∣)=f(x)=x+a,f(|x|)=f(x)=x+a,f(∣x∣)=f(x)=x+a, and since this is positive, ∣f(x)∣=x+a.|f(x)|=x+a.∣f(x)∣=x+a. Thus, g(x)=(x+a)−(x+a)2=0.g(x)=\frac{(x+a)-(x+a)}{2}=0.g(x)=2(x+a)−(x+a)​=0.

So the function is

g(x)={−x2,−a≤x<0,−a,x=0,0,0<x≤a.g(x)= \begin{cases} \dfrac{-x}{2}, & -a\le x<0,\\[6pt] -a, & x=0,\\[6pt] 0, & 0<x\le a. \end{cases}g(x)=⎩⎨⎧​2−x​,−a,0,​−a≤x<0,x=0,0<x≤a.​
  1. Check whether ggg is one-one

A function is one-one if distinct inputs give distinct outputs.

But for every x∈(0,a]x\in(0,a]x∈(0,a], g(x)=0.g(x)=0.g(x)=0. So many different values of xxx have the same image 000.

For example, g(a2)=0,g(a)=0.g\left(\frac a2\right)=0, \qquad g(a)=0.g(2a​)=0,g(a)=0. Since a2≠a\frac a2\ne a2a​=a, ggg is not one-one.


  1. Check whether ggg is onto [−a,a][-a,a][−a,a]

We find the range of ggg.

  • For −a≤x<0-a\le x<0−a≤x<0, g(x)=−x2g(x)=\frac{-x}{2}g(x)=2−x​ and since x∈[−a,0)x\in[-a,0)x∈[−a,0), we get g(x)∈(0,a2].g(x)\in\left(0,\frac a2\right].g(x)∈(0,2a​]. (At x=−ax=-ax=−a, value is a/2a/2a/2; as x→0−x\to 0^-x→0−, value tends to 000 but does not equal it from this branch.)

  • At x=0x=0x=0, g(0)=−a.g(0)=-a.g(0)=−a.

  • For 0<x≤a0<x\le a0<x≤a, g(x)=0.g(x)=0.g(x)=0.

Therefore the range is

Range⁡(g)={−a}∪[0,a2].\operatorname{Range}(g)=\{-a\}\cup\left[0,\frac a2\right].Range(g)={−a}∪[0,2a​].

But codomain is [−a,a][-a,a][−a,a]. Clearly values like −a2-\frac a2−2a​, aaa, etc. are not attained.

Hence ggg is not onto.


  1. Conclusion

ggg is neither one-one nor onto.

Therefore, the correct option is: A: neither one-one nor onto\boxed{\text{A: neither one-one nor onto}}A: neither one-one nor onto​


  1. Comparison with stored answer

Stored correct answer: A

This matches our derived answer.

PreviousNext

More from Functions

  • If the domain of the function f(x)=sin−1(2x+3x−1​) is R−(α,β), then 12αβ is equal to :2024 · MCQ
  • If a function f satisfies f( m+n)=f( m)+f(n) for all m,n∈N and f(1)=1, then the largest natural number λ such that ∑k=12022​f(λ+k)≤(2022)2…2024 · Numerical
  • Let the range of the function f(x)=2+sin3x+cos3x1​,x∈R be [a,b]. If α and β ar respectively the A.M. and the G.M. of a and b, then βα​ is equal to2024 · MCQ
  • Let A={(x,y):2x+3y=23,x,y∈N} and B={x:(x,y)∈A}. Then the number of one-one functions from A to B is equal to ​.2024 · Numerical
  • The function f:N−{1}→N; defined by f(n)= the highest prime factor of n, is :2024 · MCQ
  • Let f:R−{2−1​}→R and g:R−{2−5​}→R be defined as f(x)=2x+12x+3​ and g(x)=2x+5∣x∣+1​. Then, the domain of…2024 · MCQ
  • If f(x)={2+2x,1−3x​,​−1≤x<00≤x≤3​;g(x)={−x,x,​−3≤x≤00<x≤1​, then range…2024 · MCQ
  • If the domain of the function f(x)=cos−1(42−∣x∣​)+{loge​(3−x)}−1 is [−α,β)−{γ}, then α+β+γ is equal to :2024 · MCQ