Skip to main content

GATE CSE 2025Calculus › Differentiation, Maxima & MinimaVerified

GATE CSE 2025 PYQ: Consider the given function f ( x ) f(x) f ( x ) . f ( x ) = { a x + b for x < 1 x 3 + x 2 + 1 for x ≥ 1…

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)

    Answer

    -2

    Approach

    For f to be differentiable everywhere, it must be continuous at the joint x = 1 and its left- and right-hand derivatives there must match. Use continuity to relate a and b, then use derivative equality to find a and hence b.

    Differentiability at the piecewise junction requires both continuity and equal one-sided derivatives. Continuity gives a + b = 3, and matching slopes gives a = 5, so b = -2. Rounded to one decimal place, the required value is -2.0.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.