Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2021
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Hard

Question

If f(x) = \left\{ {\matrix{ {{1 \over {|x|}}} & {;\,|x|\, \ge 1} \cr {a{x^2} + b} & {;\,|x|\, < 1} \cr } } \right. is differentiable at every point of the domain, then the values of a and b are respectively :

Options

Solution

Key Concepts and Formulas

  • Continuity: A function f(x)f(x) is continuous at a point x=cx=c if limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
  • Differentiability: A function f(x)f(x) is differentiable at a point x=cx=c if the left-hand derivative (LHD) and the right-hand derivative (RHD) exist and are equal at x=cx=c.
    • LHD at x=cx=c: f(c)=limh0f(c+h)f(c)hf'(c^-) = \lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h}
    • RHD at x=cx=c: f(c+)=limh0+f(c+h)f(c)hf'(c^+) = \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h}
  • Relationship between Differentiability and Continuity: If a function is differentiable at a point, it must be continuous at that point.

Step-by-Step Solution

Step 1: Rewrite the function definition piecewise. The given function is f(x) = \left\{ {\matrix{ {{1 \over {|x|}}} & {;\,|x|\, \ge 1} \cr {a{x^2} + b} & {;\,|x|\, < 1} \cr } } \right.. We need to consider the absolute value x|x|.

  • If x1|x| \ge 1, then x1x \le -1 or x1x \ge 1. In this case, x=x|x| = x for x1x \ge 1 and x=x|x| = -x for x1x \le -1. So, f(x)=1xf(x) = \frac{1}{x} for x1x \ge 1 and f(x)=1x=1xf(x) = \frac{1}{-x} = -\frac{1}{x} for x1x \le -1.
  • If x<1|x| < 1, then 1<x<1-1 < x < 1. In this case, f(x)=ax2+bf(x) = ax^2 + b.

Thus, the function can be rewritten as: f(x) = \left\{ {\matrix{ { - {1 \over x};} & {x \le - 1} \cr {a{x^2} + b;} & { - 1 < x < 1} \cr {{1 \over x};} & {x \ge 1} \cr } } \right.

Step 2: Use the continuity condition at x = 1. Since the function is differentiable at every point, it must be continuous at x=1x=1. For continuity at x=1x=1, the left-hand limit, the right-hand limit, and the function value must be equal.

  • Left-hand limit at x=1x=1: limx1f(x)=limx1(ax2+b)=a(1)2+b=a+b\mathop {\lim }\limits_{x \to {1^- }} f(x) = \mathop {\lim }\limits_{x \to {1^- }} (ax^2 + b) = a(1)^2 + b = a+b.
  • Right-hand limit at x=1x=1: limx1+f(x)=limx1+1x=11=1\mathop {\lim }\limits_{x \to {1^+ }} f(x) = \mathop {\lim }\limits_{x \to {1^+ }} \frac{1}{x} = \frac{1}{1} = 1.
  • Function value at x=1x=1: f(1)=11=1f(1) = \frac{1}{1} = 1.

Equating the left-hand limit and the right-hand limit (or function value): a+b=1a+b = 1 (Equation 1)

Step 3: Use the continuity condition at x = -1. The function must also be continuous at x=1x=-1.

  • Left-hand limit at x=1x=-1: limx1f(x)=limx1(1x)=11=1\mathop {\lim }\limits_{x \to {-1^- }} f(x) = \mathop {\lim }\limits_{x \to {-1^- }} (-\frac{1}{x}) = -\frac{1}{-1} = 1.
  • Right-hand limit at x=1x=-1: limx1+f(x)=limx1+(ax2+b)=a(1)2+b=a+b\mathop {\lim }\limits_{x \to {-1^+ }} f(x) = \mathop {\lim }\limits_{x \to {-1^+ }} (ax^2 + b) = a(-1)^2 + b = a+b.
  • Function value at x=1x=-1: f(1)=11=1f(-1) = -\frac{1}{-1} = 1.

Equating the limits: 1=a+b1 = a+b This gives us the same equation as Equation 1, so it doesn't provide new information about aa and bb individually, but confirms consistency.

Step 4: Use the differentiability condition at x = 1. Since the function is differentiable at x=1x=1, the left-hand derivative (LHD) must equal the right-hand derivative (RHD) at x=1x=1.

First, let's find the derivatives of the respective pieces:

  • For x>1x > 1, f(x)=1x=x1f(x) = \frac{1}{x} = x^{-1}. The derivative is f(x)=x2=1x2f'(x) = -x^{-2} = -\frac{1}{x^2}.
  • For 1<x<1-1 < x < 1, f(x)=ax2+bf(x) = ax^2 + b. The derivative is f(x)=2axf'(x) = 2ax.

Now, we evaluate the derivatives at x=1x=1:

  • Right-hand derivative (RHD) at x=1x=1: f(1+)=limx1+f(x)=limx1+(1x2)=1(1)2=1f'(1^+) = \mathop {\lim }\limits_{x \to {1^+ }} f'(x) = \mathop {\lim }\limits_{x \to {1^+ }} \left(-\frac{1}{x^2}\right) = -\frac{1}{(1)^2} = -1.

  • Left-hand derivative (LHD) at x=1x=1: f(1)=limx1f(x)=limx1(2ax)=2a(1)=2af'(1^-) = \mathop {\lim }\limits_{x \to {1^- }} f'(x) = \mathop {\lim }\limits_{x \to {1^- }} (2ax) = 2a(1) = 2a.

Equating LHD and RHD at x=1x=1: 2a=12a = -1 a=12a = -\frac{1}{2}

Step 5: Use the differentiability condition at x = -1. The function must also be differentiable at x=1x=-1.

  • For x<1x < -1, f(x)=1x=x1f(x) = -\frac{1}{x} = -x^{-1}. The derivative is f(x)=(1)x2=x2=1x2f'(x) = -(-1)x^{-2} = x^{-2} = \frac{1}{x^2}.
  • For 1<x<1-1 < x < 1, f(x)=ax2+bf(x) = ax^2 + b. The derivative is f(x)=2axf'(x) = 2ax.

Now, we evaluate the derivatives at x=1x=-1:

  • Left-hand derivative (LHD) at x=1x=-1: f(1)=limx1f(x)=limx1(1x2)=1(1)2=1f'(-1^-) = \mathop {\lim }\limits_{x \to {-1^- }} f'(x) = \mathop {\lim }\limits_{x \to {-1^- }} \left(\frac{1}{x^2}\right) = \frac{1}{(-1)^2} = 1.

  • Right-hand derivative (RHD) at x=1x=-1: f(1+)=limx1+f(x)=limx1+(2ax)=2a(1)=2af'(-1^+) = \mathop {\lim }\limits_{x \to {-1^+ }} f'(x) = \mathop {\lim }\limits_{x \to {-1^+ }} (2ax) = 2a(-1) = -2a.

Equating LHD and RHD at x=1x=-1: 1=2a1 = -2a a=12a = -\frac{1}{2} This confirms the value of aa we found from the condition at x=1x=1.

Step 6: Solve for b using Equation 1. We found a=12a = -\frac{1}{2} and from Equation 1, we have a+b=1a+b=1. Substitute the value of aa: 12+b=1-\frac{1}{2} + b = 1 b=1+12b = 1 + \frac{1}{2} b=32b = \frac{3}{2}

Therefore, the values of aa and bb are 12-\frac{1}{2} and 32\frac{3}{2} respectively.

Common Mistakes & Tips

  • Forgetting the absolute value: Properly defining the function for x1x \le -1, 1<x<1-1 < x < 1, and x1x \ge 1 is crucial.
  • Confusing continuity and differentiability conditions: Ensure you use the limit equality for continuity and the derivative equality for differentiability.
  • Errors in differentiation: Double-check the derivatives of the piecewise functions, especially with negative signs and powers.
  • Algebraic errors: Be meticulous with arithmetic, especially when dealing with fractions and negative numbers.

Summary

To ensure the function is differentiable everywhere, we first enforced continuity at the points where the definition changes (x=1x=1 and x=1x=-1). This gave us an equation relating aa and bb. Then, we used the condition that the left-hand derivative must equal the right-hand derivative at these points. By calculating the derivatives of the respective pieces and evaluating them at x=1x=1 (or x=1x=-1), we obtained the value of aa. Finally, we substituted the value of aa back into the continuity equation to find the value of bb.

The final answer is a=12a = -\frac{1}{2} and b=32b = \frac{3}{2}.

The final answer is -1/2, 3/2\boxed{\text{-1/2, 3/2}}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions