Chapter 7 Applications of Differentiation
Chapter 7 Applications of Differentiation
Chapter 7 Applications of Differentiation
7.1 Gradients
7.1.1 Slope
Slope / Gradient of AB
f (x + h) − f (x )
=
x+h−x B
f (x + h) − f (x )
=
h
As h tends to zero, B
becomes closer and closer
to A and tends to the A
tangent of A.
∴ Gradient / slope of
tangent =
f ( x + h ) − f (x ) dy
lim =
h →0 h dx
dy
Gradient / slope of tangent at A =
dx A( x1 , y1 )
dy
∴ Slope =
dx x = x1
y − y1 dy
=
x − x1 dx x = x1
y − y1 dy
= −1
x − x
1 dx
x =x1
Example 7.1.1
Find the equations of the tangent and normal to the curve y = ln x 3 + 4 ( )
at x = 1
P. 1/14
M&S Ch 7 Applications of Differentiation S6/KC
Analysis:
To build an equation of a line, (1) Contact Point and (2) the slope of tangent are needed to know.
Soln:
when x = 1, y = ln 5 -- (1) Contact point (1, ln 5)
dy 3x 2
= 3
dx x + 4
dy 3 3
∴ = -- (2) Slope =
dx x =1 5 5
y − ln 5 3
The equation of the tangent is =
x −1 5
3 3
i.e. y = x − + ln 5
5 5
y − ln 5 3
The equation of the normal is = −1
x − 1 5
−5 5
i.e. y = x + + ln 5
3 3
Example 7.1.2
Find the equation of tangent to the curve y = e −2 x which is parallel to the line L: 2x + y + 4 = 0
Analysis:
“parallel” means they both have the same slope
Soln:
Rearrange L, y = −2 x − 4
∴ The slope of tangent = -2
dy
= − 2e − 2 x
dx
− 2 e −2 x = − 2
x = 0, ∴ y = e −2(0 ) = 1 -- [Contact point (0, 1)]
The equation of tangent is y − 1 = −2( x ) i.e. y = −2 x + 1
P. 2/14
M&S Ch 7 Applications of Differentiation S6/KC
Example 7.2.1
The customer price index (CPI) if an economy is described by the function
I (t ) = −0.2t 2 + 3t + 200 , 0 ≤ t ≤ 10 , where t is the number of years after 2000. At what rate was
the CPI of the economy changing in
(a) 2004
(b) 2009
dI
= −0.4t + 3
dt
dI
(a) = −0.4(4) + 3 = 1.4
dt t =4
dI
(b) = −0.4(9) + 3 = −0.6
dt t =9
Example 7.2.2
In economics, the marginal cost is defined as the rate of change of cost C with respect to output x.
The marginal revenue is the derivative of the profit function.
( )
Given the cost function C = 260 ln x 2 + 100 , and the revenue function R = 3600 ln ( x + 50 ) ,
determine the marginal cost, the marginal revenue and the marginal profit at x = 50.
Soln:
dC 260(2 x )
C ′( x ) = =
dx x 2 + 100
∴C ′(50) = 10
dR 3600
R ′( x ) = =
dx x + 50
∴ R ′(50) = 36
The profit function is P = R – C, ∴ P ′(50 ) = R ′(50 ) − C ′(50 ) .
The marginal profit at x = 50 = 26.
Decreasing function
Similar, x1 < x2, then f(x1) > f(x2). [Larger the x, smaller the f(x)]
f ( x 2 ) − f ( x1 )
If we try to link up the relations between x1, x2, f(x1) and f(x2), as
x 2 − x1
it can be ….
(1) the slope between two point
(2) the rate of change over the interval I
(3) for x1and x2 are closer and closer to each other, it becomes the slope of tangent at a point.
P. 3/14
M&S Ch 7 Applications of Differentiation S6/KC
If f ( x0 ) > f ( x ) for all x in the domain of f(x), then (x0 , f (x0 )) , then (x0 , f (x0 )) is called absolute
maximum point of f(x) and f(x0) is called the absolute maximum value of f(x).
If f ( x0 ) < f ( x ) for all x in the domain of f(x), then ( x0 , f ( x0 )) , then ( x0 , f ( x0 )) is called absolute
minimum point of f(x) and f(x0) is called the absolute minimum value of f(x).
So for the absolute extrema, it can be located at the stationary points (/ turning points), or on the
dy
boundary of the interval. That means point x0 satisfies = 0 , that is called stationary point of
dx x = x0
f’(x).
Definition of stationary point:
a point on a curve with zero gradients. i.e. the tangents of those points are parallel to the x-axis.
For the points neither maximum nor minimum points are called points of inflexion.
dy dy
>0 <0 dy dy
dx dx <0 >0
dx dx
Example 7.3.1
Find the turning points of the curves y = x ln x and determine their natures.
dy 1
= (1) ln x + x [ product rule ]
dx x
dy
For turning point, =0
dx
i.e. ln x + 1 = 0
x = e-1
P. 4/14
M&S Ch 7 Applications of Differentiation S6/KC
Example 7.3.2
Find the turning points of the curves y = x ln x and determine their natures.
dy
= ln x + 1
dx
d2y 1
=
dx 2 x
dy
For turning point, =0, x = e-1
dx
( )
∴ y = e −1 ln e −1 = −e −1
d2y 1
= > 0,
dx 2 x = e −1
e −1
(
∴ e −1 ,−e −1 ) is a minimum point.
Extra information:
dy dy
Critical point: occurred when = 0 or is undefined.
dx dx
That means the turning points can be found at critical points.
7.4 Concavity
It is describing the direction in which the graph is curving / turning.
Concave upward: bends up / convex downward
d2y
>0 [smile as it is positive!]
dx 2
Concave downward: bends down / convex upward
d2y
<0 [Up +, down -]
dx 2
P. 5/14
M&S Ch 7 Applications of Differentiation S6/KC
Example 7.4.1
Find the intervals for y = xe − x , which is
(i) concave upward
(ii) concave downward
(iii) Find any point of inflextion
dy d2y
= e − x (1 − x ) , = e − x (x − 2)
dx dx 2
d2y
= 0, i.e. x = 2
dx 2
(i) The curve is concave upward when x > 2.
(ii) The curve is concave downward when x < 2.
(iii) The point of inflexion is (2, 2e-2).
7.5 Asymptotes
It is a line which the curve approaches it nearer and nearer but never touches.
Vertical asymptotes: vertical line, x = a, of the function f (x) iff (iff and only if)
lim f ( x ) = ∞ (or − ∞ ) or lim− f ( x ) = ∞ (or − ∞ )
x→a + x→ a
[a+ and a- means slightly greater than and less than a respectively.]
P. 6/14
M&S Ch 7 Applications of Differentiation S6/KC
Example 7.5.1
Find the asymptotes for the graph of y = ex + 1
( )
lim e x + 1 = ∞ , ∴ x → ∞ , the graph does not settle down.
x→∞
( )
lim e x + 1 = 1 , ∴ x → ∞ , it tends to y = 1
x → −∞
Example 7.6.1
Two ships A, B are initially 100km due North and 80km due East from a buoy O respectively. At
0:00 midnight of 1st July, 2008, both ships start to sail, with the velocity 2km/h due South and
1km/h due East respectively.
2km/h
Find the time when they have minimum distance between each
other.
Let the time traveled be t hour after staring 100km
Let the distance between each other be s
s 2 = (100 − 2t ) + (80 + 2t )
2 2
(Pyth. Th.)
80km
∴ When it is 5:00a.m. of 1st July 2008, they have minimum distance between each other.
P. 7/14
M&S Ch 7 Applications of Differentiation S6/KC
7.7 Approximation
If y = f (x) is a differentiable function of x and ∆x =dx is a small increment (difference / changes) of x.
It is different from rate of change of y.
[Reminder: rate of change is the derivative of a function could be observed as some of the physical
quantities.]
By Differentiation
When x is increased by a small increment ∆x , it will produce a corresponding increment
∆y = f ( x + ∆x ) − f ( x )
∆y
From the First Principle of Differentiation, f ′( x ) = lim
∆x → 0 ∆x
f ( x + ∆x ) ≈ f ( x ) + f ′( x )∆x = f ( x ) + dy
If ∆x is sufficiently small, then ∆y ≈ f ′( x )∆x tends to dy = f ′( x )dx
dy
So there are two meaning of
dx
1. Derivatives of y = f (x)
2. Quotient of the differentials dy and dx. (Similar to the chain rule)
To Compute the approximate relative error and percentage error
As error is changing from time to time, it is more meaningful to compare the error at different
situation.
∆Q
Relative error in Q =
Q
Percentage error in Q = relative error in Q × 100%
Applied in the differential of y = f (x).
Actual Error: ∆y ≈ f ′( x )∆x
∆y f ′( x )∆x
Relative Error: =
y f (x )
∆y f ′( x )dx
Percentage Relative Error: × 100% = × 100%
y f (x )
Example 7.7.1
3
Use differential to approximate 123 .
Analysis:
43 = 64, 53 = 125
123 is closer to 125 than 64.
Let y = 3 x
dy 1
= 2
dx
3x 3
When x = 125, dx = 123 – 125 = -2 [original value - x]
dy = f ′( x )dx
P. 8/14
M&S Ch 7 Applications of Differentiation S6/KC
1
= 2
(− 2 ) = −0.0267
3(125) 3
f ( x + ∆x ) ≈ f ( x ) + dy
f (125 − 2) ≈ f (125) − 0.0267
3
123 ≈ 4.9733
Example 7.7.2
An oil spill is increasing such that the surface covered by the spill is always circular. If the area
of the oil spill is increased at the rate of π cm2s-1 when the radius is 2 m
(a) Find the rate at which the radius r of the surface is changing with respect to time when the
radius is 2 m.
(b) Find the relative rate of change of the surface area of the oil spill.
(a) If the surface covered by the spill is always circular, Let A = πr 2
dA
= 2πr
dr
From the question,
dA
=π
dt
dA dA dr
= ⋅ =π
dt dr dt
dr dr π 1
=π ⋅ = = when r = 2m
dt dA 2π (2 ) 4
∴ the rate = 0.25 cm / s
dA 2πr (dr ) 2dr
(b) Relative rate of change = = =
A πr 2 r
** EXTRA NOTES **
1. Procedure for sketching a graph.
Wholly or partly
(i) find the first derivative and determine the turning points.
(ii) find the second derivative and determine (1) concavity and (2) the points of inflexion.
(iii) find x-intercept by putting y = 0, y-intercept by putting x = 0.
(iv) find the horizontal or vertical asymptotes.
(v) symmetries of f (x) (if necessary)
i. Symmetrical about….
1. x-axis
when the function is even powers of x
If given y = f (x), then make x in terms of y,
x = f-1(y) = g (y) ,
[inverse function if exists]
g(y) = -g(y)
P. 9/14
M&S Ch 7 Applications of Differentiation S6/KC
2. y-axis
when the function is odd powers of x
f (x) = f (- x)
it is called even function
3. the origin
the equation remains unchanged
f (- x) = - f (x)
it is called odd function.
2. Polynomial functions
If it is in the form
y = P ( x ) = a n x n + a n −1 x n −1 + ... + a1 x + a 0
P. 10/14
M&S Ch 7 Applications of Differentiation S6/KC
d2y d2y
= −2 < 0 , =2>0 -- (4)
dx 2 x=
2 dx 2 x=2
3
2 16
, is the maximum point and (2,0) is the minimum point. -- *
3 27
d2y 3
2
= 3x − 4 = 0 , x =
dx 4
d2y 3
From (4), it shows the sign of 2
changes near x =
dx 4
3 75
, is the point of inflexion. -- **
4 128
When x = 0, y-intercept = 0, i.e. x-intercept = 0. -- ***
3. Rational Function
For the vertical asymptotes,
P(x )
i. If f ( x ) = , where Q( x ) = 0 and P(x) and Q(x) are polynomial functions.
Q(x )
ii. If Q (k ) = 0 and P (k ) ≠ 0 ,
then line x = k is a vertical asymptote rule for rational functions.
For the horizontal asymptotes,
P ( x ) a n x n + a n −1 x n −1 + ... + a1 x + a
i. If f ( x ) = =
Q( x ) bm x m + bm −1 x m −1 + ... + b1 x + b
1. If n > m, f (x) becomes infinitely large as x → ∞
i.e. there is no horizontal asymptote
a
2. If n = m, lim f ( x ) = n [as the numerator and the denominator are divided by xn.]
x→∞ bm
ax + b a c
Given y = , where ≠ , there are followings properties.
cx + d c d
−b −d
i. x-intercept = , y-intercept =
a c
−d a
ii. x= is the vertical asymptotes, y = is the horizontal asymptotes.
c c
dy ad − bc
iii. =
dx (cx + d )2
dy
If ad – bc > 0, > 0 for all x.
dx
dy
If ad – bc < 0, < 0 for all x.
dx
In either case, there is no turning points.
P. 11/14
M&S Ch 7 Applications of Differentiation S6/KC
4. Partial Fraction
Procedure to perform partial fraction
i. Factorize the denominator completely
ii. Show all the linear case
1. (x - 1) (x + 2) (x – 1) and (x + 2)
2. (x – 1)3 (x – 1), (x – 1)2 and (x – 1)3
3. (x - 1) (x + 2)2 (x – 1), (x + 2) and (x + 2)2
4. (x2 + 2) (x -1) (x2 + 2) and (x -1)
iii. For the decomposited rational function,
Numerator Q( x) = ∑ An x n
while Denominator R( x ) = ∑ Bn +1 x n +1
The maximum degree of the numerator should be less than the denominator by 1.
iv. Find the coefficient An by
1. Substitution, by any number, better to substitute the roots of the denominator.
2. Compare Coefficients
3. Long Division (not preferable, as it is troublesome.)
P. 12/14
M&S Ch 7 Applications of Differentiation S6/KC
Demand function
i. x = x(p), relating the price of an item and the quantity x that will be sold
Elasticity of demand
i. A measure of how a change in the price of a product will affect the quantity of demand.
px ′( p )
Elasticity of demand E ( p ) =
x( p )
ii. Elastic -- small change in price results in a great change in quantity demanded, E ( p ) > 1
iii. Inelastic – a small change in price result a small change in quantity demanded, E ( p ) < 1
iv. Unit elastic – any changes of price will result an equal percentage of quantity demanded,
E( p) = 1
Rate of change
f ′(x )
i. Relative rate of change of f (x) =
f (x )
f ′( x )
ii. Percentage rate of change of f (x) = × 100%
f (x )
6. Extra Exercise
(1)The demand equation for a given commodity is given by x( p ) = −30 p + 90 , 0 ≤ p ≤ 2
where p is the price of a commodity and x is the number of commodities sold.
(a)Determine the elasticity of the demand at p = 1. Interpret the result.
px ′( p ) p
= = −0.5
x( p ) p =1 p − 3 p =1
It is an inelastic demand. The result shows that for 1% increases on the price, 0.5% decreases on
the quantity demand.
(b)Determine the range of p such that the elasticity of demand is elastic.
p
Demand is elastic if > 1.
p −3
p p
i.e. < −1 or >1
p−3 p−3
[sign changes as 2 > p > 0 from the question, it is negative]
p>3–p or p < p – 3 (for all p)
3
⇒ p>
2
P. 13/14
M&S Ch 7 Applications of Differentiation S6/KC
x+a
(2)The function y = , where a, b are constants and b > 0, has relative extrema at x = 1 and x = -1.
x2 + b
(a) Determine the values of a and b. [a = 0, b = 1]
(b)Find the relative maximum and minimum points and the points of inflexion of the graph.
1 −1 3 − 3
[max. 1, , min − 1, , points of inflexion: 3, , − 3, , (0, 0)]
2 2 4 4
(c)Show that y = 0 is the only asymptotes of the graph of f (x).
(d)Sketch the graph.
P. 14/14