Article: Differentiation Directory: Begin Tutorial On
Article: Differentiation Directory: Begin Tutorial On
Directory
• Table of Contents
• Begin tutorial on Differentiation
f (a + h) − f (a)
f 0 (a) = lim (2)
h→0 h
Section 3: The Definition of Derivative
Example 3.3. (Continued from Example 3.1) For f (x) = 3x2 , find
the equation of the line tangent to the graph of f at the point on the
graph corresponding to x = 1.
Strategy: Let’s plot some strategy on how to evaluate the limit (2) in
the definition of derivative. As h goes to 0, both the numerator and
denominator go to 0. You’ll recall my famous Empirical Observation.
This is still our guide for reasoning and simplifying the difference
quotient.
Section 3: The Definition of Derivative
Differentiation Strategy.
When trying to evalulate the limit of the difference quotient
f (a + h) − f (a)
lim ,
h→0 h
you must develop, through algebraic manipulation, a factor
of h in the numerator. The factor of h in the numerator and
h in the denominator can and must be cancelled. Hopefully,
the limit can then be evaluated.
other types of more complex functions are studied, the advice about
factoring and cancelling out the ‘h’ is no longer practical.
Exercise 3.1. Consider the function f (x) = 5x2 −2. Keeping in mind
the Differentiation Strategy, and the techniques of Example 3.1,
a. Find the difference quotient at a = 1.
b. Calculate f 0 (a).
c. Find the equation of the line tangent to the graph of f at x = 1.
If you’re are a beginner, take out a sheet of paper and write out my
solution to Example 3.1 and line by line, make appropriate changes
in the argument — here, we have a slightly different function.
In the next two sections, we present more sample calculations of
derivatives.
Therefore,
f (x) − f (a)
lim f (x) = lim f (a) + (x − a)
x→a x→a x−a
f (x) − f (a)
= f (a) + lim (x − a)
x→a x−a
f (x) − f (a)
= f (a) + lim lim (x − a)
x→a x−a x→a
= f (a) + f 0 (a)(0)
= f (a).
We have used, in several of the lines, standards facts concerning the
Algebra of Limits.
0 f (x + h) − f (x)
f− (x) = lim . (14)
h→0− h
provided the limit exists.
(2) Define the right-hand derivative of f at x by
0 f (x + h) − f (x)
f+ (x) = lim . (15)
h→0+ h
provided the limit exists.
With regards to (1), the next two examples show how Theorem 3.5
can be used to show a derivative does or does not exist.
Example 3.11. Define a function by f (x) = |x|. Prove that f does
not have a derivative at x = 0.
The next example illustrates how Theorem 3.5 can be used to show a
derivative exists.
Example 3.12. Define a function
0 x<0
f (x) =
x2 x≥0
Prove the f 0 (0) exists and f 0 (0) = 0.
You can create functions with sharp corners by piecing together other
functions. For example,
2
x x≤0
f (x) = (17)
x x>0
I have pieced two functions together so that where they meet, at x = 0,
the form a continuous function there.
Exercise 3.5. Show that the function defined in (17) is not differ-
entiable at x = 0.
Another example, not obtained by piecing functions together, is
f (x) = x2/3 . (18)
Example 3.13. Show that the function defined in (18) is not differ-
entiable at x = 0.
Functions with Vertical Tangents. Some functions have tangent
lines, but the tangent line is vertical. A vertical line either has no
slope or has infinite slope depending on your philosophical point of
Section 3: The Definition of Derivative
Exercise 3.6. Show that the function in (20) has a vertical tangent
at x = 0
Section 4: Differentiation Notation
4. Differentiation Notation
Before we continue with the development of differentiation rules, let’s
introduce some important notation.
As we are in a primitive state, we don’t have a lot of examples to
which to refer. Recall that if f (x) = x2 , then f 0 (x) = 2x. I’ll use this
example to illustrate the notations.
f (x) = x2 f 0 (x) = 2x
g(t) = t2 g 0 (t) = 2t
W (s) = s2 W 0 (s) = 2s
L0 (w) = w2 L00 (w) = 2w
Now, here’s the twist. In our discussion on notation, we noted that
often, function are defined anonymously — they have no names; in
this case, we use the dependent variable as the name of the function.
Therefore, The Prime Notation Rule still holds. For example, if the
Section 4: Differentiation Notation
w = v2 w0 = 2v
q 0 = x2 q 00 = 2x
l00 = y 2 l000 = 2y
The prime notation has another problem. Some functions has several
symbolics in their definition. For example, if we define a function
w = s2 t3 , then you might ask, quite rightly, what the independent
variable is. Should we consider s is independent variable and t as a
constant, or should we consider t the independent variable and s as
a constant? This is an important question since the calculation of
the derivative depends on what you consider to be the independent
variable.
In the next section, we introduce a notation, that, as a built-in feature,
tells you what the independent variable is.
Section 4: Differentiation Notation
Difference quotient is
∆y f (x + ∆x) − f (x)
= .
∆x ∆x
For additional details, read the section Rate of Change, if you haven’t
done so already.
d/dx as an Operator. The Leibniz notation is sometimes called an
operator. The symbol
d
dx
Section 4: Differentiation Notation
y = x2
d
Apply to both sides of the equation,
dx
d d 2
y= x
dx dx
or,
dy d x2
= . (6)
dx dx
The left-hand side of (6) becomes a symbol for the derivative of the
function, while the right-hand side is a derivative problem of an ex-
plicit function of x. Equation (6) then becomes
dy
= 2x.
dx
Section 4: Differentiation Notation
Upon the evaluation of the right-hand side of (6) yields the proper
notation and answer to the problem of finding the derivative of the
function y = x2 .
As you go through these notes you will see the role of d/dx as an
operator quite often. The technique of implicit differentiation utilizes
this “operator” point of view extensively.
Section 5: Three Fundamental Interpretations
Solution. The slope of the line tangent to the graph of f at the point
P ( a, f (a) ) is given by f 0 (a), i.e.
the slope of the line tangent to the graph
f 0 (a) =
of f at the point P ( a, f (a) ).
This information can be parlayed into the equation of the tangent line.
Problem. Find the equation of the line tangent to the graph of y =
f (x) at the point P ( a, f (a) ).
Solution. The equation of the line tangent to the graph of y = f (x)
at the point P ( a, f (a) ) is given by
y = f (a) + f 0 (a)(x − a).
5.2. Velocity
Suppose a particle moves in a straight line. Call this straight line the
s-axis, which will be a real number line. At any time t, the particle,
Section 5: Three Fundamental Interpretations
Derivative of a Constant.
d
The derivative of a constant, c, is zero: c=0
dx
d5
Exercise 6.1. Calculate .
dx x=123.45
Proof.
Section 6: Some Basic Differentiation Rules
Have you gotten the feeling that our rules are still limited? We can’t
do a whole lot yet. In the next section we will make considerable
progress in that regard.
Proof.
Theorem Notes: You can see that combining differentiable function
through addition, subtraction, multiplication, division all yield func-
tions that are differentiable. Spoken differently, if f and g both have
tangent lines at x = a, then so does cf , f ± g, f g, and f /g, the latter
is true provided g 0 (a) 6= 0.
The natural question we address throughout the rest of this section
is how do we make calculations. Given that we know
f (a), f 0 (a), g(a), g 0 (a), (1)
how can we use this information to calculate
(cf )0 (a), (f + g)0 (a), (f g)0 (a), (f /g)0 (a)?
Stay tuned for the answers.
Proof.
The Leibniz Notation is used most frequently to express these formu-
las. Let’s develop the proper notation.
d(cf )
(cf )0 (a) =
dx
df
cf 0 (a) = c
dx
Equating the two,
d(cf ) df
=c
dx dx
Section 7: The Algebra of Differentiable Functions
Note that I have cleverly let u = f (x) in the statement of Theorem 7.2.
Now if we replace the name f of the function with the dependent
variable we get,
d(cu) du
=c
dx dx
Let’s elevate this formula to the stature of a boxed in equation.
Homogeneity of Differentiability.
Let u be a differentiable function of x, then
d(cu) du
=c
dx dx
Proof.
The Leibniz notation is used quite often when manipulating complex
functions. Equation (2) may be rewritten as
d df dg
(f + g) = + . (3)
dx dx dx
Section 7: The Algebra of Differentiable Functions
d
Example 7.2. (With Attributions) Calculate (3x4 − 6x5 ).
dx
d
Example 7.3. Calculate 3 csc(w) − 5 cot(w).
dw
Section 7: The Algebra of Differentiable Functions
d 5 2 3
Exercise 7.1. Calculate 4s − 3 s .
ds
Exercise 7.2. Consider the function in the Exercise 7.1, i.e., w =
4s5 − (2/3)s3 .
a. Find all values of s at which the tangent line is horizontal.
b. Find all values of s at which the tangent line is parallel to the
line w = 120s + 3.
dw
Begin by writing down the derivative, , from the solution of Ex-
ds
ercise 7.1. Formulate, in terms of setting up certain equations, how
to solve each part — and solve.
Proof.
The Leibniz notation is important to master.
d(f g) dg df
=f +g . (6)
dx dx dx
Finally, if we denote u = f (x) and v = g(x), then (6) becomes,
d(uv) dv du
=u +v . (7)
dx dx dx
Thus,
Section 7: The Algebra of Differentiable Functions
d 3
Example 7.4. (With Attributions) Calculate x (2x9 − 12).
dx
dy
Exercise 7.3. For y = x12 (1 + x2 ), find using the Product Rule.
dx
Work your answer out first and simplify before looking.
Proof.
Designating u = f (x) and v = g(x), in Leibniz notation the Quotient
Rule becomes
du dv
d u v −u
= dx 2 dx (9)
dx v v
provided v 6= 0.
Section 7: The Algebra of Differentiable Functions
d 3x3 − 2x
Example 7.5. (With Attributions) Calculate .
dx 4 − 5x2
s2 d
Example 7.6. For w = 4
, find w.
3s − 2 ds
Solve the problem first, use good techniques, and simplify before look-
ing at the answer — please!
d 7x6
Exercise 7.4. Calculate . (Hint: Quotient Rule.)
dx 6x8 − 1
Section 7: The Algebra of Differentiable Functions
= nx−n−1 x2n
= nxn−1 ,
where, in line (10), we have applied our Power Rule to x−n . This is
permissible since −n is a positive integer and our current power rule
would then apply.
Thus, we have shown that if n ∈ Z is a negative integer, then
d xn
= nxn−1 (11)
dx
This formula has exactly the same form as our (old) Power Rule.
At this point, it is traditional to do a little hand waving. The power
rule, which is valid for integer exponents is, in fact, valid for all frac-
tional exponents as well. I’ll go ahead and raise the banner on this
form of the power rule so we (read you) can begin practicing.
Section 7: The Algebra of Differentiable Functions
It is this formula that will be our working formula. The Power Rule
needs to be memorized. You must train yourself to recognize power
functions, and you must have the ability to utilize the formula correctly
— most important!
Section 7: The Algebra of Differentiable Functions
d x−3 d x1/2 1
= −3x−4 = x−1/2
dx dx 2
−1/2 7/3
ds 1 dw 7
= − s−3/2 = w4/3
ds 2 dw 3
Visually scan these examples. Do you see the pattern of solution in
each? Verbalize each example: the derivative of x−3 is the exponent
−3 times x raised to one less power x−4 . Thus we get
d x−3
= −3x−4 .
dx
d 5
Example 7.7. (Skill Level 1) Calculate .
dx x4
d √
Example 7.8. (Skill Level 1) Calculate x x.
dx
d 6
Exercise 7.5. Calculate √ .
dx x2 x
Section 7: The Algebra of Differentiable Functions
d x2 + 1
Exercise 7.6. (Skill Level 1) Calculate √ .
dx x
d x2 + 1
Example 7.9. (Skill Level 1) Calculate √ .
dx x + 1
2. (Additive Rule)
d(u + v) = du + dv.
3. (Produce Rule)
d(uv) = u dv + v du.
4. (Quotient Rule)
u v du − u dv
d = .
v v2
These are identical to their derivative counterparts; however, they
have the advantage that they are more compact and it isn’t necessary
to explicitly specify the independent variable. This differential nota-
tion is used quite extensively in differential equations, a course, some
day, you may take.
Example 7.10. Calculate d(x2 sin(x)).
√
Exercise 7.8. Calculate d(x x).
Section 7: The Algebra of Differentiable Functions
x2
Exercise 7.9. Calculate d .
x2 + 1
The language of differentials can be used to pose questions that are
meant to aggravate the minds of freshmen.
Exercise 7.10. I’m thinking of a function y of x having the property
dy = x4 dx. What function am I thinking of . . . I’ll bet you’ll never,
never guess!
Simple Interpretation. Rise over Run.
When the independent variable is not given a value, the differential
serves very well as an alternate notation to the usual differentiation
notation. Thus,
dy
= f 0 (x) is equivalent to dy = f 0 (x) dx,
dx
but, just as the derivative can be evaluated numerically, so can the
differential. The interpretation of the differential comes, naturally,
from that of the derivative.
Section 7: The Algebra of Differentiable Functions
Now, we put these recollections and new notation back into context of
our discussion. The function f (x) = x2 had f 0 (x) = 2x, and f 0 (3) = 6.
The slope of the tangent line is m = 6. For this line, (17) becomes,
dy = 6 dx.
This equation is (1) the differential of the function at x = 3, (2) this
equation tells us that if we move dx in the x-direction, then to get
back to the (tangent) line we must move dy in the y-direction. In
particular, if we put, dx = 2, that is, if we start at any point on
the tangent line, and move dx = 2 units to the right, then we must
move dy = 6(2) = 12 units vertically upwards to get back to the
line. Similarly, a value of dx = −3 means that we are moving 3 units
horizontally to the left, in this case, dy = 6(−3) = −18; this means
we must move 18 units vertically downward to get to the line.
Final Interpretation. Having seen the interpretation of dy and dx, let’s
formalize this in abstract. Given,
dy = f 0 (x) dx,
Section 7: The Algebra of Differentiable Functions
Exercise 7.12. Find the equation of the line tangent to the graph
of y = x3 at the point on the graph corresponding to x = 1. Use the
techniques of Example 7.11.
Section Summary. Let y = f (x) be a differentiable function.
We have defined the differential of f as
dy = f 0 (x) dx
On the face of this, this differential notation is an alternate notation
to the derivative notation.
The utility of the differential, is that enables us to think of the
Leibniz notation, dy/dx, as a ratio: the differential of y divided by
the differential of x. This allows us to manipulate derivative concepts
algebraically.
The differential satisfies the same rules of combining functions as
the derivative does. See Properties. These properties can be exploited
to calculate differential in same way as derivatives.
The simplest interpretation of
dy = f 0 (x) dx
Section 7: The Algebra of Differentiable Functions
How to Differentiate.
When you look at the function to be differentiated, you must
first ask yourself a series of questions. Is this a power function? (If
yes, apply the Power Rule.) Is this function a sum or difference of two
functions? (If yes, apply the Additive Rule.) Is this function a product
of two functions? (If yes, apply the Product Rule.) Is this function
a quotient of two functions? (If yes, apply the Quotient Rule.) No
matter how complicated the functions become, at each stage of the
differentiation process, this classification can be made. Make it.
Before differentiating, always look at the function to be oper-
ated on. Possibly do some algebraic manipulation for the purpose of
simplification or for the purpose of preparing√the function for differen-
tiation. For example, the function f (x) = x x is indeed a product of
two functions, as per item (a) above, but it would be silly to apply the
product rule. The reason for this is the function f can be rewritten as
√
f (x) = x x = xx1/2 = x3/2 .
This function can be more easily and efficiently differentiated when
treated as a power function.
Section 7: The Algebra of Differentiable Functions
As you apply the rules, verbalize them. This will help you re-
member them. These formulas must be memorized! (Sorry, DP S)
Until you become a master of differentiation, do not apply more
than one rule per step. (You are a master when you do not have to
look in the back of the book for the answer.)
Apply the rules carefully and methodically. Use correct notation
— very important.
Always practice your algebra. Simplify your answer.
Accumulate a history of problem solving. The more problems you
solve, the greater your history of problem solving. Having a history
of problem solving enables you to tackle new problems with more
confidence and authority.
See patterns in the sand. Many problems are just repetitions
of the same basic problem. Do not treat each problem as a unique
problem you have never seen before. Create memory pointers: try to
associate problem types so you can use your past experience to guide
you on each new quest. For example (trivial): If you first differentiate
y = x2 to get y 0 = 2x, and then you differentiate y = x3 to get
y 0 = 3x2 , and then you differentiate y = x4 to get y 0 = 4x3 , and
Section 7: The Algebra of Differentiable Functions
steps; and there is no solution manuals to use; and, o.k., there are no
hyper-links to the solutions either.
Do all problems as if I am looking over your shoulder, and you
want to impress me.
I used to solve problems in a scrap sheet of paper, then transfer
them neatly into a notebook. This gave me the opportunity to rewrite
the problem neatly and in an organized way, but it also allowed me
to rethink my solution, and to recheck my calculations.
How do we solve problems? One way is by example. Where do I
get examples, you ask? Your textbook provides examples, read them.
Quite often, examples in each section of a textbook illustrate how to
solve different problem types that appear in the exercise section. Any
notes obtained during class sessions provide a valuable resource of
examples. Reread your notes; be aware of the examples done in class.
These notes represent a large number of examples; many solutions
exhaustively worked out for you.
But wait. The point of the previous paragraph needs to be ex-
tended. Not only do these examples provide solutions to problem
types, but also provide illustrations of good style, correct notation,
Section 7: The Algebra of Differentiable Functions
Homogeneity of Differentiability.
d(cu) du
=c
dx dx
The derivative of a constant times a function is that constant
times the derivative of the function.
Verbalizations
d(uv) dv du
=u +v .
dx dx dx
The derivative of a product is the first times the derivative of
the second, plus the second times the derivative of the first.
Verbalizations
f (a) = f (1) = 3
f (a + h) = f (1 + h) = 5(1 + h)2 − 2
and so,
Solutions to Exercises (continued)
Note: I was not satisfied with just “plugging” the function into the
formula (3) and getting the hideous expression
5(1 + h)2 − 2 − 3
.
h
This is the difference quotient but it does not advance the ultimate
problem forward (Part (b)). We would not have been true to our
algebraic roots!
Solution to (b): All the heavy lifting has been down in the separate
step of calculating and simplifying the difference quotient.
Gather Needed Information.
f (a + h) − f (a)
The definition: f 0 (a) = lim .
h→0 h
The Function and Point: f (x) = 5x2 − 2 and a = 1.
Solutions to Exercises (continued)
y = 3 + 10(x − 1).
or
y = 10x − 7.
This is the equation of the line tangent to the graph of f at x = 1.
Exercise Notes: I told you it was a cut and paste job. The point was
that the steps or procedures are the same. We use exactly the same
Solutions to Exercises (continued)
Exercise Notes: Are these results consistent with the results of Ex-
ercise 3.1?
Exercise 3.2.
Solutions to Exercises (continued)
The Derivative:
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
3
= lim p √
h→0 3(x + h) + 3x
3
= √
2 3x
Solutions to Exercises (continued)
Thus,
3
f 0 (x) = √ .
2 3x
1
3.4. For f (x) = √ , we proceed along standard lines of inquiry.
x
Difference Quotient:
f (x + h) − f (x) 1
= (f (x + h) − f (x))
h h
1 1 1
= √ −√
h x+h x
√ √
1 x− x+h
= √ √
h x x+h
√ √ √ √
1 x− x+h x+ x+h
= √ √ √ √
h x x+h x+ x+h
1 x − (x + h)
= √ √ √ √
h x x + h( x + x + h)
−1
=√ √ √ √ (A-2)
x x + h( x + x + h)
That was a bit of a bear!
Solutions to Exercises (continued)
The Derivative:
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
−1
= lim √ √ √ √ from (A-2)
h→0 x x + h( x + x + h)
−1
= 2 √
x (2 x)
−1
= 2√
2x x
Thus,
1
f 0 (x) = √ .
2x2 x
Exercise Notes: The only difference between this exercise and Exam-
ple 3.9 or Exercise 3.3 is the volume of algebra needed for this
problem. The step were the same, the conjugate trick was used in all
Solutions to Exercises (continued)
Exercise 3.4.
Solutions to Exercises (continued)
Right-hand Derivative:
0 f (0 + h) − f (0)
f+ (0) = lim+
h→0 h
h
= lim
h→0+ h
= lim 1
h→0+
=1
Thus,
0 0
f− (0) = 0 6= 1 = f+ (0).
This means (1) that f is not differentiable at x = 0 (see Theorem
Notes following Theorem 3.5); and (2) that f has a corner at x = 0.
Finally note that the function f is continuous at x = 0 because
f (0) = 0 = lim f (x) = lim f (x).
− x→0 +
x→0
Exercise 3.5.
Solutions to Exercises (continued)
= +∞.
The limit is +∞ since the h is squared: h2/3 = (h1/3 )2 ; consequently,
we are taking the limit of a positive quantity, where the denominator
goes to zero.
Solutions to Exercises (continued)
Right-hand Derivative:
0 f (0 + h) − f (0)
f+ (0) = lim+
h→0 h
h1/3
= lim+
h→0 h
1
= lim 2/3
h→0+ h
= +∞.
0 0
As you can see, the f+ (0) calculation was the same as the f− (0)
calculation.
Thus, we have shown that
0 0
f− (0) = f+ (0) = +∞,
this is my definition of a vertical tangent.
Finally, recall that f (x) = x1/3 is an algebraic function is continuous.
Exercise 3.6.
Solutions to Exercises (continued)
7.1. Does your neatly written out solution look like this? Or have
you just scribbled down the answer?
d 5 2 3 d 5 d 2 3
4s − s = 4s − s
ds 3 ds ds 3
d s5 2 d s3
=4 −
ds 3 ds
2
= 4(5s4 ) − (3s2 )
3
= 20s − 2s2
4
= 2s2 (10s2 − 1)
Exercise 7.1.
Solutions to Exercises (continued)
7.2. Let’s look at each part. From the solution to Exercise 7.1, we
have
dw
w = 4s5 − (2/3)s3 = 2s2 (10s2 − 1).
ds
Part (a): We want to find were the tangent line is horizontal. A hori-
zontal line has slope of 0; therefore, we want to find were the slope of
the tangent line is 0. The first derivative of a function is the slope of
the tangent line; therefore, we want to find where the first derivative
of the function is equal to 0. We ask this question by setting up the
equation:
dw
=0 solve for s
ds
2s2 (10s2 − 1) = 0 solve for s
Now if you haven’t completely solved this problem, now that I have
properly formulated it, you finish it off.
Which of the following is the answer to (a)?
Solutions to Exercises (continued)
1 1
(a) s = 2, 0 (b) s = 0 (c) s = ± (d) s = 0, ±
10 10
Part (b): Now we want to find all s at which the tangent line is parallel
to the line w = 120s + 3. Our function, w = 4s5 − (2/3)s3 , defines w
as a function of s; therefore we consider s the independent variable
and w the dependent variable; consequently, for
d
120s + 3 = 120.
ds
So, the line has a constant slope of m = 120. We want to find all
points s at which the slope of the tangent line is 120. We set up the
defining equation
dw
= 120 solve for s
ds
2s2 (10s2 − 1) = 120 solve for s (A-3)
Now if you have not already properly formulated the problem. All you
have to do now is to solve equation (A-3) for s — mere algebra. (I’m
sure you are a master of algebra!)
Solutions to Exercises (continued)
Which of the following as the answers to (b)? (Work the problem out
first before daring to peek!)
p 5 p
(a) s = ± 5/2 (b) s = (c) s = 1, −3 (d) s = ± 12/5
2
Don’t give up on this problem. Keep trying to solve equation (A-3).
You never know, the problem may teach you something that later
you can use. Obtain a history of problem solving so that you will have
the experience and confidence to tackle problems encountered in the
future.
Exercise 7.2.
Solutions to Exercises (continued)
Exercise 7.3.
Solutions to Exercises (continued)
d 7x6 d x6
=7 / Homogen.
dx 6x8 − 1 dx 6x8 − 1
d x6 d
(6x8 − 1) − x6 (6x8 − 1)
=7 dx dx / Quot.
(6x8 − 1)2
(6x8 − 1)(6x5 ) − x6 (48x7 )
=7
(6x8 − 1)2
6x5 (6x8 − 1 − 8x8 )
=7
(6x8 − 1)2
42x5 (2x8 + 1)
=− .
(6x8 − 1)2
Thus,
d 7x6 42x5 (2x8 + 1)
= − .
dx 6x8 − 1 (6x8 − 1)2
Exercise 7.4.
Solutions to Exercises (continued)
7.5. Let’s hope you learned your lessons from the previous examples.
Note that
6
√ = 6x−5/2 .
x2 x
Thus,
d 6 d
√ = (6x−5/2 )
dx x2 x dx
5
= (6)(− )x−7/2
2
−7/2
= −15x
15
= − 7/2
x
15
= − 3√ .
x x
Finally,
d 6 15
√ = − 3√ .
dx x x
2 x x
Solutions to Exercises (continued)
Make sure you understand the last algebraic step, I factored out the
quantity (1/2)x−3/2 . It is important that you constantly improve your
algebra.
d x2 + 1 1
√ = x−3/2 (3x2 − 1).
dx x 2
Exercise 7.6.
Solutions to Exercises (continued)
y − 1 = 3(x − 1).
f (a) = f (1) = 3
f (a + h) = f (1 + h) = 3(1 + h)2
and so,
Solutions to Examples (continued)
f (a + h) − f (a) 6h + 3h2
=
h h
= 6 + 3h.
Thus,
f (a + h) − f (a)
= 6 + 3h, (S-1)
h
we have constructed in a well-organized way, the difference quotient.
Solutions to Examples (continued)
Note: I was not satisfied with just “plugging” the function into the
formula (3) and getting the hideous expression
(1 + h)2 − 3
.
h
This is the difference quotient but it does not advance the ultimate
problem forward (Part (b)). We would not have been true to our
algebraic roots!
Solution to (b): All the heavy lifting has been down in the separate
step of calculating and simplifying the difference quotient.
Gather Needed Information.
f (a + h) − f (a)
The definition: f 0 (a) = lim .
h→0 h
The Function and Point: f (x) = 3x2 and a = 1.
Solutions to Examples (continued)
The Equation of Tangent Line: Now we have all the “input data” we
need to utilize (S-2) Taking
( x0 , y0 ) = ( a, f (a) ) m = m tan = f 0 (a),
and inserting this information into (S-2) we obtain
3.3. We just “plug” our information into the general formula devel-
oped in (5). That general formula is
y = f (a) + f 0 (a)(x − a).
This is the equation of the line tangent to the graph of f at x = a.
Our function is f (x) = 3x2 , our point of interest is x = 1 (this is our
a, i.e. a = 1).
Auxiliary Calculations:
a=1
f (1) = 3(1)2 = 3
f 0 (1) = 6 from Example 3.1
The Equation of Tangent Line: Now we have all the “input data” we
need to utilize (5): Taking and inserting this information into (5) we
obtain
y = 3 + 6(x − 1).
or
Solutions to Examples (continued)
y = 6x − 3.
This is the equation of the line tangent to the graph of f at x = 1.
Example 3.3.
Solutions to Examples (continued)
Finally,
f (a + h) − f (a)
f 0 (2) = lim
h→0 h
= lim 4 + h
h→0
= 4.
Thus,
f 0 (2) = 4.
That was simple!
Example Notes: Study the style of presentation, the organization of
this solution. If you are well-organized, methodical, and develop good
habits, then the calculation of the derivative from the definition is
straight forward. Is it something you would like to strive for?
Derivatives at particular values of x, such as x = 2, are fine.
But now, if we wanted the derivative at x = 3 we are out of luck. All
our work is for nothing! We have recalculate everything for the case
Solutions to Examples (continued)
y − 4 = 4(x − 2)
or,
y = 4x − 4
is the desired equation. Example 3.5.
Solutions to Examples (continued)
3.6.
√ Begin with the difference quotient and simplify. Here, f (x) =
2x and a = 3 in the definition.
f (a + h) − f (a) f (3 + h) − f (3)
=
h p h
√
2(3 + h) − 6
= Are you following?
√ h √
6 + 2h − 6
=
√ h √ √ √
6 + 2h − 6 6 + 2h + 6
= √ √
h 6 + 2h + 6
In the last step we utilize the conjugate trick (remember?). The reason
I went for the conjugate trick here is because of the basic Differenti-
ation Strategy. The thing what was guiding my thinking was the goal
of getting rid of the h in the denominator (legally!). The conjugate
trick did the trick!
Solutions to Examples (continued)
Continuing now . . .
√ √ √ √
f (a + h) − f (a) 6 + 2h − 6 6 + 2h + 6
= √ √
h h 6 + 2h + 6
(6 + 2h − 6
= √ √
h( 6 + 2h + 6)
2h
= √ √
h( 6 + 2h + 6)
2
=√ √ cancel the h’s!
6 + 2h + 6
Solutions to Examples (continued)
3.7. This really isn’t Skill Level 5, it’s easier than that. You just have
to have the courage to do the obvious. Let’s calculate the infamous
difference quotient:
2
h
f (0 + h) − f (0) f (h) if h is rational
= = h
h h
0 if h is irrational
since f (0) = 0 (0 is a rational number). Thus the difference quotient
is then
f (0 + h) − f (0) h if h is rational
= (S-3)
h 0 if h is irrational
Now, based on the form of the difference quotient, and the fact that
we want to take the limit as h goes to 0, we would postulate that
f 0 (0) = 0. But we must prove this still. We want to prove
f (0 + h) − f (0)
lim = 0.
h→0 h
This is a job for the δ-definition of limit. Let > 0, and choose δ = .
(Why? Because it works, silly — bottom line.)
Solutions to Examples (continued)
whenever, 0 < |h| < δ. But this is exactly the definition of what it
means for
f (0 + h) − f (0)
lim =0
h→0 h
But by definition of derivative,
f (0 + h) − f (0)
f 0 (0) = lim = 0.
h→0 h
Thus, we have proved
f 0 (0) = 0.
Difference Quotient:
f (x + h) − f (x) 2hx + h2
=
h h
= 2x + h.
Notice, I have successfully carried out our Differentiation Strategy.
Finally,
Solutions to Examples (continued)
The Derivative:
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
= lim 2x + h
h→0
= 2x.
f 0 (x) = 2x.
3.9.
√ Begin with the difference quotient and simplify. Here, f (x) =
2x and a = 2 in the definition.
p √
f (x + h) − f (x) 2(x + h) − 2x
=
h √ h √
2x + 2h − 2x
=
√ h √ √ √
2x + 2h − 2x 2x + 2h + 2x
= √ √
h 2x + 2h + 2x
In the last step we utilize the conjugate trick (remember?). Continuing
Solutions to Examples (continued)
now . . .
√ √ √ √
f (x + h) − f (x) 2x + 2h − 2x 2x + 2h + 2x
= √ √
h h 2x + 2h + 2x
(2x + 2h) − 2x
= √ √
h( 2x + 2h + 2x)
2h
= √ √
h( 2x + 2h + 2x)
2
=√ √ cancel the h’s!
2x + 2h + 2x
Solutions to Examples (continued)
Right-hand limit:
lim f (x) = lim x + 1 = 1 6= f (0) (S-8)
x→0+ x→0+
0
3.11. We show that the left-hand derivative f− (0) = −1 and the
0
right-hand derivative f+ (0) = 1. It follows then, by Theorem 3.5,
that f 0 (0) does not exist.
First note that if h < 0, f (h) = |h| = −h; and if h > 0, f (h) = |h| = h.
Of course f (0) = |0| = 0.
Left-hand derivative:
0 f (0 + h) − f (0)
f− (0) = lim−
h→0 h
−h
= lim
h→0 − h
= lim −1
h→0−
= −1.
0
As advertised, f− (0) = −1 .
Solutions to Examples (continued)
Right-hand derivative:
0 f (0 + h) − f (0)
f+ (0) = lim+
h→0 h
h
= lim
h→0+ h
= lim 1
h→0+
= 1.
0
Again, f+ (0) = 1 .
0
Thus, f+ (0) = 0 .
0 0
We have shown that f− (0) = 0 = f+ (0) and so conclude that f 0 (0)
exists and
f 0 (0) = 0.
Example 3.12.
Solutions to Examples (continued)
0 0
3.13. It is easy to show that f− (0) = −∞ and f+ (0) = +∞.
Difference Quotient: We are interested in the case of x = 0 in the
formula for the difference quotient:
f (x + h) − f (x) f (h) + f (0)
=
h h
2/3
h
= = h−1/3
h
1
= 1/3 (S-9)
h
Left-hand Derivative: The left-hand derivative is the left-hand limit
of the difference quotient, from (S-9)
0 1
f− (0) = lim− = −∞.
h→0 h1/3
This calculation is enough to show that f is not differentiable at
x = 0 because, for differentiable functions, the left-hand derivative
is required to be finite.
Solutions to Examples (continued)
d x4 3 d x123
= 4x = 123x122
dx dx
d s5 d w 10
= 5x4 = 10w9
ds dw
When you do problems, use correct notation. Don’t be lazy. Pretend
that I am looking over your shoulder watching your work. Be neat.
Be organized. Example 6.1.
Solutions to Examples (continued)
Finally,
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
= lim 4x + 6x2 h + 4xh2 + h3
3
h→0
3
= 4x .
Thus we have shown that for f (x) = x4 , f 0 (x) = 4x3 . You’ll note that
this formula is consistent with the general formula of the power rule.
Example 6.2.
Solutions to Examples (continued)
Example 7.1.
Solutions to Examples (continued)
= 12x3 − 30x4 .
Thus,
d
(3x4 − 6x5 ) = 12x3 − 30x4 .
dx
Example Notes: Notice how the Leibniz notation is used to work
through this more “complicated” problem.
As you are using the different differentiation properties, verbalize
them. The sound goes out the mouth, around your head, and into your
ears. As you do many differentiation problems, verbalizing as you go,
you will soon memorize these important formulas without effort.
Example 7.2.
Solutions to Examples (continued)
d 3 d d x3
x (2x9 − 12) = x3 (2x9 − 12) + (2x9 − 12) / Prod. Rule
dx dx dx
3 8 9 2
= x (18x ) + (2x − 12)(3x ) / Power Rule
11 2 9
= 18x + 3x (2x − 12)
= 3x2 (6x9 + 2x9 − 12)
= 3x2 (8x9 − 12)
= 12x2 (2x9 − 3).
Thus,
d 3
x (2x9 − 12) = 12x2 (2x9 − 3).
dx
Solutions to Examples (continued)
d 3x3 d x3
= 3 / Homogen.
dx 4 − 5x2 dx 4 − 5x2
d d
(4 − 5x2 ) (x3 ) − x3 (4 − 5x2 )
=3 dx dx / Quot. Rule
(4 − 5x2 )2
(4 − 5x2 )(3x2 ) − x3 (−10x)
=3 / Add., Power
(4 − 5x2 )2
3x2 (3(4 − 5x2 ) + 10x2 )
=
(4 − 5x2 )2
Thus,
d 3x3 3x2 (12 − 5x2 )
= .
dx 4 − 5x2 (4 − 5x2 )2
Example Notes: Again, note the use of the notation to work through
this problem. Use good notation to help you! Verbalize the formulas as
Solutions to Examples (continued)
you use them. The hyper-links provided above point to the formulas
in their verbalized form. Read them.
Example 7.5.
Solutions to Examples (continued)
algebra.
dw 2s(3s4 + 2)
=− .
ds (3s4 − 2)2
Example 7.6.
Solutions to Examples (continued)
7.7. Students make a big deal out of this kind of problem. Very often
they use the quotient rule.
d5 d x4
d 5 x4 − 5
= dx dx
dx x4 (x4 )2
x4 (0) − 5(4x3 )
=
x8
3
20x
=− 8
x
20
=− 5
x
This yields the right answer but it is not the best and most efficient
way to solve this problem. Don’t do it this way!
Solutions to Examples (continued)
d 5 d x−4
=5 / Homogen.
dx x4 dx
= 5(−4)x−5 / Power Rule
20
=− 5
x
This solution is quicker and there is a lesser chance of an error. The
quotient rule is a complicated rule. The more complicated the rule,
the greater chance of error.
Example Lesson: When you have a quotient, and either the numerator
or denominator is a constant, then don’t use the quotient rule. Use
the Power Rule.
Example Notes: This same kind of mistake occurs with a product.
Some students will apply the product rule to the function y = 5x3 .
Technically, there is nothing wrong with doing it that way but doing
so would be wasting a lot of time on a problem that could be done by
inspection y 0 = 15x2 .
Solutions to Examples (continued)
Example 7.7.
Solutions to Examples (continued)
d √
7.8. It is very tempting to use the product rule to evaluate x x;
dx
however, it would be inefficient to do so. The key point here is to
realize that √
x x = xx1/2 = x3/2 .
Then
d √ d x3/2 3 3√
x x= = x1/2 = x.
dx dx 2 2
Example Lesson: When approaching a differentiation problem, look
first at the function to be differentiated. Determine whether there is
a worthwhile simplification before differentiating.
Example 7.8.
Solutions to Examples (continued)
Differential at x = 3: dy = 6 dx.
Now, translate the xy-axis system to the point of tangency: ( 3, 9 ).
Call the new, translated axis system the dx dy-axis system; i.e. call the
Solutions to Examples (continued)
new horizontal axis, dx, and the new vertical axis dy. The equation
of any line through the new origin is
dy = m dx,
where m is the slope of the a line through the new origin.
The tangent line under consideration passes through the point of tan-
gency, ( 3, 9 ), which, by design, is our new origin. The slope of this
line is m = 6, thus, the equation of the tangent line, in our new axis
system, is given by
dy = 6 dx. (S-11)
This represents another interpretation of the differential: It is the
equation of the tangent line, when the xy-axis system is translated to
the point of tangency, and the new axis variables are dx and dy.
If you remember your translation of axis knowledge, then you can
write down the transformation equations: In general, if we move the
Solutions to Examples (continued)
origin from (0, 0) to (x0 , y0 ), and we are calling the new axis dx and
dy, then
dx = x − x0
dy = y − y0
In our case, we have moved the origin to ( x0 , y0 ) = ( 3, 9 ). Thus, the
transformation of axes equations becomes,
dx = x − 3
dy = y − 9
Now if we substitute these equation back into (S-11), we get
y − 9 = 6(x − 3)
or,
y = 9 + 6(x − 3)
These equations are that of the tangent line, back in the original xy-
coordinate system. This can be verifies by “plugging” in the basic
information into the general formula.
Solutions to Examples (continued)