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 · 5 Apr · Shift 2 · Q32
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 · 5 Apr · Shift 2 · Q32

Functions question

2024 · 5 Apr · Shift 2 · Q32

JEE MainMathematicsFunctionsMCQ+4 / −1
Let f,g:R→Rf, g: \mathbf{R} \rightarrow \mathbf{R}f,g:R→R be defined as : f(x)=∣x−1∣ and g(x)={ex,x≥0x+1,x≤0.f(x)=|x-1| \text { and } g(x)= \begin{cases}\mathrm{e}^x, & x \geq 0 \\ x+1, & x \leq 0 .\end{cases}f(x)=∣x−1∣ and g(x)={ex,x+1,​x≥0x≤0.​ Then the function f(g(x))f(g(x))f(g(x)) is
  1. A
    neither one-one nor onto.
  2. B
    one-one but not onto.
  3. C
    both one-one and onto.
  4. D
    onto but not one-one.
View written solutionFree

Correct answer: A

  1. Given functions

f(x)=∣x−1∣f(x)=|x-1|f(x)=∣x−1∣

and

e^x, & x\ge 0,\\ x+1, & x\le 0. \end{cases}$$ We need to study the composite function $$h(x)=f(g(x))=|g(x)-1|.$$ --- 2. **Compute $f(g(x))$ piecewise** Since $g$ itself is piecewise, we evaluate separately. ### Case 1: $x\ge 0$ Then $$g(x)=e^x$$ so $$h(x)=f(g(x))=|e^x-1|.$$ Now for $x\ge 0$, we have $e^x\ge 1$, hence $$|e^x-1|=e^x-1.$$ So for $x\ge 0$, $$h(x)=e^x-1.$$ ### Case 2: $x\le 0$ Then $$g(x)=x+1$$ so $$h(x)=f(g(x))=|(x+1)-1|=|x|.$$ For $x\le 0$, $|x|=-x$. Thus $$h(x)=-x.$$ Hence the composite function is $$h(x)=f(g(x))=\begin{cases} -x, & x\le 0,\\ e^x-1, & x\ge 0. \end{cases}$$ At $x=0$, both give $0$, so this is consistent. --- 3. **Check whether $h$ is one-one** A function is one-one if different inputs always give different outputs. Let us test values from the two branches: - For $x=-1$, $$h(-1)=-(-1)=1.$$ - For $x=\ln 2$ (note that $\ln 2>0$), $$h(\ln 2)=e^{\ln 2}-1=2-1=1.$$ Thus, $$h(-1)=h(\ln 2)=1,$$ but $$-1\ne \ln 2.$$ Therefore, $h$ is **not one-one**. --- 4. **Check whether $h$ is onto** For onto $\mathbb R$, the range must be all real numbers. Now, - For $x\le 0$, $$h(x)=-x\ge 0.$$ - For $x\ge 0$, $$h(x)=e^x-1\ge 0.$$ So in every case, $$h(x)\ge 0.$$ Hence the range of $h$ is contained in $[0,\infty)$, not all of $\mathbb R$. In fact, - from the branch $-x$ for $x\le 0$, we get all values in $[0,\infty)$, - and from $e^x-1$ for $x\ge 0$, we also get $[0,\infty)$. So the range is exactly $$[0,\infty).$$ Therefore, $h$ is **not onto** as a function from $\mathbb R$ to $\mathbb R$. --- 5. **Conclusion** The function $f(g(x))$ is - **not one-one**, and - **not onto**. So the correct option is: $$\boxed{\text{A: neither one-one nor onto}}.$$ --- 6. **Comparison with stored correct answer** Stored correct answer: **A** Our derived answer: **A** They match.
PreviousNext

More from Functions

  • The function f(x)=x2−4x+9x2+2x−15​,x∈R is2024 · MCQ
  • If the function f(x)=(x1​)2x;x>0 attains the maximum value at x=e1​ then :2024 · MCQ
  • Let f(x)=7−sin5x1​ be a function defined on R. Then the range of the function f(x) is equal to :2024 · MCQ
  • If the range of f(θ)=sin4θ+cos2θsin4θ+3cos2θ​,θ∈R is [α,β], then the sum of the infinite G.P., whose first term is 64 and the common ratio is βα​…2024 · Numerical
  • Let f(x)={−ax+a​ if  if ​−a≤x≤00<x≤a​ where a>0 and g(x)=(f(∣x∣)−∣f(x)∣)/2…2024 · MCQ
  • 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