Chapter 3: Differentiation With Applications To Business Section 3.1. Differentiation
Chapter 3: Differentiation With Applications To Business Section 3.1. Differentiation
APPLICATIONS TO BUSINESS
Section 3.1. Differentiation
In this section we will learn how to differentiate certain functions. For us
the important thing will be to learn how to differentiate, and then to learn
how to use and interpret the derivative in business applications. However,
rather than just start by writing down a heap of rules, we will try to motivate
where the derivative comes from and will show you how one might go about
justifying the rules given in Table 1.
Let’s suppose that we have a function, f, and we want to find the slope
of the tangent line to the curve at the point x. In the picture below, this
tangent line is labelled L. How do we do it? One way would be move a little
over from x on the x−axis, say move over h units to x+h. The corresponding
point on the graph is (x + h, f (x + h)). Draw the line, Lh , through the points
(x, f (x)) and (x + h, f (x + h)). Note that for h a small positive number, the
slope of Lh is a fairly good approximation for the slope of L.
6
L
h
f (x + h) u
(x + h, f (x + h))
# L
#
#
#
#
#
#
#
#
f (x) u#
(x, f (x))
#
#
x x + h
y2 − y1 f (x + h) − f (x) f (x + h) − f (x)
Slope of Lh = m = = = .
x2 − x1 (x + h) − x h
1
As h gets smaller and smaller (in other words the closer h gets to 0), the
closer the slope of Lh gets to the slope of L. (See below.)
s#
#
#
# "
# s""
# "
#"" !!!
#"!!s
#" !!
"
# !
s #"
"
! !!
!!
"
#
"
# -
x x+h
f (x + h) − f (x)
Slope of L: , with h → 0.
h
df (x) dy
We call this f 0 (x) or or – the derivative of f with respect to x.
dx dx
f (x + h) − f (x)
We first find :
h
f (x + h) − f (x) (x + h)2 − x2
=
h h
(x + 2xh + h2 ) − x2
2
=
h
2xh h2
= + = 2x + h.
h h
Now as h → 0, we see that 2x + h → 2x. Thus f 0 (x) = 2x if f (x) = x2 . 2
2
This process of “differentiating from scratch” is known as differentiation by
first principles. If you had to differentiate every function from first principles,
you’d never get anywhere fast. Therefore the practice is to do it once and
then remember it as a rule afterwards. However, we won’t even do it once, we
will simply refer to the following table of rules (which can be verified using
differentiation from first principles).
f (x) f 0 (x)
c (constant) 0
xn nxn−1
ex ex
ln x 1/x
eax aeax
ln ax 1/x
• If f (x) is just the constant function, that is, f (x) = c, then f 0 (x) = 0.
• If f (x) = xn , then to find f 0 (x) we “bring down the power in front” and
reduce the power on the original by one, that is, f 0 (x) = nxn−1 .
• The derivative of ln(ax) is 1/x. (Again we will see why this is so when
we study the chain rule.)
3
It will be important to be able to manipulate and simplify certain functions
(either before or after taking the derivative). For this, we will make extensive
use of the following rules for exponents.
E1: xa xb = xa+b
xa
E2: = xa−b
xb
1
E3: = x−b
xb
E6: x0 = 1
d d d
P2. (u(x) ± v(x)) = u(x) ± v(x).
dx dx dx
d d d
P3. (u(x).v(x)) = v(x) u(x) + u(x) v(x) The Product Rule.
dx dx dx
d d
!
d u(x) v(x) dx u(x) − u(x) dx v(x)
P4. = The Quotient Rule.
dx v(x) (v(x))2
d
P5. (u (v(x))) = u0 (v(x))v 0 (x) The Chain Rule.
dx
4
We now look at a number of examples. In the first few examples, we will
only use Tables 1 and 2 and the properties P 1 and P 2 of the derivative.
You will notice that the main difficulty here is in “preping” the function for
differentiating.
√
Example 4: Find the derivative of f (x) = x.
√
Note that f (x) = x = x1/2 .
1 1 1 1
Thus f 0 (x) = x−1/2 = 1/2
= √ . 2
2 2x 2 x
√
Example 5: If f (x) = 2/ 4 x, find f 0 (x).
2 2
Note that f (x) = √ = 1/4 = 2x−1/4 .
4
x x
1 1
Therefore f (x) = 2. − 1/4x−5/4 = − 5/4 = − √
0
. 2
2x 2( 4 x)5
5
√
x x
Example 7: If f (x) = 2/3 , find f 0 (x).
x
1 1/2
xx
Note that f (x) = 2/3 = x1 x1/2 x−2/3 = x5/6 .
x
5 5
Therefore f 0 (x) = x−1/6 = √ . 2
6 66x
√
(x3 )−2 (2x + 3 x)
Example 8: If f (x) = ,find f 0 (x).
x4
x−6 (2x + x1/3 )
On simplifying, f (x) = 4
= 2x−9 + x−20/3 .
x
20 18 20
Therefore f 0 (x) = −18x−10 − x−23/3 = − 10 − √ . 2
3 x 3( 3 x)23
Let us now look at property 3 of the derivative. In other words, let us look
at how to differentiate the product of two functions using the Product Rule.
d du dv
(u.v) = v +u
dx dx dx
Letting u(x) = ex and v(x) = ln(x), we have u0 (x) = ex and v 0 (x) = 1/x.
Substituting these in the formula gives
1 ex
f 0 (x) = (ln x) (ex ) + (ex ) = ex ln(x) + 2.
x x
6
Let us now look at property 4 of the derivative. In other words, let us look at
how to differentiate the quotient of two functions using the Quotient Rule.
d u v du − u dv
= dx 2 dx
dx v v
Example 11:
0 x3 + 1
Find f (x) if f (x) = .
2x + ex
Letting u(x) = x3 + 1 and v(x) = 2x + ex we have that
Example 12: √
0 1/x + 3 x
Find f (x) if f (x) = .
ln x2
x−1 + x1/3
Note that f (x) = . Recall that ln(xa ) = a ln(x).
2 ln x
Let u(x) = x−1 + x1/3 and v(x) = 2 ln(x). Then
(2 ln x) −x−2 + 13 x−2/3 − x−1 + x1/3 (2/x)
f 0 (x) = . 2
(2 ln x)2
Historical Note: The product, quotient and chain rules were discovered
independently by the mathematicians Newton and Leibniz in the 1660’s.
7
Let us now look at property 5 of the derivative. In other words, let us look at
how to differentiate the composition of two functions using the Chain Rule.
d
u(v(x)) = u0 (v(x))v 0 (x).
dx
Personally, I find it more useful not to think expicitly in terms of the above
formula. I approach the problems in the following way:
f 0 (x) = 50 ( )49 0
where = x2 + 2x3 .
Therefore f 0 (x) = 50(x2 + 2x3 )49 (2x + 6x2 ). 2
Example 14:
1
Find f 0 (x) if f (x) = .
2x + 1
1
Now f (x) = 1
= (2x + 1)−1 .
(2x + 1)
2
Thus f 0 (x) = −1(2x + 1)−2 (2) = − . 2
(2x + 1)2
√
Example 15: Find f 0 (x) if f (x) = x2 + 3.
√ 1/2
Note that f (x) = x2 + 3 = (x2 + 3) .
1 2 −1/2 x
Thus f 0 (x) = x +3 (2x) = √ 2 . 2
2 x +3
Example 16:
1
Find f 0 (x) if f (x) = √
3
.
ex + x2
Note that f (x) = (ex + x2 )−1/3 .
1 x −4/3
Therefore f 0 (x) = − e + x2 (ex + 2x) . 2
3
8
Example 17: Find f 0 (x) if f (x) = ln(3x).
1
Let f (x) = ln( ). Then f 0 (x) = 0
.
1 1
Thus f 0 (x) = (3) = .
3x x
1 1
In general, if f (x) = ln(ax), then f 0 (x) = .a = . 2
ax x
2
Example 20: Find f 0 (x) if f (x) = e(1+x ) .
2 2
f 0 (x) = e(1+x ) .2x = 2xe(1+x ) . 2
x
Example 21: Find f (x) if f (x) = ee .
x
f 0 (x) = ee .ex . 2
9
Try Yourselves: Find f 0 (x) in each of the following cases:
(a) f (x) = 3.
√
4
(c) f (x) = 6x2 + 1.
1
(d) f (x) = .
ex + 1
1 1
(e) f (x) = + 2.
x x
√
(f) f (x) = x3 + 3.
1
(g) f (x) = √
4
.
6x + 2
(h) f (x) = 4 ln x.
1
x2
(i) f (x) = e +x .
x
(j) f (x) = ex x2 + 4 .
√ 3
(l) f (x) = x4 + x x +1 .
e6x
(n) f (x) = .
1 + ln 2x
10
Higher Order Derivatives
11