Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2023
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Easy

Question

Let a function f : R \to R be defined as f(x) = \left\{ {\matrix{ {\sin x - {e^x}} & {if} & {x \le 0} \cr {a + [ - x]} & {if} & {0 < x < 1} \cr {2x - b} & {if} & {x \ge 1} \cr } } \right. where [ x ] is the greatest integer less than or equal to x. If f is continuous on R, then (a + b) is equal to:

Options

Solution

Key Concepts and Formulas

  • Continuity of a Function: A function f(x)f(x) is continuous at a point x=cx = c if the following three conditions are met:
    1. f(c)f(c) is defined.
    2. limxcf(x)\lim_{x \to c} f(x) exists.
    3. limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c).
  • Existence of Limit: For the limit limxcf(x)\lim_{x \to c} f(x) to exist, the left-hand limit and the right-hand limit must be equal: limxcf(x)=limxc+f(x)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x).
  • Greatest Integer Function: The greatest integer function, denoted by [x][x], gives the greatest integer less than or equal to xx. For 0<x<10 < x < 1, [x]=0[x] = 0. For 1x<0-1 \le x < 0, [x]=1[x] = -1.

Step-by-Step Solution

Step 1: Analyze the function definition and continuity requirements. The function f(x)f(x) is defined piecewise. For f(x)f(x) to be continuous on R\mathbb{R}, it must be continuous at the points where the definition changes, which are x=0x = 0 and x=1x = 1. We will use the definition of continuity to set up equations involving aa and bb.

Step 2: Apply the continuity condition at x=0x = 0. For continuity at x=0x = 0, we need limx0f(x)=limx0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0).

  • Left-hand limit at x=0x = 0: As xx approaches 00 from the left (x0x \le 0), we use the first part of the function definition: f(x)=sinxexf(x) = \sin x - e^x. limx0f(x)=limx0(sinxex)=sin(0)e0=01=1\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (\sin x - e^x) = \sin(0) - e^0 = 0 - 1 = -1
  • Right-hand limit at x=0x = 0: As xx approaches 00 from the right (0<x<10 < x < 1), we use the second part of the function definition: f(x)=a+[x]f(x) = a + [-x]. limx0+f(x)=limx0+(a+[x])\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (a + [-x]) For xx slightly greater than 00 (e.g., 0.0010.001), x-x is slightly less than 00 (e.g., 0.001-0.001). The greatest integer less than or equal to a number slightly less than 00 is 1-1. So, [x]=1[-x] = -1 for 0<x<10 < x < 1. limx0+(a+[x])=a+(1)=a1\lim_{x \to 0^+} (a + [-x]) = a + (-1) = a - 1
  • Function value at x=0x = 0: For x0x \le 0, f(x)=sinxexf(x) = \sin x - e^x. f(0)=sin(0)e0=01=1f(0) = \sin(0) - e^0 = 0 - 1 = -1

Equating the left-hand limit, right-hand limit, and function value at x=0x=0: 1=a1=1-1 = a - 1 = -1 From this, we get a1=1a - 1 = -1, which implies a=0a = 0.

Step 3: Apply the continuity condition at x=1x = 1. For continuity at x=1x = 1, we need limx1f(x)=limx1+f(x)=f(1)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1).

  • Left-hand limit at x=1x = 1: As xx approaches 11 from the left (0<x<10 < x < 1), we use the second part of the function definition: f(x)=a+[x]f(x) = a + [-x]. limx1f(x)=limx1(a+[x])\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (a + [-x]) For xx slightly less than 11 (e.g., 0.9990.999), [x][-x] will be the greatest integer less than or equal to a number slightly less than 1-1 (e.g., 0.999-0.999). This integer is 1-1. limx1(a+[x])=a+(1)=a1\lim_{x \to 1^-} (a + [-x]) = a + (-1) = a - 1 Since we found a=0a = 0 from Step 2, this limit is 01=10 - 1 = -1.

  • Right-hand limit at x=1x = 1: As xx approaches 11 from the right (x1x \ge 1), we use the third part of the function definition: f(x)=2xbf(x) = 2x - b. limx1+f(x)=limx1+(2xb)=2(1)b=2b\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (2x - b) = 2(1) - b = 2 - b

  • Function value at x=1x = 1: For x1x \ge 1, f(x)=2xbf(x) = 2x - b. f(1)=2(1)b=2bf(1) = 2(1) - b = 2 - b

Equating the left-hand limit, right-hand limit, and function value at x=1x=1: a1=2b=2ba - 1 = 2 - b = 2 - b We already know a=0a = 0. Substituting this into the equation: 01=2b0 - 1 = 2 - b 1=2b-1 = 2 - b Solving for bb: b=2+1=3b = 2 + 1 = 3

Step 4: Calculate (a+b)(a + b). We have found a=0a = 0 and b=3b = 3. a+b=0+3=3a + b = 0 + 3 = 3

Common Mistakes & Tips

  • Incorrectly evaluating the greatest integer function: Pay close attention to the interval for [x][-x]. For 0<x<10 < x < 1, 1<x<0-1 < -x < 0, so [x]=1[-x] = -1. For xx approaching 11 from the left (0<x<10 < x < 1), x-x is between 1-1 and 00, so [x]=1[-x] = -1.
  • Confusing left-hand and right-hand limits: Ensure you are using the correct part of the piecewise function for each limit. For xcx \to c^-, use the definition for xcx \le c or intervals to the left of cc. For xc+x \to c^+, use the definition for xcx \ge c or intervals to the right of cc.
  • Algebraic errors: Double-check your algebraic manipulations when solving for aa and bb.

Summary

To ensure the function f(x)f(x) is continuous on R\mathbb{R}, we must enforce continuity at the points where the function definition changes, namely x=0x=0 and x=1x=1. By applying the definition of continuity (limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)) at x=0x=0, we found the value of aa. Subsequently, by applying the same continuity condition at x=1x=1 and using the value of aa, we determined the value of bb. Finally, we summed aa and bb to obtain the required result.

The final answer is 3\boxed{3}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions