Consider the given function f(x). f(x) = ax + b & for x < 1 x3 + x2 + 1 & for x ≥ 1 If the function is differentiable everywhere, the value of b must be … (rounded off to one decimal place)
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2025 Set 1 · Q31
Time
Your answerNumerical answer
Solution
Official answer: -2
CalculusFor the piecewise function to be differentiable everywhere, it must be differentiable and continuous at the boundary point .
1. Differentiability at : The left-hand derivative (LHD) must equal the right-hand derivative (RHD) at :
Equating the derivatives gives:
2. Continuity at : Since differentiability implies continuity, the left-hand limit must equal the value of the function at :
Substitute into the continuity equation:
Thus, the value of is -2.
Try the question first, then check your work.
Examiner trap
For differentiability everywhere, the function must be both continuous and have equal left- and right-hand derivatives at .
This Calculus previous year question is Q31 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Calculus in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Calculus PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Calculus has 40 GATE CSE PYQs across 25 papers from 2011 to 2026. 11 of them are 1-mark NAT questions like this one, and it is the only one in GATE CSE 2025 Set 1.
How GATE tests CalculusIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.