Skip to main content

Continuity MCQ: If the function f(x)= 2 x, & |x| ≤ 1 x^2+a x+b, &…

JEE · Mathematics · Continuity

1 Medium +4 | -1 Analyzing
If the function
f(x)={2x,∣x∣≤1x2+ax+b,∣x∣>1f(x)= \begin{cases}2 x, & |x| \leq 1 \\ x^2+a x+b, & |x| > 1\end{cases}
is continuous for all real xx, then
View answer and explanation
Correct option: C
a=2,b=−1a=2, b=-1 and ff is not differentiable at x=−1,1x=-1,1
Option C (a=2,b=−1a=2, b=-1 and ff is not differentiable at x=−1,1x=-1,1) is correct because the function must be continuous at x = -1 and x = 1, and the derivatives do not match at these points.
Solution approach
  1. Correct Answer + Core Reason: a=2,b=−1a=2, b=-1 and ff is not differentiable at x=−1,1x=-1,1. The function is continuous but not differentiable at the specified points.

    Step-by-Step Solution:
    Step 1: For continuity at x=−1x = -1, we need lim⁡x→−1−f(x)=lim⁡x→−1+f(x)=f(−1)\lim_{x \to -1^-} f(x) = \lim_{x \to -1^+} f(x) = f(-1).

    Step 2: lim⁡x→−1−f(x)=(−1)2+a(−1)+b=1−a+b\lim_{x \to -1^-} f(x) = (-1)^2 + a(-1) + b = 1 - a + b.

    Step 3: lim⁡x→−1+f(x)=2(−1)=−2\lim_{x \to -1^+} f(x) = 2(-1) = -2.

    Step 4: So, 1−a+b=−21 - a + b = -2, which gives a−b=3a - b = 3 ... (1).

    Step 5: For continuity at x=1x = 1, we need lim⁡x→1−f(x)=lim⁡x→1+f(x)=f(1)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1).

    Step 6: lim⁡x→1−f(x)=2(1)=2\lim_{x \to 1^-} f(x) = 2(1) = 2.

    Step 7: lim⁡x→1+f(x)=(1)2+a(1)+b=1+a+b\lim_{x \to 1^+} f(x) = (1)^2 + a(1) + b = 1 + a + b.

    Step 8: So, 1+a+b=21 + a + b = 2, which gives a+b=1a + b = 1 ... (2).

    Step 9: Solving (1) and (2), we get a=2a = 2 and b=−1b = -1.

    Step 10: Now, check for differentiability. f(x)={x2+2x−1x<−12x−1≤x≤1x2+2x−1x>1f(x) = \begin{cases} x^2 + 2x - 1 & x < -1 \\ 2x & -1 \leq x \leq 1 \\ x^2 + 2x - 1 & x > 1 \end{cases}

    Step 11: f′(x)={2x+2x<−12−1≤x≤12x+2x>1f'(x) = \begin{cases} 2x + 2 & x < -1 \\ 2 & -1 \leq x \leq 1 \\ 2x + 2 & x > 1 \end{cases}

    Step 12: At x=−1x = -1, f′(−1−)=2(−1)+2=0f'(-1^-) = 2(-1) + 2 = 0 and f′(−1+)=2f'(-1^+) = 2. Since f′(−1−)≠f′(−1+)f'(-1^-) \neq f'(-1^+), ff is not differentiable at x=−1x = -1.

    Step 13: At x=1x = 1, f′(1−)=2f'(1^-) = 2 and f′(1+)=2(1)+2=4f'(1^+) = 2(1) + 2 = 4. Since f′(1−)≠f′(1+)f'(1^-) \neq f'(1^+), ff is not differentiable at x=1x = 1.

    Why other options are wrong:
    - Option A: a=2,b=−1a=2, b=-1 and ff is differentiable for all xx. This is incorrect because ff is not differentiable at x=−1x=-1 and x=1x=1.
    - Option B: a=−2,b=1a=-2, b=1 and ff is not differentiable at x=−1,1x=-1,1. This is incorrect because the values of aa and bb are incorrect.
    - Option D: a=−2,b=−1a=-2, b=-1 and ff is not differentiable at x=−1,1x=-1,1. This is incorrect because the values of aa and bb are incorrect.

    Key Concepts:
    - Continuity of a function
    - Differentiability of a function
    - Limits

    Memory Aids:
    - A function must be continuous to be differentiable.

    Quick Tips:
    - Check for continuity first before checking for differentiability.
    - Ensure that the left-hand limit and right-hand limit are equal for continuity.
    - Ensure that the left-hand derivative and right-hand derivative are equal for differentiability.

More Questions from Continuity

Practice all chapter MCQs →
Let f:[0,∞)→[0,∞)f:[0,\infty ) \to [0,\infty ) be defined as
f(x)=∫0x[y]dyf(x) = \int_0^x {\left[ y \right]dy}
where, [x][x] is the greatest integer less than or equal to xx.
Which of the following is true?
Let a>0,b>0a > 0, b > 0 and
f(x)={ax−bxx if x≠0k if x=0f(x)= \begin{cases}\frac{a^x-b^x}{x} & \text { if } x \neq 0 \\ k & \text { if } x=0\end{cases}
If ff is continuous at x=0x=0, then the value of kk is
Let a function f:R→Rf:R \to R, where RR is the set of real numbers satisfying the equation f(x+y)=f(x)+f(y),∀x,yf\left( {x + y} \right) = f\left( x \right) + f\left( y \right),\forall x,y if f(x)f\left( x \right) is continuous at x=0x = 0, then Let f:[−1,3]→Rf:[ - 1,3] \to R be defined as f(x)={∣x∣+[x],−1≤x<1x+∣x∣,1≤x<2x+[x],2≤x<3,f(x) = \left\{ \begin{array}{l} \left| x \right| + [x], - \mathrm{1} \le x < 1\\ x + \left| x \right|,\mathrm{ 1} \le x < 2\\ x + [x],\mathrm{2} \le x < 3, \end{array} \right. Where, [t][t] denotes the greatest integer less than or equal to t.t. Then, ff is discontinuous at If f(x)=[x][sin⁡πx],x∈(−1,1)f(x)=[x][\sin \pi x], x \in(-1,1). Then, f(x)f(x) is Let
f(x)=lim⁡n→−[log⁡(2+x)−x2nsin⁡x1+x2n]f(x)=\lim \limits_{{n \rightarrow-}}\left[\frac{\log (2+x)-x^{2 n} \sin x}{1+x^{2 n}}\right]
for x>0x > 0. Then
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.