QlarIITy

MathematicsJEE Main 2026 · 6 AprilInteger

Letf(x)={x3+8;x<0,x2−4;x≥0,f(x) = \begin{cases} x^3 + 8; & x < 0, \\ x^2 - 4; & x \geq 0, \end{cases}andg(x)={(x−8)1/3;x<0,(x+4)1/2;x≥0.g(x) = \begin{cases} (x - 8)^{1/3}; & x < 0, \\ (x + 4)^{1/2}; & x \geq 0. \end{cases}Then the number of points, where the function g∘fg \circ f is discontinuous, is ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A composite of piecewise functions must be split where the inner formula changes and where the inner value crosses a break of the outer function.

Concept refresher. A function hh is continuous at aa when

lim⁡x→a−h(x)=lim⁡x→a+h(x)=h(a)\lim_{x \to a^-} h(x) = \lim_{x \to a^+} h(x) = h(a)

A composite g∘fg \circ f of functions that are continuous on pieces can break only where ff changes its formula or where f(x)f(x) crosses a point at which gg changes its formula.

Picture the situation. The outer function gg changes its formula at 00, so the value f(x)f(x) must be compared with 00. The inner function changes its formula at x=0x = 0; on x<0x < 0, f(x)=x3+8f(x) = x^3 + 8 is negative for x<−2x < -2, and on x≥0x \geq 0, f(x)=x2−4f(x) = x^2 - 4 is negative for x<2x < 2. This gives four pieces of the real line.

Approach. Write g(f(x))g(f(x)) on each of the four pieces, then compare the left and right values at x=−2x = -2, 00 and 22.

  1. Step 1: Write g of f on each piece

    On each piece, choose the formula for gg by the sign of f(x)f(x):

    g(f(x))={x,x<−2x3+12,−2≤x<0x2−123,0≤x<2x,x≥2g(f(x)) = \begin{cases} x, & x < -2 \\ \sqrt{x^3 + 12}, & -2 \leq x < 0 \\ \sqrt[3]{x^2 - 12}, & 0 \leq x < 2 \\ x, & x \geq 2 \end{cases}

    since (x3+8−8)1/3=x\left(x^3 + 8 - 8\right)^{1/3} = x and (x2−4+4)1/2=∣x∣=x\left(x^2 - 4 + 4\right)^{1/2} = |x| = x for x≥2x \geq 2.

  2. Step 2: Check the split points

    Each formula is continuous on its own piece, so only the split points can fail. Comparing the two sides:

    x=−2: −2 and 4=2x=0: 12 and −123x=2: −83=−2 and 2\begin{aligned} x = -2&: \ -2 \text{ and } \sqrt{4} = 2 \\[4pt] x = 0&: \ \sqrt{12} \text{ and } \sqrt[3]{-12} \\[4pt] x = 2&: \ \sqrt[3]{-8} = -2 \text{ and } 2 \end{aligned}

    The two values differ at all three points, so g∘fg \circ f is discontinuous at exactly 33 points.

Answer. 3

Sanity check. Just left of x=2x = 2, at x=1.99x = 1.99, f(x)≈−0.04f(x) \approx -0.04 and g(f(x))≈−8.043≈−2.00g(f(x)) \approx \sqrt[3]{-8.04} \approx -2.00, while g(f(2))=g(0)=2g(f(2)) = g(0) = 2; the jump of about 44 confirms one of the three breaks.

Common wrong answers

  • 1: Checking only x=0x = 0, where ff changes its formula, finds the jump from 12\sqrt{12} to −123-\sqrt[3]{12} and gives 11; the jumps at x=−2x = -2 (from −2-2 to 22) and at x=2x = 2 (from −2-2 to 22) are missed.
  • 2: Checking only x=−2x = -2 and x=2x = 2, where f(x)=0f(x) = 0, finds two jumps but misses x=0x = 0, where g(f(x))g(f(x)) jumps from 12≈3.46\sqrt{12} \approx 3.46 to −123≈−2.29-\sqrt[3]{12} \approx -2.29.
  • 0: Assuming that a composite of functions built from continuous pieces is continuous gives 00; at x=2x = 2, for example, the left limit is −83=−2\sqrt[3]{-8} = -2 but g(f(2))=4=2g(f(2)) = \sqrt{4} = 2.

Key takeaway

The trap. Checking only x=0x = 0, where ff changes formula, and missing x=±2x = \pm 2, where f(x)f(x) crosses zero.

How toppers think. They solve f(x)=0f(x) = 0 on each piece first, so every split point is listed before any limit is taken.

Remember. hh is continuous at aa exactly when both one-sided limits equal h(a)h(a).

More on Continuity