0% found this document useful (0 votes)
44 views30 pages

Differentiation

Uploaded by

mikeful miralles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views30 pages

Differentiation

Uploaded by

mikeful miralles
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Higher

hsn.uk.net
Mathematics

Differentiation
Contents
Differentiation 1
1 Introduction to Differentiation 1
2 Finding the Derivative 2
3 Differentiating with Respect to Other Variables 6
4 Rates of Change 7
5 Equations of Tangents 8
6 Increasing and Decreasing Curves 12
7 Stationary Points 13
8 Determining the Nature of Stationary Points 14
9 Curve Sketching 17
10 Differentiating sinx and cosx 19
11 The Chain Rule 20
12 Special Cases of the Chain Rule 20
13 Closed Intervals 23
14 Graphs of Derivatives 25
15 Optimisation 26

CfE Edition
This document was produced specially for the HSN.uk.net website, and we require that any
copies or derivative works attribute the work to Higher Still Notes.
For more details about the copyright on these notes, please see
http://creativecommons.org/licenses/by-nc-sa/2.5/scotland/
Higher Mathematics Differentiation

Differentiation
1 Introduction to Differentiation
From our work on Straight Lines, we saw that the gradient (or “steepness”)
of a line is constant. However, the “steepness” of other curves may not be the
same at all points.
In order to measure the “steepness” of other curves, we can use lines which
give an increasingly good approximation to the curve at a particular point.
On the curve with equation y = f ( x ) , y
y = f (x)
suppose point A has coordinates ( a, f ( a ) ) .
f (a + h ) B
At the point B where x= a + h , we have
=y f (a + h ). A
f (a )
Thus the chord AB has gradient O a a+h x
f (a + h ) − f (a )
mAB = y
a+h−a y = f (x)
f (a + h ) − f (a ) f (a + h )
= . B
h
If we let h get smaller and smaller, i.e. h → 0 , f (a ) A
then B moves closer to A. This means that
mAB gives a better estimate of the “steepness” O a a+h x
of the curve at the point A.
We use the notation f ′ ( a ) for the “steepness” of the curve when x = a . So
f (a + h ) − f (a )
f ′ ( a ) = lim .
h →0 h
Given a curve with equation y = f ( x ) , an expression for f ′ ( x ) is called the
derivative and the process of finding this is called differentiation.
It is possible to use this definition directly to find derivates, but you will not
be expected to do this. Instead, we will learn rules which allow us to quickly
find derivatives for certain curves.

hsn.uk.net Page 1 CfE Edition


Higher Mathematics Differentiation

2 Finding the Derivative


The basic rule for differentiating f ( x ) = x n , n ∈  , with respect to x is:
n
If f ( x ) x=
= then f ′ ( x ) nx n−1 .
Stated simply: the power (n) multiplies to the front of the x term, and the
power lowers by one (giving n − 1 ).
EXAMPLES
1. Given f ( x ) = x 4 , find f ′ ( x ) .

f ′( x ) = 4x 3.
2. Differentiate f ( x ) = x −3 , x ≠ 0 , with respect to x.

f ′ ( x ) = −3 x −4 .

For an expression of the form y =  , we denote the derivative with respect


dy
to x by .
dx
EXAMPLE
−1
3. Differentiate y = x 3 , x ≠ 0 , with respect to x.
dy −4
= − 13 x 3 .
dx

When finding the derivative of an expression with respect to x, we use the


d .
notation dx
EXAMPLE
3
4. Find the derivative of x 2 , x ≥ 0 , with respect to x.

( )
3 1
d x2 = 3 x2.
dx 2

Preparing to differentiate
It is important that before you differentiate, all brackets are multiplied out
and there are no fractions with an x term in the denominator (bottom line).
For example:
1 3 1 −1 1 5 5 x − 23 .
3
= x −3 2
= 3x −2 =x 2 5
= 14 x −5 2 = 4
x x x 4x 43 x

hsn.uk.net Page 2 CfE Edition


Higher Mathematics Differentiation

EXAMPLES
1. Differentiate x with respect to x, where x > 0 .
1
x = x2

dx ( )
d x 12 = 1 x − 12
2 Note
1 It is good practice to
= . tidy up your answer.
2 x
1 dy
2. Given y = 2
, where x ≠ 0 , find .
x dx
y = x −2
dy
= −2 x −3
dx
2
= − 3.
x

Terms with a coefficient


For any constant a,
if f ( x )= a × g ( x ) then f ′ ( x )= a × g ′ ( x ) .
Stated simply: constant coefficients are carried through when differentiating.
So if f ( x ) = ax n then f ′ ( x ) = anx n−1 .
EXAMPLES
1. A function f is defined by f ( x ) = 2 x 3 . Find f ′ ( x ) .

