← 📐 Differentiation & Mean Value Theorems
Subtopic 1 of 5

2.1The derivative as slope, and the rules

The idea

The derivative f′(a) is the slope of the tangent line at a: the limit of secant slopes as the two points merge.

Think of it like this: The speedometer: average speed over a shrinking time window becomes your speed right now.

Why it exists

It measures rates of change and tells you where a function rises, falls or turns.

How it works

  1. Draw the secant through (a, f(a)) and (a + h, f(a + h)): slope (f(a + h) − f(a))/h.
  2. Shrink h toward 0.
  3. The limit of those slopes is f′(a).
  4. Use the rules (product, quotient, chain) so you rarely need the limit definition.

Worked example: GATE 2014

f = x sin x. Then f′ = sin x + x cos x and f″ = 2 cos x − x sin x. So f″ + f = 2 cos x, and f″ + f + t cos x = 0 forces t = −2.

Now play with it

  • →Slide x₀ and watch the green tangent slope.
  • →Press "Shrink h": the yellow secant turns into the tangent.
-202-5-2.502.55
Secant slope (f(x₀+h) − f(x₀))/h3.5
Tangent slope f′(x₀)2

As h → 0 the yellow secant rotates into the green tangent. That limit of slopes is the derivative.

FunctionDerivative
xⁿn xⁿ⁻¹
eˣeˣ
aˣaˣ ln a
ln x1/x
sin xcos x
cos x− sin x
tan xsec² x
u · vu′v + uv′
u / v(u′v − uv′) / v²
f(g(x))f′(g(x)) · g′(x)

GATE 2014 identity: f = x sin x gives f′ = sin x + x cos x and f″ = 2 cos x − x sin x, so f″ + f = 2 cos x.

Check yourself

If y = x sin x, then d²y/dx² + y equals

Remember: Derivative = slope of the tangent = limit of secant slopes.
Exam notes (the dense version)

f′(a) = limh→0 (f(a + h) − f(a))/h is the slope of the tangent. Rules: (uv)′ = u′v + uv′, (u/v)′ = (u′v − uv′)/v², chain rule (f(g(x)))′ = f′(g)·g′. Table: (xⁿ)′ = nxⁿ⁻¹, (eˣ)′ = eˣ, (ln x)′ = 1/x, (sin x)′ = cos x, (cos x)′ = −sin x, (tan x)′ = sec²x. Higher derivatives: f″ is the derivative of f′. Example (GATE 2014): f = x sin x ⇒ f″ + f = 2 cos x.

Previous year questions: Differentiation & Mean Value Theorems (6)

PYQs are grouped by topic, so this is the full set for Differentiation & Mean Value Theorems; try the ones that match this subtopic. Open all 6 on the topic page.