Professional Documents
Culture Documents
The ideas that are the basis for calculus have been with us for a very long time.
Between 450 BC and 225 BC, Greek mathematicians were working on problems that
would find their absolute solution with the invention of calculus. However, the main
developments were much more recent; it was not until the 16th century that major
progress was made by mathematicians such as Fermat, Roberval and Cavalieri. In the
17th century, calculus as it is now known was developed by Sir Isaac Newton and
Gottfried Wilhelm von Leibniz.
y y 2x 1
(1, 3)
1
x
183
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
O x
Example
y Example
B
Find the derivative of f 1x2 x3.
f 1x h2 1x h2 3 x3 3x2h 3xh2 h3
P
f 1x h2 f 1x2
considered to be the same as the point P.
7h
7
h h
f 1x h2 f 1x2
So f ¿1x2 lim 7
hS0 h
184 185
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
f 1x h2 5 f 1x2 axn
Multiply by the power and
f 1x h2 f 1x2 5 5 0
f¿ 1x2 ax n1 subtract 1 from the power
f 1x h2 f 1x2 0
0
h h This rule can be used to perform differentiation.
Unless specifically required,
f 1x h2 f 1x2 In particular, notice that f1x2 ax gives f¿1x2 a. differentiation by first
So f¿1x2 lim 0 principles is not used – the
hS0 h
above rule makes the
y process much shorter and
y ax easier.
What happens in a sum or difference of a set of functions? Consider the sum of the
previous three examples, i.e. f1x2 x3 7x 5.
This is no surprise – the
gradient of a linear
O x function is constant.
Example
f 1x h2 1x h2 3 71x h2 5
Also, f1x2 k gives f¿1x2 0. The gradient of a
x3 3x2h 3xh2 h3 7x 7h 5 horizontal line is zero.
f 1x h2 f1x2 x3 3x2h 3xh2 h3 7x 7h 5 x3 7x 5 y
3x2h 3xh2 h3 7h
k yk
f 1x h2 f 1x2 3x2h 3xh2 h3 7h
h h
3x2 3xh h2 7
O x
f 1x h2 f 1x2
So f¿1x2 lim 3x2 7 (as 3xh h2 S 0 )
hS0 h
Differential calculus was developed by two mathematicians, Isaac Newton and Gottfried
Leibniz. There are two commonly used notations:
This demonstrates that differentiation of a function containing a number of terms can
be differentiated term by term.
Functional / Newtonian notation Geometrical / Leibniz notation
f1x2 y
Exercise 1 dy
Derivative f¿1x2
dx
Find f¿1x2 using the method of differentiation from first principles:
1 f 1x2 5x 2 f 1x2 8x 3 f 1x2 2x Either notation can be used, and both will appear in questions.
Example Example
As with first principles, we
4. Find the coordinates of the points where the gradient is 2 for
Differentiate y 5x3 can differentiate a sum by
f 1x2 x 3 x 2 8x 7.
x differentiating term by term. 1 1
Simplifying, y 5x3 4x1 3 2
Here we are finding the points on the curve where the derivative is 2.
5 # 3x 1312 142 x 1112
dy
dx First differentiate: f¿1x2 x2 x 8
15x2 4x2
Then solve the equation f¿1x2 x2 x 8 2
4
15x2 2 1 x2 x 6 0
x
1 1x 22 1x 32 0
1 x 2 or 1 x 3
55 25
Example At x 2, y and at x 3, y
3 2
2 .
Find the derivative of f1x2 3 55 25
1x So the coordinates required are ¢2, ≤ and ¢3, ≤ .
3 2
f1x2 2x3
1
2 4
f¿1x2 x3
3
Exercise 2
Differentiate y
2x1x 52 . d f 1x2 3x5 e f 1x2 12 f f 1x2 7x
1x
Sometimes it is necessary to
g f 1x2 11x h f 1x2 8x 9 i f 1x2
2x2 10x 4
y simplify the function before
x
1
2 differentiating. x2
3 1
2x2 10x2
j f 1x2 51x l f 1x2
5
k y x2 5x 6
dy 3 1 1 1 2x5
2 # x2 10 # x2
dx 2 2 2 4
m y x3 5x2 7x 4 n y 6x2 o y 1x
x
3x 2 5x 2
1 1
2 1 12 1 3
dy dy
2x 1 and so at x 1 ,
dx dx
The point of contact is when x 1 , and so y 11 2 2 112 6 4,
O x i.e. 11, 42
Using y y1 m1x x1 2, the equation of the tangent is
y 142 3 1x12 1 y 3x 7
Differentiation can be used to find the value of the gradient at any particular point on
the curve. At this instant the value of the gradient of the curve is the same as the
gradient of the tangent to the curve at that point.
The normal to a curve is also a straight line. The normal to the curve is perpendicular to
the curve at the point of contact (therefore it is perpendicular to the tangent).
4 y
3
Finding the gradient using a graphing calculator 2
1
Using a graphing calculator, the value of the gradient at any point can be calculated. x
4 3 2 1 1 2 3 4
For example, for y x2 x 6, at x 1 1
2
3
This is helpful, especially for 4
checking answers. However, Finding the equation of a normal to a curve is a very similar process to finding the tangent.
we often need the derivative
function and so need to
Method for finding the equation of a normal
differentiate by hand. The
calculator can only find the
gradient using a numerical 1. Differentiate the function.
process and is unable to 2. Substitute the required value to find the gradient.
differentiate algebraically. 3. Find the gradient of the perpendicular using m1m2 1.
4. Find the y-coordinate (if not given).
5. Find the equation of the tangent using this gradient and the point of contact
Tangents and normals
using y y1 m1x x1 2.
The gradient at a point is the same as the gradient of the tangent to the curve at that
point. Often it is necessary to find the equation of the tangent to the curve.
Example
Method for finding the equation of a tangent
Find the equation of the tangent, and the equation of the normal, to
1. Differentiate the function. y x2 9x 12 at x 3.
2. Substitute the required value to find the gradient. dy
Using the method, 2x 9.
3. Find the y-coordinate (if not given). dx
4. Find the equation of the tangent using this gradient and the point of contact dy
using y y1 m1x x1 2.
At x 3, 2132 9 3.
dx
At x 3, y 32 9132 12 30.
190 191
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
1 Find the equation of the tangent and the equation of the normal to:
y
B
a y 3x at x 1
2
b y x 3x at x 2
2
C
c y x4 at x 1 d y 1x at x 9
4
e y 2 at x 1 f y 20 3x2 at x 3 A
x
2 The curve y 1x2 32 1x 12 meets the x-axis at A and the y-axis at B.
O x
Find the equation of the tangents at A and B.
16
3 Find the equation of the normal to y 3 at x 2. D
x
4 The tangent at P(1, 0) to the curve y x3 x2 2 meets the curve again
At points A, B, C and D, the tangent to the curve is horizontal and so the gradient is zero.
at Q. Find the coordinates of Q. These points are known as stationary points. Often these points are very important to
find, particularly when functions are used to model real-life situations.
5 Find the equation of the tangent to y 9 2x 2x2 at x 1.
192 193
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
For example, a stone is thrown and its height, in metres, is given by h1t2 4t t2,
0 t 4. So 13x 12 1x 52 0
h(t) 1
1x or x 5
3
1 38
When x , y and when x 5, y 274
3 27
There are two methods for testing the nature of stationary points.
This means the negative This means the positive So the stationary point (0, 0) is a rising point of inflexion.
r r
side of 3 side of 3
Shape
The two notations used here for the second derivative are:
d2y
f–1x2 in functional notation and in Leibniz notation.
dx2
dy
We can choose values either side of the stationary point to test the gradient This Leibniz notation arises from differentiating again.
dx
either side of the stationary point. This is the meaning of the notation 3 and
d dy d2y
3. 3 means taking a value just on the positive side of –3, that is slightly This is ¢ ≤ 2.
higher than –3. 3 means taking a value just on the negative side of –3, that dx dx dx
is slightly lower than –3.
It is important to be careful of any vertical asymptotes that create a discontinuity.
For a section of curve, if the gradient is increasing then it is said to be concave up.
614 32 14 22. What
dy
So for 3 , x 4 could be used and so
dx
is important is whether this is positive or negative. The brackets are both negative The curve is getting less steep in this
r
section, i.e. it is becoming less negative
and so the gradient is positive. A similar process with, say x 2, x 1,
and so is increasing.
x 3, fills in the above table.
This provides the shape of the curve around each stationary value and hence Similarly, if the gradient is decreasing it is said to be concave down.
the nature of each stationary point.
So 13, 862 is a maximum turning point and 12, 392 is a minimum turning
point. Strictly these should be known as a local maximum and a local minimum
as they are not necessarily the maximum or minimum values of the function –
these would be called the global maximum or minimum.
d2y
Looking at the sign of can help us determine the nature of stationary points.
dx2
Consider a minimum turning point:
Example
196 197
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
d2y 8
At x 2, 2
1 and since this is positive, this is a minimum turning
dx 8
point.
So stationary points are 12, 4 2, a local maximum, and (2, 4), a local minimum.
dy
0 0 0 0
dx
d2y
0 0 Example
dx2
198 199
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
3. When x 0, y 0, i.e. (0, 0). 3 Find the stationary points and determine their nature using either method.
1
4. To test the nature using the second derivative, a f1x2 x3 2x2 3x 4
3
d2y
12x2 b y 12x 52 2
dx2
1
c f1x2 16x 2
d2y x
At x 0, 12 03 0
dx2 d y x6
d2y
As 0 for this stationary point, no assumptions can be made about its e y x5 2x3 5x2 2
dx2
4 Find the distance between the turning points of the graph of
nature and so a table of signs is needed.
y 1x2 42 1x2 22 .
x 0 0 0
dy
0
dx
Shape
8.5 Points of inflexion
The concavity of a function is determined by the second derivative.
Hence (0, 0) is a minimum turning point. This can be verified with a calculator.
f–1x2 7 0 Concave up
f–1x2 6 0 Concave down
In fact, apart from the previously noted exceptions, whenever f–1x2 0 it is known as a
point of inflexion. The type met so far are stationary points of inflexion when the gradient
is also zero (also known as horizontal points of inflexion).
However, consider the curve:
Exercise 4 A
1 Find the stationary points and determine their nature using a table of signs.
a f1x2 x2 8x 3
b y x3 12x 7
c f1x2 5x4
d y 13x 42 1x 22
B
1 Looking at the gradient between the turning points, it is constantly changing, the curve
e f1x2 4x becoming steeper and then less steep as it approaches B. So the rate of change of
x
gradient is negative (concave down) around A and then positive (concave up) around B.
2 Find the stationary points and determine their nature using the second derivative.
a y 2x2 8x 5 d2y
Clearly the rate of change of gradient ¢ ≤ must be zero at some point between A
dx2
b y 14 x2 1x 62
and B. This is the steepest part of the curve between A and B, and it is this point that is
c f1x2 x1x 42 2
known as a point of inflexion. This is clearly not stationary. So a point of inflexion can
d y 2x3 9x2 12x 5 now be defined to be a point where the concavity of the graph changes sign.
e f1x2 3x5 d2y
If 0, there is a point of inflexion:
dx2
200 201
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
4.
dy
If 0, it is a non-stationary
dy dx
If 0, it is a stationary 3 3 3
dx point of inflexion (assuming a x 0 0 0
point change in concavity) 22 22 22
e.g. f–1x2 0 0
3 3 3
x
22 22 22
f–1x2 0
3
Hence x provides a non-stationary point of inflexion.
22
4 2
3 3 3 405
f¿ ¢ ≤ 5 ¢ ≤ 45 ¢ ≤
22 22 22 4
Method for finding points of inflexion
3
d2y Hence x also provides a non-stationary point of inflexion.
1. Differentiate the function twice to find . 22
dx2
f¿102 5102 4 45102 2 0
d2y
2. Solve the equation 0. Hence x 0 provides a stationary point of inflexion.
dx2
3. Find the y-coordinate of each point. 3 405 3 405
The three points of inflexion are ¢ , ≤, (0 , 0) and ¢ , ≤.
d2y 22 4 22 4
4. Test the concavity around this point, i.e. must change sign.
dx2 This can be verified on a calculator.
Example
Find the points of inflexion of the curve f1x2 x5 15x3 and determine
whether they are stationary.
c y x3 6x2 8x 3
a f1x2 x4 6x2 8
5 .
b y 3x4 5x3 3x2 7x 3 Now consider the function y 2x 1
3x 2
c f1x2 x5 3x4 5x3 5
In a similar way, the fractional part ¢ ≤ tends to zero as x S ;q and so
3x 2
d y x4 3
y S 2x 1. This means that y 2x 1 is an oblique asymptote (also known as a
4 Find the equation of the tangent to y x3 9x2 6x 9 at the point of slant asymptote).
inflexion.
Method for sketching a function
5 For the graph of y 2x3 12x2 5x 3, find the distance between the
point of inflexion and the root. 1. Find the vertical asymptotes (where the function is not defined).
2. If it is an improper rational function (degree of numerator degree of
denominator), divide algebraically to produce a proper rational function.
3. Consider what happens for very large positive and negative values of x. This will
8.6 Curve sketching provide horizontal and oblique asymptotes.
Bringing together knowledge of functions, polynomials and differentiation, it is now 4. Find the intercepts with the axes.
possible to identify all the important features of a function and hence sketch its curve. These are when x 0 and y 0.
The important features of a graph are: 5. Find the stationary points and points of inflexion (and their nature).
dy d2y
Determine when 0 and when 0.
dx dx2
• Vertical asymptotes (where the function is not defined)
6. Sketch the curve, ensuring that all of the above important points are annotated
This is usually when the denominator is zero.
on the graph.
• Intercepts
These are when x 0 and y 0.
Example
• Stationary points and points of inflexion
dy d2y 2x2 7x 1 .
Determine when 0 and when 0. Find the asymptotes of y
dx dx2 x4
Clearly the function is not defined at x 4 and so this is a vertical asymptote.
• Behaviour as x S ;q
This provides horizontal and oblique asymptotes. 2x 15
Dividing, 1x 4 2 2
2x 7x 1
2
2x2 8x
With the exception of oblique asymptotes, all of the necessary concepts have been met 15x 1
in this chapter, and in Chapters 1, 2, 3 and 4. 15x 60
61
204 205
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
61
Hence y 2x 15 and so as x S ;q, y S 2x 15.
x4
d2y 2
21x 12 3
Therefore y 2x 15 is an oblique asymptote. dx2 1x 12 3
This is clear from the graph: The notation ∀ means “for
d2y all”. So ∀ x H , means for
At x 0, 2 7 0 so (0, 0) is a local minimum turning point.
y dx2 all real values of x.
d2y
At x 2, 2 6 0 so 12, 42 is a local maximum point.
dx2
d2y 2
x 0 ∀x H , there are no non-horizontal points of inflexion.
1x 12 3
O 4 As
dx2
yx1
1 O x
x2
Sketch the graph of y , identifying all asymptotes, intercepts, stationary
x1
points, and non-horizontal points of inflexion.
1 .
This gives y x 1
x1
So y x 1 is an oblique asymptote.
1
Preparing for differentiation, y x 1
x1
In fact, it is possible to be asked to sketch a graph that would be difficult without use of
x 1 1x 12 1 the calculator. Consider the next example.
1 1x 12 2
dy
Differentiating,
dx
dy 1 Example
0, i.e. when 1
1x 12 2
Stationary when
dx
x2 y2
36
1 x 1 1 or x 1 1 9 4
206 207
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
2x2 x x2
y2 x2 16 y 17 y 18 y
1 36 x1 x 1
2
1x
4 9
12x 52 1x 42 1
4x2 19 y 20 y
1y 2
144 1x 2 2 1x 32 x x 12
2
9
4 x2 y2
21 y 22 25
4x2 x2 2 16 9
1y; 144
C 9
x
Exercise 6
x1 x1 x
13 y 14 y 15 y
x1 x1x 12 x4
208 209
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
We can consider this process in reverse, and draw a possible graph of the original
Using method b) function, given the graph of the derived function. In order to do this note that:
1. roots of the derived function are stationary points on the original graph
2. stationary points on the derived function graph are points of inflexion on the
original graph.
Example
Given this graph of the derived function y f¿1x2, sketch a possible graph of
the original function y f1x2.
y f (x)
–3 1 5 x
(1, 1) y f–1x2 0 0 0
210 211
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
1 Exercise 7
1. At f1x2 0, S q. Hence roots on the original graph become vertical
f1x2
asymptotes on the reciprocal graph. 1 Sketch the graph of the derived function of the following:
1 a y 4x b y x c y4
2. At a vertical asymptote, f1x2 S q 1 0. Hence vertical asymptotes on f(x)
f1x2 d y x2 e y 4x2 f y x2 x 7
become roots on the reciprocal graph.
3. Maximum turning points become minimum turning points and minimum turning 1 3 1 4
g y x3 h y x 2x2 3x 8 i y x
points become maximum turning points. The x-value of the turning point stays 3 4
the same but the y-value is reciprocated.
2 Sketch the graph of the derived function of the following:
1
4. If f(x) is above the x-axis, is also above the x-axis, and if f(x) is below the a y Linear b y (4, 8) Quadratic
f1x2
1 (1, 3)
x-axis, is also below the x-axis.
f1x2
Example
1
If f1x2 sin x, 0 x 2p draw . c y d y Cubic
f1x2 Quadratic
y y
y sin x 1
1 O x
2 O 6 x
1 (2, 4)
O x 1 O 2 x
1
This is the standard way of drawing the curves of y sec x, y csc x and y cot x. (1, 1)
x x
5
Example
1
For the following graph of y f1x2, draw the graph of y .
f1x2
g y Cubic h y Quartic
y y f(x) y (3, 7)
(a, b)
(2, 6)
(1, 1)
(c, d)
(–1, 1) (6, 1)
–4 O 2 x O x O x
4 2 x
(1,1)
(–2, –6)
212 213
8 Differential Calculus 1 – Introduction 8 Differential Calculus 1 – Introduction
(1, 3)
(2, 3)
O x 1 x O 2 x –3 O 3 x
3 Sketch a possible graph of the original function y f1x2, given the derived
function graph y f¿1x2 in each case. e y f y
(–1, 7)
a y b y
(3, 8)
(–3, 4)
(1, 5)
2 O x
1 O x (4, 1) 2 O 7 x
O x
c y d y
Review exercise
(3, 4)
=
3
1 O 7 x
✗ 2 For f1x2 1x x , find f¿142 .
M M– M+ ON
2
2
C CE % X
7 8 9 –
4 5 6 ÷
1 2 3
=
0 +
3x x9 dy
M
C
M–
CE
M+
%
ON
X 3 Given that y , find .
21x dx
7 8 9 –
4 5 6 ÷
1 2 3
1
=
0 +
2
C CE % X
7 8 9 –
4 5 6 ÷
1 2 3
=
0 +
=
2
1 and g1x2 3x 2, find h1x2 f1g1x2 2 . Hence
0 +
find h¿1x2.
e f1x2 ex f f1x2 ln x
6 ✗ 6 Find the positive value of x for which the gradient of the tangent is 6 for
M
C
7
4
1
M–
CE
8
5
2
M+
%
9
6
3
ON
X
–
÷
1x 32
0 +
5 For the following graphs of y f1x2 , sketch the graph of the reciprocal ✗ 7 Sketch the graph of the derivative for the graph below.
M
C
7
4
1
0
M–
CE
8
5
2
M+
%
9
6
3
+
ON
X
–
÷
1
function y . y
f1x2 (2, 7)
y y
a b
(–1, 2) 3
2
2 O 6 x
3 O x 2 O 4 x
(1, 6)
214 215
8 Differential Calculus 1 – Introduction
✗
M
C
7
4
1
M–
CE
8
5
2
M+
%
9
6
3
ON
X
–
÷
=
8 Find the stationary points of y 14x 12 12x2 22 and investigate their
0 +
nature.
✗
M
C
7
4
1
M–
CE
8
5
2
M+
%
9
6
3
+
ON
X
–
÷
=
9 Find the equation of the tangent to y x5 3 at x 1 and find the
equation of the normal to y 9 x2 at x 1. Find the point where
0
=
10 Sketch the graph of y
x2 x 6
, including all asymptotes, stationary
x2 5x 4
✗ 11 Find the equations of all the asymptotes of the graph of y x
M
C
7
4
1
0
M–
CE
8
5
2
M+
%
9
6
3
+
ON
X
–
÷
=
2
5x 4
[IB Nov 02 p1 Q4]
=
3
ax2 bx 9 at
the point (1, 7). Find the values of a and b. [IB Nov 01 p1 Q7]
✗
1
M
C
M–
CE
M+
%
ON
X 13 For the following graphs of y f1x2 , draw the graphs of y .
f1x2
7 8 9 –
4 5 6 ÷
1 2 3
=
0 +
a b y
y
(–2, 4) (3, 7)
(1, 3)
–3 O 4 x 1
4 O x
(1, –7)
216
9 Differentiation 2 – Further
Techniques
Leonhard Euler is considered
to be one of the most
important mathematicians of
all time. He was born on 15
April 1707 in Basel,
Switzerland, and died on 18
September 1783 in St
Petersburg, Russia, although
he spent much of his life in
Berlin. Euler’s mathematical
discoveries are in many
branches of mathematics
including number theory,
geometry, trigonometry,
mechanics, calculus and
analysis. Some of the
best-known notation was
created by Euler including the
notation f(x) for a function, e
for the base of natural logs, i
for the square root of 1, p
for pi, © for summation and
many others. Euler enjoyed his
work immensely, writing in
1741, “The King calls me his
professor, and I think I am the
happiest man in the world.”
Even on his dying day he
continued to enjoy
mathematics, giving a mathematics lesson to his grandchildren and doing some work on
the motion of ballons.
In Chapter 8, the basic concepts of differentiation were covered. However, the only functions
that we differentiated all reduced to functions of the form y ax n p k. In this
chapter, we will meet and use further techniques to differentiate other functions. These
include trigonometric, exponential and logarithmic functions, functions that are given
implicitly, and functions that are the product or quotient of two (or more) functions.
217
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
f1x h2 sin1x h2
f1x h2 f1x2
Hence lim cos x
hS0 h
When dealing with trigonometric
Therefore if f1x2 sin x, f¿1x2 cos x. functions it is vital that radians
are used. This is because of the
What about the derivative of cos x? results that we investigated
above.
Examining the graph of the derived function using the calculator, this would appear
to be sin x. sin h
We can use a calculator to draw the derivative graph as above. In degrees, lim 11 as
hS0 h
This graph looks very much like the cosine function. We now need to see if it is.
seen below.
In order to prove this, there are two results that need to be investigated. First, we need
sin h
to consider what happens to for small values of h. The calculator can be used to
h
investigate this:
Again, we can use using differentiation by first principles to find the derivative of
So in degrees, the derivative of
f1x2 cos x. sin x is not cos x.
f1x h2 f1x2
So lim 0 sin x using the previous results.
hS0 h
f1x h2 f1x2
Hence lim sin x
hS0 h
218 219
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
Summarizing:
9.2 Differentiating functions of functions
y sin x y cos x (chain rule)
dy dy
cos x sin x
dx dx The chain rule is a very useful and important rule for differentiation. This allows us to
differentiate composite functions. First consider y 1ax b2 n.
It is clear that these are connected (as the two functions themselves are). Starting with
sin x, repeated differentiation gives cos x, sin x, cos x and then back to sin x. This
cycle can be remembered by Investigation
S Consider these functions:
C
Differentiate
S 1 y 12x 12 2 2 y 12x 12 3 3 y 13x 22 4
C 4 y 13x 22 5 5 y 14 x2 2 6 y 14 x2 3
Using knowledge of the binomial theorem and differentiation, find the derivatives of the
We now have the derivatives of two of the six trigonometric functions. The other four above functions. Factorise the answers.
sin x
functions are all defined in terms of sin x and cos x (remembering tan x ) and so You should have noticed a pattern that will allow us to take a “shortcut”, which we
cos x
always use, when differentiating this type of function.
this information provides the derivatives of the other four functions. We can consider this as
This is that for functions of the form y 1ax b2 n, differentiating the bracket to
Proofs of these require the use of rules that have not yet been covered, and hence these the power n and then
are to be found later in the chapter. However, the results are shown below. dy multiplying by the derivative
an1ax b2 n1
dx of the bracket.
y tan x y csc x y sec x y cot x This is a specific case of a more general rule, known as the chain rule, which can be
stated as:
dy dy dy dy
sec2 x csc x cot x sec x tan x csc2 x
dx dx dx dx
dy dy du
# This is not due to cancelling!
dx du dx
Example This is where y is a function of a function. This means that we can consider y as a function
Find the derivative of y cos x sec x. of u and u as a function of x.
dy
sin x sec x tan x Proof
dx
Consider y g1u2 where u f1x2.
If dx is a small increase in x, then we can consider du and dy as the corresponding
Example increases in u and y.
dy du
lim ¢ # ≤
dxS0 du dx
Exercise 1 dy du
lim ¢ ≤ # lim ¢ ≤
dxS0 du dxS0 dx
Find the derivative of each of these.
dy du
1 y tan x 3 2 y sin x csc x lim ¢ ≤ # lim ¢ ≤
duS0 du dxS0 dx
3 y sin x 6x2 4 y 5 cos x
5 y 7 cot x 6 y 3 sec x dy dy du
So #
7 y 9x 4 cos x
2
8 y 7x 5 sin x sec x dx du dx
The use of this rule is made clear in the following examples.
220 221
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
Example dy du dv
Then 2u, sin v and 3.
Differentiate y 13x 42 4.
du dv dx
dy
Hence 6u sin v.
Let u 3x 4 and y u4. dx
dy
dy du Substituting back for x gives 6 cos 3x sin 3x.
Then 4u3 and 3. dx
du dx
dy
Hence 4u3 # 3 12u3.
dx This is the formal version of the working for chain rule problems. In practice, the
dy substitution is often implied, as shown in the following examples. However, it is
Substituting back for x gives 1213x 42 3. important to be able to use the formal substitution, both for more difficult chain rule
dx
examples and as a skill for further techniques in calculus.
Example Example
Differentiate y 15 2x2 7. f1x2 217 3x2 6 tan 2x
Let u 5 2x and y u7. f¿1x2 1217 3x2 5 # 132 2 sec2 2x This working is sufficient and
is what is usually done.
dy du 3617 3x2 5 2 sec2 2x
Then 7u6 and 2.
du dx
dy
Hence 7u6 # 2 14u6.
dx
Example
dy
Substituting back for x gives 1415 2x2 6.
dx 2
tan13x2 42 212x 12 2
1
f1x2 tan13x2 42
22x 1
We will now apply the chain rule to other cases of a function of a function.
2
Example
6x sec2 13x2 42
2
12x 12 2
3
7 y 19 4x2 5 9 y 13x 8 2 2
1
8 y 412x 32 6
Example
10 y 12x 92 3
5 1
11 y 26x
3
5 12 y
Differentiate y cos 13x2.
2
23x 2
Remember that this means y 1cos 3x2 2.
4 7 3
13 f1x2 14 f1x2 15 P
Here there is more than one composition and so the chain rule must be extended 5x 4 3 8x 14 3k2 2
to:
5
dy dy du dv 16 N 17 y sin 4x 18 y cos 3x
# # 218 5p2 3
dx du dv dx
Let v 3x and u cos v and y u2. 1
19 y sin x 20 y tan 6x 21 y sec 9x
2
222 223
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
22 y 6x cot 3x 23 y csc 2x 13x 22 4 During the study of exponential functions in Chapter 5, we met the natural exponential
function, y ex. The significance of this function becomes clearer now: the derivative
26 y tan2 14x2
4 of ex is itself.
24 y sin 5x 25 y sin3 x
213x 42 5
1e 2 ex
d x
sec2 12x2
2
27 y 3x4 cos3 x 28 y
13x 42 5 dx
p
29 y cos ¢3x ≤ 30 y tan1 2x 12
4 Below is a formal proof of this.
You should notice that the derivative graph is of a similar form to the original, that is, it
x x
is an exponential graph.
For y 3x, the derivative graph is just above the original. adx 1
Gradient of the chord AB
dx
adx 1
Gradient at A lim ¢ ≤
dxS0 dx
Now consider two general points on the exponential curve.
y y ax
D
1 C
For y 2x, the derivative graph is below the original.
x x x x
x
axdx ax
Gradient CD
x dx x
ax 1adx 1 2
Gradient at C lim
dxS0 dx
This is another property of the
Hence the gradient at C is ax multiplied by the gradient at A.
curve y ex . At (0,1) its
This suggests that there is a function for which the derivative graph is identical to the
But when a e, the gradient at A 1 (this can be checked on a graphing calculator). gradient is 1.
original graph and that the base of this function lies between 2 and 3. What is this base?
Gradient at C ex # 1
This question was studied for many years by many mathematicians including Leonhard
1e 2 ex
d x
Euler, who first used the symbol e. The answer is that this base is e. Check that y ex Hence
dx
produces its own graph for the derived function on your calculator. Remember that
e 2.71828 p is an irrational number.
224 225
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
Example Example
Differentiate y e5x. Differentiate y ln14x2.
This can be considered as y eu where u 5x. dy 1 1
4#
dy dx 4x x
du
Since 5 and eu
dx du
dy
eu # 5
dx Example
5e5x
Differentiate y ln1sin x2.
dy 1 #
Example cos x
dx sin x
y ex 1
2
cot x
dy
2xex 1
2
1
dx
Example
The result for ex can be combined with the chain rule to create a general rule for Differentiate y ln13x 22.
differentiating exponential functions. dy 1
#3
dx 3x 2
1e 2 f¿1x2 ef 1x2
d f 1x2
3
dx
3x 2
This now allows us to differentiate the inverse function of y ex, known as the
natural logarithmic function y ln x.
Using the results for ex and ln x helps us generalize so that we can find the derivatives
As y e and y ln x are inverse functions, from Chapter 5 we know that e
x ln x
x. of any exponential or logarithmic function.
We can differentiate both sides of this equation (with respect to x). To find out how to differentiate y ax we first consider y 4x.
1e 2
d ln x d
1x2 Since eln 4 4, we can rewrite this function as y 1eln 4 2 x.
dx dx
y ex ln 4
1 eln x # 1ln x2 1
d
dx dy
1 ln 4ex ln 4
dx
1ln x2 ln x
d 1
1
dx e dy
1 ln 4 # 4x
1ln x2
d 1 dx
1
In general, ax 1eln a 2 x ex ln a
dx x
This is a very important result.
dy
and so ln a # ex ln a ln a # ax
dx
1ln x2
d 1
dx x
1a 2 ln a # ax
d x
The result for ln x can be combined with the chain rule to create this general result:
dx
If y ln1f1x2 2
dy 1 # This result is particularly We will now look at y loga x. In this case the change of base formula will help.
Then f¿1x2 important for integration in
dx f1x2
Chapter 15.
f¿1x2
f1x2
226 227
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
ln x 1 #
loga x ln x Exercise 3
ln a ln a
Differentiating gives us Differentiate the following:
1 f1x2 e3x 2 f1x2 e7x 3 f1x2 e4x
1loga x2
d 1 #1
dx ln a x 2 6 2
4 f1x2 5x 5 f1x2 6 f1x2 ex
e e9x
1
7 f1x2 e2x3 8 f1x2 ln 3x 9 f1x2 ln 7x
x ln a
10 f1x2 2 ln 4x 11. f1x2 ln12x2 42 12 y 4x
1loga x2
d 1
dx x ln a 13 y 10x 14 y 6 # 5x 15 y e3x 3x
16 y ln 2x 2x 17 y log2 x 18 y log8 x
x
Considering these two general results, it is clear that the results for e and ln x are
actually just special cases. 19 y 4x log5 x 20 y e4x sin 2x ln x 21 y ln1cos x2
22 y ln1tan x2 23 y tan1ln x2
Example
9.4 Product rule
Differentiate y 3 log7 x.
Using the chain rule, y 12x 32 4 can be differentiated without multiplying out the
brackets first. However, this does not really help to differentiate y 13x 22 12x 32 3
dy 3
dx x ln 7
without some unpleasant simplification. Equally, we cannot currently differentiate
y ex sin x. These functions are products of two functions, and to be able to
differentiate these we need to use the product rule.
Example
For y uv where u and v are functions of x, This is sometimes
Differentiate y k # 62x. remembered in the shortened
dy du dv dy
dy v u form v du u dv
2k ln 6 # 62x dx dx dx dx
dx
dy dv du
1 u v 0
dx dx dx
dy dv du
1 u v
dx dx dx
228 229
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
Example
Let v fg where f e2x and g cos x
Differentiate y 13x 22 12x 32 3. df dg
2e2x sin x
dx dx
Let y uv where u 3x 2 and v 12x 32 3.
dv
du dv 2e2x cos x e2x sin x
3 312x 32 2 # 2 dx
e2x 12 cos x sin x2
dx dx
612x 32 2
Example Exercise 4
Differentiate y ex sin x.
Find the derivative of each of these.
Let y uv where u e and v sin x.
x
This is the mechanics of the
du dv solution. It is not absolutely 1 y x2 sin x 2 y x3 cos x 3 y 3x2ex
ex cos x necessary for it to be shown as
dx dx 4 y e3x sin x 5 y ln x sin x 6 y sin x cos x
part of the solution.
dy 7 y sin 3x cos 2x 8 y x2 1x 12 2 9 y x3 1x 22 4
ex sin x ex cos x
10 y 2x3 13x 22 2 11 y 1x 22 12x 12 3
dx
ex 1sin x cos x2
12 y 1x 52 2 13x 22 4 13 y 15 2x2 3 13x 42 2
12x 52 3 6 ln x12x 52 2
1
du dv This is often remembered as
v u dy x
12x 52 6
dy dx dx dy v du u dv So
2 dx
dx v dx v2
12x 52 6 ln x
1
The numerator of the quotient
x
12x 52 4
rule is very similar to the
product rule but the sign is
Example different. 2x 5 6x ln x
x12x 52 4
13x 42 2
Differentiate y using the quotient rule.
x2
Let u 13x 42 2 v x2 v2 x4
Once again, this is the Exercise 5
du dv mechanics of the solution and
613x 42 2x
dx dx so does not necessarily need Use the quotient rule to differentiate these.
to be shown.
dy 6x2 13x 42 2x13x 42 2 ex 6x2 7x
So 1 f1x2 2 f1x2 3 f1x2
dx x4 cos x x3 tan x
2x13x 42 33x 13x 42 4 ln x ex x3
4 f1x2 5 f1x2 6 f1x2
x4 4x x4 x3
232 233
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
2x 9 4x 2x
7 f1x2 8 f1x2 9 f1x2 dy 3x Note that the answer contains
x2 1x 2x 1 1 both x and y.
dx y
e3x log6 x ln x
10 y 11 y 12 y We can now find the second derivative by differentiating this again.
9x2 x6 ln1x 42 In a case like this it is important
Using the quotient rule:
to be able to explicitly state
ex sin 2x 413x 22 5 dy
13 y x 14 y 6x 15 y dy
e ex e 12x 32 3 d2y
3y 3x
dx dx
... so that the second
dx2 y2 derivative can be found, but this
p
sec ¢x ≤
x sin x x2e3x 4 3x is not always the situation.
16 y 17 y 18 y
ex 1x 52 2 e2x 3y 3x ¢
y
≤
y2
p
cot ¢2x ≤
3 9x2
19 y 3y
ln13x 12 y
y2
20 Use the quotient rule to prove the results for tan x, csc x, sec x and cot x. You need
sin x
to remember that tan x . Also consider how you could 3y2 9x2
cos x
have proved these two results y3
using only the chain rule.
d 2y
We would usually leave the answer in this form. However, if we wanted as
dx2
9.6 Implicit differentiation a function of x, we could proceed as follows:
This is the differentiation of functions that are stated implicitly. Until now we have
317 3x2 2 9x2
We know that
mostly considered functions that are stated explicitly, that is, y p d 2y
3x2 y2 7
dx2 17 3x2 2 2
3
Functions defined implicitly have equations that are not in the form y p Some of 1 y2 7 3x2
these equations are easily made explicit (such as 2x 3y 5 ) but others are more 21
17 3x2 2 2
3
difficult to rearrange. Some of these implicit equations may be familiar, such as the circle
equation 1x 42 2 1y 32 2 36. Differentiating implicit functions does not require
any further mathematical techniques than those covered so far. The key concept utilized
in implicit differentiation is the chain rule.
1y 2 2y # .
dy d 2 dy
1 2y 6x dx dx
dx
234 235
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
1p 32 2 21p 32 # 2Q
dQ Some questions will require the second derivative to be found, and a result to be
2
dp 1
p cos pp
1p 32 4 p d2y dy
shown to be true that involves , and y. In the examples so far we have found
dx2 dx
1p 32 2 4Q1p 32
dQ
2
dp 1 dy d2y
p cos pp
1p 32 ... and then differentiated this again with respect to x to find
1 4 . With other
p dx dx2
dQ
2
dp 4Q 1 questions, it is best to leave the result as an implicit function and differentiate for a
p cos pp
1p 32 2 1p 32 3
1
p
dQ second time, implicitly. The following two examples demonstrate this.
2
dp 1 4Q
p cos pp
1p 32 2 1p 32 3
1
p
dQ 1p 32 2 4Q Example
12 p1p 32 2 cos pp
dp p p3 d2y dy 1
1p 32 2 Show that x2 4x 2y for x2y x ln x 6x.
1p 32 2 cos pp
dQ p 2Q dx 2
dx x
1
dp 2p 2 p3
Differentiating with respect to x:
dy 1
2xy x2 ln x # x 6
dx x
Example dy
1 2xy x2 ln x 1 6
Find the equations of the tangents to 3x2y y2 27 when x 2. dx
Differentiating again with respect to x:
Differentiating with respect to x:
dy dy d2y 1
dy dy 2y 2x 2x x2 2 0
6xy 3x2 2y 0 dx dx dx x
dx dx
d2y dy 1
1 13x2 2y2 6xy
dy 1 x2 4x 2y
dx dx2 dx x
dy 6xy
1 2
dx 3x 2y
dy Example
To find we now require the y-coordinates. So, from the formula
dx
dy d2y
3x y y 27, when x 2, we find
2 2 Given that exy cos x, show that 2y 2 2 0.
dx dx
dy
dy d2y 1 cos y #
1 e y 2e
x
ex 2 exy
x dx This is because sin y x 1 sin2 y x2
dx dx
dy 1
dy d2y 1 1 1 cos2 y x2
1 2exy 2ex ex 2 0 dx cos y
dx dx
Dividing by ex (since ex 0 ∀ x H ): dy 1
1 1 cos2 y 1 x2
dy dy 2 dx 21 x2
1 2y 2 20
dx dx 1 cos y 21 x2
dy 1
For y sin1 x
Exercise 6 dx 21 x2
dy
1 Find for:
dx x
We can now consider y sin1¢ ≤
a
a x xy 4
3
b 4x y 9
2 2
c y 1x 0
3
x
sin y
d 1x 32 1y 22 ln x f ey 1x y2 2
1
e xy y2 7 a
g e2xy3 9 sin 3x h y cos1x y2 i x4 y ln y 1 x a sin y
1x y2 4
j 1x y2 3 ey
Differentiating with respect to x:
k 8x ex
y
dy
1 a cos y
dx
dy d2y
2 Find and for:
dx dx2 dy 1
1
a 4y 3y2 x2 b 4xy sin x y c xey 8 dx a cos y
of the tangents at x 1. dx x2
a 1
dy dy 2
C a2 x2
4 Show that 2y 2 0 for exy sin x. 1 1 cos2 y 2
dx dx a
2a2
d2y dy
5 Given that xy sin x, show that x2 2 2x x2y 0. a2a2 x2
dx dx
1
dy d2y
6 Show that x 2
x 3
xy 2 for xy ln x.
2
2a x2
2
dx dx
dy d2y
7 Given that e2xy ln x, show that x2e2x ¢4y 4 2 ≤ 1.
dx dx
For y sin 1 a b
x d 1
a dx 2a x2
2
238 239
9 Differentiation 2 – Further Techniques 9 Differentiation 2 – Further Techniques
Differentiating with respect to x: We could also consider these examples to be applications of the chain rule. This may be
easier and shorter (but both methods are perfectly valid). This is demonstrated below.
dy
y sin1 14x2
1 sec2 y # Remember that
dx
sec2 x tan2 x 1
dy 1 dy 1
Then #4
21 14x2 2
1 So sec2 y tan2 y 1 dx
dx sec2 y
x2 1
dy 1 4
1 2
dx x 1 21 16x2
In some cases it is not possible to use the stated results, and the chain rule must be
applied.
dy 1
For y tan 1x 2
dx 1x
Example
x Differentiate y tan1 1x.
A similar result can be found for tan1¢ ≤.
a Here we must use the chain rule.
dy 1
# 1 x 12
dx 1 1 1x2 2 2
x dy a
For y tan1¢ ≤ 2 1
a dx a x2
21x11 x2
Example
Exercise 7
x
Differentiate y cos1¢ ≤.
3 Differentiate the following functions.
dy 1
x
dx 29 x2 1 y sin1 ¢ ≤
5
x
2 y cos1¢ ≤
8
Example x
3 y tan1¢ ≤
Differentiate y sin 14x2.1 1. 10
In this case a
4 2x
4 y sin1 ¢ ≤
dy 1 3
5 y cos1 13x2
dx 1
x2
B 16 ex
6 y tan1¢ ≤
1 2
1 7 y cos1 2x 4
21 16x2
B 16 8 y tan1 12x 12
4 9 y sin1 1ln 5x2
21 16x 2
240 241