QlarIITy

MathematicsJEE Main 2022 · 28 JuneSingle correct

Let f,g:R→Rf, g : \mathbb{R} \to \mathbb{R} be functions defined byf(x)={[x],x<0∣1−x∣,x≥0f(x) = \begin{cases} [x], & x < 0 \\ |1 - x|, & x \geq 0 \end{cases}andg(x)={ex−x,x<0(x−1)2−1,x≥0g(x) = \begin{cases} e^x - x, & x < 0 \\ (x - 1)^2 - 1, & x \geq 0 \end{cases}where [x][x] denote the greatest integer less than or equal to xx. Then, the function f∘gf \circ g is discontinuous at exactly

  1. Option A: one point
  2. Option B: two points
  3. Option C: three points
  4. Option D: four points
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A composite is discontinuous where the inner function crosses a point of discontinuity of the outer one.

Concept refresher. The greatest integer [x][x] is the integer nn with

n≤x<n+1n \leq x < n + 1

so [x]≤n[x] \leq n means x<n+1x < n + 1 and [x]≥n[x] \geq n means x≥nx \geq n.

Picture the situation. For x<0x < 0, g(x)=ex−xg(x) = e^x - x is greater than 1, so f(g(x))=∣1−g(x)∣=g(x)−1f(g(x)) = |1 - g(x)| = g(x) - 1, which tends to 0 as xx tends to 0 from the left. For x≥0x \geq 0, g(x)=(x−1)2−1=x(x−2)g(x) = (x - 1)^2 - 1 = x(x - 2): it is 0 at x=0x = 0 and x=2x = 2, lies in [−1,0)[-1, 0) between them, and is positive after 2.

Approach. Evaluate the composite on each interval and compare the sides at 0 and at 2.

  1. Step 1: Between 0 and 2

    Here g(x)g(x) is in [−1,0)[-1, 0), so f(g(x))=[g(x)]=−1f(g(x)) = [g(x)] = -1. At x=0x = 0 and x=2x = 2, g=0g = 0 and f(0)=∣1−0∣=1f(0) = |1 - 0| = 1.

  2. Step 2: The jumps

    At 0 the left-hand limit is 0, the value is 1 and the right-hand limit is −1-1. At 2 the left-hand limit is −1-1, while the value and the right-hand limit are 1. So the composite is discontinuous at exactly two points.

Answer. (B) two points

Sanity check. At x=1x = 1, where g=−1g = -1, the bracket is −1-1 at the point and on both sides, so there is no jump there.

Why the other options are wrong

  • (A) One point misses one of the two zeros of the inner function; the composite jumps at both 0 and 2.
  • (C) Three points would add x=1x = 1, but there the bracket equals −1-1 on both sides and at the point.
  • (D) Four points would need two more jumps, but outside 0 and 2 the composite is continuous.

Key takeaway

The trap. The value of the composite where the inner function is exactly 0 comes from the other formula.

How toppers think. They tabulate the inner function interval by interval before applying the outer one.

Remember. g(x)=x(x−2)g(x) = x(x - 2) for x≥0x \geq 0

More on Continuity