IAE Academy

GATE 2025 CS1 Q.31: solution and answer

GATE 2025 · CS1Q.31 · 1 mark · NAT

Consider the given function .

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

See the question in the paper

Answer and solution

ANSWER

Official answer: -2.1 to -1.9Source: Official answer key, GATE 2025 CS1 (IIT Roorkee)

  1. Differentiable everywhere implies continuous at , so the value of the left piece as equals the value of the right piece at .

  2. Right piece at : . Left piece: . So .

  3. Differentiability at also needs equal one-sided derivatives. Left derivative: . Right derivative: , which at is .

  4. So .

  5. Then .

  6. Hence .

KEY IDEA

For a piecewise function to be differentiable at the join, both the function values (continuity) and the one-sided derivatives must match there. That gives two equations for the two unknowns and .

WATCH OUT FOR

Imposing only continuity (), which leaves and undetermined. Another slip is evaluating the right-hand derivative as or forgetting that the constant differentiates to .

From the GATE 2025 CS1 paper. Every question of this paper · Download the full paper · All 72 Calculus questions, with notes

More Calculus questions