Course scope. This topic is shared by Calculus AB and Calculus BC. Everything here is examinable for both.
A note on notation
This page has no equation renderer, so derivatives and limits are written in a compact form:
- f′(x), dy/dx and d/dx[…] all mean the derivative with respect to x.
- lim (h → 0) means “the limit as h approaches 0”.
- Fractional exponents are written in brackets, for example x^(3/2).
- In this guide, c and k always stand for constants (fixed real numbers).
From one power to whole functions
Topic 2.5 gave you the power rule: d/dx[xʳ] = r·xʳ⁻¹. On its own, it handles only a single power such as x⁵ or x^(−1/2). Real functions are built from several pieces, such as 6x⁵ − 4x³ + x − 9. This topic gives four rules that tell you how a derivative treats those pieces. Each rule comes straight from the limit definition and the limit properties you met in Topic 1.5.
The four rules
1. Constant rule
If f(x) = c for every x, then f(x + h) − f(x) = c − c = 0. The difference quotient is 0/h = 0 for every h ≠ 0, so its limit is 0.
Constant rule. d/dx[c] = 0.
Graphically, y = c is a horizontal line. Its slope is 0 everywhere.
2. Constant multiple rule
Let g(x) = k·f(x). Then
[g(x + h) − g(x)]/h = k·[f(x + h) − f(x)]/h.
The limit of a constant times an expression is the constant times the limit (Topic 1.5). So, wherever f′(x) exists, the limit is k·f′(x).
Constant multiple rule. d/dx[k·f(x)] = k·f′(x).
Graphically, multiplying by k stretches the graph vertically by a factor k. Every rise is multiplied by k while every run stays the same, so every slope is multiplied by k. For example, y = x² has slope 2 at x = 1, and y = 3x² has slope 6 there.
3 and 4. Sum and difference rules
Let s(x) = f(x) + g(x). Regroup the difference quotient:
[s(x + h) − s(x)]/h = [f(x + h) − f(x)]/h + [g(x + h) − g(x)]/h.
The limit of a sum is the sum of the limits, provided both limits exist. So s′(x) = f′(x) + g′(x). The same argument works with a minus sign.
Sum and difference rules. d/dx[f(x) + g(x)] = f′(x) + g′(x) and d/dx[f(x) − g(x)] = f′(x) − g′(x), wherever f′(x) and g′(x) both exist.
| Rule | Statement | Picture |
|---|---|---|
| Constant | d/dx[c] = 0 | Horizontal line: slope 0 |
| Constant multiple | d/dx[k·f] = k·f′ | Vertical stretch by k: every slope × k |
| Sum | d/dx[f + g] = f′ + g′ | Slopes add |
| Difference | d/dx[f − g] = f′ − g′ | Slopes subtract |
Together these say the derivative is linear: d/dx[a·f(x) + b·g(x)] = a·f′(x) + b·g′(x) for constants a and b.
Why a constant term disappears
Adding a constant shifts a graph up or down. A shift moves every point by the same amount, so it does not change how steep the graph is anywhere. Figure 1 shows this for y = x² and y = x² + 3.
Differentiating polynomials term by term
Every polynomial is a sum of constant multiples of powers of x. So use the sum and difference rules to split it into terms, the constant multiple rule to keep each coefficient, and the power rule on each power.
Example. d/dx[6x⁵ − 4x³ + x − 9] = 6(5x⁴) − 4(3x²) + 1 − 0 = 30x⁴ − 12x² + 1.
The same method works for sums of any powers, not just whole-number ones. For x > 0:
d/dx[5√x − 3/x² + π²] = d/dx[5x^(1/2) − 3x⁻² + π²] = (5/2)x^(−1/2) + 6x⁻³ + 0 = 5/(2√x) + 6/x³.
Notice two things. The term −3x⁻² became +6x⁻³, because (−3)(−2) = +6. And π² is a number, so its derivative is 0.
Rewrite first when the function is not yet a sum
The rules split sums, not products or quotients. Before differentiating:
- Expand products and powers of brackets. (2x − 3)² = 4x² − 12x + 9, so the derivative is 8x − 12.
- Split a fraction whose denominator is a single term. (x³ + 5)/x = x² + 5x⁻¹ for x ≠ 0.
- A denominator with two or more terms, such as 1/(x² + 1), cannot be split this way. It needs the quotient rule (Topic 2.9).
Unknown functions
The rules also work when you only know values. Suppose f′(3) = 2 and g′(3) = −5, and h(x) = 4f(x) − g(x). Then h′(3) = 4f′(3) − g′(3) = 4(2) − (−5) = 13. You do not need formulas for f or g.
Worked example 1: a polynomial and its tangent line
Question. Let f(x) = 2x⁴ − 5x³ + 3x − 7. Find f′(x), then the equation of the tangent line at x = −1.
- Differentiate term by term. f′(x) = 2(4x³) − 5(3x²) + 3(1) − 0 = 8x³ − 15x² + 3.
- Find the slope. f′(−1) = 8(−1) − 15(1) + 3 = −8 − 15 + 3 = −20. Take care: (−1)³ = −1 but (−1)² = 1.
- Find the point. f(−1) = 2(1) − 5(−1) + 3(−1) − 7 = 2 + 5 − 3 − 7 = −3. The point is (−1, −3).
- Write the line. y − (−3) = −20(x − (−1)), so y + 3 = −20(x + 1), or y = −20x − 23.
Check. With h = 0.001, [f(−0.999) − f(−1)]/0.001 ≈ −19.97, close to −20.
Interpretation. At x = −1 the graph is falling steeply: for a small step to the right, y drops about 20 times as far.
Worked example 2: split the fraction first
Question. Let g(x) = (x² − 4√x + 3)/√x for x > 0. Find g′(4).
- Rewrite as a sum of powers. Divide each term on top by x^(1/2): g(x) = x^(2 − 1/2) − 4 + 3x^(−1/2) = x^(3/2) − 4 + 3x^(−1/2).
- Differentiate term by term. g′(x) = (3/2)x^(1/2) − 0 + 3(−1/2)x^(−3/2) = (3/2)√x − (3/2)x^(−3/2).
- Evaluate. √4 = 2 and 4^(−3/2) = 1/(√4)³ = 1/8. So g′(4) = (3/2)(2) − (3/2)(1/8) = 3 − 3/16 = 45/16.
A tempting wrong method. Differentiating top and bottom separately gives (2x − 2/√x) ÷ (1/(2√x)). At x = 4 that is (8 − 1) ÷ (1/4) = 28. That is far from 45/16 ≈ 2.81. The derivative of a quotient is not the quotient of the derivatives.
Worked example 3: horizontal tangent lines
Question. Find every point on the graph of k(x) = x³ − 6x² + 9x + 1 where the tangent line is horizontal.
- Translate. A horizontal tangent has slope 0, so solve k′(x) = 0.
- Differentiate. k′(x) = 3x² − 12x + 9.
- Solve. 3x² − 12x + 9 = 3(x² − 4x + 3) = 3(x − 1)(x − 3) = 0, so x = 1 or x = 3.
- Find the points. k(1) = 1 − 6 + 9 + 1 = 5 and k(3) = 27 − 54 + 27 + 1 = 1.
Check. Test a value between the two roots. k′(2) = 12 − 24 + 9 = −3, which is not 0, so the graph is falling between x = 1 and x = 3. That fits a graph that levels off at (1, 5), drops, then levels off again at (3, 1).
Answer. The tangent is horizontal at (1, 5) and (3, 1). Unit 5 shows how points like these locate peaks and dips of a graph.
Common misconceptions
- Keeping the constant term. d/dx[x² + 7] is 2x, not 2x + 7.
- Dropping a coefficient. d/dx[5x] is 5, not 0. The 5 multiplies x; it is not a stand-alone constant.
- Treating π², e or √2 as variables. d/dx[π²] = 0, not 2π.
- Splitting products or quotients. d/dx[f·g] is not f′·g′, and d/dx[f/g] is not f′/g′. Expand or simplify first (Worked example 2), or use the rules in Topics 2.8 and 2.9.
- Differentiating a bracket as if it were x. d/dx[(2x − 3)²] is not 2(2x − 3). Expand first to get 8x − 12. At x = 2 the wrong method gives 2 but the true slope is 4. (The chain rule in Unit 3 handles brackets directly.)
- Sign slips with negative coefficients and exponents. d/dx[−3x⁻²] = +6x⁻³; d/dx[3/x²] = −6/x³, not 3/(2x).
- Pulling a constant out of a denominator wrongly. 1/(4x³) = (1/4)x⁻³, so its derivative is −(3/4)x⁻⁴, not −12x⁻⁴.
Where this leads
With these rules and the power rule, you can differentiate every polynomial. Topic 2.7, Derivatives of cos x, sin x, eˣ and ln x, adds new building blocks; the sum, difference and constant multiple rules work with them in exactly the same way, so 3 sin x − 2eˣ + x⁴ is no harder than a polynomial. Topics 2.8 and 2.9 then handle products and quotients. To revisit the power rule itself, go back to Topic 2.5. Students in either course can return to the Calculus AB roadmap or the Calculus BC roadmap.
Try the practice questions now, then use the revision notes and the checklist to consolidate.
Quick questions
Is this page for Calculus AB or Calculus BC?
Both. Topic 2.6 is common content, so the same page serves AB and BC students.
Why does the constant disappear when I differentiate but a coefficient stays?
A constant term shifts the graph up or down without changing its steepness, so it adds nothing to the slope. A coefficient stretches the graph vertically, so it scales every slope by the same factor.
Is π² a constant?
Yes. π, e, √2 and expressions built only from them are numbers, so their derivative with respect to x is 0.