Unit-2
Unit-2
Slope of a secant line (touches curve at 2 Slope of a tangent line (touches curve at one
points) point)
𝑓(𝑥) 𝑓'(𝑥) 𝑑
𝑑𝑥
𝑓(𝑥)
𝑦 𝑦' 𝑑𝑦
𝑑𝑥
A derivative is a slope.
We want to find the instantaneous rate of change. To do that we need to move the two points
together. When the two points meet, we will have one intersection point (i.e. a tangent line).
This can be accomplished by taking the limit as h approaches 0.
𝑓(𝑥+ℎ)−𝑓(𝑥)
Therefore a derivative can be defined as lim ℎ
. This will give you the slope of the
ℎ→0
𝑓(𝑥+ℎ)−𝑓(𝑥)
tangent at any point x on the function f(x). So we can say that lim ℎ
= 𝑓'(𝑥).
ℎ→0
This is a general derivative that can be applied to any value of x on the function f(x). We can
also calculate derivatives at a point by replacing the x with a specific value for which we want a
𝑓(4+ℎ)−𝑓(4)
derivative. For example to find 𝑓'(4), we can use the limit lim ℎ
. An alternate method
ℎ→0
𝑓(𝑥)−𝑓(𝑐)
for calculating a derivative at a point is to use this limit. lim 𝑥−𝑐
. So if you wanted to find
𝑥→𝑐
𝑓(𝑥)−𝑓(2)
𝑓'(2), you would use lim 𝑥−2
.
𝑥→2
***Note: Your calculator does not actually know how to calculate a derivative by taking a limit. It
𝑓(𝑥+ℎ)−𝑓(𝑥−ℎ)
just plugs in really small values of h into this limit equation lim 2ℎ
. Because of this
ℎ→0
your calculator will make mistakes from time to time. Usually these mistakes are unnecessary
decimal places such as 8.000000641 instead of 8. But it also means that it will sometimes
come up with a value for a derivative when there is no derivative at that point.
𝑓(𝑥+ℎ)−𝑓(𝑥)
Using lim ℎ
to find a derivative.
ℎ→0
2
Example 1: 𝐹𝑖𝑛𝑑 𝑡ℎ𝑒 𝑑𝑒𝑟𝑖𝑣𝑎𝑡𝑖𝑣𝑒 𝑜𝑓 𝑥 .
2
𝑓(𝑥) = 𝑥
2
𝑓(𝑥 + ℎ) = (𝑥 + ℎ)
2 2 2 2 2 2
𝑓(𝑥+ℎ)−𝑓(𝑥) (𝑥+ℎ) −𝑥 𝑥 +2𝑥ℎ+ℎ −𝑥 2𝑥ℎ+ℎ ℎ(2𝑥+ℎ)
lim ℎ
= lim ℎ
= lim ℎ
= lim ℎ
= lim ℎ
= lim 2𝑥 + ℎ
ℎ→0 ℎ→0 ℎ→0 ℎ→0 ℎ→0 ℎ→0
= 2𝑥 + 0 = 2𝑥
1
Example 3: 𝐹𝑖𝑛𝑑 𝑡ℎ𝑒 𝑑𝑒𝑟𝑖𝑣𝑎𝑡𝑖𝑣𝑒 𝑜𝑓 𝑥
1
𝑓(𝑥) = 𝑥
1
𝑓(𝑥 + ℎ) = 𝑥+ℎ
1 1 1(𝑥) 1(𝑥+ℎ) 𝑥−(𝑥+ℎ) −ℎ
𝑓(𝑥+ℎ)−𝑓(𝑥) 𝑥+ℎ
−𝑥 𝑥(𝑥+ℎ)
− 𝑥(𝑥+ℎ) 𝑥(𝑥+ℎ) 𝑥(𝑥+ℎ) −ℎ 1
lim ℎ
= lim ℎ
= lim ℎ
= lim ℎ
= lim ℎ
= lim 𝑥(𝑥+ℎ)
· ℎ
ℎ→0 ℎ→0 ℎ→0 ℎ→0 ℎ→0 ℎ→0
−1 −1 −1
= lim 𝑥(𝑥+ℎ)
= 𝑥(𝑥+0)
= 2
ℎ→0 𝑥
Functions can have points that are not differentiable for 4 different reasons:
1. Discontinuity: If a function is discontinuous at a point, then it cannot be differentiated at
that point.
a.
b. This function is not differentiable at x=3.
2. The slope of the tangent line is vertical.
a.
b. This function is not differentiable at x=c because the tangent line is vertical.
c. If a tangent is vertical then the slope is undefined, since a derivative is the same
thing as the slope of the tangent, the derivative is also undefined (i.e. not
differentiable)
3. The graph has a cusp or corner
a.
b. A cusp (as seen above on the left) is a point where the slope from the left and
right are not the same. In this case from the left the slope approaches negative
𝑓(0+ℎ)−𝑓(0)
infinity as we approach zero from the left (i.e. lim ℎ
=− ∞) while the
−
ℎ→0
𝑓(0+ℎ)−𝑓(0)
slope from the right is approaching positive infinity (i.e. lim ℎ
= ∞).
+
ℎ→0
c. A corner (as seen above on the right) also has a point where the slope from the
left and right are not equal.
d. Note: You don’t have to be able to distinguish between a cusp and a corner.
When you are trying to solve a piecewise function (Note this can only be done after learning
2.5-3.6)
2
5𝑥 +2, 𝑥<2
Example 1: 𝑓𝑖𝑛𝑑 𝑓'(2) 𝑔𝑖𝑣𝑒𝑛 𝑓(𝑥) = { 22𝑐𝑜𝑠(π𝑥), 𝑥≥2
1. Is it continuous at x=2?
2
a. lim 5𝑥 + 2 = 5(4) + 2 = 22
−
𝑥→2
b. lim 22𝑐𝑜𝑠(π · 2) = 22 · 1 = 22
+
𝑥→2
c. Yes it is continuous because the limits from the left and right are equal.
2. Is it differentiable?
𝑑 2
a. 𝑑𝑥
5𝑥 + 2|𝑥=2 = 10𝑥|𝑥=2 = 20
𝑑
b. 𝑑𝑥
22𝑐𝑜𝑠(π𝑥)|𝑥=2 =− 22π𝑠𝑖𝑛(π𝑥)|𝑥=2 =− 22π𝑠𝑖𝑛(2π) = 0
c. No, it is not differentiable because the derivatives from the left and right
are not equal.
3𝑥+2, 𝑥<1
Example 2: 𝐹𝑖𝑛𝑑 𝑓'(1) 𝑔𝑖𝑣𝑒𝑛 𝑓(𝑥) = { 3𝑙𝑛 𝑥, 𝑥≥1
1. Is it continuous?
a. lim 3𝑥 + 2 = 5
−
𝑥→1
b. lim 3𝑙𝑛 𝑥 = 3𝑙𝑛 (1) = 3 · 0 = 0
+
𝑥→1
c. Not continuous, which means not differentiable.
2
𝑥 +𝑥+2, 𝑥<0
Example 3: 𝐹𝑖𝑛𝑑 𝑓'(0), 𝑔𝑖𝑣𝑒𝑛 f(𝑥) = { 𝑥
𝑒 +1, 𝑥≥0
1. Is it continuous?
2
a. lim 𝑥 + 𝑥 + 2 = 2
−
𝑥→0
𝑥
b. lim 𝑒 + 1 = 2
+
𝑥→0
c. Yes it is continuous
2. Is it differentiable?
𝑑 2
a. 𝑑𝑥
𝑥 + 𝑥 + 2|𝑥=0 = 2𝑥 + 1|𝑥=0 = 1
𝑑 𝑥 𝑥 0
b. 𝑑𝑥
𝑒 + 1|𝑥=0 = 𝑒 |𝑥=0 = 𝑒 = 1
c. Yes it is differentiable.
BC Calculus Unit 2 Summary (2.5-2.10): Rules and Memorized Derivatives
Memorized Derivatives
Function Derivative
𝑥 1
1
𝑥 (see power rule)
2 𝑥
1 −1
𝑥 2 (see power rule)
𝑥
𝑥 𝑥
𝑒 𝑒
𝑙𝑛 𝑥 1
𝑥
, 𝑥>0
𝑥 𝑥
2 2 𝑙𝑛 2
𝑥 𝑥
𝑎 , where a is a constant 𝑎 𝑙𝑛 𝑎
𝑠𝑖𝑛 𝑥 𝑐𝑜𝑠 𝑥
𝑐𝑜𝑠 𝑥 − 𝑠𝑖𝑛 𝑥
𝑡𝑎𝑛 𝑥 2
𝑠𝑒𝑐 𝑥
𝑐𝑜𝑡 𝑥 2
− 𝑐𝑠𝑐 𝑥
Power rule 𝑥
𝑛
𝑛𝑥
𝑛−1
Constant Rule 𝑐 0
Exponential Rule 𝑐
𝑥 𝑥
𝑐 𝑙𝑛 𝑐