---
title: "Derivative Rules: Constant, Sum, Difference, and Constant Multiple | FiveStudy"
description: "Differentiation is linear — which is exactly why it does not distribute over a product."
url: https://fivestudy.com/guides/ap-calculus-bc-2-6-constant-sum-difference-and-constant-multiple-rules
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Derivative Rules: Constant, Sum, Difference, and Constant Multiple

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 2 · Differentiation: Definition and Fundamental Properties

AP® Calculus BC · Unit 2 · Differentiation: Definition and Fundamental Properties

# Sums, Differences and *Constant Multiples*

Most functions are built from simpler pieces added together or multiplied by numbers. These rules let you differentiate them one piece at a time.

1. The four rules 2. Term by term 3. Rewrite before you differentiate 4. Using the rules 5. Rates in context

The idea in one paragraph

The derivative of a constant is 0. A constant multiplier stays in front: \((kf)' = kf'\). Sums and differences split up: \((f \pm g)' = f' \pm g'\). Together with the power rule, these let you differentiate any polynomial term by term, and many other functions once they are rewritten as sums of powers. They do *not* say anything about products or quotients of two functions.

## 1 The four rules

| Rule | Formula | Why |
| --- | --- | --- |
| Constant | \(\frac{d}{dx}[c] = 0\) | A flat line has slope 0 |
| Constant multiple | \(\frac{d}{dx}[k\,f(x)] = k\,f'(x)\) | Stretching a graph vertically by k multiplies every slope by k |
| Sum | \(\frac{d}{dx}[f + g] = f' + g'\) | Rates of change add |
| Difference | \(\frac{d}{dx}[f - g] = f' - g'\) | Rates of change subtract |

**Figure 1.** Shifting a graph up by 3 moves every point straight up, so every tangent line keeps its slope. That is why the derivative of a constant is 0.

Why the rules hold

Each rule comes straight from the limit definition. For a sum, \(\dfrac{[f(x + h) + g(x + h)] - [f(x) + g(x)]}{h}\) regroups as \(\dfrac{f(x + h) - f(x)}{h} + \dfrac{g(x + h) - g(x)}{h}\), and the limit of a sum is the sum of the limits: \(f'(x) + g'(x)\). For a constant multiple, the \(k\) factors out of the difference quotient in the same way. For a constant, the top of the difference quotient is \(c - c = 0\) for every \(h\).

## 2 Term by term

Worked Example 1 A polynomial

### \(\dfrac{d}{dx}\left[4x^5 - 3x^2 + 7x - 9\right]\)

1. 1

   Sum and difference rules: differentiate term by term.

2. 2

   Constant multiples stay in front: \(4 \cdot 5x^4 = 20x^4\), \(3 \cdot 2x = 6x\), \(7 \cdot 1 = 7\).

3. 3

   The constant \(-9\) has derivative 0.

**Answer:** \(20x^4 - 6x + 7\)

Worked Example 2 Mixed powers

### \(f(x) = 3\sqrt{x} - \dfrac{2}{x} + \pi^2\)

1. 1

   Rewrite: \(3x^{1/2} - 2x^{-1} + \pi^2\). Note \(\pi^2\) is a number (about 9.87), not a variable.

2. 2

   Term by term: \(3 \cdot \tfrac12 x^{-1/2} - 2 \cdot (-1)x^{-2} + 0\).

**Answer:** \(f'(x) = \dfrac{3}{2\sqrt{x}} + \dfrac{2}{x^2}\)

Common Mistake 1 · Treating a constant like a variable

\(\pi^2\), \(e^3\) and \(\ln 5\) are numbers. Their derivatives are 0. Only expressions that contain \(x\) change when \(x\) changes.

## 3 Rewrite before you differentiate

Products and quotients need their own rules, but some can be rewritten into sums first: expand a product, or split a fraction whose denominator is a single term.

Worked Example 3 Expand first

### \(\dfrac{d}{dx}\left[(2x - 1)^2\right]\)

1. 1

   There is no rule yet for a power of a whole expression, so expand: \((2x - 1)^2 = 4x^2 - 4x + 1\).

2. 2

   Differentiate: \(8x - 4\).

**Answer:** \(8x - 4\)

Worked Example 4 Split a fraction

### \(\dfrac{d}{dx}\left[\dfrac{x^2 + 3}{x}\right]\)

1. 1

   A single-term denominator divides each term on top: \(\dfrac{x^2}{x} + \dfrac{3}{x} = x + 3x^{-1}\).

2. 2

   Differentiate: \(1 - 3x^{-2}\).

**Answer:** \(1 - \dfrac{3}{x^2}\)

Common Mistake 2 · Differentiating a product factor by factor

\(\dfrac{d}{dx}[(2x - 1)(2x - 1)]\) is not \(2 \cdot 2 = 4\). Derivatives split across sums, not products. Expand first (or use the product rule).

Common Mistake 3 · Splitting a fraction over a sum in the denominator

\(\dfrac{x^2 + 3}{x}\) can be split, because the bottom is one term. \(\dfrac{3}{x^2 + x}\) cannot be split into \(\dfrac{3}{x^2} + \dfrac{3}{x}\); that is a different function.

## 4 Using the rules

Worked Example 5 Horizontal tangents

### \(f(x) = x^3 - 6x^2 + 9x + 1\)

1. 1

   A horizontal tangent has slope 0, so solve \(f'(x) = 0\).

2. 2

   \(f'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x - 1)(x - 3)\).

3. 3

   Zero at \(x = 1\) and \(x = 3\). Heights: \(f(1) = 5\), \(f(3) = 1\).

**Answer:** Horizontal tangents at \((1, 5)\) and \((3, 1)\).

**Figure 2.** f′(x) = 3x² − 12x + 9 = 3(x − 1)(x − 3) is 0 at x = 1 and x = 3, the two places where the tangent line is horizontal.

Write it like this

“\(f'(x) = 3(x - 1)(x - 3)\), which is 0 at \(x = 1\) and \(x = 3\). The tangent line is horizontal at \((1, 5)\) and \((3, 1)\).”

Worked Example 6 Rules with values

### Using a table of derivatives

\(f'(1) = 5\) and \(g'(1) = 7\). Find \(h'(1)\) for \(h(x) = 2f(x) - 3g(x) + 10\).

1. 1

   \(h'(x) = 2f'(x) - 3g'(x) + 0\).

2. 2

   \(h'(1) = 2(5) - 3(7) = 10 - 21 = -11\).

**Answer:** \(-11\)

## 5 Rates in context

When the input and output have units, so does the derivative: output units per input unit. In business, the derivative of a cost function is called the **marginal cost**, the approximate cost of producing one more item.

Worked Example 7 A rate with units

### Marginal cost

A bakery’s cost to make \(q\) loaves in a day is \(C(q) = 500 + 12q - 0.01q^2\) dollars. Find \(C'(200)\) and explain what it means.

1. 1

   \(C'(q) = 0 + 12 - 0.02q\). The fixed cost, 500, disappears: it does not change with \(q\).

2. 2

   \(C'(200) = 12 - 4 = 8\).

3. 3

   Units: dollars per loaf. Check with actual costs: \(C(201) - C(200) = 7.99\), very close to 8.

**Answer:** $8 per loaf: when 200 loaves are being made, the cost is increasing at about $8 for each additional loaf.

Write it like this

“\(C'(200) = 8\): when the bakery makes 200 loaves, its cost is increasing at a rate of $8 per loaf.”

### Quick reference

| Function | Derivative |
| --- | --- |
| \(c\) | 0 |
| \(kx^n\) | \(knx^{n - 1}\) |
| \(f + g\) | \(f' + g'\) |
| \(f - g\) | \(f' - g'\) |
| \(kf\) | \(kf'\) |
| Product or quotient | Expand or split first if you can; otherwise use the product or quotient rule |

FiveStudy AP® Calculus BC · Sums, differences and constant multiples
