High yield ●●●

📐 Differentiation & Mean Value Theorems

Why it matters: Differentiability of piecewise and max/abs functions, monotonicity and the mean value theorems are tested almost every other year, usually as a one-mark conceptual question.

Subtopics

Each subtopic has its own page: idea, why, how, example, play, check. Mark each one understood when it clicks. 0 of 5 done.

Formulas

Definition
f′(a) = lim (f(a + h) − f(a)) / h as h → 0
Product / quotient
(uv)′ = u′v + uv′; (u/v)′ = (u′v − uv′)/v²
Chain rule
d/dx f(g(x)) = f′(g(x))·g′(x)
Common derivatives
(xⁿ)′ = nxⁿ⁻¹; (eˣ)′ = eˣ; (ln x)′ = 1/x; (sin x)′ = cos x; (cos x)′ = −sin x; (tan x)′ = sec² x
Rolle
f(a) = f(b) ⇒ ∃ c ∈ (a, b): f′(c) = 0
Lagrange MVT
∃ c ∈ (a, b): f′(c) = (f(b) − f(a)) / (b − a)
Smooth join of two pieces at c
value: left(c) = right(c); slope: left′(c) = right′(c)

What GATE asks from this

Question types seen repeatedly in past papers. More stars means more frequent.

★★★
Where is f NOT differentiable? (max, min, abs)
Find where the pieces meet, then compare the left and right slopes. List every such point.
★★★
Find a constant that makes a piecewise function differentiable
Two equations: equal values and equal derivatives at the join. Solve for the two unknowns.
★★★
Derivative of a given expression (identity)
Differentiate twice and match terms (for example f = x sin x).
★★★
Statements using Rolle / MVT or monotonicity
Check the hypotheses; use the sign of f′ for increasing or decreasing.

Ratings are approximate, based on recurring patterns in past GATE CSE papers.

Previous year questions

6 real questions from the official GATE CSE papers (2014 to 2025), newest first, each with the official answer key and a worked solution. Questions are the property of the GATE organising institutes; this copy is for your personal study.

6 questions · 0 correct of 0 attempted · marks 0 / 7

Year:
GATE 2025 CS1 · Q31NAT1 mark
Consider the given function f(x).
f(x) = ax + b          for x < 1
       x³ + x² + 1    for x ≥ 1
If the function is differentiable everywhere, the value of b must be ______. (rounded off to one decimal place)
GATE 2024 CS1 · Q11MCQ1 mark
Let f: ℝ → ℝ be a function such that f(x) = max{x, x³}, x ∈ ℝ, where ℝ is the set of all real numbers. The set of all points where f(x) is NOT differentiable is
GATE 2020 · Q1MCQ1 mark
Consider the functions I. e−x II. x² − sin x III. √(x³ + 1). Which of the above functions is/are increasing everywhere in [0, 1]?
GATE 2016 Set 2 · Q2NAT1 mark
Let f(x) be a polynomial and g(x) = f′(x) be its derivative. If the degree of (f(x) + f(−x)) is 10, then the degree of (g(x) − g(−x)) is ______.
GATE 2014 Set 1 · Q6MCQ1 mark
Let the function
        | sin θ        cos θ        tan θ      |
f(θ) =  | sin(π/6)     cos(π/6)     tan(π/6)   |
        | sin(π/3)     cos(π/3)     tan(π/3)   |
where θ ∈ [π/6, π/3] and f′(θ) denote the derivative of f with respect to θ. Which of the following statements is/are TRUE?
(I) There exists θ ∈ (π/6, π/3) such that f′(θ) = 0.
(II) There exists θ ∈ (π/6, π/3) such that f′(θ) ≠ 0.
GATE 2014 Set 1 · Q46NAT2 marks
The function f(x) = x sin x satisfies the following equation: f″(x) + f(x) + t cos x = 0. The value of t is ______.

Common traps

Continuous does not imply differentiable (|x|). The reverse is always true.
For a piecewise differentiability question, matching only the values is half the job; the slopes must match too.
MVT and Rolle guarantee that a c exists; they do not say it is unique.
An increasing function can still have f′ = 0 at isolated points (x³ at 0).
Differentiating a product term by term (uv)′ = u′v′ is a classic mistake.