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
- Draw the secant through (a, f(a)) and (a + h, f(a + h)): slope (f(a + h) − f(a))/h.
- Shrink h toward 0.
- The limit of those slopes is f′(a).
- 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.
As h → 0 the yellow secant rotates into the green tangent. That limit of slopes is the derivative.
| Function | Derivative |
|---|---|
| xⁿ | n xⁿ⁻¹ |
| eˣ | eˣ |
| aˣ | aˣ ln a |
| ln x | 1/x |
| sin x | cos x |
| cos x | − sin x |
| tan x | sec² x |
| u · v | u′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
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.