Professional Documents
Culture Documents
2.1 Review of Differentiation
2.1 Review of Differentiation
Given a function, 𝑦 = 𝑓(𝑥), the derivative is a gradient function defined by the formula:
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
𝑓 ′ (𝑥) = lim
ℎ →0 ℎ
The derivative is a rate of change and is useful for situations where the instantaneous rate of
change is required.
- Critical points
- Intervals of increase and/ decrease
- Optimization
- Curve sketching
- Concavity
- Economics (marginal cost and revenue)
The method of first principles using the limit definition of the derivative to obtain the derivative
of a function. It is a rather tedious process.
To find the derivative, using first principles, will involve the following steps:
𝑓(𝑥+ℎ)−𝑓(𝑥)
Step 2 Substitute in the quotient , and simplify
ℎ
1
𝑓(𝑥 + ℎ) − 𝑓(𝑥) 3𝑥 2 + 6𝑥ℎ + 3ℎ2 − 7𝑥 − 7ℎ + 4 − (3𝑥 2 − 7𝑥 + 4)
=
ℎ ℎ
6𝑥ℎ + 3ℎ2 − 7ℎ ℎ(6𝑥 + 3ℎ − 7)
= = = 6𝑥 + 3ℎ − 7
ℎ ℎ
𝑓(𝑥+ℎ)−𝑓(𝑥)
Step 3 Evaluate the limit, lim
ℎ →0 ℎ
Rules were developed to make the process of finding the derivative (Differentiation) easier and
efficient.
Note: To find the derivative using first principles of higher order polynomials, exponential,
trigonometric function would not be a task to look forward to, as this would also require prior
knowledge of trigonometry, limits, etc.
Basic Trigonometric 𝑑𝑦
1) = 𝑐𝑜𝑠𝑥
𝑑𝑥
Functions: 𝑑𝑦 If 𝑦 = 2𝑠𝑖𝑛𝑥 − 4𝑐𝑜𝑠𝑥 + 𝑡𝑎𝑛𝑥,
2) = −𝑠𝑖𝑛𝑥
𝑑𝑥 𝑑𝑦
1) 𝑦 = 𝑠𝑖𝑛𝑥 then = 2𝑐𝑜𝑠𝑥 + 4𝑠𝑖𝑛𝑥 + 𝑠𝑒𝑐 2 𝑥
𝑑𝑦 2 𝑑𝑥
2) 𝑦 = 𝑐𝑜𝑠𝑥 3) = 𝑠𝑒𝑐 𝑥
𝑑𝑥
3) 𝑦 = 𝑡𝑎𝑛𝑥
2
Exponential functions: 1)
𝑑𝑦
= 𝑒𝑥 If 𝑦 = 4𝑒 𝑥 , then 𝑦′ = 4𝑒 𝑥
𝑑𝑥
1) 𝑦 = 𝑒 𝑥 𝑑𝑦 𝑥
If 𝑦 = 3𝑥 , then 𝑦′ = 3𝑥 𝑙𝑛3
2) = 𝑎 𝑙𝑛𝑎
𝑑𝑥
2) 𝑦 = 𝑎 𝑥
Logarithmic functions: 𝑑𝑦 1 6
1) = If 𝑦 = 6𝑙𝑛𝑥, then 𝑦 ′ =
𝑑𝑥 𝑥 𝑥
1) 𝑦 = 𝑙𝑛𝑥 𝑑𝑦 1 1
2) = If 𝑦 = log 5 𝑥, then 𝑦 ′ =
𝑑𝑥 𝑥𝑙𝑛𝑎 𝑥𝑙𝑛5
2) 𝑦 = log 𝑎 𝑥
Product rule: 𝑦 ′ = 𝑢′ 𝑣 + 𝑢𝑣′ If 𝑦 = 𝑥 3 𝑠𝑖𝑛𝑥, then 𝑦 ′ = 3𝑥 2 𝑠𝑖𝑛𝑥 +
Given the product of two 𝑥 3 𝑐𝑜𝑠𝑥
functions, 𝑦 = 𝑢𝑣
Quotient rule: ′
𝑣𝑢′ − 𝑢𝑣′ If 𝑦 =
3𝑥
, then
𝑦 = 2−5𝑥
Given the quotient of two 𝑣2
(2−5𝑥)3−3𝑥(−5) 6−15𝑥+15𝑥
𝑢
𝑦′ = (2−5𝑥)2
= (2−5𝑥)2
=
functions, 𝑦 =
𝑣 6
(2−5𝑥)2
Let 𝑓(𝑥) = 𝑥 4 and 𝑔(𝑥) = 3𝑥 + 5, then 𝑓𝑔(𝑥) = (3𝑥 + 5)4 is a composite function, in which
𝑢 = 3𝑥 + 5 is referred to as the inside function.
3
4) 𝑦 = 𝑙𝑛𝑓(𝑥)
Trigonometric: 1) 𝑦 ′ = acos (𝑎𝑥 + 𝑏) 𝑑
(3𝑐𝑜𝑠(2𝑥 + 11)) = −2𝑠𝑖𝑛(2𝑥 + 11)
1) 𝑦 = sin(𝑎𝑥 + 𝑏) 2) 𝑦 ′ = −asin (𝑎𝑥 + 𝑏) 𝑑𝑥
𝑑
2) 𝑦 = cos (𝑎𝑥 + 𝑏) 3) 𝑦 ′ = 𝑎𝑠𝑒𝑐 2 (𝑎𝑥 + 𝑏) (5𝑠𝑖𝑛(3𝑥 2 )) = 30𝑥𝑐𝑜𝑠(3𝑥 2 )
𝑑𝑥
3) 𝑦 = tan (𝑎𝑥 + 𝑏) 4) 𝑦 ′ = 𝑓 ′ (𝑥)𝑐𝑜𝑠𝑓(𝑥)
4) 𝑦 = 𝑠𝑖𝑛𝑓(𝑥) 5) 𝑦 ′ = −𝑓 ′ (𝑥)𝑠𝑖𝑛𝑓(𝑥)
5) 𝑦 = 𝑐𝑜𝑠𝑓(𝑥) 6) 𝑦 ′ = 𝑓′(𝑥)𝑠𝑒𝑐 2 𝑓(𝑥)
6) 𝑦 = 𝑡𝑎𝑛𝑓(𝑥)
Note: The module Engineering Mathematics 1B (MAT 1059) Revision notes have been copied
below. They consist of worked examples for those students who need a refresher.
4
Engineering Mathematics 1B (MAT 1059) Revision I (April 28, 2020)
Calculus Limits
Introduction
Calculus is the branch of mathematics that studies change. We live in a dynamic world, filled with change.
In engineering, it is important to monitor, measure and analyse variables, physical quantities and systems that
are dynamic.
Some engineers directly use calculus in their daily practice and some use computer programs based on calculus
that simplify engineering design.
The two main branches of calculus - differentiation and integration – are useful in the practice of engineering in
optimization and summation.
The limit is the basic concept that is used to describe and analyse such change.
Systems, and variables, may be modelled mathematically using equations/ formulae and graphs. Simplified
mathematical models are easier to analyse than raw data. Predictions and forecasts may be made using such
models, within a margin of error.
The LIMIT of a function describes the behavior of the function when the independent variable is near to, but
does not necessarily equal, a specific x-value.
5
Example 1 Consider the following graph of 𝑦 = 𝑥 2 − 𝑥 − 2 (in following diagram)
Remarks As the x-value approaches 1, the y-value approaches – 2 (from either side – left / right)
In summary, 𝐴𝑠 𝑥 → 1, (𝑦 = 𝑥 2 − 𝑥 − 2) → −2.
This is expressed in limit notation as lim(𝑥 2 − 𝑥 − 2) = −2.
𝑥→1
2; x 1
Example 2 The following graph shows a piecewise function, h( x) = .
x; x 1
Remarks The behaviour of the function on the left of 𝑥 = 1 and the right of 𝑥 = 1 is observed.
The Left Hand Limit (LHL) is a one-sided limit; where lim− ℎ(𝑥) = lim− 2 = 2
𝑥→1 𝑥→1
The Right Hand Limit (RHL) is a one-sided limit; where lim+ ℎ(𝑥) = lim+ 𝑥 = 1
𝑥→1 𝑥→1
If the limit exists, it is a unique value. In other words, the LHL must equal the RHL for the limit
to exist. In this example, the limit, lim ℎ(𝑥), does not exist.
𝑥→1
6
One- Sided Limits
The limit, lim f ( x) = L , exists if and only if both one-sided limits exist and are equal, that is lim f ( x) =
x →a x →a −
lim f ( x) . If the one-sided limits are not equal or do not exist then the limit, lim f ( x) = L , does not exist.
x →a + x →a
lim f ( x) is used to denote the left limit. Similarly, lim f ( x) denotes the right limit.
x →a − x →a +
- Useful for evaluating limits, without the use of graphs or tables, etc
- It is not always practical to draw graphs and evaluate limits of functions.
1) If k is a constant, then lim k = k . For example, lim (5) = 5
x →a 𝑥→ 7
2) If f(x) is a polynomial, sine, cosine, exponential or logarithmic function, then the limit is evaluated by
substitution
lim
x →a
f ( x) = f (a)
𝜋
lim ln(2𝑥 − 5) = 𝑙𝑛1 = 0 lim𝜋 3𝑠𝑖𝑛𝑥 = 3𝑠𝑖𝑛 ( 2 ) = 3(1) = 3
𝑥→3 𝑥→
2
x →a
ii. lim f ( x) g ( x) = lim f ( x) lim g ( x)
x →a
x →a
(product)
f ( x) lim f ( x)
iii. lim = x→a
lim g ( x) ; provided lim
x →a
g ( x) 0 (quotient)
x→a
g ( x ) x→a
2𝑥−4
Example 3 Evaluate the limit, 𝑙𝑖𝑚 𝑥 2 −3𝑥+2, if it exists.
𝑥→2
7
2𝑥−4 0
Solution 𝑙𝑖𝑚 𝑥 2 −3𝑥+2 = 0; which is an indeterminate form.
𝑥→2
2𝑥−4 2(𝑥−2) 2
𝑙𝑖𝑚 𝑥 2 −3𝑥+2 = lim (𝑥−1)(𝑥−2) = lim 𝑥−1 = 2
𝑥→2 𝑥→2 𝑥→2
3𝑥 2 −7𝑥−6 (3𝑥+2)(𝑥−3) 11
Activity 2 Evaluate the limit, lim (𝑥 2 −8𝑥+15), if it exists. (Ans. lim = − 2)
𝑥→3 𝑥→3 (𝑥−3)(𝑥−5)
Limits at Infinity
Function, f(x) lim f ( x) lim f ( x)
x→ + x → −
3𝑥+7𝑥 5
f) lim ( ) (Ans. undefined)
𝑥→−∞ 5𝑥−7
Continuity at a Point
8
A function is continuous at a point, x = a , if ALL THREE of the following conditions are satisfied:
1) The function is defined at the point, i.e. f (a) exists and is a real number.
2) The limit exists, i.e. lim f ( x ) exists and is a real number. This might involve finding the one-sided
x→ a
Note: Polynomial, exponential and logarithmic functions are continuous everywhere (for all real x-values)
P( x)
Note: A rational function, f ( x) = , has point(s) of discontinuity when Q( x) = 0 .
Q( x )
Example 5 Determine the point(s) of discontinuity, if they exist, of the following rational functions:
5 3
a) 𝑓(𝑥) = 2𝑥−3 (Ans. 𝑥 = 2 )
12 1
b) 𝑔(𝑥) = (𝑥−3)(2𝑥+1) (Ans. 𝑥 = − 2 𝑎𝑛𝑑 3)
9𝑥−4
c) ℎ(𝑥) = 𝑥 2−9 (Ans. 𝑥 = −3 𝑎𝑛𝑑 3 )
1. lim 18 = 4. Given that the limit, lim (3𝑥 2 − 4𝑝) = 12, the
𝑥→3 𝑥→4
a) 0 value of p is
a) – 36
b) 3
b) – 9
c) 6 c) 4
d) 18 d) 9
2−𝑥
4 5. The limit, lim (𝑥 3 −7), is
𝑥 →2
2. 𝑙𝑖𝑚 𝑒 = 𝑥
𝑥→∞ a) –1
a) 0 b) 0
c) 1
b) 1
d) Infinity
c) 4 9
6. lim (4𝑒 𝑥 −1) =
𝑥→0
d) ∞ a) 0
6𝑥 3 +20𝑥 b)
9
3. 𝑙𝑖𝑚 ( )= 4
𝑥→1 3𝑥 3 −2𝑥 2
c) 3
a) 0 d) 4
b) 2
c) 26
d) Undefined 3𝑥−6
7. The limit, lim (𝑥 2 −3𝑥+2), is
𝑥 →2
9
a) –1
b) –3
c) 3
d) Does not exist
12𝑥 2 −3𝑥+7
8. lim ( )=
𝑥→∞ 4𝑥+𝑥 2 −3
a) 0
b) 3
c) 12
d) Infinity
𝑥−1
9. The rational function, 𝑓(𝑥) = 𝑥 2−4, has point(s)
of discontinuity at x-values:
a) 0
b) 1
c) 2 and – 2
d) 4
, is
a) –2
b) 0
c) 1
d) Does not exist
10
Solutions
1.D 2.B 3.C 4.D 5.B 6.C 7.C 8.C 9.C 10.D
dy
Intro Ques: Find the coordinates of the points on the curve y = 4 x 2 + x − 2 at which the gradient is 17.
dx
𝑑𝑦
Solution: = 8𝑥 + 1 = 17 → 𝑥 = 2, 𝑦 = 4(2)2 + 2 − 2 = 16. Coordinates (2, 16)
𝑑𝑥
Exponential functions: 3)
𝑑𝑦
= 𝑒𝑥 If 𝑦 = 4𝑒 𝑥 , then 𝑦′ = 4𝑒 𝑥
𝑑𝑥
3) 𝑦 = 𝑒 𝑥 𝑑𝑦 If 𝑦 = 3𝑥 , then 𝑦′ = 3𝑥 𝑙𝑛3
4) = 𝑎 𝑥 𝑙𝑛𝑎
𝑑𝑥
4) 𝑦 = 𝑎 𝑥
Logarithmic functions: 𝑑𝑦 1 6
3) =𝑥 If 𝑦 = 6𝑙𝑛𝑥, then 𝑦 ′ = 𝑥
𝑑𝑥
3) 𝑦 = 𝑙𝑛𝑥 𝑑𝑦 1 1
4) = 𝑥𝑙𝑛𝑎 If 𝑦 = log 5 𝑥, then 𝑦 ′ = 𝑥𝑙𝑛5
𝑑𝑥
4) 𝑦 = log 𝑎 𝑥
Product rule: 𝑦 ′ = 𝑢′ 𝑣 + 𝑢𝑣′ If 𝑦 = 𝑥 3 𝑠𝑖𝑛𝑥, then 𝑦 ′ = 3𝑥 2 𝑠𝑖𝑛𝑥 + 𝑥 3 𝑐𝑜𝑠𝑥
11
Given the product of two
functions, 𝑦 = 𝑢𝑣
Quotient rule: 𝑣𝑢′ − 𝑢𝑣′ 3𝑥
If 𝑦 = 2−5𝑥, then
𝑦′ =
Given the quotient of two 𝑣2
(2−5𝑥)3−3𝑥(−5) 6−15𝑥+15𝑥 6
𝑢
𝑦′ = (2−5𝑥)2
= (2−5𝑥)2
= (2−5𝑥)2
functions, 𝑦 = 𝑣
a) 𝑦 = −3, so 𝑦 ′ = 0
b) 𝑦 = 5𝑥, then 𝑦 ′ = 5
2 2
c) 𝑦 = 3 𝑥, then 𝑦 ′ = 3
d) 𝑦 = 7 − 2𝑥, then 𝑦 ′ = −2
3𝑥−7 3 7 3 3
e) 𝑦 = = 7 𝑥 − 7 = 7 𝑥 − 1, 𝑠𝑜 𝑦 ′ = 7
7
Example 3
𝑑𝑦
Find the derivative 𝑑𝑥 , of the following:
a) 𝑦 = 3𝑥 2 − 4 e) 𝑦 = 4𝑙𝑛𝑥
b) 𝑦 = 4𝑠𝑖𝑛𝑥 f) 𝑦 = 𝑥 2 𝑠𝑖𝑛𝑥
c) 𝑦 = 3𝑐𝑜𝑠𝑥 g) 𝑦 = 3𝑥 5 𝑙𝑛𝑥
d) 𝑦 = 2𝑒 𝑥 h) 𝑦 = 3𝑥−1
4𝑥
12
Solution (Example 3)
𝑑𝑦
a) If 𝑦 = 3𝑥 2 − 4, then 𝑑𝑥 = 2(3)𝑥 2−1 = 6𝑥
𝑑𝑦
b) If 𝑦 = 4𝑠𝑖𝑛𝑥, then 𝑑𝑥 = 4𝑐𝑜𝑠𝑥 (since the derivative of sine is cosine)
𝑑𝑦
c) If 𝑦 = 3𝑐𝑜𝑠𝑥, then 𝑑𝑥 = −3𝑠𝑖𝑛𝑥 (since the derivative of cosine is negative sine)
𝑑𝑦
d) The derivative of 𝑒 𝑥 is simply 𝑒 𝑥 , so if 𝑦 = 2𝑒 𝑥 , then 𝑑𝑥 = 2𝑒 𝑥
𝑑𝑦 1 4
e) If 𝑦 = 4𝑙𝑛𝑥, then 𝑑𝑥 = 4 × 𝑥 = 𝑥 (check the table above)
13
Exercise 1 Find the derivative(s) of the following:
a) 𝑦 = 3𝑥 7 𝑙𝑛𝑥 3
c) 𝑦 = (9 √𝑥)𝑐𝑜𝑠𝑥 e) 𝑦 = 3𝑥 −4 𝑒 𝑥
3𝑥−2
b) 𝑦 = d) 𝑦 = 6𝑒 𝑥 𝑡𝑎𝑛𝑥 f) 𝑦 = 9𝑒 𝑥 𝑙𝑛𝑥
𝑠𝑖𝑛𝑥
Solution (Exercise 1)
1
a) Apply product rule: 𝑦 ′ = 𝑢′ 𝑣 + 𝑢𝑣 ′ = 21𝑥 6 𝑙𝑛𝑥 + 3𝑥 7 (𝑥) = 21𝑥 6 𝑙𝑛𝑥 + 3𝑥 6
Let 𝑓(𝑥) = 𝑥 4 and 𝑔(𝑥) = 3𝑥 + 5, then 𝑓𝑔(𝑥) = (3𝑥 + 5)4 is a composite function, in which 𝑢 = 3𝑥 + 5 is
referred to as the inside function.
a) y = (9 x − 7 )
5 𝑢 = 9𝑥 − 7
b) y = 13(7 − 2 x ) 𝑢 = 7 − 2𝑥
4
c) y = x 2 + 6 𝑢 = 𝑥2 + 6
3 𝑢 = 2𝑥 − 1
d) y =
2x − 1
14
7 𝑢 = 2𝑥 + 5
e) y =
(2 x + 5)3
4 𝑢 = 4 − 3𝑥
f) y=
3
(4 − 3x )2
g) y = 3e 7 x+8 𝑢 = 7𝑥 + 8
h) y = ln (2x + 9) 𝑢 = 2𝑥 + 9
i) 𝑦 = 𝑠𝑖𝑛(3𝑥 − 4) 𝑢 = 3𝑥 − 4
j) 𝑦 = 4𝑐𝑜𝑠(𝑥 2 ) 𝑢 = 𝑥2
b) 𝑦 = 3
9
d) 𝑦 = 2𝑒 9−2𝑥 f) 𝑦 = 𝑐𝑜𝑠 5 𝑥
√(2𝑥−5)
Solution (Exercise 2)
a) 𝑢 = 3 − 𝑥 2 c) 𝑢 = 7𝑥 − 4 e) 𝑢 = 3𝑥 + 1
b) 𝑢 = 2𝑥 − 5 d) 𝑢 = 9 − 2𝑥 f) 𝑢 = 𝑐𝑜𝑠𝑥
𝑑𝑢 𝑑𝑦
=3 = 28𝑢6
𝑑𝑥 𝑑𝑢
𝑑𝑦 𝑑𝑦 𝑑𝑢
Step 4 Apply the chain rule: = × = 84𝑢6 = 84(3𝑥 + 7)6
𝑑𝑥 𝑑𝑢 𝑑𝑥
Example 5
15
Solution (Example 5)
a) y = (9 x − 7 ) ; Let u = 9 x − 7 , then y = u 5 .
5
= −104u 3 = −104(7 − 2 x )3
du dy dy
= −2 and = 52u 3 . Then
dx du dx
1
c) y = x + 6 ; 2
Let u = x + 6 and y = u =
2
u2
( )
1 1 1 1
du dy 1 − 2 dy 1 − − − x
= 2 x and = u . Then = (2 x) u 2 = xu 2 = x x 2 + 6 2 OR
dx du 2 dx 2 x2 + 6
3 3
d) y = ; Let u = 2 x − 1 and y = = 3u −1
2x − 1 u
−6
= 2 −3u −2 = −6u −2 = −6(2 x − 1)−2 OR
du dy dy
= 2 and = −3u −2 . Then
dx du dx (2 x − 1) 2
7 7
e) y = ; Let u = 2 x + 5 and y = = 7u −3
(2 x + 5) 3
u 3
du dy dy − 42
= 2 and = −21u −4 . Then = 2 −21u −4 = −42u −4 = −42(2 x + 5) −4 OR
dx du dx (2 x + 5) 4
2
4 4 4 −
f) y= ; Let u = 4 − 3x and y = = = 4u 3
(4 − 3x )2 3 2
3
u2
u3
5 5 5 5
du dy 8 − dy 8 − − − 8
= −3 and = − u 3 . Then = −3 − u 3 = 8u 3 = 8(4 − 3x) 3 OR
dx du 3 dx 3 3
(4 − 3x) 5
16
j) 𝑦 = 4𝑐𝑜𝑠(𝑥 2 ) Let 𝑢 = 𝑥 2 and 𝑦 = 4𝑐𝑜𝑠𝑢
𝑑𝑢 𝑑𝑦 𝑑𝑦
= 2𝑥 𝑎𝑛𝑑 = −4𝑠𝑖𝑛𝑢 Then 𝑑𝑥 = 2𝑥(−4𝑠𝑖𝑛𝑢) = −8𝑥𝑠𝑖𝑛(𝑥 2 )
𝑑𝑥 𝑑𝑢
a) 𝑦 = 3𝑥𝑒 3𝑥
b) 𝑦 = 4𝑥 4 ln (1 − 4𝑥 4 )
c) 𝑦 = 𝑥 2 𝑐𝑜𝑠(𝑥 2 )
sin (2𝑥)
d) 𝑦 = tan 𝑥
e) 𝑦 = 𝑥 4 (4𝑥 − 5)4
𝑠𝑖𝑛(2𝑥 2 )
f) 𝑦 = 3𝑥
g) 𝑦 = 𝑡𝑎𝑛(3𝑥) − 𝑙𝑛(2𝑥) + 2𝑒 4𝑥
h) 𝑦 = 3𝑠𝑖𝑛5 (4𝑥)
17
Solution (Exercise 3)
a) 𝑦 ′ = 3𝑒 3𝑥 + 9𝑥𝑒 3𝑥
−16𝑥 3
b) 𝑦 ′ = 16𝑥 3 ln(1 − 4𝑥 4 ) + 4𝑥 4 (1−4𝑥 4 )
c) 𝑦 ′ = 2𝑥𝑐𝑜𝑠(𝑥 2 ) + 𝑥 2 (−2𝑥𝑠𝑖𝑛(𝑥 2 ))
𝑡𝑎𝑛𝑥(2cos (2𝑥))−sin (2𝑥)𝑠𝑒𝑐 2 𝑥
d) 𝑦 ′ = (𝑡𝑎𝑛𝑥)2
𝑑𝑦
Example 1 Let 𝑦 = 5𝑥 7 , then the first derivative is 𝑑𝑥 = 35𝑥 6
𝑑2 𝑦 𝑑3 𝑦
The second derivative is 𝑑𝑥 2 = 210𝑥 5 and the third derivative is 𝑑𝑥 3 = 1050𝑥 4
𝑑𝑛 𝑦
In general, 𝑑𝑥 𝑛 represents the n-th derivative, obtained by differentiating y n times.
Exercise 1 (with solutions) Find the first and second derivatives for the following:
18
Differentiating Logarithmic functions
𝑓(𝑥) 𝑙𝑛1 = 0
𝑙𝑛 ( ) = 𝑙𝑛𝑓(𝑥) − 𝑙𝑛𝑔(𝑥)
𝑔(𝑥)
𝑙𝑛𝑒 𝑓(𝑥) = 𝑓(𝑥)
𝑙𝑛(𝑓(𝑥))𝑛 = 𝑛𝑙𝑛𝑓(𝑥)
𝑑𝑦 𝑓′(𝑥)
The derivative of 𝑦 = 𝑙𝑛𝑓(𝑥) is = (Chain rule).
𝑑𝑥 𝑓(𝑥)
𝑑𝑦
Example 2 Given 𝑦 = 𝑙𝑛[(4𝑥 − 3)5 (1 + 3𝑥 2 )3 ], find an expression for 𝑑𝑥
Solution Apply log rules to simplify the function (to avoid using multiple chain and product rules).
𝑑𝑦 4 6𝑥 20 18𝑥
= 5( ) + 3( 2
)= +
𝑑𝑥 4𝑥 − 3 1 + 3𝑥 4𝑥 − 3 1 + 3𝑥 2
Example 3 Given 𝑦 = 2𝑥 3 + 3𝑥 2 + 1, find the coordinates of the stationary points and sketch the graph.
Solution (Example 3)
6𝑥 2 + 6𝑥 = 0
6𝑥(𝑥 + 1) = 0
𝑥 = 0, −1
19
The Sketch
Implicit Differentiation
Functions are typically written with the dependent variable (usually y) as the subject of the equation. This form
is referred to as EXPLICIT form. In the IMPLICIT form the subject of the equation is not the dependent
𝑑𝑦
variable. To obtain the derivative, 𝑑𝑥 , there are two (2) approaches:
𝑑 𝑑𝑦 𝑑 8 𝑑𝑦
a) (4𝑦 3 ) = 12𝑦 2 f) (8𝑙𝑛𝑦) =
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑦 𝑑𝑥
𝑑 𝑑𝑦 𝑑 𝑑𝑦
b) (4𝑥 − 7𝑦 5 ) = 4 − 35𝑦 4 g) (4𝑒 𝑦 ) = 4𝑒 𝑦
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑𝑦 𝑑 𝑑𝑦
c) (2𝑦 −5 ) = −10𝑦 −6 h) (3𝑥𝑠𝑖𝑛𝑦) = 3𝑠𝑖𝑛𝑦 + 3𝑥𝑐𝑜𝑠𝑦
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑𝑦 𝑑 𝑑𝑦
d) (𝑠𝑖𝑛𝑦) = 𝑐𝑜𝑠𝑦 i) (4𝑥 2 𝑦 4 ) = 8𝑥𝑦 4 + 4𝑥 2 4𝑦 3
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑𝑦 𝑑 dy
e) (3𝑐𝑜𝑠𝑦) = −3𝑠𝑖𝑛𝑦 j) (𝑐𝑜𝑠(𝑦 2 )) = −2ysin(𝑦 2 ) dx
𝑑𝑥 𝑑𝑥 𝑑𝑥
20
dy
Example 5 (with solutions) Using implicit differentiation, find an expression for .
dx
a) 13𝑥 5 + 7𝑦 3 − 3 = 4𝑥
𝑑𝑦
65𝑥 4 + 21𝑦 2 =4
𝑑𝑥
𝑑𝑦 4 − 65𝑥 4
=
𝑑𝑥 21𝑦 2
b) 15𝑥 2 + 2𝑥 3 𝑦 4 = 20 sin(4𝑦)
𝑑𝑦 𝑑𝑦
30𝑥 + 6𝑥 2 𝑦 4 + 2𝑥 3 4𝑦 3 = 80cos (4𝑦)
𝑑𝑥 𝑑𝑥
𝑑𝑦 30𝑥 + 6𝑥 2 𝑦 4
=
𝑑𝑥 80𝑐𝑜𝑠(4𝑦) − 8𝑥 3 𝑦 3
21
Differentiate the function x y − 2 x + y = 1 implicitly and find the gradient of the
2 3
Exercise 2
curve at the point (2, 1)
Solution (Exercise 2)
𝑑𝑦 𝑑𝑦 𝑑𝑦 2 − 2𝑥𝑦
2𝑥𝑦 + 𝑥 2 − 2 + 3𝑦 2 = 0 →→ = 2
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑥 + 3𝑦 2
2−2(2)(1) 2
At (2, 1), gradient equals = −7
22 +3(1)2
Case 1 A function has multiple products/ quotient/ roots/ powers, etc and therefore will require the
application of multiple rules
(4𝑥−5)3 (1−2𝑥)7
Example 6 (with solutions) Find the derivative of 𝑦 =
√𝑥
(4𝑥−5)3 (1−2𝑥)7
𝑦 = ln [ ]
√𝑥
1
𝑙𝑛𝑦 = 𝑙𝑛(4𝑥 − 5)3 + 𝑙𝑛(1 − 2𝑥)7 − 𝑙𝑛𝑥 2
1
𝑙𝑛𝑦 = 3 ln(4𝑥 − 5) + 7 ln(1 − 2𝑥) − 𝑙𝑛𝑥
2
1
𝑙𝑛𝑦 = 3 ln(4𝑥 − 5) + 7 ln(1 − 2𝑥) − 2 𝑙𝑛𝑥
1 𝑑𝑦 4 −2 1 1
= 3( ) + 7( )− ( )
𝑦 𝑑𝑥 4𝑥 − 5 1 − 2𝑥 2 𝑥
1 𝑑𝑦 12 14 1
=( )−( )−( )
𝑦 𝑑𝑥 4𝑥 − 5 1 − 2𝑥 2𝑥
𝑑𝑦
Step 3 Make 𝑑𝑥 the subject of the equation
1 𝑑𝑦 12 14 1
= (4𝑥−5) − (1−2𝑥) − (2𝑥)
𝑦 𝑑𝑥
22
𝑑𝑦 12 14 1
= 𝑦 [( )−( ) − ( )]
𝑑𝑥 4𝑥 − 5 1 − 2𝑥 2𝑥
Case 2 When the exponent is a function of the independent variable; 𝑦 = 𝑓(𝑥) 𝑔(𝑥)
𝑑
Note The general power rule, 𝑑𝑥 [(𝑓(𝑥)𝑛 ] = 𝑛𝑓′(𝑥)(𝑓(𝑥))𝑛−1 , is applicable when the power is a real number.
𝑦 = (2𝑥 + 3)𝑥
Step 1 𝑙𝑛𝑦 = 𝑙𝑛(2𝑥 + 3)𝑥
𝑙𝑛𝑦 = 𝑥𝑙𝑛(2𝑥 + 3)
1 𝑑𝑦 2
Step 2 = 1 ln(2𝑥 + 3) + 𝑥 (2𝑥+3)
𝑦 𝑑𝑥
𝑑𝑦 2𝑥
Step 3 = 𝑦 [ln(2𝑥 + 3) + 2𝑥+3]
𝑑𝑥
𝑑𝑦 2𝑥
= (2𝑥 + 3)𝑥 [ln(2𝑥 + 3) + ]
𝑑𝑥 2𝑥 + 3
23