If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: AP®︎/College Calculus AB>Unit 2

Lesson 6: Derivative rules: constant, sum, difference, and constant multiple: introduction

# Justifying the basic derivative rules

The basic derivative rules tell us how to find the derivatives of constant functions, functions multiplied by constants, and of sums/differences of functions.
Constant rule$\frac{d}{dx}k=0$
Constant multiple rule$\frac{d}{dx}\left[k\cdot f\left(x\right)\right]=k\cdot \frac{d}{dx}f\left(x\right)$
Sum rule$\frac{d}{dx}\left[f\left(x\right)+g\left(x\right)\right]=\frac{d}{dx}f\left(x\right)+\frac{d}{dx}g\left(x\right)$
Difference rule$\frac{d}{dx}\left[f\left(x\right)-g\left(x\right)\right]=\frac{d}{dx}f\left(x\right)-\frac{d}{dx}g\left(x\right)$
The AP Calculus course doesn't require knowing the proofs of these rules, but we believe that as long as a proof is accessible, there's always something to learn from it. In general, it's always good to require some kind of proof or justification for the theorems you learn.

## Let's first see why the constant rule is true.

Proof of the constant derivative ruleSee video transcript

## Now let's prove the constant multiple and sum/difference rules.

Proofs of the constant multiple and sum/difference derivative rulesSee video transcript

## Want to join the conversation?

• Is there a graphical representation for these proofs ? This is because I dont know the limit function ( but I will study about it later) .
• you can watch 3blue1brown's video series called "essence of calculus" on you tube.
• From the first video, isn't lim h -> 0 0/h indeterminate (0/0), not equal to 0? You get the same thing when you use the alternate form of the definition of a derivative as well.
• You get an indeterminate form if you just substitute 0 for h, but that doesn't mean the limit doesn't exist. It just means the numerator and denominator both go to 0.

As x goes to 0, x/x doesn't go to 0/0, it's constant at 1.
• Hi, could someone please give me a real world example of a function that is the sum of 2 other functions? And why you would want to find its derivative? I am enjoying these videos and think Sal does a good job describing all the steps, but just like when I was at High School, I am having touble appreciating the importance of these concepts as I don't understand how they are applied in the real world. Thanks.
• Lets say that you have two water faucets that give water at two different rates. The first faucet gives water at 1 liter per minute and the other gives water at 2 liter per minute. Lets say you want to find how much water in total is released after 5 minutes. You would create two functions as follows:

Faucet 1: F1(m) = 1m (m being minutes and F1 the number of liters of water).

Faucet 2: F2(m) = 2m. (F2 is the number of liters).

So to find the liters of water after 5 minutes, you would plug 5 in for each function and then sum the answers. This is the same as creating a function like (F1 + F2)(m). Notice that this is the same as F1(m) + F2(m). Hope this helps!
• Is:
          d/dx * [f(x)+g(x)]
equivalent to
          d/dx * (f(x)+g(x))

... and if so, what is the deal with "[]" instead of parantheses?
• They're the same. We just use the brackets to avoid confusion with the parentheses on f(x) and g(x).
• I want to know what's the difference between d/dx & dy/dx & f'(x)
• d/dx is a verb: take the derivative of this function
dy/dx is a noun: this is the derivative of this function y with respect to x
f'(x) is the derivative of the function f(x)
• In the first video, we have the limit as x approaches 0 of (k - k) / h. The k - k evaluates to 0, and this leads Sal to write that the entire limit is equal to 0.

Is it always the case that when the numerator is 0, the limit is 0, regardless what the denominator is?
• Not necessarily. When the numerator is a constant 0 (such as in the case of (k-k)/h, the limit evaluates to 0. However, if the numerator involves a variable and just happens to evaluate to 0, you also need to consider the denominator.

For example, when evaluating the limit as x approaches 0 of x/sin(x), the numerator evaluates to 0. However, if you graph it out, you can see that the limit is actually 1 instead of 0, because the denominator also evaluates to 0, and 0/0 is indeterminate. In this case, we have to consider other methods, such as l'Hopital's rule instead of directly evaluating.
• in the first video, isn't:
lim h->0 (k-k/h)
equal to
(lim h->0 (k-k))/(lim h->0 (h))
which is equal to
0/0
which is undefined?
Also how do you switch to full player? I'm having trouble running the video.
• lim (a/b)=(lim a)/(lim b) only when all three limits are defined and lim b is not 0. If lim b is 0, lim (a/b) may or may not be defined. We generally have to do more work to find out.
• In the second video, the proof for the constant multiple rule for derivatives more or less shifts the burden of proof onto the corollary rule for limits (the constant multiple rule for limits). These two rules seem to be basically different versions of the same thing, one for when dealing with derivatives, one for when dealing simply with limits. Could Sal provide us with the underlying proof for the constant multiple rule for limits?
• Suppose the limit as x→c of f(x)=L. We want to show that the limit as x→c of k·f(x)=kL.

Recall the definition of a limit: for all ε>0, there exists δ>0 such that for all x, |x-c|<δ implies |f(x)-L|<ε. We've assumed that this is true for this c, f, and L, for any ε. Now we'll show it for kf(x) and kL, using an arbitrary ε' and δ'.

So choose an ε' such that 0<ε'<ε/k, and let δ'=δ. Then if |x-c|<δ, we have
|k·f(x)-kL|
=k·|f(x)-L|<k·ε'<ε.

So the limit as x→c of k·f(x)=kL, which was what we wanted.