f ′( x ) = 6x 2 .
2. Differentiate y = 4 x −2 with respect to x, where x ≠ 0 .
dy
= −8 x −3
dx
8
= − 3.
x
2
3. Differentiate , x ≠ 0 , with respect to x.
x3

( )
d 2 x −3 = −6 x −4
dx
6
= − .
x4

hsn.uk.net Page 3 CfE Edition


Higher Mathematics Differentiation

3 dy
4. Given y = , x > 0 , find .
2 x dx
− 12
y = 32 x
dy −3
= − 34 x 2
dx
3
= − 3.
4 x

Differentiating more than one term


The following rule allows us to differentiate expressions with several terms.
′ ( x ) g ′ ( x ) + h′ ( x ) .
( x ) g ( x ) + h ( x ) then f =
If f =
Stated simply: differentiate each term separately.
EXAMPLES
1. A function f is defined for x ∈  by f ( x ) = 3 x 3 − 2 x 2 + 5x .
Find f ′ ( x ) .

f ′ ( x ) = 9 x 2 − 4 x + 5.

2. Differentiate y = 2 x 4 − 4 x 3 + 3 x 2 + 6 x + 2 with respect to x.


dy
= 8 x 3 − 12 x 2 + 6 x + 6.
dx

Note
The derivative of an x term (e.g. 3x , 12 x , − 10
3 x ) is always a constant.

For example:
d 6 x = 6,
dx ( ) dx 2(
d −1 x =
)
− 12 .

The derivative of a constant (e.g. 3, 20, π ) is always zero.


For example:
d ( 3 ) = 0,
dx dx 3( )
d −1 =
0.

hsn.uk.net Page 4 CfE Edition


Higher Mathematics Differentiation

Differentiating more complex expressions


We will now consider more complex examples where we will have to use
several of the rules we have met.
EXAMPLES
1
1. Differentiate y = , x > 0 , with respect to x.
3x x
1 3
1 x− 2
=y = 3 3
3x 2
dy 1 −5
= 3 × − 32 x 2 Note
dx
You need to be
−5
= − 12 x 2 confident working with
indices and fractions.
1
= − 5.
2 x
dy
2. Find when y = ( x − 3 )( x + 2 ) .
dx
y=( x − 3 )( x + 2 ) Remember
Before differentiating,
= x 2 + 2 x − 3x − 6
the brackets must be
= x2 − x − 6 multiplied out.

