Skip to content
Official PYQ · 2025

GATE CS 2025 Set 1 Q21 — Calculus: Limits, Continuity, Differentiability

Explain with AI
Consider the given function f(x)f(x).

f(x)={ax+b for x<1x3+x2+1 for x≥1f(x)=\left\{\begin{array}{ll} a x+b & \text{ for } x<1 \\ x^{3}+x^{2}+1 & \text{ for } x \geq 1 \end{array}\right.
If the function is differentiable everywhere, the value of bb must be ________. (rounded off to one decimal place)
View worked solution

Answer: -2.1:-1.9

For the function f(x)f(x) to be differentiable everywhere, it must be both continuous and differentiable at the boundary point x=1x = 1.

1. Continuity at x=1x = 1

For f(x)f(x) to be continuous at x=1x = 1, the left-hand limit must equal the right-hand limit:

lim⁡x→1−f(x)=lim⁡x→1+f(x)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) a(1)+b=13+12+1a(1) + b = 1^3 + 1^2 + 1 a+b=3— (Equation 1)a + b = 3 \quad \text{--- (Equation 1)}

2. Differentiability at x=1x = 1

For f(x)f(x) to be differentiable at x=1x = 1, the left-hand derivative (LHD) must equal the right-hand derivative (RHD):

LHD=ddx(ax+b)∣x=1=a\text{LHD} = \left. \frac{d}{dx}(ax + b) \right|_{x=1} = a RHD=ddx(x3+x2+1)∣x=1=(3x2+2x)∣x=1=3(1)2+2(1)=5\text{RHD} = \left. \frac{d}{dx}(x^3 + x^2 + 1) \right|_{x=1} = \left. (3x^2 + 2x) \right|_{x=1} = 3(1)^2 + 2(1) = 5

Equating the LHD and RHD gives:

a=5a = 5

3. Solving for bb

Substitute a=5a = 5 into Equation 1:

5+b=3  ⟹  b=−25 + b = 3 \implies b = -2

Thus, the value of bb must be -2.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Calculus: Limits, Continuity, Differentiability questions