GATE / CS ARCHIVE

GATE CSE 2025 SET 1 / QUESTION 31

Matching value and slope at a piecewise join

Engineering Mathematics & Other Topics · Calculus · Full GATE CSE 2025 Set 1 paper

GATE 2025 Set 1, Q31 1 mark · NAT
Report issue

Calculus

Question 31, GATE 2025: Let f(x)=ax+b for x<1 and f(x)=x³+x²+1 for x≥1. If f is differentiable everywhere, find b to one decimal place.
Tap to enlarge
Answer & solution

Official answer: -2.1 to -1.9

Our answer: -2.0

Approach: Both pieces are polynomials, so only the join x=1 can cause a problem. Differentiability requires both continuity and matching one-sided derivatives there.
The right-hand value is f(1)=1+1+1=3. The left-hand limit is a+b. Continuity therefore requires a+b=3.
The derivative on the left is a. The derivative on the right is 3x²+2x, whose value at 1 is 5. Matching the slopes gives a=5. Substituting into the continuity equation yields b=3−5=−2.
Thus enter −2.0. Matching derivatives alone would determine a but leave b undetermined; the continuity condition is essential. Once both conditions hold, the polynomial pieces join differentiably and there are no other problematic points. The official accepted interval −2.1 to −1.9 remains unchanged. This supplemental calculus item retains its existing excluded subject label.

Original paper, page 31 · Answer key