dy
= 2 x − 1.
dx
x 1
3. A function f is defined for x ≠ 0 by f ( x =
) + . Find f ′ ( x ) .
5 x2
) 15 x + x −2
f ( x=
f ′ ( x )= 15 − 2 x −3
2
= 15 − 3 .
x
x 4 − 3x 2
4. Differentiate with respect to x, where x ≠ 0 .
5x
x 4 − 3x 2 x 4 3x 2
= −
5x 5x 5x
= 15 x 3 − 35 x

(
dx 5 5 5 )
d 1 x3 − 3 x = 3 x2 − 3 .
5

hsn.uk.net Page 5 CfE Edition


Higher Mathematics Differentiation

x 3 + 3x 2 − 6 x
5. Differentiate , x > 0 , with respect to x.
x
x 3 + 3x 2 − 6 x x 3 3x 2 6 x
= 1 + 1 − 1
x x2 x2 x2
3− 12 2 − 12 1− 12 Remember
=x + 3x − 6x
5 3 1 xa
=x + 3 x − 6 x
2 2 2  x ab .
xb
( )
5 3 3
d x 2 + 3 x 2 − 6 x 12 = 5 x 2 − 9 x 12 − 3 x − 12
dx 2 2
3
= 52 x − 92 x −
3
.
x
6. Find the derivative=
of y x ( x 2 + 3 x ) , x > 0 , with respect to x.

( )
1 1 5 5
y =x 2 x 2 + x 3 =x 2 + x 6 Remember
x a x b  x ab .
dy 3 −1
= 52 x 2 + 56 x 6
dx
5
= 52 x + 6 .
3

6 x

3 Differentiating with Respect to Other Variables


So far we have differentiated functions and expressions with respect to x.
However, the rules we have been using still apply if we differentiate with
respect to any other variable. When modelling real-life problems we often use
appropriate variable names, such as t for time and V for volume.
EXAMPLES
1. Differentiate 3t 2 − 2t with respect to t.
( )
d 3t 2 − 2t =6t − 2.
dt

2. Given A ( r ) = πr 2 , find A′ ( r ) .
A ( r ) = πr 2 Remember
π is just a constant.
A′ ( r ) = 2πr .
When differentiating with respect to a certain variable, all other variables are
treated as constants.
EXAMPLE Note
2 Since we are
3. Differentiate px with respect to p.
differentiating with

dp ( )
d px 2 = x 2 . respect to p, we treat x2
as a constant.

hsn.uk.net Page 6 CfE Edition


Higher Mathematics Differentiation

4 Rates of Change
The derivative of a function describes its “rate of change”. This can be
evaluated for specific values by substituting them into the derivative.
EXAMPLES
1. Given f ( x ) = 2 x 5 , find the rate of change of f when x = 3 .
f ′ ( x ) = 10 x 4
f ′ ( 3 ) = 10 ( 3 )4 = 10 × 81 = 810.
1
2. Given y = 2 for x ≠ 0 , calculate the rate of change of y when x = 8 .
x 3

y=x
− 23 dy 2
At x = 8, = − 3 5
dy −5
dx 3 8
= − 23 x 3 2
dx = −
2 3 × 25
= − 5 2
3x 3 = − 96
2 1 .
= − 48
= − 3 5.
3 x

Displacement, velocity and acceleration


The velocity v of an object is defined as the rate of change of displacement s
with respect to time t. That is:
ds
v= .
dt
Also, acceleration a is defined as the rate of change of velocity with respect to
time:
dv
a= .
dt
EXAMPLE
3. A ball is thrown so that its displacement s after t seconds is given by
s (=
t ) 12t − 5t 2 .
Find its velocity after 2 seconds.
v (t ) = s′ (t )
12 − 10t by differentiating s ( t ) =
= 12t − 5t 2 with respect to t .
Substitute t = 2 into v ( t ) :
v ( 2 ) =−
12 10 ( 2 ) =
3.
After 2 seconds, the ball has velocity 3 metres per second.

hsn.uk.net Page 7 CfE Edition


Higher Mathematics Differentiation

5 Equations of Tangents
As we already know, the gradient of a straight line is constant. We can
determine the gradient of a curve, at a particular point, by considering a
straight line which touches the curve at the point. This line is called a tangent.

tangent

The gradient of the tangent to a curve y = f ( x ) at x = a is given by f ′ ( a ) .


This is the same as finding the rate of change of f at a.
To work out the equation of a tangent we use y − b= m ( x − a ) . Therefore
we need to know two things about the tangent:
• a point, of which at least one coordinate will be given;
• the gradient, which is calculated by differentiating and substituting in the
value of x at the required point.
EXAMPLES
1. Find the equation of the tangent to the curve with equation =
y x2 − 3
at the point ( 2,1) .
We know the tangent passes through ( 2,1) .
To find its equation, we need the gradient at the point where x = 2 :
=
y x2 − 3
dy
= 2x
dx
At x = 2, m = 2 × 2 = 4.
Now we have the point ( 2,1) and the gradient m = 4 , so we can find the
equation of the tangent:
y − b= m ( x − a )
1 4( x − 2)
y −=
y − 1= 4 x − 8
4x − y − 7 =0.

hsn.uk.net Page 8 CfE Edition


Higher Mathematics Differentiation

2. Find the equation of the tangent to the curve with equation =


y x 3 − 2x
at the point where x = −1.
We need a point on the tangent. Using the given x-coordinate, we can
find the y-coordinate of the point on the curve:
=y x 3 − 2x
( 1)3 − 2 ( −1)
=−
=−1 + 2
= 1 So the point is ( −1, − 1) .
We also need the gradient at the point where x = −1:
=
y x 3 − 2x
dy
= 3x 2 − 2
dx
At x =−1, m =3 ( −1)2 − 2 =1.
Now we have the point ( −1,1) and the gradient m = 1 , so the equation
of the tangent is:
y − b= m ( x − a )
y − 1= 1( x + 1)
x − y +2= 0.
1
3. A function f is defined for x > 0 by f ( x ) = .
x
Find the equation of the tangent to the curve y = f ( x ) at P.
y

P y = f (x)
2
O x
We need a point on the tangent. Using the given y-coordinate, we can
find the x-coordinate of the point P:
f (x) = 2
1
=2
x
x = 12 So the point is ( 12 , 2 ) .

hsn.uk.net Page 9 CfE Edition


Higher Mathematics Differentiation

We also need the gradient at the point where x = 12 :


f ( x ) = x −1
f ′ ( x ) = − x −2
1
= − 2.
x
1, m = 1
At x =
2 − 1
=
−4.
4
Now we have the point ( 12 , 2 ) and the gradient m = −4 , so the equation
of the tangent is:
y − b= m ( x − a )
y − 2 =−4 ( x − 12 )
y − 2 =−4 x + 2
4x + y − 4 =0.
2
4. Find the equation of the tangent to the curve y = 3 x at the point
where x = −8 .
We need a point on the tangent. Using the given x-coordinate, we can
work out the y-coordinate:
2
y= 3
−8
= ( −2 )2
= 4 So the point is ( −8, 4 ) .
We also need the gradient at the point where x = −8 :
2 2 2
= y 3= x x3 At x = −8, m =
3 83

dy 2 − 3 1
2
=3x =
dx 3×2
2
= 3 = 13 .
3 x
Now we have the point ( −8, 4 ) and the gradient m = 13 , so the equation
of the tangent is:
y − b= m ( x − a )
y − 4= 13 ( x + 8 )
3 y − 12 =x + 8
x − 3 y + 20 =0.

hsn.uk.net Page 10 CfE Edition


Higher Mathematics Differentiation

5. A curve has equation y = 13 x 3 − 12 x 2 + 2 x + 5 .


Find the coordinates of the points on the curve where the tangent has
gradient 4.
The derivative gives the gradient of the tangent:
dy
= x 2 − x + 2.
dx
We want to find where this is equal to 4:
x2 − x + 2 =4 Remember
Before solving a
x2 − x − 2 =0 quadratic equation you
need to rearrange to get
( x + 1)( x − 2 ) =
0
“ quadratic  0 ”.
x= −1 or x =
2.
Now we can find the y-coordinates by using the equation of the curve:
y = 13 ( −1)3 − 12 ( −1)2 + 2 ( −1) + 5 y = 13 ( 2 )3 − 12 ( 2 )2 + 2 ( 2 ) + 5
=− 13 − 12 − 2 + 5 = 83 − 24 + 4 + 5
= 3 − 56 = 7 + 83
= 13
6
= 29
3 .

(
So the points are −1, 13
6 )
and 2, 29
3 . ( )

hsn.uk.net Page 11 CfE Edition


Higher Mathematics Differentiation

6 Increasing and Decreasing Curves


dy
A curve is said to be strictly increasing when > 0.
dx
dy
This is because when > 0 , tangents will slope upwards
dx
from left to right since their gradients are positive. This
means the curve is also “moving upwards”, i.e. strictly
increasing.
Similarly:
dy
A curve is said to be strictly decreasing when < 0.
dx
y

strictly
decreasing
strictly dy strictly
increasing <0
dx increasing
dy dy
>0 >0
dx dx
O x

EXAMPLES
2
1. A curve has equation=y 4x 2 + .
x
Determine whether the curve is increasing or decreasing at x = 10 .
− 12
=y 4x 2 + 2x
dy −3
= 8x − x 2
dx
1
= 8x − 3.
x
dy 1
When x = 10 , =8 × 10 − 3
dx 10
Note
1
= 80 − 1
1.
10 10 10 10
> 0.
dy
Since > 0 , the curve is increasing when x = 10 .
dx

hsn.uk.net Page 12 CfE Edition


Higher Mathematics Differentiation

2. Show that the curve y= 13 x 3 + x 2 + x − 4 is never decreasing.

dy
= x 2 + 2x + 1 Remember
dx The result of squaring
= ( x + 1)2 any number is always
greater than, or equal to,
≥ 0. zero.
dy
Since is never less than zero, the curve is never decreasing.
dx

7 Stationary Points
At some points, a curve may be neither increasing nor decreasing – we say
that the curve is stationary at these points.
This means that the gradient of the tangent to the curve is zero at stationary
dy
points, so we can find them by solving=f ′ ( x ) 0=
or 0.
dx
The four possible stationary points are:
Turning point Horizontal point of inflection
Maximum Minimum Rising Falling
y y y y

x
x x x

A stationary point’s nature (type) is determined by the behaviour of the graph


to its left and right. This is often done using a “nature table”.

hsn.uk.net Page 13 CfE Edition


Higher Mathematics Differentiation

8 Determining the Nature of Stationary Points


To illustrate the method used to find stationary points and determine their
nature, we will do this for the graph of f ( x ) = 2 x 3 − 9 x 2 + 12 x + 4 .
Step 1
Differentiate the function. f ′ ( x ) = 6 x 2 − 18 x + 12
Step 2
Find the stationary values by solving f ′( x ) = 0
f ′( x ) = 0 . 6 x 2 − 18 x + 12 = 0
6 ( x 2 − 3 x + 2 ) = 0 ( ÷6)
( x − 1)( x − 2 ) =0
= x 1= or x 2
Step 3
Find the y-coordinates of the stationary f (1) = 9 so (1, 9 ) is a stat. pt.
points. f ( 2 ) = 8 so ( 2, 8 ) is a stat. pt.
Step 4
Write the stationary values in the top row x → 1 → → 2 →
of the nature table, with arrows leading in f ′ ( x )
and out of them. Graph
Step 5
Calculate f ′ ( x ) for the values in the table, x → 1 → → 2 →
and record the results. This gives the f ′( x ) 0 0
gradient at these x values, so zeros confirm Graph
that stationary points exist here.
Step 6
Calculate f ′ ( x ) for values slightly lower x → 1 → → 2 →
and higher than the stationary values and f ′( x ) + 0 − − 0 +
record the sign in the second row, e.g. Graph
f ′ ( 0.8 ) > 0 so enter + in the first cell.
Step 7
We can now sketch the graph near the x → 1 → → 2 →
stationary points: f ′( x ) + 0 − − 0 +
+ means the graph is increasing and Graph
− means the graph is decreasing.
Step 8
The nature of the stationary points can (1, 9 ) is a max. turning point.
then be concluded from the sketch. ( 2, 8 ) is a min. turning point.

hsn.uk.net Page 14 CfE Edition


Higher Mathematics Differentiation

EXAMPLES
1. A curve has equation y = x 3 − 6 x 2 + 9 x − 4 .
Find the stationary points on the curve and determine their nature.
Given y = x 3 − 6 x 2 + 9 x − 4,
dy
= 3 x 2 − 12 x + 9.
dx
dy
Stationary points exist where = 0:
dx
3 x 2 − 12 x + 9 =0
3 ( x 2 − 4 x + 3 ) = 0 ( ÷3)
x 2 − 4x + 3 =0
( x − 1)( x − 3 ) =
0
=x −1 0 =
or x −3 0
= x 1= x 3.
When x = 1 , When x = 3 ,
y =(1)3 − 6 (1)2 + 9 (1) − 4 y = ( 3 )3 − 6 ( 3 ) 2 + 9 ( 3 ) − 4
=1 − 6 + 9 − 4 = 27 − 54 + 27 − 4
= 0. = −4.
Therefore the point is (1, 0 ) . Therefore the point is ( 3, − 4 ) .
Nature:
x → 1 → → 3 →
dy
dx
+ 0 − − 0 +
Graph

So (1, 0 ) is a maximum turning point,


( 3, − 4 ) is a minimum turning point.

hsn.uk.net Page 15 CfE Edition


Higher Mathematics Differentiation

2. Find the stationary points of=y 4 x 3 − 2 x 4 and determine their nature.


Given=y 4x 3 − 2x 4,
dy
= 12 x 2 − 8 x 3 .
dx
dy
Stationary points exist where = 0:
dx
12 x 2 − 8 x 3 =
0
4x 2 (3 − 2x ) =
0
=4x 2 0 or =
3 − 2x 0
= x 0= x 32 .

When x = 0 , When x = 32 ,
= y 4 ( 0 )3 − 2 ( 0 ) 4
( ) ( )
3 4
=y 4 32 − 2 32
= 0.
Therefore the point is ( 0, 0 ) . = 27 81
2 − 8
= 27
8 .
Therefore the point is ( 32 , 278 ) .
Nature:
x → 0 → → 32 →
dy
dx
+ 0 + + 0 −
Graph

So ( 0, 0 ) is a rising point of inflection,


( 32 , 278 ) is a maximum turning point.

hsn.uk.net Page 16 CfE Edition


Higher Mathematics Differentiation

1
3. A curve has equation =
y 2x + for x ≠ 0 . Find the x-coordinates of the
x
stationary points on the curve and determine their nature.
y 2 x + x −1,
Given=
dy
= 2 − x −2
dx
1
= 2− 2.
x
dy
Stationary points exist where = 0:
dx
1
2− = 0
x2
2x 2 = 1
x 2 = 12
x= ± 1 .
2
Nature:
x → − 1 → → 1 →
2 2
dy
dx
+ 0 − − 0 +
Graph

So the point where x = − 1 is a maximum turning point and the point


2
where x = 1 is a minimum turning point.
2

9 Curve Sketching
In order to sketch a curve, we first need to find the following:
 x-axis intercepts (roots) – solve y = 0 ;
 y-axis intercept – find y for x = 0 ;
 stationary points and their nature.

hsn.uk.net Page 17 CfE Edition


Higher Mathematics Differentiation

EXAMPLE
Sketch the curve with equation=y 2 x 3 − 3x 2 .
y-axis intercept, i.e. x = 0 : x-axis intercepts i.e. y = 0 :
= y 2 ( 0 )3 − 3 ( 0 ) 2 2 x 3 − 3x 2 =
0
= 0. x 2 (2x − 3) =
0
Therefore the point is ( 0, 0 ) . x2 = 0 or 2x − 3 =0
x =0 x = 32
( 0, 0 )
( 23 , 0 ).
Given=y 2 x 3 − 3x 2 ,
dy
= 6 x 2 − 6 x.
dx
dy
Stationary points exist where = 0:
dx
6x 2 − 6x =
0
6 x ( x − 1) =
0
6x = 0 or x −1 = 0
x =0 x = 1.
When x = 0 , When x = 1 ,
= y 2 ( 0 )3 − 3 ( 0 ) 2 = y 2 (1)3 − 3 (1)2
= 0. = 2−3
Therefore the point is ( 0, 0 ) . = −1.
Therefore the point is (1, − 1) .
Nature:
x → 0 → → 1 → ( 0, 0 ) is a maximum turning point.
dy (1, − 1) is a minimum turning
dx
+ 0 − − 0 +
Graph point.

y
=y 2 x 3 − 3x 2

O
x
3
2
(1, − 1)

hsn.uk.net Page 18 CfE Edition


Higher Mathematics Differentiation

10 Differentiating sinx and cosx


In order to differentiate expressions involving trigonometric functions, we use
the following rules:
d ( sin x ) = cos x , d ( cos x ) = − sin x .
dx dx
These rules only work when x is an angle measured in radians. A form of these
rules is given in the exam.
EXAMPLES
1. Differentiate y = 3sin x with respect to x.
dy
= 3cos x .
dx
( x ) sin x − 2cos x for x ∈  .
2. A function f is defined by f =
( )
Find f ′ π3 .

f ′( =
x ) cos x − ( −2sin x ) Remember
= cos x + 2sin x The exact value triangle:

( )
π
f ′=
3 cos π3 + 2sin π3 2
π
6
3
= 12 + 2 × 23 π
3

= 12 + 3. 1

3. Find the equation of the tangent to the curve y = sin x when x = π6 .

When x == π , y sin
6
= π
6 ( )
1 . So the point is π , 1 .
2 6 2 ( )
We also need the gradient at the point where x = π6 :
dy
= cos x .
dx
When x = π6 , m
=tangent =
cos ( ) 23 .
π
6
Now we have the point ( π6 , 12 ) and the gradient m tangent = 23 , so:
y − b= m ( x − a )
1
y −=
2
3
(
2 x−6
π
)
2 y − 1 = x − π6
x − 2 y − π6 + 1 = 0.

hsn.uk.net Page 19 CfE Edition


Higher Mathematics Differentiation

11 The Chain Rule


We will now look at how to differentiate composite functions, such as
f ( g ( x ) ) . If the functions f and g are defined on suitable domains, then

dx  (
d f= g ( x ) )  f ′( g ( x )) × g ′( x ) .

Stated simply: differentiate the outer functions, the bracket stays the same,
then multiply by the derivative of the bracket.
This is called the chain rule. You will need to remember it for the exam.
EXAMPLE

(
If y cos 5 x + π6 , find
= ) dy
dx
.

= (
y cos 5 x + π6 )
Note
dy
dx
= (
− sin 5 x + π6 × 5 ) The “ ×5 ” comes from
d
(
dx 5 x + 6 )
π .
−5sin 5 x + π6 .
= ( )

12 Special Cases of the Chain Rule


We will now look at how the chain rule can be applied to particular types of
expression.

Powers of a Function
n
For expressions of the form [ f ( x )] , where n is a constant, we can use a
simpler version of the chain rule:
f ( x ) )  n [ f ( x )] × f ′ ( x ) .
n n −1
dx (
d =

Stated simply: the power ( n ) multiplies to the front, the bracket stays the
same, the power lowers by one (giving n − 1 ) and everything is multiplied by
the derivative of the bracket ( f ′ ( x ) ).

hsn.uk.net Page 20 CfE Edition


Higher Mathematics Differentiation

EXAMPLES

(x)
1. A function f is defined on a suitable domain by f= 2 x 2 + 3x .
Find f ′ ( x ) .

( 2 x 2 + 3x )2
1
f ( x )= 2 x 2 + 3x =

) 12 ( 2 x 2 + 3 x ) 2 × ( 4 x + 3 )
− 1
f ′( x=

=12 ( 4 x + 3 ) ( 2 x 2 + 3 x )
− 12

4x + 3
= .
2 2 x + 3x
2

2. Differentiate y = 2sin 4 x with respect to x.

x 2 ( sin x )
4
= =
y 2sin 4

dy
2 × 4 ( sin x ) × cos x
3
=
dx
= 8sin3 x cos x .

Powers of a Linear Function


n
The rule for differentiating an expression of the form ( ax + b ) , where a, b
and n are constants, is as follows:
d  ax + b )n  = an ( ax + b ) n −1 .
dx ( 
EXAMPLES
y ( 5 x + 2 )3 with respect to x.
3. Differentiate=

y (5x + 2 )
3
=
dy
= 3 (5x + 2 ) × 5
2

dx
= 15 ( 5 x + 2 ) .
2

hsn.uk.net Page 21 CfE Edition


Higher Mathematics Differentiation

1 dy
4. If y = 3 , find .
(2x + 6) dx
1
(2x + 6)
−3
=
y =
( 2 x + 6 )3
dy
−3 ( 2 x + 6 ) × 2
−4
=
dx
−6 ( 2 x + 6 )
−4
=
6
= − 4 .
(2x + 6)
(x)
5. A function f is defined by f= 3
( 3 x − 2 )4 for x ∈  . Find f ′ ( x ) .
4
f ( x ) = 3 (3x − 2 ) = (3x − 2 ) 3
4

1
f ′ ( x )= 34 ( 3 x − 2 ) 3 × 4

3 (3x − 2 ).
= 16 3

Trigonometric Functions
The following rules can be used to differentiate trigonometric functions.

dx  (
b ) a cos ( ax + b ) ,
d sin ax + =
dx  (
d cos ax + b ) =
 −a sin ( ax + b ) .
These are given in the exam.
EXAMPLE
=
6. Differentiate y sin ( 9 x + π ) with respect to x.
dy
= 9cos ( 9 x + π ) .
dx

hsn.uk.net Page 22 CfE Edition


Higher Mathematics Differentiation

13 Closed Intervals
Sometimes it is necessary to restrict the part of the graph we are looking at
using a closed interval (also called a restricted domain).
The maximum and minimum y-values can either be at stationary points or
at the end points of the closed interval.
Below is a sketch of a curve with the closed interval −2 ≤ x ≤ 6 shaded.
y

maximum

O
x
minimum
–2 6
Notice that the minimum value occurs at one of the end points in this
example. It is important to check for this.

EXAMPLE
A function f is defined for −1 ≤ x ≤ 4 by f ( x ) = 2 x 3 − 5 x 2 − 4 x + 1 .
Find the maximum and minimum value of f ( x ) .
Given f ( x ) = 2 x 3 − 5 x 2 − 4 x + 1,
f ′ ( x ) = 6 x 2 − 10 x − 4.
Stationary points exist where f ′ ( x ) = 0 :
6 x 2 − 10 x − 4 =0
2 ( 3 x 2 − 5x − 2 ) =
0
( x − 2 )( 3 x + 1) =0
=x −2 0 =
or 3x + 1 0
x= 2 x = − 13 .

hsn.uk.net Page 23 CfE Edition


Higher Mathematics Differentiation

To find coordinates of stationary points:

( ) ( ) ( ) − 4 ( − 13 ) + 1
3 2
f ( 2 ) = 2 ( 2 )3 − 5 ( 2 ) 2 − 4 ( 2 ) + 1 f − 13 = 2 − 13 − 5 − 13
= 16 − 20 − 8 + 1 =2 ( − 27 ) (9) (3)
1 − 5 1 − 4 1 +1
= −11. 2 − 5 + 4 +1
Therefore the point is ( 2, −11) . =− 27 9 3
46 .
= 27

(
46 .
Therefore the point is − 13 , 27 )
Nature:
x → − 13 → → 2 → ( − 13 , 2746 ) is a max. turning point.
f ′( x ) + 0 − − 0 + ( 2, −11) is a min. turning point.
Graph

Points at extremities of closed interval:


f ( −1) = 2 ( −1)3 − 5 ( −1)2 − 4 ( −1) + 1 f ( 4 ) = 2 ( 4 ) − 5 ( 4 ) − 4 ( 4 ) + 1
3 2

=−2 − 5 + 4 + 1 = 128 − 80 − 16 + 1
= −2. = 33.
Therefore the point is ( −1, − 2 ) . Therefore the point is ( 4, 33 ) .
Now we can make a sketch: Note
y A sketch may help you
( 4, 33 ) to decide on the correct
answer, but it is not
required in the exam.
( − 13 , 2746 )
O x
( −1, − 2 )
( 2, − 11)
The maximum value is 33 which occurs when x = 4 .
The minimum value is −11 which occurs when x = 2 .

hsn.uk.net Page 24 CfE Edition


Higher Mathematics Differentiation

14 Graphs of Derivatives
The derivative of an x n term is an x n−1 term – the power lowers by one. For
example, the derivative of a cubic (where x 3 is the highest power of x) is a
quadratic (where x 2 is the highest power of x).
When drawing a derived graph:
 All stationary points of the original curve become roots (i.e. lie on the x-
axis) on the graph of the derivative.
 Wherever the curve is strictly decreasing, the derivative is negative. So the
graph of the derivative will lie below the x-axis – it will take negative values.
 Wherever the curve is strictly increasing, the derivative is positive. So the
graph of the derivative will lie above the x-axis – it will take positive values.

Quadratic Cubic Quartic


y y y
dec.

inc. dec. inc. inc.


dec. inc. dec.
inc.
x O
O O x x

y y y

+
+ + + +
O
O x x
− O x − −

Linear Quadratic Cubic

hsn.uk.net Page 25 CfE Edition


Higher Mathematics Differentiation

EXAMPLE
The curve y = f ( x ) shown below is a cubic. It has stationary points where
x = 1 and x = 4 .
y

y = f (x)

O x

Sketch the graph of y = f ′ ( x ) .


Since y = f ( x ) has stationary points at x = 1 and x = 4 , the graph of
y = f ′ ( x ) crosses the x-axis at x = 1 and x = 4 .
y
y = f ′( x ) Note
The curve is increasing
between the stationary
O x points so the derivative is
1 4 positive there.

15 Optimisation
In the section on closed intervals, we saw that it is possible to find maximum
and minimum values of a function.
This is often useful in applications; for example a company may have a
function P ( x ) which predicts the profit if £x is spent on raw materials – the
management would be very interested in finding the value of x which gave
the maximum value of P ( x ) .
The process of finding these optimal values is called optimisation.
Sometimes you will have to find the appropriate function before you can start
optimisation.

hsn.uk.net Page 26 CfE Edition


Higher Mathematics Differentiation

EXAMPLE
1. Small wooden trays, with open tops and square bases, are being designed.
They must have a volume of 108 cubic centimetres.

h
x
The internal length of one side of the base is x centimetres, and the
internal height of the tray is h centimetres.
(a) Show that the total internal surface area A of one tray is given by
432
= x2 +
A .
x
(b) Find the dimensions of the tray using the least amount of wood.
(a)=
Volume area of base × height Let A be the surface area for a
=x 2 h. particular value of x :
We are told that the volume = x 2 + 4 xh.
A
is 108 cm3, so: 108
We have h = 2 , so:
Volume = 108 x
x 2 h = 108 A ( )
= x 2 + 4 x 108
x2
108
h= 2 .
x = x 2 + 432 .
x
(b) The smallest amount of wood is used when the surface area is minimised.
dA 432
= 2x − 2 .
dx x
dA
Stationary points occur when = 0: Nature:
dx
432 x → 6 →
2x − 2 = 0 dA
x dx
− 0 +
x = 216
3
Graph
x = 6.
So the minimum surface area occurs when x = 6 . For this value of x :
108
= h = 3.
62
So a length and depth of 6 cm and a height of 3 cm uses the least amount
of wood.

hsn.uk.net Page 27 CfE Edition


Higher Mathematics Differentiation

Optimisation with closed intervals


In practical situations, there may be bounds on the values we can use. For
example, the company from before might only have £100 000 available to
spend on raw materials. We would need to take this into account when
optimising.
Recall from the section on Closed Intervals that the maximum and minimum
values of a function can occur at turning points or the endpoints of a closed
interval.

2. The point P lies on the graph of f ( x ) =x 2 − 12 x + 45 , between x = 0


and x = 7 .
y

y = f (x)

P ( p, f ( p ) )

−p O 7 x
A triangle is formed with vertices at the origin, P and ( − p,0 ) .
(a) Show that the area, A square units, of this triangle is given by
A= 1
2 p 3 − 6 p 2 + 45
2 p.

(b) Find the greatest possible value of A and the corresponding value of p
for which it occurs.
(a) The area of the triangle is
1 base × height
A =×
2
= 12 × p × f ( p )
= 1
2 p ( p 2 − 12 p + 45 )
= 1
2 p 3 − 6 p 2 + 45
2 p.

hsn.uk.net Page 28 CfE Edition


Higher Mathematics Differentiation

(b) The greatest value occurs at a stationary point or an endpoint.


dA
At stationary points = 0:
dp
dA
= 3
2 p 2 − 12 p + 45
2 = 0
dp
3 p 2 − 24 p + 45 =
0
p 2 − 8 p + 15 =
0
( p − 3 )( p − 5) =
0
=p 3=
or p 5.
Now evaluate A at the stationary points and endpoints:
• when p = 0 , A = 0 ;
• when p = 3 , A = 12 × 33 − 6 × 32 + 45
2 × 3 = 27 ;
• when p = 5 , A = 12 × 53 − 6 × 52 + 45
2 × 5 = 25 ;
• when p = 7 , A = 12 × 7 3 − 6 × 7 2 + 45
2 × 7 = 35 .

So the greatest possible value of A is 35, which occurs when p = 7 .

hsn.uk.net Page 29 CfE Edition

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy