Professional Documents
Culture Documents
Calculus
Calculus
Calculus
MTH 1302
(Differential and Integral Calculus)
LECTURE NOTE
MODULE 1
2. Ordered Pairs: This consist of collecting the inputs X and outputs Y of the related sets
x → y as an ordered pairs (x, y). This indicates that for related sets containing n inputs,
each pair contains the (input, output) value of the related sets
(x1 , y1 ), (x2 , y2 ), (x3 , y3 ), ... , (xn , yn ).
1
where x1 , x2 , ..., xn and y1 , y2 , ..., yn are the input and output values of the related sets
respectively
1
Example 1.2: Using an ordered pairs technique, show the relation y = x2
for the
first five positive integers of the reals.
1 1 1 1 1
1, , 2, , 3, , 4, , 5,
1 4 9 16 25
3. Equation form: Relations between two non-empty sets X and Y can be expressed in an
equation form
Example 1.3: The following equations indicate a rule or a relation between two variables
(i) y = 3x − 5
(ii) y = 3x2 − 1
(iii) A = πr2
(iv) x2 + y 2 = 1
√
(v) y = ± x2 + 2
One of the most important concept in algebra, and the most important ingredient in calculus
is the idea of functions.
Definition 1.1 (Function) Let X and Y be two non-empty sets, a function of real variable
is a rule that assign to every real value x ∈ X only one real value y ∈ Y , such that a value
y ∈ Y may be repeated only for different values of x ∈ X.
It follows that if X and Y are two sets and f is a function that receive values x ∈ X to generate
values y ∈ Y , then mathematically we say that y is a function of x written as
y = f (x)
where
• the set X from which the function accept values x is called the domain of the function
• the set Y which contains the processed values y is called the range or co-domain of the
function
Functions are often represented by letters such as F, f, G, g, H, h and others, while any letter
or symbol can be used to denote the dependent and independent variables, f (x) = x3 , f (t) = t3
and f (λ) = λ3 represent the same function.
2
1.1 Finding Values of Functions
If f defines a function, then for each value x in the domain of f the corresponding processed
value y = f (x) is called the value of the function
Example 1.4: Show that the rule y = 3x2 − 1 defines a function, hence find the values
of the function for the first three positive integers.
Solution:
(i) The rule y = 3x2 − 1 tells us to take a value x from the domain, square it, multiply it by
factor 3 and subtract 1. Therefore since to each value x in the domain, the rule generate
only one value y in the range then the rule y = 3x2 − 1 is a function.
(ii) The values of the function for the first three positive integers are:
x = 1 then y = 3(1)2 − 1 = 2
x = 2 then y = 3(2)2 − 1 = 11
x = 3 then y = 3(3)2 − 1 = 26
Example 1.5: The volume of a solid sphere of radius r is given as V (r) = 43 πr3 . Find the
volume of the sphere of radius 3 meters.
Example 1.6: Suppose that a function f is defined for all real numbers t by f (t) = 2(t−1)+3.
Find:
(i) f (0)
(ii) f (−2)
(iii) f (x + 2)
Solution:
(iii) f (x + 2) i.e, t = x + 2
f (x + 2) = 2(x + 2 − 1) + 3 = 2x + 5
NOTE: All functions are rules but not all rules are functions. It is therefore imperative for
students to be able to identify rules that are not functions.
A rule is said to be a function if and only if corresponding to each value x in the domain
X, there exist only one value y in the range Y , the case where two or more different values
3
x ∈ X correspond to the same value y ∈ Y is not a violation, but the reverse is not allowed as
illustrated in the following mappings.
(ii) x2 + y 2 = 1
(iii) y = cos x
1
(iv) y = 2x − 4x 3
2 1
(v) y = x2
+ 3x 4
It is indeed helpful to think of a function f as a machine that receive input from the domain,
process it and produce an output. There exist restrictions on this so-called input/output
machine
(ii) Corresponding to each input, there exist only one output which may be repeated for
different inputs
Definition 1.2 If f (x) and g(x) are two functions, the composite function denoted by f o g (f
circle g) is defined by
(f o g)(x) = f (g(x)).
To find (f o g)(x), first find g(x) and then find f (g(x)). Similarly, to find (g o f )(x), first find
f (x) and then find g(x).
(i) (f o g)(x)
(ii) (g o f )(x)
4
(iii) (f o f )(x)
(iv) (g o g)(x)
Solution:
f (g(x)) = f (x + 1) = (x + 1)2 + 1
= x2 + 2x + 2
= x2 + 2
= x4 + 2x2 + 2
g(g(x)) = g(x + 1) = x + 2
(i) f (g(0))
(iii) f (f ( 12 ))
(iv) g(g(1))
Solution:
(i) f (g(0))
f (g(0)) = f (−3) = −3 + 5 = 2
5
(iii) f (f ( 21 ))
but f ( 12 ) = 1
2
+5= 11
2
, therefore
f (f ( 21 )) = f ( 11
2
)= 11
2
+5= 21
2
(iv) g(g(1))
(i) (u o v o f )(x)
(ii) (v o f o u)(x)
(iii) (f o v o u)(x)
Solution:
1.3.2 Inverse:
A function f has an inverse if and only if it is one-to-one. The function defined by reversing
a one-to-one function is called the inverse of f . The symbol for the inverse of f is written as
f −1 and read as ”f inverse”, but −1 in f −1 is not an exponent and also f −1 (x) does not mean
1
the reciprocal of f (x) i.e, f (x) . The following diagram illustrate the concept of inverse f −1 of a
function f
6
1.3.3 How to Find Inverse of a Function:
Suppose f (x) is a function, to find f −1 (x):
1. Let y = f (x) and solve the equation for x in terms of y
(ii) f (x) = x3 + 1
Solution:
(i) Let y = 31 x − 2
3y = x − 6
therefore x = 3y + 6
y = 3x + 6
f −1 (x) = 3x + 6
Student should solve (ii) as an exercise.
Definition 1.4 (Domain) Domain of a function of real variable is the largest set of real values
for which the value of the function y has real values.
Definition 1.5 (Range) The range of a function is the largest set of real values for which y
has real values
• If the function has a denominator of algebraic expression, then exclude any value that
give zero denominator
7
• If the function contain a radical of even index, then exclude any value that makes the
expression inside the radical to be negative
The domain of functions are expressed using any of the following four ways which ever is most
convenient
(i) In-equalities
(iv) Words
Example 1.11: Find the domain and range of the following functions
√
(i) y = 1 − x2
1
(ii) y = x
√
(iii) f (x) = x
√
x2 −2
(iv) f (x) = x2 −1
4
(v) y = x3
√
(vi) y = x2 − 1
√
(vii) h(t) = 3t − 4 − 3t
√
(viii) y = 4 − x
Solution:
√
(i) y = 1 − x2
1 − x2 ≥ 0
−x2 ≥ −1
x2 ≤ 1
x≤1
But the only values x in the inequality x ≤ 1 for which y has real values are in the interval
√
[−1, 1], therefore the domain of the function y = 1 − x2 is the interval −1 ≤ x ≤ 1.
8
Range: The range is obtained by substituting the maximum and minimum values of the
domain in the function, therefore the range is closed in the interval 0 ≤ y ≤ 1.
1
(ii) y = x
Domain: Since division by zero is not allowed, then the function can take any real value
x except at x = 0, therefore the domain is given by
Domain= (−∞, 0) ∪ (0, +∞)
or = {x|x 6= 0, x ∈ R}
Range: From the domain, the range is the set of all real numbers except zero, therefore
Range = (−∞, 0) ∪ (0, +∞)
or = {y|y 6= 0, y ∈ R}
√
Example 1.12: If f (x) = x and g(x) = x + 1, find the domain and range of the following
(i) (f o g)(x)
(ii) (g o f )(x)
Solution:
(i) (f o g)(x) = f (g(x))
but g(x) = x + 1, therefore
√
f (g(x)) = f (x + 1) = x + 1
√
Now let y = x + 1, then the domain of y require that the expression x+1 is non-negative
Domain = x + 1 ≥ 0
x ≥ −1
Domain = [−1, ∞)
From the domain, the least value of y is zero, therefore
Range = [0, ∞)
(ii) (g o f )(x) = g(f (x))
√
but f (x) = x, therefore
√ √
g(f (x)) = g( x) = x + 1
√
Now let y = x + 1
√
Domain: x ≥ 0 which implies that x ≥ 0, therefore
D = [0, ∞)
Range: From the domain, the least value of y is 1
R = [1, ∞)
9
1.5 Functions and Algebraic Operations
Like real numbers, the algebraic operations of addition (+), multiplication (×), subtraction
(−) and division (./.) applies to functions. Let f (x) and g(x) be two functions, then
where the domain of the function f + g consist of the values x that are in the domains of
both f and g, i.e,
where the domain of the function f − g are the values x that are in the domains of both
f and g, i.e,
where the domain of the function f g are the values x that are in the domains of both
f and g, i.e,
where the domain of the function fg consist of the values x for which g(x) 6= 0 and that
are in the domains of both f and g, i.e,
f
Domain of g
= {x|x 6= 0}∪ domain of f ∩ domain of g
Find the following, and determine the domain and range in each case:
(i) (f + g)(x)
(ii) (f − g)(x)
(iii) (f g)(x)
(iv) fg (x)
10
1.6 Even and Odd Functions
Definition 1.6 (even function) A function y = f (x) is called an even function if f (−x) =
f (x) for every x in the domain of f , i.e., both x and −x must be in the domain.
Definition 1.7 (odd function) A function y = f (x) is called an odd function if f (−x) =
−f (x) for every x in the domain of f , also x and −x must be in the domain.
Example 1.14: Determine whether the following functions are even, odd or neither
(i) f (x) = x2
(ii) f (x) = x3
(iii) f (x) = x2 + x
1
(iv) x2 +1
1
(v) x−1
Solution:
(i) f (x) = x2
(ii) f (x) = x3
(iii) f (x) = x2 + x
f (−x) = (−x)2 − x
= x2 − x
1 1
f (−x) = (−x)2 +1
= x2 +1
= f (x)
1 −1
f (−x) = −x−1
= x+1
11
1.7 Graph of Functions
Let the equation y = f (x) be a function in x and y, the graph of the function f is defined as
the set of points (x, y) in the xy−plane that satisfies the equation.
Solution:
Step 1: Make a table of xy−pairs that satisfy the function rule of the equation y = x2
Step 2: Plot the points (x, y) whose coordinate appear in the above table
Step 3: Carefully draw a smooth curve joining the plotted points, and label the curve with its
equation
12
Example 1.16: Graph the function y = |x| over the interval [−4, 4].
Solution: The is known as the absolute value function with domain X as the set of whole
real numbers −∞ < x < ∞. The absolute value function is an even function such that
f (−x) = f (x), and the range Y is the set of non-negative real numbers 0 ≤ y < ∞
Solution: This is a piecewise defined function that uses different formula on different parts of
its domain
13
Let y = f (x)
y = x2 for 0 ≤ x ≤ 2 [0, 2]
MISCELLANEOUS EXERCISES
(i) f (0)
(ii) f (−1.6)
√
(iii) f ( 2)
(iv) f (x + 1)
2. Find g(3), g(−1), g(π) and g(t2 − 1) for each of the following functions
x+1
(a) g(x) = 2
√
x+1 x≥1
(b) g(x) =
undefined x<1
(i) f (g(0))
(ii) g(f (0))
(iii) f (g(−2))
(iv) g(f (5))
(v) (f o g)(x)
(vi) (g o f )(x)
14
√
4. If u(x) = 4x − 8, v(x) = x and w(x) = x4 , find the following:
(i) u(v(w(x)))
(ii) u(w(v(x)))
(iii) w(u(v(x)))
(iv) w(v(u(x)))
(v) v(u(w(x)))
(vi) v(w(v(x)))
(i) f (x) = x + 5
(ii) f (x) = 6x
(iii) f (x) = x3
x
(iv) f (x) = 2
(i) f (x) = x3
1
(ii) f (x) = (x−1)(x−3)
√
(iii) f (x) = x2 − 5x + 6
(i) f (x) = x + 1
(ii) f (x) = 3
x5 −x
(iii) f (x) = 1−x2
3
(iv) f (t) = t + t
t
(v) g(t) = t2 −1
−5
(vi) h(w) = w
15
MODULE 2
Definition 2.1 Let L be a real number and suppose that f (x) is a function defined in an open
interval containing x0 but not necessary at x0 itself. The limit as x approaches x0 of f (x) is L
and written as
lim f (x) = L,
x→x0
where the symbol x → x0 is read as ”x tends or approaches x0 ”. This means x will approach
or tends as close as possible to x0 but never reaches it.
1. Sum rule:
2. Difference rule:
3. Product rule:
4. Quotient rule:
f (x) lim f (x)
L
lim = x→a
= , M 6= 0.
x→a g(x) lim g(x)
x→a
M
16
To understand what happens to the function f (x) = x2 + 1 as x gets close to a particular
value x0 = 2, consider the table below putting in mind that x can get close to 2 from the right
and from the left along the x−axis. From the table below, it shows that as x gets close to
x0 = 2, the function f (x) = x2 + 1 gets close to 5 from both sides. Therefore, in mathematical
symbol we write it as lim (x2 + 1) = 5 and is read as the limit as x approaches or tends to 2 of
x→2
x2 + 1 is equal to 5.
Solution:
17
(ii) lim 2x2 − 13 x
x→−2
(−1)3 +4(−1)2 −3 0
∴= (−1)2 +5
= 6
= 0.
√
(vii) lim 4x2 − 3
x→−2
Since we are dealing with real-valued function, provided the function does not give
a complex number, we evaluate the limit using substitution
√ p √
∴ lim 4x2 − 3 = 4(−2)2 − 3 = 14.
x→−2
18
x3 −x2 −5x−3
(vi) lim (x+1)2
x→−1
Solution:
x2 −4 x2 −22
(i) lim = lim
x→−2 x+2 x→−2 x+2
(x−2)(x+2)
= lim x+2
x→−2
= lim (x − 2)
x→−2
= −2 − 2 = −4.
x2 +3x−10
(ii) lim x+5
x→−5
(x+5)(x−2)
lim x+5
x→−5
lim (x − 2) = −5 − 2 = −7.
x→−5
t+3
(iii) lim 2
t→−3 t +4t+3
t+3
lim
t→−3 (t+1)(t+3)
lim 1 = 1
−3+1
= − 12 .
t→−3 t+1
x3 −x2 −5x−3
(vi) lim (x+1)2
x→−1
= lim (x − 3)
x→−1
= −1 − 3 = −4.
19
√
h2 +8−3
(iii) lim h+1
h→−1
Solution:
√ √
2+x− 2
(i) lim x
x→0
We create the common factor using the idea of rationalization of either the numerator
or the denominator as the case may be, thus
√ √ √ √ √ √
2+x− 2 2+x− 2 2+x+√2
lim x
= lim x
√
2+x+ 2
x→0 x→0
√ √ √ √
= lim (2+x)+ 2(x√2+x)− √
2( 2+x)−2
2+x+x 2
x→0
= lim √ x √
x→0 x( 2+x+ 2)
= lim √ 1 √
x→0 2+x+ 2
= √ 1 √ = √ 1√ = 1
√ .
2+0+ 2 2+ 2 2 2
2.4 Limits as x → ±∞
Consider a function f (x) = x1 . The function is defined for all values of x except x = 0, i.e,
for all x 6= 0. The behavior of the function when x is positive and increasingly large, then
the function f (x) = x1 approaches zero. The behavior is the same when x is negative and its
magnitude becomes increasingly large.
1
lim = 0.
x→±∞ x
Solution:
1
3x2 −7x+3 (3x2 −7x+3)
x2
lim 2 = lim 1
(2x2 +5)
x→∞ 2x +5 x→∞ x2
3− x7 + 3
x2
= lim 5
2+ 2
x→∞ x
7 3
3− ∞ +∞
= 5
2+ ∞
20
3−0+0
= 2+0
= 32 .
Solution:
1
3x2 −2x+1 (3x2 −2x+1)
lim x+3
= lim x
1
(x+3)
x→−∞ x→−∞ x
3x−2+ x1
= lim 3
x→−∞ 1+ x
1
3(−∞)−2+ −∞
= 3
1+ ∞
−∞−2+0 −∞−2
= 1+0
= 1
= −∞.
Solution:
1
3x+7 (3x+7)
x2
lim 2 = lim 1
x→−∞ x −2 x→−∞ x 2 (x2 −2)
3
x
+ 72
= lim x
1− 22
x→−∞ x
3 7
−∞
+ −∞
= 2
1− −∞
0+0 0
= 1−0
= 1
= 0.
Solution:
√
3x √
5 x
√
3 x− √
5x 3 x−
√ √
3x
lim √ 5 x lim
3 x+ √ = lim √
3x √
5 x
x→∞ x→∞ x→∞ 3 x+
√ √
3x
!
1
1− x 15
x3
= lim 1
!
x→∞
1+ x 15
x3
2
1−x− 15
= lim 2
− 15
x→∞ 1+x
1
1− 2
x 15
= lim 1+ 12
x→∞
x 15
21
1
1− ∞ 1−0 1
= 1
1+ ∞
= 1+0
= 1
= 1.
x−1 +x−4
(ii) lim x −2 −x−3
x→∞
Solution:
−1 −4
h −2 i
x−1 x−4 x−3
lim x−2 +x−3 = lim x−2
+ x−2
/ xx−2 + x−2
x→∞ x −x x→∞
x+x−2
= lim −1
x→∞ 1−x
1
x+
x2
= lim 1
1− x
x→∞
1
∞+ ∞
= 1
1− ∞
∞+0
= 1−0
= ∞.
f (x) f 0 (x)
lim = lim 0 ,
x→a g(x) x→a g (x)
x2 +5x−14
Example 2.6: Find lim 2
x→2 x −5x+6
Solution:
Using substitution:
x2 +5x−14 22 +5(2)−14
lim 2 = lim 2
x→2 x −5x+6 x→2 2 −5(2)+6
4+10−14
= 4−10+6
= 00 .
x+7
= lim
x→2 x−3
2+7
= 2−3
= −9.
22
Let f (x) = x2 + 5x − 14, g(x) = x2 − 5x + 6, f 0 (x) = 2x + 5, g 0 (x) = 2x − 5
f (x) f 0 (x)
∴ lim = lim 0
x→2 g(x) x→2 g (x)
2x+5
= lim
x→2 2x−5
2(2)+5
= lim
x→2 2(2)−5
4+5 9
= 4−5
= −1
= −9.
x3 +x2 −x−1
Example 2.7: Find lim 2 .
x→1 x +2x−3
3x2 +2x−1
= lim 2x+2
x→1
3(1)2 +2(1)−1
= 2(1)+2
3+2−1 4
= 2+2
= 4
= 1.
Note that by substitution we will have
x3 + x2 − x − 1 0
lim 2
= .
x→1 x + 2x − 3 0
2.6 Continuity
The following limits in sections (2.8.1) - (2.8.3) will provide an intuition towards understand-
ing the concept of continuity.
The above description of the limit of the function f (x) = x1 is neither saying that the lim-
its exist nor there is a real number ∞, but just a representation mathematically to describe
the behavior of the function f (x) = x1 as x → 0+ or x → 0− . Moreover, the limits lim+ x1 or
x→0
1 1
lim− x
does not exist because x
becomes arbitrary large and positive as x → 0+ or negative as
x→0
−
x → 0 where lim+ and lim− referred to as right hand and left hand limits respectively.
x→0 x→0
23
2.6.2 Right Hand Limit
A function f (x) has a right hand limit (R.H.L) L at a0 if lim+ = L, where x → a+
0 means as x
x→a0
approaches a0 from the right.
Definition 2.2 A function f (x) is continuous at an interior point x = a of its domain if and
only if
Example 2.8: Determine whether the following functions are continuous at the indicated
point.
(i) f (x) = √x−4 at x = 4
x−2
x2 −x+2
(ii) f (x) = x3 +x2 −3
at x = 1
x+3 x 6= 1
(iii) g(x) = at x = 1
−4 x=1
3 − x if x ≤ 2
(iv) f (x) = at x = 2
x2 −4
if x > 2
x−2
Solution:
(i) f (x) = √x−4 at x = 4
x−2
f (4) = √4−4 = 0
= 0
4−2 2−2 0
24
1−1+2
= 1+1−3
= −2
x2 −x+2
2. lim x 3 +x2 −3 = −2 by using substitution
x→1
1. g(1) = −4
1. f (2) = 3 − 2 = 1
2. To find lim f (x), we have to find both the right hand and left hand limits
x→2
(x+2)(x−2)
= lim+ x−2
x→2
= lim+ x + 2 = 2 + 2 = 4
x→2
∴ The overall lim f (x) does not exist, hence f (x) is not continuous.
x→2
25
2.6.5 Discontinuity
If a function f (x) defined over an interval I is not continuous at point x = a, then f (x) is said
to be discontinuous at x = a.
Types of Discontinuity
Example 2.9: Determine if the following functions are continuous or discontinuous at the
given points. If discontinuous state the type of discontinuity.
x2 −6x+5
(i) f (x) = x2 −4x+3
at x = 1.
x+3 x<3
(ii) f (x) = at x = 3.
2
x +1 x≥3
1
x
x 6= 0
(iii) f (x) = at x = 0.
0 x=0
Solutions:
x2 −6x+5
(i) f (x) = x2 −4x+3
at x = 1.
12 −6(1)+5 0
f (1) = 12 −4(1)+3
= 0
x−5 1−5
= lim = =2
x→1 x−3 1−3
1. f (3) = 32 + 1 = 9 + 1 = 10
26
Since R.H.L 6= L.H.L, lim f (x) does not exist and hence f (x) has jump discontinuity
x→3
Example 2.10: Determine for what values of x the following functions are discontinuous.
x3 +x2 +2
(i) f (x) = x2 −x−2
2x2 −3x+1
(ii) f (x) = 2x+1
Solution:
(x − 2)(x + 1) = 0 and x = 2 or x = −1
2x = −1
x = − 21
∴ f (x) is discontinuous at x = − 12 ,
MISCELLANEOUS EXERCISES
27
3x −1
(n) lim x
x→0 2 −1
ln(ex −1)
(o) lim ln x
x→0
2. Determine whether the following functions are continuous at the indicated points
x2 −4
x−2 , x 6= 2
(a) g(x) =
3, x=2
7x − 2, x≤1
(b) f (x) =
5x2 , x>1
3. Find the values of x for which the following functions are not continuous
x
(a) f (x) = x2 −1
3x+1
(b) f (x) = x2 +7x−2
4. Find the values of x for which the following functions are discontinuous, determine
whether each value is a removable discontinuity
x2 +3x
(a) f (x) = x+3
x2 −4
(b) f (x) = x3 −8
2x − 3, x≤2
(c) f (x) =
x2 , x>2
28
MODULE 3
• Rate of change
The gradient of the sloping straight line shown in the figure above is defined as
y2 − y1 ∆y dy
Gradient = = =
x2 − x1 ∆x dx
29
Contrary to the slope of a straight line, the slope of a curve varies along its length or changes
from point to point on the curve. Let us try to find the slope at a point P (x, y) by taking
another point on the curve Q(x, y), therefore the slope of the secant line (straight line) joining
points P and Q is given by
dy y1 − y
Msec = =
dx x1 − x
If we change Q to another point, we get another secant line and hence another slope. In partic-
ular we can take Q closer to P , and as Q gets closer and closer to P (i.e, as ∆x approaches 0)
the value of Msec may approach a fixed value. In that case, the fixed value is the slope of the
tangent line at point P or simply the slope of the curve at P , thus
∆y dy
Mtan = lim =
∆x→0 ∆x dx
Example 3.0: Find the slope of the tangent line to the curve y = x3 + 3x + 5 at point x1 .
Solution:
where ∆y = y2 − y1
∆x = x2 − x1
= x1 + ∆x − x1 = ∆x
3x21 ∆x+3x1 (∆x)2 +(∆x)3 +3∆x
∴ Mtan = lim ∆x
∆x→0
as ∆x → 0
= 3x21 + 3.
30
3.3 Rate of Change
The same procedure is applied to investigate rate of change
Example 3.1: How does the change in radius of a circle affects its area? Moreover, if the
radius of a circle is increased from 2 cm to 2.01 cm, what happen to its area?
Solution:
A(r) = πr2
Let A1 = πr12
A2 = πr22
where ∆A = A2 − A1
∆r = r2 − r1
∴ A2 = π(r1 + ∆r)2
Further, let y = f (x) be function over an open interval I containing x, then the derivative of f
or of y at the point x is defined to be the slope of the function at x, or the rate of change of y
with respect to x defined as
f (x + ∆x) − f (x)
f 0 (x) = lim
∆x→0 ∆x
or
dy f (x + ∆x) − f (x) ∆y
= lim = lim
dx ∆x→0 ∆x ∆x→0 ∆x
where ∆x and ∆y are a small increments in x and y respectively. The above process of finding
slope or rate of change of a function is called differentiation from the ’first principle’
Note: The words slope, gradient and rate of change in relation to differentiation are used
interchangeably.
Solution:
31
f (x+∆x)−f (x)
f 0 (x) = lim ∆x
,
∆x→0
1
but f (x) = x2 + x
1
∴ f (x + ∆x) = (x + ∆x)2 + x+∆x
1
(x+∆x)2 + x+∆x −(x2 + x1 )
f 0 (x) = lim ∆x
∆x→0
1 1
= lim 2x + ∆x + ∆x(x+∆x)
− x∆x
∆x→0
As x → 0,
f 0 (x) = 2x − 1
x2
√
Example 3.3: Find the derivative of the function y = x from the first principle.
1 √
= lim √
x+∆x+ x
∆x→0
As ∆x → 0,
dy 1
dx
= √
2 x
.
Remark:
Differentiation from the first principle is rather a tedious exercise especially for more com-
plex functions. Therefore the need for more effective methods for differentiating the following
functions are necessary:
• Polynomial functions
• Trigonometric functions
• Logarithmic functions
• Exponential functions
• Constant functions
EXERCISES: Use the first principle approach to differentiate the following functions with
respect to x (w.r.t x).
1. y = 3x3 − 2x2 + 3x + 2
1
2. y = x
32
1
3. y = x2
4. y = 3 − x2
2
5. y = x
6. y = 4x3
f (x) = c0 + c1 x + c2 x2 + c3 x3 + ... + cn xn ,
(i) f (x) = x2
(iii) f (x) = 3x + 1
Theorem 3.1 If f (x) = xn , then f (x)0 = nxn−1 for any real number n
Proof: Using the idea of the first principle
f (x+∆x)−f (x)
f 0 (x) = lim ∆x
∆x→0
n n
xn + xn−1 ∆x + xn−2 (∆x)2 + ... + (∆x)n − xn
0
1 2
f (x) = lim
∆x→0 ∆x
n n−1 n n−2 n−1
∆x x + x ∆x + ... + (∆x)
1 2
= lim
∆x→0 ∆x
n
As ∆x → 0, and since =n
1
dy
f 0 (x) = dx
= nxn−1 .
Moreover, the rule for differentiating a power of x is simply multiplying by the index (power)
and reducing the index by 1.
Example 3.4: The derivative of the following functions are given as:
d
(i) dx
(x20 ) = 20x20−1 = 20x19
33
√ 1
(ii) d
dt
( t) = 12 t 2 −1 = 2√
1
t
d 1
= −3x−3−1 = −3x−4
(iii) dx x3
Solution:
d d d d
(i) dx
(4x4 − 3x2 + 5) = dx
(4x4 ) − dx
(3x2 ) + dx
(5)
= 16x3 − 6x + 0
= 16x3 − 6x.
d d d d
(ii) dx
(ax2 + bx + c) = dx
(ax2 ) + dx
(bx) + dx
(c)
= 2ax + b.
d 12 13 12 91
(iii) dx
(3x2 − 4x + 16 − x
+ x7
) = 6x − 4 + x2
− x8
3
(iv) y = x− 2
2
(v) y = √
3 x
2
(vi) y = x
(vii) y = x
(viii) 5 − 3x2
(ix) y = 7
34
3.5 Techniques of Differentiation (Explicit)
A differentiation which involves the case where the dependent variable can be expressed explic-
itly in terms of the independent variable is called explicit differentiation.
In general, suppose that y = y(u) such that u = u(x), that is y is a function of u and u
is a function of x. The derivative of y is given by
dy ∆y
= lim
dx ∆x→0 ∆x
∆y ∆y ∆u
but =
∆x ∆x ∆u
∆y ∆y ∆u
=
∆x ∆u ∆x
dy ∆y ∆u
∴ = lim
dx ∆x→0 ∆u ∆x
dy ∆y ∆u dy du
= lim lim =
dx ∆x→0 ∆u ∆x→0 ∆x du dx
dy dy du
=
dx du dx
Solution:
Let u = (2x + 3)
dy dy du
by the chain rule dx
= du
dx
, where
35
dy du
du
= 37u36 and dx
=2
dy
∴ dx
= 37u36 2
= 74u36
= 74(2x + 3)3 6.
dp 1 1
dt
= 12 u− 2 2 = u− 2
dp √ 1
dt
= 2t−3
p 2
(iv) u = 3
(θ2 + 3θ − 4)2 = (θ2 + 3θ − 4) 3
2
Let v = θ2 + 3θ − 4, and u = v 3
1
where dv
dθ
= 2θ + 3 and du
dv
= 23 v − 3
du du dv
∴ dθ
= dv
dθ
1
= 23 v − 3 (2θ + 3)
1
= 23 (θ2 + 3θ − 4)− 3 (2θ + 3)
2(2θ+3)
= 1
3(θ2 +3θ−4) 3
2(2θ+3)
= √
3 3 θ2 +3θ−4
.
EXERCISES
dy
p
1. If y = 3x2 + 4x − (5x − 2)4 , find dx
3. Differentiate
36
2
(i) y = (6x2 − 4x)− 3
−1
(ii) y = √
(1+ x)2
1 2
(iii) y = 1 − x
1
(iv) y = 2x2 − x32 3
√ 2
(v) y = x − √1x
q
1
(vi) y = 1−x2
y + ∆y = (u + ∆u)(v + ∆v),
∆y ∆v ∆u ∆u∆v
=u +v + .
∆x ∆x ∆x ∆x
Therefore as ∆x → 0, ∆u, ∆v and ∆y approaches zero also
dy ∆y
= lim ,
dx ∆x→0 ∆x
dy ∆v ∆u ∆u∆v
= lim u +v + ,
dx ∆x→0 ∆x ∆x ∆x
dy ∆v ∆u ∆u∆v
= u lim + v lim + lim ,
dx ∆x→0 ∆x ∆x→0 ∆x ∆x→0 ∆x
dy dv du
=u +v
dx dx dx
d du dv
Note: dx
(uv) 6= dx
+ dx
.
37
(iii) y = (x2 + 1)(x + 3)−2
p
(iv) y = (x − 1) (x2 + 1)
Solution:
EXERCISES
1. Differentiate w.r.t x
√
(i) y = (x2 − 1) 1 + x
(ii) y = x2 (x + 1)3
3 5
(iii) y = (x + 1) 2 (x − 1) 2
p
(iv) y = (1 − x2 ) 3 (1 − 2x)−2
p
(v) y = (x + 1)(x − 2)3
38
3.5.3 Quotient Rule
u
Suppose that y = v
where both u and v are functions of x, then
u + ∆u
y + ∆y =
v + ∆v
u + ∆u
∆y = −y
v + ∆v
u + ∆u u
∆y = −
v + ∆v v
v∆u − u∆v
=
v(v + ∆v)
dividing through by ∆x, we have
∆y v∆v − u∆v
=
∆x v(v + ∆v)∆x
∆y ∆v
v ∆u − u ∆x
= ∆x
∆x v(v + ∆v)
but
dy ∆y
= lim
dx ∆x→0 ∆x
as ∆x → 0, ∆u → 0, ∆v → 0 and ∆y → 0
!
dy v ∆u
∆x
∆v
− u ∆x
∴ = lim
dx ∆x→0 v(v + ∆v)
dy v lim ∆u ∆v
− u lim ∆x
∆x→0 ∆x ∆x→0
=
dx v(v + ∆v)
dy v du
dx
dv
− u dx
∴ =
dx v2
(3x+4)3
Example 3.8: If y = (x−2)2
, find y 0
dy v du dv
−u dx
Solution: Using quotient rule dx
= dx
v 2
39
dv
dx
= 2(x − 2)
dy (x−2)2 9(3x+4)2 −(3x+4)3 2(x−2)
∴ dx
= ((x−2)2 )2
(3x+4)3
the above gives the derivative of the function y = (x−2)2
, what remains is to simplify
further
(x − 2)(3x + 4)2 [9(x − 2) − 2(3x + 4)]
y0 =
(x − 2)4
y 0 = u dx
dv
+ v du
dx
, where u = (3x + 4)3 and v = (x − 2)−2
du
dx
= 9(3x + 4)2 , dv
dx
= −2(x − 2)−3
Solution:
r 3
(x+1)3 (x+1) 2
y= x+2
= 1
(x+2) 2
3 1
let u = (x + 1) 2 , v = (x + 2) 2
1 dy 1
such that du
dx
= 23 (x + 1) 2 1, du
= 12 (x + 2)− 2
1 1 3 1
0 (x+2) 2 32 (x+1) 2 −(x+1) 2 21 (x+2)− 2
y = 1 2
(x+2) 2
1 1
1
(x+2)− 2 (x+1) 2 [3(x+2)−(x+1)]
= 2
X+2
1 1
(x+2)− 2 (x+1) 2 (2x+5)
= 2(x+2)
1
(x+1) 2 (2x+5)
= 3
2(x+2) 2
EXERCISES
1. If y = √ x , show that y = (1 + x2 )
1+x2
40
2. Differentiate w.r.t x the following functions
q
2 )3
(i) y = (1+x 2+x2
2
(ii) y = √x
1+x2
3. x = y 4 − y − 1
In examples 1 and 3 we can solve for x, so let us consider cases where we can solve for x.
Consider the function
1
x = y2 ∴ x2 = y
dx 1
but dy
= 2y = 2x 2
1
Now from y = x 2
dy 1
dx
= 12 x− 2 = 1
1
2x 2
dy 1
∴ dx
= dx
dy
generally
dy ∆y
dx
= lim
∆x→0 ∆x
1
= lim ∆x
∆x→0 ∆y
dy 1
dx
= dx .
dy
dy 1
∴ dx
= 6y 2 −2y
But in the case of example 2, i.e, 3xy 2 + 4x2 y + 3y 3 + 4x3 = 7 differentiate by differentiating
each term w.r.t x
d d
dx
(3xy 2 + 4x2 y + 3y 3 + 4x3 ) = dx
(7)
41
d d d d
dx
(3xy 2 ) + dx
(4x2 y) + dx
(3y 3 ) + dx
(4x3 ) =0
d d d d
3 dx (xy 2 ) + 4 dx (x2 y) + 3 dx (y 3 ) + 4 dx (x3 ) = 0
dy dy dy
3(x 2y dx + y 2 ) + 4(x2 dx
+ 2xy) + 3(3y 2 dx ) + 12x2 = 0
dy dy dy
3(2xy dx + y 2 ) + 4(x2 dx + 2xy) + 9y 2 dx + 12x2 = 0
dy dy dy
6xy dx + 3y 2 + 4x2 dx + 8xy + 9y 2 dx + 12x2 = 0
dy dy dy
6xy dx + 4x2 dx + 9y 2 dx = −3y 2 − 8xy − 12x2
dy
dx
(6xy + 4x2 + 9y 2 ) = −3y 2 − 8xy − 12x2
dy 2
−8xy−12x 2
dx
= − 3y
6xy+4x2 +9y 2
Example 3.10: Find the gradient of the curve x2 + 2xy − 2y 2 + x = 2 at (−4, 1).
dy
Solution: The gradient is dx
when x = −4, y = 1. Differentiating through with respect
to x, we have
d 2 d d d d
dx
x+ 2 dx (xy) − 2 dx (y 2 ) + dx (x) = dx
(2)
dy dy
2x + 2 x dx + y − 2 2y dx +1=0
dy dy
2x + 2x dx + 2y − 4y dx +1=0
dy dy
2x dx − 4y dx = −2x − 2y − 1
dy
dx
(2x − 4y) = −(2x + 2y + 1)
dy
dx
= − (2x+2y+1)
2x−4y
when x = −4 and y = 1
dy
dx
= − [2(−4)+2(1)+1]
2(−4)−4(1)
5
= − 12 .
dy
Example 3.11: If x = t3 + t2 , y = t2 + t, and dx
in terms of t.
Solution:
dx dy
dt
= 3t2 + 2t, dt
= 2t + 1
dy dy dt
but dx
= dt
dx
(using chain rule)
dy dy 1 1
∴ dx
= dt
dx = (2t + 1) 3t2 +2t
dt
EXERCISES
dy
1. Find dx
when
(i) x2 + 2xy + y 2 = 3
(ii) x2 − 3xy + y 2 − 2y + 4x = 0
(iii) 3x2 − 4xy = 7
(iv) 3(x − y)2 = 2xy + 1
42
(v) (x − y)xy = 4
dy
2. Find dx
in terms of t
(i) x = t2 , y = t3
t t2
(ii) x = 1−t
, y = 1−t
(iii) x = √ 1 , y= √ t
1+t2 1+t3
4. Find the gradient of the conic x2 − 3yx + 2y 2 − 2x = 4 at the point (1, −1).
d2 y
d dy
= 2,
dx dx dx
similarly, we find
d2 y d3 y
d
= .
dx dx2 dx3
Thus, we have
y - original function
dy
dx
- first derivative
d2 y
dx2
- second derivative
d3 y
dx3
- third derivative
.........
dn y
dxn
- nth derivative
Example 3.12: If y = x2 − 1
x2
, find y 0 , y 00 and y 000
Solution:
y = x2 − x−2
y 0 = 2x + 2x−3 = 2x + 2
x3
y 00 = 2 − 6x−4 = 2 − 6
x4
y 000 = 24x−5 = 24
x5
43
d2 y d3 y d4 y
Example 3.13: If y = 2x3 − 11x2 + 12x − 5, determine , ,
dx2 dx3 dx4
.
Solution:
EXERCISES
dy d2 y
1. If y = 4x3 − 6x2 − 9x + 1, find dx
and hence find the values of dx2
when the gradient is
zero.
dy d2 y
2. If x = at2 , y = 2at, find dx
and dx2
.
dy d2 y d3 y
3. If x2 + 3xy − y 2 = 3, find ,
dx dx2
and dx3
at the point (1, 1).
d y 2 dy
4. If y = √ x , prove that (1 + x2 ) dx2 + 2x dx = 0
1+x2
In a unit circle, an arc of length s subtends an angle of s radians. Since a unit circle has
an arc of length 2π
∴ 3600 = 2π rad
π rad = 1800
π
2
= 900
π
3
= 600
π
4
= 450
44
MODULE 4
4 Integral Calculus
Integration can be considered from two angles
The two approaches are the same, just like differentiation, integration has so many applications
in mathematics, physics, chemistry, engineering, economics, e.t.c.
Solution:
R
I = 4x3 dx = x4 + C
3 = 24 + C
C = −13
∴ I = x4 − 13.
45
4.1 Standard Integrals
Every derivative written in reverse order gives an integral, for instance
d
dx
(sin x) = cos x
R
∴ cos x dx = sin x + C
It follows therefore that the following list of standard derivatives provides a source of standard
integrals
d
1. dx
(xn ) = nxn−1 replacing n by n + 1, we have
d
dx
= (n + 1)xn , therefore
n+1
d x
dx n+1
= xn , we therefore conclude that
xn+1
R
xn dx = n+1
+C
This is true for all real number n except when n = −1, for which division by zero is not
allowed.
d
2. dx
(sin x) = cos x
R
∴ cos x dx = sin x + C
d
3. dx
(cos x) = − sin x
d
dx
(− cos x) = sin x
R
∴ sin x dx = − cos x + C
d
4. dx
(tan x) = sec2 x
R
∴ sec2 x dx = tan x + C
d
5. dx
(ex ) = ex
R
∴ ex dx = ex + C
d 1
6. dx
(ln x) = x
1
R
∴ x
dx = ln x + C
(iii) 4x5
Solution:
46
R R R R R
(i) (4x3 + 5x2 − 2x + 7) dx = 4x3 dx + 5x2 dx − 2x dx + 7 dx
5x3
= x4 + 3
− x2 + 7x + C
x4 +1
dx = (x2 + x−2 ) dx
R R
(ii) x2
x3 x−2+1
= 3
+ −2+1
+C
= 13 x3 − x−1 + C
5+1
4x5 dx = 4 x5+1 + C
R
(iii)
4x6
= 6
+C
4.2.1 Properties
If f (x) and g(x) are two integrable functions, k is some real number:
R R R
(i) [f (x) ± g(x)] dx = f (x) dx ± g(x) dx
R R
(ii) kf (x) dx = k f (x) dx
R
(iii) k dx = kx + C
R
(iv) 0 dx = C
To find the anti-derivative of such as an integral, we use problem solving strategy of introducing
something extra. The something extra is a new variable introduced say u to change from the
old variable x. Suppose that we let u be equals the expression under the root sign u = 1 + x2 ,
then the differential of u is du = 2x dx
Z √ Z √
∴ 2
2x 1 + x dx = 1 + x2 2x dx
√
Z
= u du
2 3
= u2 + C
3
2 3
= (1 + x2 ) 2 + C
3
47
We can therefore check the answer by using chain rule to differentiate the final function
d 2 2 23 2 3 1
(1 + x ) + C = (1 + x2 ) 2
dx 3 3 2
√
= 2x 1 + x2
In general, this standard method work for all integral that can be written in the form
Z
f (g(x))g 0 (x) dx
= F (u) + C
Z
= F 0 (u) du
or F 0 = f , we get
Z Z
0
f (g(x))g (x) dx = f (u) du
48
(ii) Let t = x2 + 1 so that dt = 2x dx, then it follows that 4dt = 8x dx
4t dt = 45 t5 + C
R 4
= 54 (x2 + 1)5 + C
du
= − 13 u4 du
R 2 4 R
x u − 3x 2
= − 15 u5 + C
= − 15 (1 − x3 )5 + C
(ii) √a21−x2 dx
R
R 1
(iii) 1+x 2 dx
Solution:
du
(i) Let u = x2 so that du = 2x dx and hence dx = 2x
sin u du 1
R R
2x
= 2
sin u du
= 21 (− cos u) + C
= − 21 cos x2 + C
dx
(ii) Let x = a sin θ such that dθ
= a cos θ and dx = a cos θ dθ
by substitution, we’ve
= √ 2a cos2 θ
R dx R
√
a2 −x2
dθ
a −a sin2 θ
√ a cos θ
R
= dθ
a2 (1−sin2 θ)
p
but (cos θ = 1 − sin2 θ), therefore
√ a cos θ 2 dθ = aa cos θ
R R
2 cos θ
dθ
a (1−sin θ)
R
=
dθ = θ + C
−1 x
∴ √adx
R
2 −x2 = sin a
+C
49
therefore by substitution, the integral becomes
R 1 R sec2 θ
1+x2
dx = 1+tan 2 θ dθ
Remarks:
√
1. In general, if the denominator of an integrand is in the form a2 − b2 x2 such as in example
4.3 (ii) above, for this substitute (a sin θ) for bx, when the integrand has a minus sign (−),
then substitute (a cos θ) for bx.
1
R
(vi) √4−9x 2 dx
R −1
(vii) √1−4x 2 dx
R 1
(viii) 1+9x 2 dx
d x d f df
(e ) = ex or if x = f is a function e = ef
dx dx dx
Example 4.4:
2 +4x
1. If y = e3x find y 0
2 +4x
y 0 = e3x (6x + 4)
√
2. Find y 0 if y = x3 e x
1 √ √
y 0 = x3 12 x− 2 e x + e x (3x2 )
50
√
2 x x
=x e √
2 x
+3
= 13 ef + C
= 13 e3x + C
R 2 +1
(iii) 4xex dx
df
let f = x2 + 1 such that df = 2x dx and dx = 2x
by substitution the integral becomes
R 2 R df
4xex +1 dx = 4xef 2x
R
= 2 ef df
= 2ef + C
2 +1)
= 2e(x +C
x −x ex −e−x
cosh(x) = e +e
R
Example 4.5: Given thatR 2
and sinh(x) = 2
, show that cosh x dx =
sinh x + C, hence, find cosh x sinh x dx.
Solution:
ex +e−x
R R
cosh x dx = 2
dx
= 12 [ex − e−x ] + C
= sinh x + C
−x −x
R R 1 x 1 x
cosh x sinh x dx = 2
(e + e ) 2
(e − e ) dx
= 41 (e2x − e−2x ) dx
R
= 41 12 e2x + 12 e−2x + C
= 14 12 (e2x + e−2x ) + C
= 18 cosh 2x + C
51
4.3.3 Natural Logarithm (ln x)
Recall that
d 1 d 1 df
(ln x) = or if x = f is a function (ln f ) =
dx x dx f dx
(i) y = ln(x2 − 4x + 8)
y0 = 1
x2 −4x+8
(2x − 4)
y0 = 1
2 cos 2x =
sin 2x
2 cos 2x
sin 2x
= 2 cot 2x
2
x +3
(iii) y = ln x2 −2
= ln(x2 + 3) − ln(x2 − 2)
y0 = 2x
x2 +3
− 2x
x2 −2
1
4.3.4 Integral of f (x) = x
We know that the derivative of y = ln x is x1 , hence given a function f (x) = x1 , the integral is
given by
Z
1
dx = ln |x| + C
x
R
(iii) tan x dx
Solution:
du
(i) Let u = 2x + 1 ⇒ du = 2 dx ⇒ dx = 2
= 12 u1 du
R
= 12 ln u + C
= 12 ln(2x + 1) + C
dt
(ii) Let t = x3 + 5 ⇒ dt = 3x2 dx ⇒ dx = 3x2
, therefore
52
6x2 6x2 dt
R R
x3 +5
dx = t
3x2
1
R
=2 t
dt
= 2 ln t + C
= 2 ln(x3 + 5) + C
sin x
R R
(iii) tan x dx = cos x
dx
du
let u = cos x ⇒ du = − sin x dx ⇒ dx = − sin x
, therefore
R sin x R sin x
cos x
dx = u
− du
sin x
R du
=− u
= − ln u + C
= − ln(cos x) + C
= ln(cos x)−1 + C
= ln(sec x) + C
(ii) x22x+1 dx
R
R
(iii) cot x dx
2
(v) (e3−2x + xe−3x ) dx
R
(vi) 2 sinh x4 dx
R
53
we can also re-write the above equation as
Z Z
f (x)g (x) dx = f (x)g(x) + g(x)f 0 (x) dx.
0
The above equation is the formula for integration by parts, it is perhaps easily remembered in
the following notation.
Let u = f (x), v = g(x), then their respective differentials are du = f 0 (x) dx and dv = g 0 (x) dx.
Then by substitution, the formula for integration by part becomes
Z Z Z
u dv = uv − v du, where v = g 0 (x) dx
Solution:
(i) Let u = x ⇒ du = dx
dv = sin x dx ⇒ v = − cos x
R R
by integration by parts u dv = uv − v du, we have
R R
x sin x dx = x(− cos x) − (− cos x) dx
R
= −x cos x + cos x dx
= −x cos x + sin x + C
(ii) Let u = ln x ⇒ du = x1 dx
dv = dx ⇒ v = x
R R
by integration by parts u dv = uv − v du, we have
ln x dx = x ln x − x( x1 ) dx
R R
R
= x ln x − dx
= x ln x − x + C
= x(ln x − 1) + C
(iii) Observe that t2 becomes simpler when differentiated, whereas et remain unchanged when
differentiated or integrated.
54
Let u = t2 ⇒ du = 2t dt
dv = et dt ⇒ v = et
R R
by integration by parts u dv = uv − v du, we have
R 2 t R
t e dt = t2 et − et 2t dt
R
= t2 et − 2 tet dt
R
by integration by parts again for tet dt, we have
R t R
te dt = tet − et dt
= tet − et + C
Let u = x ⇒ du = dx
x x
dv = e− 2 dx ⇒ v = −2e− 2
R R
by integration by parts u dv = uv − v du, we have
R −x x x
xe 2 dx = x(−2e− 2 ) − (−2e− 2 ) dx
R
x R x
= x(−2e− 2 ) + 2 e− 2 dx
x x
= x(−2e− 2 ) + 2(−2e− 2 + C)
x x
= x(−2e− 2 ) − 4e− 2 + C where C = 2C
(iii) xe−x dx
R
R
(iv) cos x sin x dx
R
(v) x2 e2x dx
R 4x
(vi) 3e x dx
55
4.3.6 Integration of Rational Function by Partial fraction
In this section, we show how to integrate any rational function (a ratio of polynomials) by
expressing it as a sum of simpler fractions called partial fractions that we already know how
2 1
to integrate. To illustrate the method, observe that by taking the fractions x−1 and x+2 to a
common denominator, we have
2 1 2(x + 2) − (x − 1)
− =
x−1 x+2 (x − 1)(x + 2)
x+5
=
x2 +x−5
if we reverse the procedure, we see how to integrate the rational function
p(x)
f (x) =
q(x)
where p(x) and q(x) are polynomials. It is therefore possible to express the rational function
f (x) as a sum of simple fractions provided that the degree of p(x) is less than the degree of q(x),
and such a rational function is called proper. But if the rational function f (x) is improper, i.e,
deg (p(x)) ≥ deg (q(x)), then we must take the preliminary step of dividing p(x) by q(x) using
long division until a remainder r(x) is obtained such that deg (r(x)) < deg (q(x)). The division
Statement is given by
p(x) r(x)
≡ s(x) +
q(x) q(x)
the two algebraic expressions above are equivalent, where s(x) and r(x) are polynomials. There
are three possible factors for the complex fraction.
This means that we can write q(x) = (a1 x + b1 )(a2 x + b2 )...(ak x + bk ), where no factor is
repeated and no factor is a constant multiple of another. In this case, the partial fraction
theorem states that there exist constants A1 , A2 , ..., Ak such that
r(x) A1 A2 Ak
= + + ... +
q(x) a1 x + b 1 a2 x + b 2 ak x + b k
1
Example 4.9: Express x2 −16
as a partial fraction.
Solution:
1 1
=
x2 − 16 (x + 4)(x − 4)
1 A B
= +
(x + 4)(x − 4) x+4 x−4
1 = A(x − 4) + B(x + 4)
56
Substituting x = 4, we’ve
1 = A(0) + B(x + 4)
1
B=
8
1 1 1
∴ = −
(x + 4)(x − 4) 8(x − 4) 8(x + 4)
Suppose that the first linear factor is repeated r times such that (a1 x + b1 )r occurs in the
factorization of q(x). Then instead of single term a1 A 1
x+b1
, the idea is to use
A1 A2 Ak
1
+ 2
+ ... +
(a1 x + b1 ) (a1 x + b1 ) (a1 x + b1 )r
x+1
Example 4.10: Express x2 (x−1)
as a partial fraction
x+1 A B C
= + + 2
x2 (x
− 1) x−1 x x
2
x + 1 = Ax + B(x − 1)x + (x − 1)
Substituting x = 1, we’ve
A=2
Substituting x = 0, we’ve
C = −1
3 = 4A + 2B + C
3 = 8 + 2B − 1
B = −2
x+1 1 2 1
= − − 2
x2 (x − 1) x−1 x x
57
(3) Quadratic Factors:
If Q(x) has the factors (ax2 + bx + c)r where b2 − 4ac < 0, then instead of the single
partial fraction, the following sum occur in the partial fraction decomposition of p(x)
q(x)
or
r(x)
q(x)
as the case may be
A1 x + B1 A2 x + B2 Ar x + Br
+ + ... +
(ax2 + bx + c)1 (ax2 + bx + c)2 (ax2 + bx + c)r
1−x+2x2 −x3
Example 4.11: Express x(x2 +1)2
as partial fraction
1 − x + 2x2 − x3 A Bx + C Dx + E
2 2
= + 2 + 2
x(x + 1) x (x + 1) (x + 1)2
Equating the coefficients from both sides yields the following system of equations
A+B =0
C = −1
2A + B + D = 2
C + E = −1
A=1
which has the solutions
A = 1, B = −1, C = −1, D = 1, E = 0
1 − x + 2x2 − x3 1 (x + 1) x
∴ 2 2
= − 2 + 2 .
x(x + 1) x x +1 (x + 1)2
Some integrals can only be evaluated using the technique of partial fraction, the concept is
illustrated via the following examples
1
R
Example 4.12: Find 1−x2
dx
1 = A(1 + x) + B(1 − x)
58
Substituting x = 1, we’ve
1
1 = 2A ⇒ A =
2
1 1
= ln(1 − x) + ln(1 + x) + C
2 2
1
= [ln(1 − x) + ln(1 + x)] + C.
2
x2
R
Example 4.13: Find x2 +3x+2
dx
(x2 + 3x + 2) −
−3x − 2
therefore, the integrand can be written as
x2 −3x − 2
2
≡1+ 2
x + 3x + 2 x + 3x + 2
−3x − 2 −3x − 2
=
x2 + 3x + 2 (x + 1)(x + 2)
Integration by partial fraction states that there exist constants say A and B such that
−3x − 2 A B
= +
(x + 1)(x + 2) x+1 x+2
1=A
4 = −B, ⇒ B = −4
59
x2 1 4
2
=1+ −
x + 3x + 2 x+1 x+2
x2
Z Z Z Z
1 4
∴ = 1 dx + dx − dx
x2 + 3x + 2 x+1 x+2
= x + ln(x + 1) − 4 ln(x + 2) + C
Suppose that the function is defined over an interval [a, b], then it follows that for the given
value x = a the integral will be F (a) + C, and for the given value x = b the integral will be
F (b) + C. Then the difference between the two values of the integral will be F (b) − F (a) for
which a < b, this difference is written as
Z b
f (x) dx = F (b) − F (a)
a
This is called the definite integral of f (x) with respect to x from the limit x = a to the limit
x = b. In another way, it can be express as
Z b
f (x) dx = [g(x)]ba
a
= g(b) − g(a)
Note: In definite Integral, there is no arbitrary constant of integration.
60
= [2(1)3 + 2(1)2 + 1] − 2(−1)3 + 2(−1)2 − 1]
= 5 − (−1) = 6.
R2
(iii) 1
(x + 3)2 dx
1. Evaluate the indefinite integral first and then substitute the limits, consider the following
example
R4√ R√
Example 4.15: Evaluate 0
2x + 1 dx = 2x + 1 dx]40
du
Solution: Let u = 2x + 1, du = 2 dx which implies that dx = 2
R√ R 1
since 2x + 1 dx]40 = (2x + 1) 2 dx]40
R 1
= 12 u 2 du]40
3
= 12 [ 23 u 2 ]]40
3
= 13 (2x + 1) 2 ]40
3 3
= 13 (9) 2 − 13 (1) 2
= 31 (27 − 1) = 26
3
2. Evaluating the indefinite integral by changing the limits of integration when the variable
is changed, this method is usually the most preferable
R1
(ii) −1 (2x − 1)(x + 1)2 dx
R3
(iii) 0 x21+9 dx
Solution:
−du
(i) Let u = 3 − 5x, du = −5 dx ⇒ dx = 5
when x = 1 ⇒ u = −2, and when x = 2 ⇒ u = −7
1 −7 1
R2 1 R
1 (3−5x) 2 dx = − 5 −2 u2
du
−7
= − 51 −2 u−2 du
R
61
h i−7
u−1
= − 15 −1
−2
therefore substituting limits we’ve
= 51 − 17 + 21 = 14
1
.
(ii) Let t = x + 1, dt = dx
when x = −1 ⇒ t = 0, and when x = 1 ⇒ t = 2, therefore we’ve
R2 3
R2 4
0
(2t − 3)t dx = 0
(2t − 3t3 ) dt
2
= 25 t5 − 43 t4 0
= 25 (2)5 − 34 (2)4 − 0
= 24 45 − 34 = 45 .
x
(iii) Let x = 3 tan t and dx = 3 sec2 t dt, such that tan t = 3
when x = 0 ⇒ t = 0, and when x = 3 ⇒ t = π4 , therefore we’ve
R3 1 R π 3 sec2 t
0 x2 +9
dx = 04 9+9 tan2 t
dt
R π sec2 t
= 13 04 sec 2 t dt
π
= 13 04 dt
R
π
= 31 [t]04 = π
12
.
62
Test Questions CBT
(a) x2 + 4x + 3
(b) 2x2 + 4x + 3
(c) 2x + 4x
(d) 2x2 + 4x − 3
(e) 2x − 4x + 3
63