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

Question

Let f : R \to R be defined as f(x)={\matrix2sin(πx2),ifx<1\hfill\crax2+x+b,if1x1\hfill\crsin(πx),ifx>1\hfill\crf(x) = \left\{ \matrix{ 2\sin \left( { - {{\pi x} \over 2}} \right),if\,x < - 1 \hfill \cr |a{x^2} + x + b|,\,if - 1 \le x \le 1 \hfill \cr \sin (\pi x),\,if\,x > 1 \hfill \cr} \right. If f(x) is continuous on R, then a + b equals :

Options

Solution

Key Concepts and Formulas

  • Continuity of a function: A function f(x)f(x) is continuous at a point cc if the following three conditions are met:
    1. f(c)f(c) is defined.
    2. limxcf(x)\lim_{x \to c} f(x) exists. This means the left-hand limit and the right-hand limit are equal: limxcf(x)=limxc+f(x)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x).
    3. limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c).
  • Piecewise functions: For a function defined in pieces, continuity at the points where the definition changes requires the limits from both sides to be equal to the function's value at that point.

Step-by-Step Solution

Step 1: Understand the condition for continuity. The problem states that f(x)f(x) is continuous on R\mathbb{R}. This means f(x)f(x) must be continuous at x=1x = -1 and x=1x = 1, the points where the definition of the function changes. For continuity at a point cc, the left-hand limit, the right-hand limit, and the function value at cc must all be equal: limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).

Step 2: Apply the continuity condition at x=1x = -1. We need to evaluate the left-hand limit, the right-hand limit, and the function value at x=1x = -1.

  • Left-hand limit at x=1x = -1: For x<1x < -1, f(x)=2sin(πx2)f(x) = 2\sin\left(-\frac{\pi x}{2}\right). limx1f(x)=limx12sin(πx2)\lim_{x \to -1^-} f(x) = \lim_{x \to -1^-} 2\sin\left(-\frac{\pi x}{2}\right) Substitute x=1x = -1: 2sin(π(1)2)=2sin(π2)=2(1)=22\sin\left(-\frac{\pi (-1)}{2}\right) = 2\sin\left(\frac{\pi}{2}\right) = 2(1) = 2

  • Right-hand limit at x=1x = -1: For 1x1-1 \le x \le 1, f(x)=ax2+x+bf(x) = |ax^2 + x + b|. limx1+f(x)=limx1+ax2+x+b\lim_{x \to -1^+} f(x) = \lim_{x \to -1^+} |ax^2 + x + b| Substitute x=1x = -1: a(1)2+(1)+b=a1+b=a+b1|a(-1)^2 + (-1) + b| = |a - 1 + b| = |a + b - 1|

  • Function value at x=1x = -1: For 1x1-1 \le x \le 1, f(x)=ax2+x+bf(x) = |ax^2 + x + b|. f(1)=a(1)2+(1)+b=a1+b=a+b1f(-1) = |a(-1)^2 + (-1) + b| = |a - 1 + b| = |a + b - 1|

For continuity at x=1x = -1, we must have limx1f(x)=limx1+f(x)=f(1)\lim_{x \to -1^-} f(x) = \lim_{x \to -1^+} f(x) = f(-1). Therefore, we get the equation: 2=a+b1() 2 = |a + b - 1| \quad (*)

Step 3: Apply the continuity condition at x=1x = 1. We need to evaluate the left-hand limit, the right-hand limit, and the function value at x=1x = 1.

  • Left-hand limit at x=1x = 1: For 1x1-1 \le x \le 1, f(x)=ax2+x+bf(x) = |ax^2 + x + b|. limx1f(x)=limx1ax2+x+b\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} |ax^2 + x + b| Substitute x=1x = 1: a(1)2+1+b=a+1+b=a+b+1|a(1)^2 + 1 + b| = |a + 1 + b| = |a + b + 1|

  • Right-hand limit at x=1x = 1: For x>1x > 1, f(x)=sin(πx)f(x) = \sin(\pi x). limx1+f(x)=limx1+sin(πx)\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} \sin(\pi x) Substitute x=1x = 1: sin(π1)=sin(π)=0\sin(\pi \cdot 1) = \sin(\pi) = 0

  • Function value at x=1x = 1: For 1x1-1 \le x \le 1, f(x)=ax2+x+bf(x) = |ax^2 + x + b|. f(1)=a(1)2+1+b=a+1+b=a+b+1f(1) = |a(1)^2 + 1 + b| = |a + 1 + b| = |a + b + 1|

For continuity at x=1x = 1, we must have limx1f(x)=limx1+f(x)=f(1)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1). Therefore, we get the equation: a+b+1=0|a + b + 1| = 0 This implies: a+b+1=0a + b + 1 = 0 a+b=1() a + b = -1 \quad (**)

Step 4: Solve the system of equations. We have two equations:

  1. a+b1=2|a + b - 1| = 2 (from Step 2)
  2. a+b=1a + b = -1 (from Step 3)

Substitute the value of a+ba + b from equation () into equation (*): (1)1=2|(-1) - 1| = 2 2=2|-2| = 2 2=22 = 2 This equation is consistent. We are asked to find the value of a+ba+b. From equation (), we have already found that a+b=1a+b = -1.

Step 5: Verify the solution. We found a+b=1a+b = -1. Let's check if this satisfies the condition a+b1=2|a+b-1|=2. Substituting a+b=1a+b = -1 into a+b1|a+b-1|, we get 11=2=2|-1-1| = |-2| = 2, which is true. Also, a+b+1=1+1=0a+b+1 = -1+1 = 0, so a+b+1=0|a+b+1|=0, which is also true.

Thus, the condition a+b=1a+b = -1 is consistent with the continuity requirements.

Common Mistakes & Tips

  • Absolute Value: Remember that x=k|x| = k implies x=kx = k or x=kx = -k. In this problem, the equation a+b1=2|a+b-1|=2 could have led to two cases: a+b1=2a+b-1=2 or a+b1=2a+b-1=-2. However, the second continuity condition at x=1x=1 directly gives a+b=1a+b=-1, which simplifies the problem significantly.
  • Careful with Signs: Pay close attention to the signs when substituting values into the function definitions, especially when dealing with negative numbers and absolute values.
  • Check Both Points: Ensure you apply the continuity conditions at all transition points (x=1x=-1 and x=1x=1 in this case).

Summary

To ensure the function f(x)f(x) is continuous on R\mathbb{R}, we applied the condition for continuity at the points where the function definition changes, namely x=1x = -1 and x=1x = 1. At x=1x = -1, the equality of the left-hand limit and the right-hand limit yielded a+b1=2|a+b-1|=2. At x=1x = 1, the equality of the left-hand limit and the right-hand limit gave a+b+1=0|a+b+1|=0, which simplified to a+b=1a+b=-1. Substituting a+b=1a+b=-1 into the first equation a+b1=2|a+b-1|=2 resulted in 11=2=2|-1-1|=|-2|=2, confirming consistency. The problem asks for the value of a+ba+b, which we found directly from the continuity condition at x=1x=1 to be 1-1.

The final answer is 1\boxed{-1}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions