Differentiating from first principles works, but it is slow. The good news is that the results follow simple patterns, and those patterns become rules you can apply in seconds. This lesson proves and practises the first four: the constant rule, the power rule, the constant multiple rule and the sum and difference rule. Together they differentiate every polynomial and many functions with roots and fractions. You will also use them to find tangents, normals and points where a curve is flat.
In this lesson you will learn
- The constant, power, constant multiple and sum/difference rules
- A proof of the power rule using the binomial expansion
- How to rewrite roots and fractions as powers before differentiating
- How to find the equations of tangent and normal lines
- How to find points where the tangent is horizontal
You should know the definition of the derivative and the laws of indices. The binomial expansion is used in the proof.
The Four Basic Rules
| Rule | Formula | Example |
|---|---|---|
| Constant | d/dx (c) = 0 | d/dx (7) = 0 |
| Power | d/dx (xⁿ) = n xⁿ⁻¹ | d/dx (x⁵) = 5x⁴ |
| Constant multiple | d/dx (c·f) = c·f′ | d/dx (3x⁴) = 12x³ |
| Sum and difference | d/dx (f ± g) = f′ ± g′ | d/dx (x³ + x²) = 3x² + 2x |
The power rule works for any real power n: whole numbers, negatives and fractions. In short: bring the power down in front, then reduce the power by one.
Why the Rules Work
Constant rule. The graph of y = c is a horizontal line, so its slope is 0 everywhere. In the definition, f(x + h) − f(x) = c − c = 0.
Power rule for whole numbers. Expand (x + h)ⁿ with the binomial theorem:
(x + h)ⁿ = xⁿ + n xⁿ⁻¹ h + [terms with h², h³, …, hⁿ]
f(x + h) − f(x) = n xⁿ⁻¹ h + [terms with h² or higher]
Divide by h: n xⁿ⁻¹ + [terms that still contain h]
Let h → 0: n xⁿ⁻¹
Only the second term of the expansion survives, which is why the answer is always n xⁿ⁻¹. You already saw this in the cases x² → 2x and x³ → 3x². For negative and fractional powers the rule still holds; you checked 1/x and √x from first principles in the previous lesson, and the full proof uses the chain rule.
Constant multiple and sum rules. These follow straight from the limit laws: a constant factor can be taken outside a limit, and the limit of a sum is the sum of the limits.
A picture of the constant multiple rule
Multiplying a function by 3 stretches its graph vertically by 3. Every rise becomes three times bigger while every run stays the same, so every slope is three times bigger too. Adding a constant, on the other hand, just slides the graph up, which changes no slopes at all. That is why d/dx (x² + 10) = 2x.
Differentiating Polynomials
y = 4x⁵ − 3x² + 7x − 9
dy/dx = 4·5x⁴ − 3·2x + 7·1 − 0
= 20x⁴ − 6x + 7
Differentiate term by term. A term in x becomes its coefficient (7x → 7), and a constant term disappears.
Rewrite First: Roots, Fractions and Brackets
The power rule needs the form c·xⁿ. Rewrite everything into that form before you differentiate. This is the step most marks are lost on.
| Original | Rewrite as | Derivative |
|---|---|---|
| √x | x1/2 | ½ x−1/2 = 1/(2√x) |
| 1/x² | x−2 | −2x−3 = −2/x³ |
| 3/√x | 3x−1/2 | −(3/2) x−3/2 |
| ∛(x²) | x2/3 | (2/3) x−1/3 |
| (2x + 1)² | 4x² + 4x + 1 | 8x + 4 |
| (x³ − 2x)/x | x² − 2 (x ≠ 0) | 2x |
y = √x + 1/x² = x^(1/2) + x^(−2)
dy/dx = ½ x^(−1/2) − 2x^(−3)
= 1/(2√x) − 2/x³
Note that there is no “quotient of derivatives” shortcut: the derivative of (x³ − 2x)/x is not (3x² − 2)/1. Simplify the fraction first, or use the quotient rule from the product and quotient rule lesson.
Tangents and Normals
The tangent at a point has slope m = f′(a). The normal is the line through the same point at right angles to the tangent, so its slope is −1/m.
Curve y = x³ − 2x at x = 2.
Point: y = 8 − 4 = 4, so (2, 4)
Slope: dy/dx = 3x² − 2 = 3(4) − 2 = 10
Tangent: y − 4 = 10(x − 2) → y = 10x − 16
Normal: slope −1/10
y − 4 = −(1/10)(x − 2) → x + 10y = 42
Where Is the Tangent Horizontal?
A horizontal tangent has slope 0, so solve f′(x) = 0. These points are where a graph turns, and they are the key to finding maxima and minima later.
y = x³ − 3x
dy/dx = 3x² − 3 = 0 → x² = 1 → x = 1 or x = −1
Points: (1, −2) and (−1, 2)
Common Mistakes
- Differentiating a constant to 1. d/dx (9) = 0, but d/dx (9x) = 9.
- Getting negative powers wrong. d/dx (x−2) = −2x−3; the power goes from −2 to −3, not −1.
- Not rewriting first. 1/x³ must become x−3 before you use the power rule.
- Differentiating top and bottom of a fraction separately. That is never correct.
- Using the normal’s slope as m instead of −1/m. Perpendicular slopes multiply to −1.
Practice Exercises
Exercise 1. Differentiate y = 6x2/3 − 5/x.
Show answer
Rewrite 5/x = 5x−1. Then dy/dx = 6·(2/3)x−1/3 + 5x−2 = 4x−1/3 + 5/x².
Exercise 2. Find the points on y = x³ − 12x + 1 where the tangent is horizontal.
Show answer
dy/dx = 3x² − 12 = 0 gives x = ±2. The points are (2, −15) and (−2, 17).
Exercise 3. Find the tangent to y = √x at x = 4.
Show answer
Point (4, 2). Slope 1/(2√4) = 1/4. Tangent: y − 2 = (1/4)(x − 4), so y = x/4 + 1.
Frequently Asked Questions
What is the power rule in calculus?
The power rule says the derivative of x to the power n is n times x to the power n minus 1. You bring the power down as a multiplier and reduce the power by one. It works for any real power, including negative and fractional powers.
How do you differentiate a square root or a fraction?
Rewrite it as a power first. The square root of x is x to the power one half, and 1 over x squared is x to the power -2. Then apply the power rule and, if you like, rewrite the answer with roots and fractions again.
Summary
- Constant → 0; xⁿ → n xⁿ⁻¹ for any real n; constants multiply through; sums differentiate term by term.
- The binomial expansion proves the power rule: only the n xⁿ⁻¹ h term survives the limit.
- Rewrite roots, reciprocals and brackets as sums of powers before differentiating.
- Tangent slope m = f′(a); normal slope −1/m.
- Horizontal tangents are where f′(x) = 0.
