Skip to content
GATEiit

GATE CSE 2025 Session 1 Q31: Value of b making a piecewise function differentiable

Question

Consider the given function f(x)f(x).

f(x)={ax+bfor x<1x3+x2+1for x≥1f(x) = \begin{cases} ax + b & \text{for } x < 1 \\ x^3 + x^2 + 1 & \text{for } x \ge 1 \end{cases}

If the function is differentiable everywhere, the value of bb must be ________. (rounded off to one decimal place)

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: -2.1 to -1.9 (official GATE 2025 final answer key)

Concept used: Differentiability at the join needs both continuity and equal one-sided derivatives.

First step: Match slopes at x=1x = 1: a=3x2+2xa = 3x^2 + 2x at x=1x = 1; then match values: a+b=1+1+1a + b = 1 + 1 + 1.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key