Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 2.6

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

How do we find the rate of change at one instant, and how do we compute it quickly for any function?

What you will learn

  • Understand that constants, constant multiples, sums and differences are differentiated term by term
  • Know that anything without x is a constant
  • Understand why expanding first can avoid a harder rule
  • Know how to use derivative values from a table

You must be able to

  1. Differentiate a polynomial and a mix of powers term by term
  2. Use a table of f, f prime, g and g prime for a combination
  3. Find horizontal tangents and points of given slope
  4. Interpret a derivative in a cost context with units
  5. Explain why a constant disappears from a derivative

In the exam. Section I multiple choice, no calculator: a polynomial or a sum of powers differentiated and evaluated, a derivative of a combination of ff and gg from a table, or "at what xx is the tangent horizontal?". Section II free response: these rules sit inside almost every part that needs f′f', g′g' or a rate. A table of values of ff, f′f', gg and g′g' is a common set-up.

1The four rules

Let cc be a constant, and let ff and gg be differentiable.

RuleIn symbolsIn words
Constantddx(c)=0\dfrac{d}{dx}(c) = 0A constant has a flat graph, so slope zero.
Constant multipleddx[c f(x)]=c f′(x)\dfrac{d}{dx}\left[c\,f(x)\right] = c\,f'(x)The multiplier stays.
Sumddx[f(x)+g(x)]=f′(x)+g′(x)\dfrac{d}{dx}\left[f(x) + g(x)\right] = f'(x) + g'(x)Differentiate each piece.
Differenceddx[f(x)−g(x)]=f′(x)−g′(x)\dfrac{d}{dx}\left[f(x) - g(x)\right] = f'(x) - g'(x)Differentiate each piece, keep the sign.

A line y=mx+by = mx + b has derivative mm: the term mxmx gives mm and the constant bb disappears.

Why the constant rule holds: if f(x)=cf(x) = c, every difference quotient is c−ch=0\frac{c - c}{h} = 0. Why the sum rule holds: the limit of a sum is the sum of the limits (1.5), and the difference quotient of f+gf + g is the sum of the two quotients.

2Polynomials

Apply the power rule to each term, and keep the coefficient.

Example (invented): p(x)=4x3−5x2+2x−7p(x) = 4x^3 - 5x^2 + 2x - 7.

p′(x)=4(3x2)−5(2x)+2(1)−0=12x2−10x+2 p'(x) = 4(3x^2) - 5(2x) + 2(1) - 0 = 12x^2 - 10x + 2

Example (invented): powers that are not whole numbers.

f(x)=6x−2x2+π=6x1/2−2x−2+π f(x) = 6\sqrt{x} - \frac{2}{x^2} + \pi = 6x^{1/2} - 2x^{-2} + \pi

f′(x)=3x−1/2+4x−3=3x+4x3 f'(x) = 3x^{-1/2} + 4x^{-3} = \frac{3}{\sqrt{x}} + \frac{4}{x^3}

The last term, π\pi, is a number, so it goes to zero. The sign of −2x−2-2x^{-2} turns positive because the exponent is negative.

A constant here means anything with no xx in it. π\pi, e2e^2, sin⁡1\sin 1 and 535^3 are all constants, so their derivatives are zero.

3Expand or simplify first

The rules cover sums, not products or quotients. If an expression is a product of polynomials, or a polynomial over a single power, you can often rewrite it as a sum and avoid a harder rule.

Example (invented): (x+2)(x−3)(x + 2)(x - 3). Expand to x2−x−6x^2 - x - 6. The derivative is 2x−12x - 1.

Example (invented): (3x−1)2(3x - 1)^2. Expand to 9x2−6x+19x^2 - 6x + 1. The derivative is 18x−618x - 6. You cannot use "power rule on the outside" here, because the base is 3x−13x - 1 and not xx. Unit 3 will show how. For now, expand.

Example (invented): x3−4xx2\dfrac{x^3 - 4x}{x^2}. Divide each term: x−4x−1x - 4x^{-1}. The derivative is 1+4x−2=1+4x21 + 4x^{-2} = 1 + \dfrac{4}{x^2}.

A common error is to differentiate the top and bottom separately. Dividing by a single power gives a sum, and the quotient rule (2.9) is not needed.

4Using a table of values

Many questions give a table of ff, f′f', gg and g′g' at a few points, and a new function built from them. Differentiate the combination with these rules, then read the numbers off.

Example (invented):

xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
123−1-14
24−1-135
  • Let k(x)=2f(x)+g(x)k(x) = 2f(x) + g(x). Then k′(x)=2f′(x)+g′(x)k'(x) = 2f'(x) + g'(x), so k′(1)=2(3)+4=10k'(1) = 2(3) + 4 = 10.
  • Let h(x)=3f(x)−2g(x)+5h(x) = 3f(x) - 2g(x) + 5. Then h′(x)=3f′(x)−2g′(x)h'(x) = 3f'(x) - 2g'(x), because the constant 5 goes to zero. So h′(2)=3(−1)−2(5)=−13h'(2) = 3(-1) - 2(5) = -13.
  • The tangent to hh at x=2x = 2: h(2)=3(4)−2(3)+5=11h(2) = 3(4) - 2(3) + 5 = 11, so the line is y−11=−13(x−2)y - 11 = -13(x - 2).

Notice that h(2)h(2) uses the function values ff and gg, while h′(2)h'(2) uses the derivative values f′f' and g′g'. Mixing the two columns is the main slip.

5Horizontal tangents and given slopes

A tangent is horizontal where the derivative is zero. For a polynomial, set p′(x)=0p'(x) = 0 and solve.

Example (invented): p(x)=x3−3xp(x) = x^3 - 3x. Then p′(x)=3x2−3=3(x−1)(x+1)p'(x) = 3x^2 - 3 = 3(x - 1)(x + 1).

  • p′(x)=0p'(x) = 0 at x=−1x = -1 and x=1x = 1, so the tangent is horizontal at the points (−1,2)(-1, 2) and (1,−2)(1, -2).
  • To find where the slope is 6, solve 3x2−3=63x^2 - 3 = 6. Then x2=3x^2 = 3, so x=±3x = \pm\sqrt{3}.
  • At x=2x = 2, p′(2)=9p'(2) = 9 and p(2)=2p(2) = 2, so the tangent is y−2=9(x−2)y - 2 = 9(x - 2).
Figure 1. The graph of p(x) = x^3 - 3x with horizontal tangents at x = -1 and x = 1, where p'(x) = 0, and the steep tangent at x = 2, where p'(2) = 9 −2 −1 1 2 y x (-1, 2), slope 0 (1, -2), slope 0 (2, 2), slope 9
Figure 1 · The graph of p(x) = x^3 - 3x with horizontal tangents at x = -1 and x = 1, and the steeper tangent at x = 2

Figure 1 shows all three tangent lines. The two flat ones sit at the top and bottom of the curve's bumps. The third is steep, as its slope 9 says.

"Where is the tangent horizontal" asks for xx-values or points, depending on the wording. If it asks for the point, give both coordinates.

6A rate in context

Example (invented): the cost, in dollars, of making qq units is C(q)=0.02q2+5q+200C(q) = 0.02q^2 + 5q + 200.

C′(q)=0.04q+5C′(100)=4+5=9 C'(q) = 0.04q + 5 \qquad C'(100) = 4 + 5 = 9

At a production level of 100 units, the cost is increasing at a rate of 9 dollars per additional unit. The 200 is a fixed cost that does not change with qq, which is why it vanishes in C′(q)C'(q).

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.