Chapter 4 Differentiation Definition and Basic Derivative Rules
Chapter 4 Differentiation Definition and Basic Derivative Rules
Differentiation:
Definition and
Basic Derivative
Rules
AP Calculus AB Prep
The second type of rate of change is called the Instantaneous Rate of Change. This is the rate
.We
that something is changing at an instant of time. can also use the Difference Quotient but
this time, we'll use a limit:
lim f
(a+ h)- f (a)
and lim
f (.)- f (,)
h+0 h x)q x-A
W'e will explore these formulas later in this chapter. For now, let's do an example.
Example 1: A car leaves its initial location and 3 hours later has traveled 120 kilometers. \7hat
is its average rate ofchange?
Use the first formula for Average Rate of Change.'We can call the initial time A, where a = 0.
Then three hours laterwould be time a + 3 (rn otherwords, h = 3). The position attime a = 0
irflO) = 0, and the position at time a + 3 isf(3) = 120. Plugging into the formula, we get
ry3-0 = 40 kilometers per hour. If we had used the second Average Rate of Change for-
mula, the initial time would be a = 0 and three hours later would be x = 3. The position at time
a = 0 isf(O) = 0 and the position at time x = 3 isf(3) = 120. Plugging into the formula, we get
-5-q = 40 kilometers per hour. Note that they give the exact same answer. It would be a
3-0
problem if they didn't!
Let's look at the graph of an arbitrary line. The slope measures the steepness of the line, which
looks like the following:
I
tz
tr
x
x x2
You probably remember your teachers referring to the slope as the "rise" over the "run." The
rise is the difference between the y-coordinates, and the run is the difference between the
r-coordinates. The slope is the ratio of the two.
Now for a few changes in notation. Instead of calling the x-coordinares r, and x2,
Sometimes,
wete going to call them r, and r, + h, where E is the difference between the two instead of h,
x-coordinates. Second, instead of usingT, andyr, we'll useflr andf(x, + h).
r) some books
use Ax.
JVr* h)
.fv,)
x
xr xr+ h
f(xr+ h)
f(xr)
x
xr+ h
f(xr+ h)
f(*r)
x
x x +h
Conversely, the closer the two points are, rhe more accurate the approximation is
f(xr+ h)
f(*r)
x
x xr+ h
f(*r)
x
x1
How do we perform this shrinking act? By using the limits we discussed in Chapter 3, we set
up a limit during which h approaches zero, like the following:
lim f + h)-
h40 h
Notice that the expression above is simply the difference quotient, evaluated at the limit as D
(the horizontal distance between the points) approaches zero. 'We are finding the slope of the
line between two points, and asking what that slope approaches as the point on the right is
allowed to move infinitesimally close to the fixed point on the left.
Example 2: Find the slope of the curve f(x) = * atthe point (2,4).
This means that r, = 2 andf(2) = 22 = 4.If we can figure outlf (x, + h), then we can find the
slope.
'Well,
how did we find the value of f (x)?'We plugged x, into the equation f (*) = f . To
findf(x, + h),we plug x, + h into the equation, which now looks like this
f(x, * h) = (2 + h)2 = 4 + 4h + h2
Now plug this into the slope formula.
\ry!4L=\iryKlL=fim(4+
h+O 11 t+O h
h)
Taking the limit as h approaches 0, we get 4. Therefore, the slope of the curve/ = * at the point
(2,4) is 4. Now we've found the slope of a curve at a certain point, and the notation looks like
this: f'(2) = 4. Remember this notation!
Example 3: Find the derivative of the equation in Exam ple 2 at the point (5, 25). This means
that r, = 5 andf(x) = 25. This time,
(x, + h)2 = (J + h)2 = 25 + l\h + h2
.. f(*,+h)-f(x,) ,. 25+loh+h'z-25 ,.
lllll--lttll--rurr
l\h + h2
h-ofit'+ofit+o h
h'z h)
,'^toh!
h+o =fimh(loj
t+o = lim(ro+l,)
fi h h+o'
Taking the limit as / goes to 0, you get 10. Therefore, the slope of the curve
! =f atthe point
(5,25) is 10, orl'(5) = 10.
Using this pattern, let's forget about the arithmetic for a second and derive a formula.
f,lample 4: Find the slope of the equationf(x) = i atthe poinr (rr, *i)
Follow the steps in the last two examples, but instead of using a number, use .rr. This means
that /(x,) =f, and (xr+h)2 =4 +Zxrh+h2 .-Ihenthederivativeis
+zxrh+h'-x? Zxrh + h2
,.^4
h)o h
- lim
h)0 h
This example gives us a general formula for the derivative of this curve. Now we can pick any
point, plug it into the formula, and determine the slope at that point. For example, the deriva-
y.
3. thrderivative k
tive at the point x = 7 is 14. At the point r =2 ,
3
Notation
There are several different notations for derivatives in calculus. 'We'll use rwo different types
interchangeably throughout this book, so get used to them now.
'We'll
refer to functions three different ways:flr) , u or u, and 7. For example, we might write
f(*) = *, g(x) = xa, h(x) = vs. rVe'll also use notation likeu= sinxand r,= cosr. Orwe might
use 7 = fi. Usually, we pick the notation that causes the least confusion.
The derivatives of the functions will use notation that depends on the function, as shown in the
following table:
l. f(x)=5xrtx=3 9. f(x)=*
4. f (x) =8*
t2. f(*)=sinr at *=l
5. ft*l=-r1*
13. f@)= x' + x
6. fO=20* attc = tt.
8. f(*) =-3i
Time Height
0.49 second 44J584 feet
0.5 second 44 feet
0.51 second 43.8384 feet
Estimate the derivative of the rockt position (its instantaneous velocity) at time t = 0.5 second.
0.51 0. 43.8384- 44
I07e can also find = = -16.16 feer per second.
0.51 - 0.5 0.01
A good guess for the instantaneous velocity, or the derivative of the rockt position, is halfivay
between the two estimates, or -16 feet per second.
Another way that we can estimate a derivative at a point is from the graph of a function.
Remember that the derivative is the slope of the tangent line at a point. If we look ar a graph,
we can guess what the slope of the tangent line is. Lett do an example.
Example 5: Given the graph of the function/ below, esdmate the derivative at x = 2.
0
-4 -2 6
-6
'W'e
don't have the equarion of this graph, which would make finding the derivative much
easier. But we do have some points on the graph that we can use to make an estimate. The
function appears to go through the points (0, 8) and (3, -4).If we were to use those points, we
would get the slope of the secant line. Let's graph the secant line:
0
-4 -2 6
-4
I
I
-6
This looks like a pretty good estimate. The slope of the secant tirr. i, , so our esri-
f_gq -4
=
mate for the derivative et x = 2 is -4.
Erample Z Using the graph from the previous example, find the derivative at tc = 3.
Notice how the curve has a minimum atx = 3.This means that the tangenr linewould be hori-
zontal there. Let's draw a picture:
-4 -2 6
-2
t
Il
)c
If a functionhas a "sharp corner," you can draw more than one tangent line at that point, and
because the slopes ofthese tangent lines are not equal, the function is not differentiable there.
Anorher possible problem occurs when the tangent line is vertical (which can also occur at a
cusp) because a vertical line has an infinite slope. For example, if the derivative of a function is
1
it doesn't have a derivative at x = -1,
x *'l'
All we have to do is plug 2 intoboth pieces of f and,set them equal to each other. Then the
derivative of the one piece will be the same as the derivative of the other piece. For x 3 2, we get
f'(Z)=3a(2)2-4(2)+l=l2a-7.Forx>2,wegetf'(2)=-4(2)u+8a(2)-5=l6a-37'Set
The basic technique for taking a derivative is called rhe power Rule.
That's it. 'w'asn'r that simple? of course, this and all of the following rules can be
derived easily from the definition of the derivative. Look at these next-few examples Notice that when the
power of the function is
of the Power Rule in acion.
negative, the power of
the derivative is more
negative.
Example 9z lf y =.t', rhen 4
dx
= 5*n
subtraction right
Example llzlf f(x) = 15, thenf '(x) = -5te
(you'll see the powers
113 1 and
du I i' i' z'- -' -I 1
1 from them).
dt
Example l3zIf 1' = xr, then = lro = 1. (Because ro is 1!)
dx
Constant Rule: Ifflr) = [, where ,0 is a constant, then/'(l) = 0' In the other notation,
4@)=0.
zlx
Constant Multiple Rule: If you have a constant multiplied by a function, and you
would like the derivative of the entire expression, you can "pull the constant out."
The derivative will be rhe constant times the derivative of the functi on: lh ' f(x))' =
dt
Example lTzIf y = -3r', then I 5x 4
dx
l'7 I
o@**')+ b(mx--')
*=
* 51 2 , then dy _\-=
-7
1x 2
f,aample 22zlf ! =7 x-a = -28x-' - .
dx 2
dt
l=3x3 -3x'+5x-5 and =9x2 -6x+5
dx
As you may have noticed from these examples, in calculus you are often asked to convert from
fractions and radicals to negative powers and fractional powers. In addition, dont worry if your
answer doesn't match any of the answer choices. Because answers to problems are often pre-
sented in simplified form, your answer may not be simplified enough.
There are two basic expressions that you'll often be asked to differentiare. You can make your
life easier by memorizing the following derivatives:
dy k
If y =1, .h.r, =--x 2
x dx
h
If y=P.!*,rhrnfr=
2Jx
-
Note that the Sum Rule and the Difference Rule are sometimes called the Addition Rule and
the Subtraction Rule, respectively.
ffi
Substitute this into the definition of the derivative.
Remember that sin(r + E) = sin x cos h + cos n sin E. Now simplify it.
lim
sinr(cosE - 1 )+cosrsin# lim sinr(cos/-l cosrsin/
b)o = +lim
h h+0 h h-+0 h
Next, use some of the trigonometric limits that you memorized back in Chapter 3. Specifically,
,r*
(cos? - t) li* tit}
b-+o = o and
--i;o =r
h h
lirr
th*("T/-l) +[.., cos x sinlr (sin x) (0) + (cos
h+o r)(1) = coslc
h h+o h
d
;Smrf = COSff
,tx
E
*,"(; -") = -,(; -,)r-,r = - cos
--x
2
lJse some of the rules of trigonometry you remember fiom last year. Because
lt
= slnff,
'.(;-l=cos,r",,a"o,[ --x
2
d
= -Sln.r
=COS.r
rbc
The Derivative of ln x
When you studied logs in,the past, you probably concentrated on common logs (that
is, those with a base of 10), and avoided natural logarithms (base e) as much as Pos-
'Well,
sible. we have bad news for you: most of what you'll see from now on involves
natural logs. In fact, common logs almost never show up in calculus. But that's okay.
All you have to do is memorize a bunch of rules, and you ll be fine.
Log-online-arithms
Bemember: if you're not
d!
sure about logarithms, Rule No. l:If I = ln x, then =l
you can find a focused, dxx
downloadable review of
prerequisite mathemat-
ics like this online in
your free Student Tools. This rule has a corollary that incorporates the Chain Rule and is actually a more
useful rule to memorize.
You'll see how simple this rule is after we try a few examples.
3x2 3
lf you want to find the
f '(*) *3x
derivative of ln(function),
write a fraction bar and
put the function on the If you recall your rules of logarithms, you could have done this another way.
bottom and the deriva-
tive on the top. ln(t') = 3ln x
- sln ,f
J',l*)=-=-ranx
cos ,c
Finding the derivative of a natural logarithm is just a matter of following a simple formula.
The Derivative ol ex
As you ll see in Rule No. 3, the derivative of r is probably the easiest thing that you'll ever have
to do in calculus.
Thatt not a ryPo. The derivative is the same as the original function! Incorporating the Chain
Rule, we get a good formula for finding the derivative.
dtc &c
And you were woried that all of this logarithm and exponenrial stuffwas going to be hard!
f'(x)=d.(3)=3A-
Example 3l: Find the derivative of f(x) = l.
f'(*)=2tce*"
f"(*)=2e" +4x"t
ogr*=H
ll
lna x
dvl
Z=-
Rule No. 5:lf I = logp, then
Ac xlna
Once again, incorporating the Chain Rule gives us a more useful formula.
ldu
No. 6zlf1=log"u,rhrn
Rule
fr= ulna dx
Note: We refer to
log,o xas log x.
f'(*): # ,
F.xample 35: Find the derivative of /(r) = logr(r'+r)
f'(*)=ffi,
F;xample 36: Find the derivative of /(r) =log" x
1l
f'(*) xlne x
You can el(pect this result from Rules I and,Z involving natural logs.
The Derivative ol t
You should recall from your precalculus days that we can rewrire d as d"o. Keep in mind that
ln a is just a constant, which gives us the next rule.
Given the pattern of this chapter, you can guess whatt coming: another rule that incorporares
the Chain Rule.
dt / du
RuleNo. S:If y=A",then a ( ln a )
drc dx
f '(*)=3.1n3
f'(*)=Bn.' (zor')t"s
f'(*)=,"i"'(cos )ln r
-x
f '(*)= e't" lnr*- x = e*tn* (lnr + 1) = r' (lnx + 1)
\7ould you have thought of that? Remember this trick. It might come in handy! Okay. Ready
for some practice? Cover the solutions and get cracking.
l}x+4
dy ^--=- 30x+12
-=
dx "5x2+4x 5x2+4x
/,1,;=#=5,n"ot(,')
4"
Pnonrru 3. Find the derivative of f (x\ = ,3'7 -
1
f'(*)= ln4''*"
tenx
=
x3
PnosEr,I5. Find the derivative of y = lsg,
l*;
Answer: First, use the rules of logarithms to rewrite the equation.
b'=Ll | 2x I rlt 2x I
dtc 2 L"^rlnS l;[ |
-l
- -
|
xj
PnosLE[,I 7. Find the derivative of ry = !-. x
5cos
Answer: Here, you need to use the Quotient Rule and Rules Nos.4 and g.
You could multiply out the expression and take the derivative of each term, like
To find the derivative of two things multiplied by each other, you multiply the first function by
the derivative of the second, and add that to the second function multlplied by the derivative
of the first.
Lett use the Product Rule to find the derivative of our example.
(f
f'(*) = + 5* 4x + l)(.5xa 28f + l) + (t' -7xa +
- - x)(3* + L}x - 4)
If we were to simpliS, this, we'd get the same answer as before. But here's the best part: wete
not going to simpli$, it. One of the great things about the AP Exam is that when itt difficult to
simplify an expression, you almost never have to.
Nonetheless, you'll often need to simplify expressions when youte taking second derivatives,
or when you use the derivative in some other equation. Practice simplifying whenever possible.
du da
dtc dx
The Quotient Rule: If f (x)=!,thenf'(x)
u
=- u 2
In this rule, as opposedto the Product Rule, the order in'which you take the derivatives is very
important because youte subtracting instead of adding. Itt always the bottom function times
the derivative of the top minus the top function times the derivative of the bottom. Then divide
the whole thing by the bottom function squared. A good way to remember this is to say the
following:'
*t -3*4)
Example 442 fG)= x2 +7x
x-1 -x -8
Example 45: y =
x-24+rc
, (*-' + **)
dx
'We're
not going to simplifr these, although the Quotient Rule often produces expressions that sim-
pli$' more readily than those involving the Product Rule. Sometimes itt helpful to simplifr, but
avoid it otherwise.'W'hen you have to find a second derivative, however, you do have tosimplif,
the quotient. If this is the case, the AP Exam usually will give you a simple expression to deal with,
such as in the example below.
+ 5
Examole y
4Gz J =3x
t
5x-3
ay
dx
_(sx - t)(s)- (tx + s)(s) _(ts* -g)-(isx + zs) _
-
44
(s*-l)' (s*-t), (s*-t),
sinr
Because - tin x, you should ger
cos rc
. sinr
Use the Quotient Rule.
sln
=--=-
- sinz r csc ,r
dx sinx (sinr Jf
I
Example 49: Find.the derivative of .
.o,,
Use the rule mentioned in the box on page 134.
d l -1 sinr I sinr
dx cosx (cosr)'
\ / cos', cosrt cosx
1
Because sec rc' you get
cos,f
-csc.rcotn
ficscx'=
'We
There you go. have now found the derivatives of all six of,rhe trigonomeuic functions.
(You can find a full list of formulas you should know in your free onfinJStudent Tools) Now
inemorize them. You'll thank us later.
1
10. x'5 +
v 20.
"l;(el; +,1;)
1. Use the Definition of the Derivative to find/'(r) for 5. Use the Definition of the Derivative to find //(2),
"f
(x):3'-" ' n fb):*.
(A) -1 I
(B) 0 (A) _G
1
(c) 8
(D) 8, '1
(B)
8
2. Use the Definifion of the Derivative to find/'(x) for
(c)
f ('):z*' *7x*2 ' : 8
(A) 6r (D)
1
(B) 6x-2 16
. (C) 6x+7
(D) 3r.+ 7 6. y:5.r' -7x2 +l!x+2.
Fiad
* if
3. Use the Definition of the Derivative to find/'(x) for
/('): x'-4x'+11' (A) +
dx
:15x2 -l4x
(A) 3*-4
(B) 3f - 4x+ ll (B) + :35x2 -2lx*ll
tlx
(C) 3#-8-r+ ll
(D) 3t'-8x (c) + :5x2 -7x+Ll
dx
4. Use the Definition of the Derivative to find /'(25), (Di 9- :15x2 -l4x-lll
rf f (x):6Ji. dx
(A) 1
5
(B)
*
(c) 6
25
6
(D)
=f