Differential Calculus
Differential Calculus
CALCULUS
Outcomes for this session
• By the end of this session, you should be able to:
• Develop an intuitive understanding of the limit concept, in the context of approximating the rate of
change or gradient of a function at a point.
• Determine the average gradient of a curve between two points, i.e.: m =
• Determine the gradient of a tangent to a graph, which is also the gradient of the graph at that point.
Introduce the limit principle by shifting the secant until it becomes a tangent.
• Use first principles for (x) = for f(x) = k ; f(x) = ax and
• f(x) = ax2 + b.
• Use the rule for n
• Find equations of tangents to graphs of functions.
• Sketch graphs of cubic polynomial functions using differentiation to determine the co-ordinate of
stationary points. Also, determine the x-intercepts of the graph using the factor theorem and other
techniques.
• Solve practical problems concerning optimization and rates of change, including calculus of motion.
Introduction
• Calculus is a branch of mathematics involving or leading to calculations dealing with
continuously varying functions.
• To a Roman in the days of the empire a “calculus” was a pebble used in counting and
gambling.
• Centuries later “calculare” came to mean “to compute”, “to reckon”, “to figure out”.
To the mathematician, physical scientist, and social scientist of today, calculus is
elementary mathematics (algebra, geometry, trigonometry) enhanced by the limit
process.
• Calculus takes ideas from elementary mathematics and extends them to a more
general situation.
• The table below contains some examples. On the left-hand side, you will find an idea
from elementary mathematics; on the right, this same idea as extended by calculus
Elementary Mathematics vs Calculus
Elementary Mathematics Calculus
Distance moved under a constant velocity. Distance moved under varying velocity.
f (2) ÷ f(1)
2. Given that f(x) = 5x2 + x –7, determine the value of:
a) b) f (3 + a) c) f ( 3 + a) – f(3)
𝑓ሺ 3+𝑎ሻ –𝑓(3)
𝑎
d)
3. If f(x) = 6x2 -2x + 1, determine the value of:
a) f (0) b) f (1) c) f (2)
d) f (–1) e) f (–3)
2
We say that “4 is the average gradient of y = x between P(1;1) and Q(3;9)”
Activity 2: Average Gradient
1. Find the average gradient of the given curve in each of the following cases.
a) y = 2x , between x = 3 and x = 7 b) y = 3x + 4 between x = 2 and x = 5
e) y = x3 between x = 3 and x = 4
, provided 𝑥2– 𝑥1 ≠ 0.
𝑦2 – 𝑦1
𝑥2–𝑥1
A (x1 ; y1) and B (x2 ; y2) is given by : MAB =
We have also seen that the gradient of a straight line is the same (constant) at all points on the
line.
Gradient of a curve
9−1 8
3−1 4
In the above figure, the gradient of chord PQ = = = 2
6,25−1
2,5−1
The gradient of chord RQ = = 3,5
4−1 3
2−1 1
The gradient of SQ = = = 3
2,25−1
1,5−1
The gradient of TQ = = 2,5
25
−1
16
5
−1
The gradient of UQ = = 2.25
4
From the above we notice that as the chord PQ comes closer and closer to the point Q(1;1),
the value of its gradient comes closer to 2. We call, 2 the limiting value of the gradient of the
chord PQ and when P coincides with Q, the chord becomes the tangent to the curve.
Activity 3: Gradient of a tangent to a
graph.
1. Plot and sketch the curve f(x) = 4x2 –1 for values of x from [–1; 4].
2. Label the co-ordinates (3; f(3)) and (1; f(1)) as M and N respectively.
3. Join the points M and N to form the chord MN.
4. Determine the gradient of chord MN.
5. Move point M closer and closer to N to determine the gradient of the tangent of the
curve at N. Use the following x -values to assist you
a. T(2,5 ; f(2,5))
b. R(2 ; f(2))
c. S(1,5 ; f(1,5))
d. J (1,25 ; f(1,25))
e. K (1, 01 ; f(1,01))
Intuitive definition of a limit
• Let f be a function which is defined for all of x “near” x = a. If, as x
tends to a from both the left and from the right, f(x) tends to a number,
say b, then we say that the limit of f(x), as x tends to a is b.
• We write: = b OR f(x) b as x a
• We say nothing about f (a). Perhaps f (a) exists and perhaps it doesn’t.
And if it does, perhaps = f (a) and perhaps not!
• When dealing with limits we only care about where we are going, not
whether we get there!
Worked examples: Limits
Activity 4: Limits
In each of the following, determine the limits, if it exists.
a) b) c) , where k is a
constant
d) f)
g) h) i)
j) ; where x > 0
Differentiation from first principles
• = =
• =
Differentiation from first principles:
Worked examples
1. Determine the derivative of f(x) = 2x , from first principles
Solution:
=
=
=
=
(x) = 2
Differentiation from first principles:
Worked examples
2. Differentiate, y = 3x + 6, from first principles.
Solution:
Let f(x) = 3x + 6
=
=
=
=
(x) = 3
Activity 5: Differentiation from first
principles
Differentiate the following functions from first principles.
a) f(x) = x b) f(x) = 3x
c) f(x) = x + 2 d) f(x) = 4
= nxn–1
3. = ; where k is a constant.
4. = 0 ; where k is a constant.
Worked examples: Rules of differentiation
1. Use the rules of differentiation to calculate the derivatives of the following functions with respect to x.
a)
y = x3 b) f(x) = x ½
Use rule 1: n = 3 ; n–1 = 2 Use rule 1: n = ½ ; n –1 = –1/2
= 3x3-1 = 3x2 =
c)
y = 3x2 – 6 d) y = 3 – 2x –
y = 3 – 2x – 4x-2
= 6x
= 0 –2 – 4(–2x–3)
= 0 – 2 + 8x–3
=–2+
Worked examples: Rules of differentiation
2. Use the rules of differentiation to differentiate the following
function with respect to m; i.e: y = mx3 + m2x – m3x +
3. Calculate the derivative (differential coefficient) of the following, using the rules of
differentiation.
a) b)
+ –x+4 + – + 0,25
Activity 6: Rules of differentiation
4. Calculate, (x) in the following, using the rules of differentiation.
a) f(x) = 2 – 4x + 6x2 b) f(x) =
5. Calculate, (t) in the following, using the rules of differentiation.
a) f(t) = 6t4 – 4t + 2 b) f(t) = 2tx – 3t2x2 + 4t3x
6. Calculate of the following using, the rules of differentiation.
a) y = sin 30o + – b) y = (x – 2)2
c) y = ax2 + bx + c d) y = x(x2 – 4)
e) y = (x2 – x) f) y =
7. Calculate, using the rules of differentiation, Dx(y) of the following:
a) y= b) y =
c) y= +2 d) y = cos k – sin2 + kx –
Equations of tangents to graphs
• The derivative also results in the gradient of a tangent
to a function. For example, if we differentiate the
equation of a curve, we will get the formula for the
gradient of the curve at a point, and thus the gradient
of a tangent to the curve at that point.
• We can then proceed to calculate the equation of a
tangent to the curve at that point.
Worked examples: Equations of tangents
to graphs
1. Given: y = x2 + 1.
a) Determine the value of y when x = 1 At x = 1:
y = (1)2 + 1 = 2
The point is (1; 2)
b) Determine using the rules of differentiation. y = x2 + 1
= 2x ……using rules
Solution:
Step 1: Determine ; i.e: = 6x – 4
Step 2: Determine the value of the derivative (gradient) at x = 1; i.e:
m = 6(1) – 4
m =2
Step 3: Determine the equation of the tangent, using the gradient at the specified point
and the given point.
y – y1 = m(x – x1)
y – (–7) = 2(x – 1)
y + 7 = 2x – 2
y = 2x – 9
Worked examples: Equations of tangents
to graphs
3. Calculate the point on y = 3x2 – 4x – 6 where the gradient is 2.
Solution:
Step 1: Determine ; i.e: = 6x – 4
Step 2: You are given the value of m = 2
i.e. 6x – 4 = 2
6x = 6
x=1
Step 3: Use the x –value obtained in Step 2 above to obtain the corresponding y-value;
i.e: y = 3(1)2 – 4(1) – 6
y =–7
Step 4: Write down the coordinates ; i.e (1; – 7)
Activity 7: Equation of tangent to a curve
at a given point.
1. Determine, the gradient of the curve at the given value of x
Function Value of x
a) f(x) = x2 – 2x x=3
b) g(x) = x3 – 2x2 + x – 1 x=2
c) xy = 3 x=1
d) y = (3x –1)2 x=0
e) y= x=2
f) x=1
y=
2. Determine the equation of the tangents to the curve at the given value of x
a) y = x3 – 2x2 + 4 , at x = 2 b) xy = 4 at x = – 2
c) y = x2 – 2x – 8, at x = 1 d) y = x3 at x = 1
e) y = – 3x2 + 2x + 1 , at x = – 1 f)** y = at x = 2
Activity 7: Equation of tangent to a curve
at a given point.
3. Determine the coordinates of the point P at which the gradient of the curve y = x 2 is 6.
4. Determine the equation of the tangent to the curve y = 3x – x 2 which is parallel to the line
y – x – 4 = 0.
When the gradient of a function is equal to zero [𝑓′ ሺ𝑥ሻ = 0], we can determine the x-
value(s) of the turning point(s) of the function.
Consider the Grade 11 quadratic function,
Gr 11 Gr 12
(without using the derivative) (using the derivative)
Given: Given:
()
Then,
Then,
Maximum / Minimum values
the function values increase or decrease for 𝑥 ∈ ℝ. We can only talk about a LOCAL
We cannot say that the cubic function has a CERTAIN maximum or minimum value, since
maximum point or a LOCAL minimum point, which are obtained at the turning points.
𝑓 𝑥ሻ < 0
′ሺ
𝑓 𝑥ሻ > 0
′ሺ
At a minimum turning point the
sign of the gradient changes from
negative to positive.
𝑓′ ሺ 𝑥ሻ = 0
Maximum / minimum values
Maximum turning points
𝑓′ ሺ 𝑥ሻ = 0
At a maximum turning point the
𝑓′ ሺ 𝑥ሻ > 0 𝑓′ ሺ 𝑥ሻ < 0
sign of the gradient changes from
positive to negative.
Local MAXIMUM
turning point
Local MINIMUM
turning point
Factorization of cubic function
EXAMPLE Method 2: (By inspection)
Factorize 𝑓ሺ𝑥ሻ = 2𝑥3 − 5𝑥2 − 19𝑥+ 42 = 0 completely.
𝑓ሺ 𝑥ሻ = 2𝑥3 − 5𝑥2 − 19𝑥+ 42 = 0
𝒙× 𝒂𝒙𝟐 = 𝟐𝒙𝟑 ∴ 𝒂 = 𝟐
ሺ 𝑥− 2ሻሺ a𝑥2 + b𝑥+ 𝑐ሻ = 0
Solution:
2. In many cases it will happen that two of the three x–intercepts are the same.
This happens when one of the turning points is ON the x–axis, so that the turning
point and the x–intercept are at the exact same position.
Steps to follow when sketching cubic
functions : y = ax3 + bx2 + cx + d ; a 0
1. The shape of the graph
3𝑎𝑥2 + 2𝑏𝑥 + 𝑐 = 0
∴ 𝑥= or 𝑥=
Let 𝑦 = 𝑓ሺ𝑥ሻ = 0 and solve for x with the aid of the Factor theorem and long
division or inspection (as explained above).
Let 𝑥 = 0 to calculate y.
Worked example: Sketching of a cubic
function
• Sketch the graph of . Clearly indicate the
intercepts with the axes as well as the
turning points.
Worked example: Sketching of a cubic
function
Solution:
1. Shape …… 𝑎 < 0 ∴
−3𝑥2 + 3 = 0 = 20
ሺ ÷ −3ሻ : 𝑥2 − 1 = 0
∴ 𝑥= 1 or 𝑥= −1 = 16
ሺ𝑥− 1ሻ: 𝑔ሺ1ሻ = −ሺ1ሻ 3 + 3ሺ1ሻ + 18 = 20 ≠ 0 ∴ ሺ𝑥− 3ሻሺ−1𝑥2 + b𝑥− 6ሻ = 0 𝟑𝒙𝟐 + 𝒃𝒙𝟐 = 𝟎𝒙𝟐 ∴ 𝒃 = −𝟑
ሺ𝑥+ 1ሻ: 𝑔ሺ−1ሻ = −ሺ−1ሻ 3 + 3ሺ−1ሻ + 18 = 16 ≠ 0
Not a factor.
No Real solution! (It means that that 𝑔ሺ𝑥ሻ has only ONE real x–
ሺ𝑥− 3ሻሺa𝑥2 + b𝑥+ 𝑐ሻ = 0
at 𝑥 = 3)
intercept,
∴ 𝑔ሺ𝑥ሻ = 𝑦 = 18
(1 ; 20)
g
18
(-1 ; 16)
3 x
0
Some important terms….
It is important to understand the notation used in this section of Mathematics. To sketch a cubic
function can be asked without giving the actual function. Important information regarding the
function will be given which will have to be interpreted carefully before the graph can be drawn.
Worked example
EXAMPLE
The following properties of the cubic function 𝑓 is given. Draw a rough sketch to represent
𝑓
‘Zeros’ = x–intercepts. In this case only one, at 𝑥 = −5
Zeros at –5
(0 ; 1)
tell us that for the function 𝑓……
f(–4) = 8 and f(0) = 1
𝑦= 8 if 𝑥 = −4 and
𝑦= 1 if 𝑥 = 0 -5 0
Can also be given as ሺ−4 ; 8ሻ and ሺ0 ; 1ሻ
of 𝑓. 𝑦
D and B are x– and y–intercepts respectively. A and C are the stationary points
C
B
𝑥
A O D
3.1 Determine:
𝑓′ ሺ 𝑥ሻ
3.1.1 the lengths of OB and OD.
3.1.2
3.1.3 the coordinates of A and C.
𝑝′ ሺ −3ሻ = 𝑝′ ሺ 3ሻ = 0
𝑝ሺ 0ሻ > 0
𝑓ሺ −1ሻ = 0
𝑓ሺ 2ሻ = 0
𝑓ሺ 1ሻ = −4
𝑓ሺ 0ሻ = −2
𝑓′ ሺ −1ሻ = 𝑓′ ሺ 1ሻ = 0
RIVER
𝑥 𝑥
= ሺ 1800 − 2𝑥ሻ ሺ 𝑥ሻ
= 1800𝑥 − 2𝑥2
The graph of this function has the following shape: We will obtain the
maximum here at the
turning point
′ሺ
𝐴 𝑥ሻ = 0
1800 − 4𝑥 = 0
For a maximum area, solve:
1800 = 4𝑥
∴ 450 = 𝑥
𝑙 = 1800 − 2𝑥 𝑏 = 𝑥 = 450 m
= 1800 − 2ሺ 450ሻ
1.1 Measurements of the field: and
= 900 m
𝐴= 𝑙 × 𝑏 𝐴ሺ 𝑥ሻ = 1800 − 2𝑥2
= 900 × 450 𝐴ሺ 450ሻ = 1800 −
1.2 The maximum area: or
2ሺ 450ሻ 2
= 405 000 m2 = 405 000 m2
Activity: Application of calculus
• A 340 ml can of cool drink with height and radius is shown below.
ቀ 4𝑥2 + ቁ cm2.
2.2 Show that the total surface area of the box can be written as
320
𝑥
2.3 Calculate the height of the box for which the surface area is a minimum.
Activity: Application of calculus
that 𝑄𝐵 = 𝐵𝑅= 𝐷𝑆= 𝐷𝑃= 𝑘 mm.
ABCD is a square with sides 20 mm each. PQRS is a rectangle that fits inside the square such
s’(t) =1,5t2 – t
s’(2) = 1,5 (2)2 – 2
= 4ms-1
3. A stone is thrown vertically upwards. Its height (in metres) above the ground at time t
(in seconds) is given by: h(t ) 2t 2 12t 32 .
3.1 Determine the initial height of the stone above the ground.
3.2 Determine the time taken to reach the maximum height.
3.3 How fast was the stone travelling when it hit the ground?
3.4 Determine the acceleration of the stone.
Activity: Calculus of motion
4. A farmer wanted to determine the amount of water he used every week
during the drought. He measured the amount of water drawn from a Jojo
water tank used on the farm. He determined that the volume of water, in liters,
weeks after he started measuring was: