📘 CodingMarble Learn

Derivatives (Class 11): Slope, Rate of Change and Rules

A derivative tells how fast something changes at one moment. On a graph it is the slope of the tangent line. We find it with a limit: take a tiny step h, find the average change, and let h go to 0. Then we learn the quick rules for xⁿ, sin x, cos x, sums, differences, products and quotients.

🎬 Step-by-step story

  1. On y = x², join x = 1 and x = 1 + h with a secant line. As h shrinks, the secant turns into the tangent and its slope settles at 2.
  2. A ball travels s = t² metres. Average speed over a small time gap is 2 + h. Let h → 0: the speed at t = 1 is exactly 2 m/s. Derivative = rate of change.
  3. First principle: f′(x) = lim(h→0) [f(x + h) − f(x)]/h. For x³ it gives 3x², so d/dx(xⁿ) = n xⁿ⁻¹. It also gives sin x → cos x.
  4. Sum rule: the slope of u + v equals the slope of u plus the slope of v. For u − v, subtract the slopes.
  5. Product rule: a rectangle u × v grows by two strips, u·dv and v·du. So (uv)′ = uv′ + vu′. Then the quotient rule is worked line by line.
  6. Free play: pick a function, slide x and h, and watch the secant slope reach f′(x).

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we need a limit to find the slope at one point?

Slope needs two points. At one point the run is 0 and we cannot divide by 0. So we take a second point close by and slide it in. In the 3D the orange secant turns into the tangent with slope 2.

How is the derivative the same as speed?

Speed is distance change ÷ time. Shrink the time gap and you get speed at one instant. The 3D readout shows 3.5, 3, 2.5, 2.2, 2.1, 2.01 m/s settling at 2.

Why does xⁿ become n xⁿ⁻¹?

Expanding (x + h)ⁿ gives xⁿ + n xⁿ⁻¹ h + terms with h², h³… After subtracting xⁿ and dividing by h, only n xⁿ⁻¹ survives when h → 0. The 3D shows this for x³.

Can I differentiate a sum term by term?

Yes. In the 3D the slope of x² + sin x at x = 1.5 is exactly 3 + 0.07, the two slopes added.

Why is (uv)′ not u′v′?

The rectangle grows by two strips, not one tiny corner. u′v′ is only the corner, which vanishes. The two strips give uv′ + vu′.

What happens if h is large?

Then you get the average slope, not the slope at the point. In free play, a large h makes the orange secant far from the red tangent.

Derivative as slope of a tangent

A secant is a straight line through two points of a curve. Its slope is rise ÷ run = [f(x + h) − f(x)]/h.

Now slide the second point towards the first (h → 0). The secant turns into the tangent, the line that just touches the curve at one point. Its slope is the derivative f′(x).

On y = x² at x = 1: slope of secant = 2 + h, so the tangent slope is 2.

Derivative as rate of change

If s(t) is distance after time t, then [s(t + h) − s(t)]/h is the average speed over time h. Letting h → 0 gives the instantaneous speed, ds/dt.

In general, dy/dx tells how many units y changes for each one-unit change in x, right at that moment. Example: the area of a circle A = πr² changes at dA/dr = 2πr. At r = 5 cm, that is 10π cm² for each cm.

Derivative by first principle

The definition (also called the first principle or ab-initio method) is:

f′(x) = lim(h→0) [f(x + h) − f(x)]/h

Steps: (1) write f(x + h); (2) subtract f(x); (3) divide by h and simplify; (4) let h → 0.

Standard results

For sin x: [sin(x + h) − sin x]/h = 2cos(x + h/2)·sin(h/2)/h. Since sin(h/2)/(h/2) → 1, the answer is cos x. This uses the limit sin θ/θ → 1 from the previous lesson.

Derivative of sum and difference

(u + v)′ = u′ + v′ and (u − v)′ = u′ − v′. Also (k·u)′ = k·u′ for a constant k.

So a polynomial is differentiated term by term: d/dx(4x³ − 5x + 7) = 12x² − 5.

Derivative of a product (product rule)

(uv)′ = u·v′ + v·u′

Picture a rectangle with sides u and v. When x grows a little, u grows by du and v by dv. The area gains a top strip u·dv and a side strip v·du. The tiny corner du·dv is so small that it vanishes as h → 0.

Warning: (uv)′ is not u′·v′.

Derivative of a quotient (quotient rule)

(u/v)′ = (v·u′ − u·v′)/v², where v ≠ 0.

Order matters because of the minus sign: bottom × derivative of top, minus top × derivative of bottom, all over bottom squared.

Example: d/dx [x/(x + 1)] = [(x + 1)·1 − x·1]/(x + 1)² = 1/(x + 1)².

Try it

Walk for 4 minutes and note your distance each minute. Work out average speed for each minute. Then, in the 3D free play, pick x², set x = 1 and slowly shrink h. Say the slope out loud before you look at the readout.

Key formulas and definitions

Worked examples

1. Find the derivative of f(x) = x² by first principle.

f(x + h) − f(x) = x² + 2xh + h² − x² = 2xh + h². Divide by h: 2x + h. Let h → 0: f′(x) = 2x.

2. Find the derivative of f(x) = 1/x by first principle.

[1/(x + h) − 1/x]/h = [x − (x + h)]/[h·x(x + h)] = −1/[x(x + h)]. Let h → 0: f′(x) = −1/x².

3. Differentiate y = 5x⁴ − 3x² + 2x − 9.

Term by term: 20x³ − 6x + 2 − 0 = 20x³ − 6x + 2.

4. A stone falls s = 5t² metres in t seconds. Find its speed at t = 3 s.

ds/dt = 10t. At t = 3: 30 m/s.

5. Differentiate y = x² sin x.

Product rule with u = x², v = sin x: y′ = x²·cos x + sin x·2x = x² cos x + 2x sin x.

6. Differentiate y = (x + 1)/(x − 1).

u = x + 1, v = x − 1, u′ = v′ = 1. y′ = [(x − 1)·1 − (x + 1)·1]/(x − 1)² = −2/(x − 1)².

7. Differentiate y = sin x / x.

Quotient rule: y′ = (x cos x − sin x)/x².

8. Find the slope of the tangent to y = x³ − 2x at x = 2.

y′ = 3x² − 2. At x = 2: 12 − 2 = 10. The tangent slope is 10.

Common mistakes

Practice quiz

1. The derivative at a point is the slope of the:
2. d/dx(x⁵) =
3. d/dx(cos x) =
4. (uv)′ =
5. d/dx(1/x) =

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the first principle of derivatives in Class 11?

It is the definition f′(x) = lim(h→0) [f(x + h) − f(x)]/h. You write f(x + h), subtract f(x), divide by h, simplify and let h go to 0.

What is the difference between product rule and quotient rule?

Product rule: (uv)′ = uv′ + vu′ (plus sign). Quotient rule: (u/v)′ = (vu′ − uv′)/v² (minus sign and divide by v²).

Why is a derivative called a rate of change?

Because dy/dx tells how many units y changes for one unit of x at a single moment, like speed tells metres per second at an instant.

Where this is taught

Canada (Ontario)Grade 12A. Rate of Change
Canada (Ontario)Grade 12D. Characteristics of Functions
ItalySecondaria di secondo grado – classe 3ªRelations and functions
ItalySecondaria di secondo grado – classe 4ªRelations and functions
NetherlandsHAVO 4 (bovenbouw, 2e fase)Applied calculus (part 1)
NetherlandsVWO 6 (eindexamenjaar)Change (part 2)
Ukraine10 класAlgebra: derivative and applications (50 h)
Ukraine10 класAlgebra: limits, continuity and derivative (54 h)
Ukraine10 класAlgebra: the derivative and its applications (14 h)
CBSE (India)Class 11Calculus
England (GCSE, A level)Year 12G Differentiation
USA (Common Core, NGSS, AP)Grade 12Differentiation: Definition and Fundamental Properties
USA (Common Core, NGSS, AP)Grade 12Differentiation: Definition and Fundamental Properties
Japan高校2年Ideas of calculus
Germany (Bavaria)Jahrgangsstufe 11Foundations of differential calculus
Russia10 классElements of calculus
China高二Ch.5 Derivatives

Learn first

Learn next

Related lessons

All Maths lessons