NVAMediumJEE 2025Continuity

JEE Mathematics 2025 Question with Solution

Let f(x)f(x) be defined as follows:

f(x)={3x,if x<0min(1+x+x,2+xx),if 0x25,if x>2f(x) = \begin{cases} 3x, & \text{if } x < 0\\ \min(1+x+\lfloor x \rfloor, 2+x\lfloor x \rfloor), & \text{if } 0 \leq x \leq 2\\ 5, & \text{if } x > 2 \end{cases}

where .\lfloor . \rfloor denotes the greatest integer function. If α\alpha and β\beta are the number of points, where ff is not continuous and is not differentiable, respectively, then α+β\alpha + \beta equals:

Answer

Correct answer:5

Step-by-step solution

Standard Method

Given:

f(x)={3x,if x<0min(1+x+x,2+xx),if 0x25,if x>2f(x) = \begin{cases} 3x, & \text{if } x < 0\\ \min(1+x+\lfloor x \rfloor, 2+x\lfloor x \rfloor), & \text{if } 0 \leq x \leq 2\\ 5, & \text{if } x > 2 \end{cases}

Find: The value of α+β\alpha + \beta, where α\alpha is the number of points of discontinuity and β\beta is the number of points of non-differentiability.

For 0x<10 \leq x < 1, x=0\lfloor x \rfloor = 0, so

f(x)=min(1+x,2)f(x) = \min(1+x, 2)

Hence, for 0x<10 \leq x < 1,

f(x)=1+xf(x) = 1+x

For 1x<21 \leq x < 2, x=1\lfloor x \rfloor = 1, so

f(x)=min(1+x+1,2+x)=min(x+2,x+2)=x+2f(x) = \min(1+x+1, 2+x) = \min(x+2, x+2) = x+2

Thus the possible critical points are x=0,1,2x = 0, 1, 2.

Check continuity:

limx0f(x)=limx03x=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} 3x = 0 limx0+f(x)=1\lim_{x \to 0^+} f(x) = 1

So ff is not continuous at x=0x = 0.

At x=1x = 1,

limx1f(x)=1+1=2\lim_{x \to 1^-} f(x) = 1+1 = 2 limx1+f(x)=1+2=3\lim_{x \to 1^+} f(x) = 1+2 = 3

So ff is not continuous at x=1x = 1.

At x=2x = 2,

f(2)=min(1+2+2,2+22)=min(5,6)=5f(2) = \min(1+2+2, 2+2\cdot 2) = \min(5, 6) = 5

For x>2x > 2, f(x)=5f(x) = 5, so the right-hand limit is also 55. Hence ff is continuous at x=2x = 2.

Therefore,

α=2\alpha = 2

with discontinuities at x=0,1x = 0, 1.

Now check differentiability. Every discontinuity point is automatically a point of non-differentiability, so x=0x = 0 and x=1x = 1 are included. Also, at x=2x = 2, the slope changes from the left piece x+2x+2 to the right constant piece 55, so ff is not differentiable at x=2x = 2.

Thus,

β=3\beta = 3

with non-differentiability at x=0,1,2x = 0, 1, 2.

Therefore,

α+β=2+3=5\alpha + \beta = 2 + 3 = 5

The required answer is 55.

Interval-wise Analysis

Given: The middle part of the function contains the greatest integer term x\lfloor x \rfloor.

Find: Count discontinuity points and non-differentiability points.

  1. For x<0x < 0,
f(x)=3xf(x) = 3x

which is continuous and differentiable.

  1. For 0x<10 \leq x < 1,
x=0\lfloor x \rfloor = 0

so

f(x)=min(1+x+0,2+x0)=min(1+x,2)f(x) = \min(1+x+0, 2+x\cdot 0) = \min(1+x, 2)

Since 1+x<21+x < 2 for x<1x < 1,

f(x)=1+xf(x) = 1+x
  1. For 1x<21 \leq x < 2,
x=1\lfloor x \rfloor = 1

so

f(x)=min(1+x+1,2+x1)=min(x+2,x+2)=x+2f(x) = \min(1+x+1, 2+x\cdot 1) = \min(x+2, x+2) = x+2
  1. At x=0x = 0,
  • left limit is 00,
  • right limit is 11. So there is a discontinuity.
  1. At x=1x = 1,
  • left limit from 1+x1+x is 22,
  • right limit from x+2x+2 is 33. So there is a discontinuity.
  1. At x=2x = 2,
f(2)=5f(2) = 5

and for x>2x > 2 also f(x)=5f(x) = 5, so the function is continuous there.

Hence the discontinuity points are x=0,1x = 0, 1, giving

α=2\alpha = 2

For differentiability:

  • discontinuity at x=0x = 0 and x=1x = 1 already implies non-differentiability,
  • at x=2x = 2, left derivative of x+2x+2 is 11 and right derivative of 55 is 00. So x=2x = 2 is also non-differentiable.

Therefore,

β=3\beta = 3

and

α+β=5\alpha + \beta = 5

So the final answer is 55.

Common mistakes

  • Treating the discontinuity points as only the junctions of the outer pieces, namely x=0x = 0 and x=2x = 2. This is wrong because x\lfloor x \rfloor also changes value at the integer point x=1x = 1 inside the interval. Always inspect all integer points where the floor function changes.

  • Using 2=1\lfloor 2 \rfloor = 1 while evaluating f(2)f(2). This is incorrect because 2=2\lfloor 2 \rfloor = 2. Substitute the exact endpoint value carefully before checking continuity at x=2x = 2.

  • Assuming continuity implies differentiability at x=2x = 2 without comparing left and right derivatives. The function is continuous at x=2x = 2, but the slope changes from 11 on the left to 00 on the right. Always test derivatives separately.

Practice more Continuity questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions