MTS 241...
MTS 241...
MTS 241...
DEPARTMENT OF MATHEMATICS
BY
MODULE ONE
Real Valued Function of Real Variable
Recall that a function is a rule that establishes the relationship between two or more variables.
If X and Y are an arbitrary sets. For every x ∈ X there is assigned a unique element f (x) = y ∈ Y , then
f is called a function. This is written as f : X → Y , where the set X is the domain of the function and
Y is the codomain of the function. The value of f at x is written as f (x) and is called image or range
of the function. When the set X is actually a subset of Rn , then we say that f : Rn → Y is a function of
several variables (even if the dimension n is huge). If the set Y is R, the set of real numbers, then we say
that f : X → R is a real-valued function. The special cases of real-valued function of a single variable is
the primary topic of discussion in calculus I and graphical methods do enhance intuition on the attitude of
such functions.
Definition: A function whose range is a set of real numbers is called a real valued function. In other
words, it is a function that assigns a real number to each member of its domain.
Pictorial examples of real valued function:
A f
5
B
9
C
7
D
6
Set D 𝑆𝑒𝑡 𝑌 ⊂ ℝ
In the above example, every element in the set D is related to exactly one element in the set Y ⊂ R
The range = {5, 6, 7, 9}
The following are said to be real valued function since their range is the set of real numbers or some subset
Solution
The given function g(t) = 6t 2 + 5
At t = 0, g(0) = 6(0)2 + 5 = 5
At t = 1, g(1) = 6(1)2 + 5 = 29
At t = 3, g(3) = 6(3)2 + 5 = 59
Therefore, the domain= {0, 2, 3} and the range = {5, 29, 59}
Types of Functions:
(i) One -to - one (Injective) function: is the type of function that each element in the domain has a distinct
image in the co-domain. In another way, a function f : X → Y is said to be one-to- one or injective if
f
𝑎1
5
𝑎2
9
𝑎3
7
𝑎4
6
𝑆𝑒𝑡 𝐴 𝑆𝑒𝑡 𝐵 ⊂ 𝑅
For instance, Let f : R → R (R is a set of real numbers) be a function defined by f (x) = 3x + 1, is f one
Hence, f is injective.
(ii) Onto (Surjective)function: is a function that every element in the codomain has at least one pre-image
in the domain.
Example :Let f : R → R (R is a set of real numbers) be a function defined by f (x) = 3x +1, is f surjective?
Solution.
Let y ∈ R be arbitrary. Is there x ∈ R such that 3x + 1 = y
4
y−1 3(y−1)
Yes, set x = 3 , then 3x + 1 = 3 + 1 = y − 1 + 1 = y. Hence f is surjective.
(iii) Bijective function: a function f : X → Y is said to bijective if it is both injective and onto function.
Example: a function defined by f (x) = 3x + 1 is a bijective function since it is both one to one and onto.
(iv) Many -to- one function: A function is said to be many to one function if there are at least two elements
f (1) = (1)2 + 1 = 2
f (−1)2 + 1 = 2
f (2)2 + 1 = 5
f (−2)2 + 1 = 5 and so on
(v) Constant function: f : R → R defined by b = f (x) = D.a ∈ R.
Domain is f = R
Range f = {D}
(vi) Composite function: Let f : R → R, g : R → R defined by
f (x) = x2 + 1, g(x) = 2x + 5.
Find (i) (go f )(x) (ii) (go f )(0) (iii) (go f )(2) (iv) ( f og)(x) (v) ( f og)(3)
Solution.
(i) (go f )(x) = g[ f (x)] = g[x2 + 1] = 2(x2 + 1) + 5(by the definition of g)
⇒ 2x2 + 2 + 5 = 2x2 + 7
(ii) (go f )(0) = 2 × 02 + 7 = 0 + 7 = 7
(iii) (go f )(2) = 2 × 22 + 7 = +7 = 15
Exercises
(1). Let X,Y be any two sets, which of the following relations f : X → Y is a function? When f is a
function, determine whether it is injective, surjective or bijective.
(i) X = {2, 6, 8, 12},Y = {a, b, c}. f = {(2, a), (6, b), (12, c)}
(ii) X = {a, b, c, d},Y = {5, 12, 7, 10}. f = {(a, 7), (b, 12), (c, 10), (d, 5)
(iii) X = {6, 4, 7, 11},Y = {a, b, c}. f = {(6, a), (4, c), (7, b), (11, c)
5
Find (i) (go f )(0) (ii) (go f )(−1), (iii) ( f og)(x)(x > 0), (iv)(go f )(x)(x, 0)
(3). Let X = [−1, 1] and let f : X → R, g : X → R. h : X → R be defined by f (x) = sinx, g(x) =
sin(πx), h(x) = logx
Examine whether
(i) f is injective, surjective
(ii) g is injective, surjective
MODULE ONE
Review of Differentiation
Let the point A remain fixed, and let the point B move closer to A along the curve. As B moves closer to A
along the curve, 4x gets closer to zero. 4x is called the increment of x, and is read ’δ x’. As B approaches
A along the curve, the slope of the secant approaches the slope of the tangent at A.
If 4x is made to approach zero, the function
f (x1 +4x)− f (x)
m= 4x is called the gradient function of y = f (x)
The Derivative of a function
Recall that the gradient of the curve y = f (x) is given by
f (x+4x)− f (x)
m1 = 4x
The expression m1 is the gradient of the secant AB. As B moves closer to A, 4x becomes smaller and it
tends to zero. Let m2 be the gradient of the tangent at a point A. As B approaches A along the curve, m1
tends to m2 .
In other words, the gradient of the secant AB tends to the gradient of the tangent to the curve at A. We say
that m2 is the limiting value of m1 as 4x tends to zero. This limiting value is written as
f (x1 +4x)− f (x)
lim 4x
4x→0
and it is denoted simply as f 0 (x). Thus
f (x1 +4x)− f (x)
f 0 (x) = lim 4x
4x→0
Consider again the function y = f (x). A small increment in x will cause a small increment in y. If we
represent the small increment in x by 4x, then we can also represent a small increment in y by 4y. Thus
if y = f (x), then y + 4y = f (x + 4x)
7
As B moves closer to A, 4x → 0.
If m1 is the gradient of the secant AB and m2 is the gradient of the tangent at A. m2 is the limiting value of
4y
m1 as 4x → 0. m2 = lim 4x
4x→0
4y dy dy
The expression m2 = lim 4x is denoted by dx , which is read 0 dee y dee x0 . dx is the limiting value of the
4x→0
slope of the secant AB as B gets closer to A.
The process of finding the derivative of a function is called differentiation. The notations which are
commonly used for the derivative of a function are:
the gradient function of the curve y = f (x) or the rate of change of y with respect to x.
Differentiation by First Principle
The technique adopted in the last section in finding the derivative of a function from the consideration of
Solution
f (x) = x2
f (x + 4x) = (x + 4x)2 = x2 + 2x 4 x + (4x)2
Solution.
y = x3
y + 4y = (x + 4x)3 = x3 + 3x2 4 x + 3x(4x)2 + (4x)3
8
4y = (x + 4x)3 − y = (x + 4x)3 − x3
Given y = ax + b
y + 4y = a(x + 4x) + b = ax + a 4 x + b
4y = ax + a 4 x + b − (ax + b)
= ax + a 4 x + b − ax − b = a 4 x
4y
Therefore 4x =a
dy 4y dy
So that dx = lim 4x =a⇒ dx =a
4x→0
1
(iv) Find the derivative of y = x
Solution.
1
y= x
1
y + 4y = x+4x
1 1
4y = x+4x −y = x+4x − 1x
x−(x+4x) −4x
= (x+4x)x = x(x+4x)
4y
lim = − x12
4x→0 4x
dy 1
Hence, dx = x2
In what follows, we are going to prove some theorems that gives basic formulas for differentiation.
dy
Theorem 1: If y = xn , then dx = nxn−1
Proof. Let y = xn
y + 4y = (x + 4x)n
= xn + nxn−1 4 x + n(n−1)
1.2 x
n−2 (4x)2 + ... + (4x)n
4y = xn + nxn−1 4 x + n(n−1)
1.2 x
n−2 (4x)2 + ... + (4x)n − xn
= nxn−1 4 x + n(n−1)
1.2 x
n−2 (4x)2 + ... + (4x)n
4y
4x = nxn−1 4 x + n(n−1)
1.2 x
n−2 (4x)2 + ... + (4x)n−1
dy 4y
Therefore, = lim = nxn−1
dx 4x→0 4x
dy
Hence if, y = xn , then dx = nxn−1
9
Examples
(i) y = axn :
dy
dx = naxn−1
(ii) y = −2x3 :
dy
dx = −2.3x3−1 = −6x2
dy
(iii) 1
x3
= x−3 : dx = −3x−3−1 = −3x−4 = − x34
Theorem 2: (The Derivative of a sum ) Let f ,U and V be differential functions of x such that f (x) =
Solutions.
(i)Let y = 2x3 − 5x2 + 2
dy
Therefore, dx = 6x2 − 10x
The above formula is called Chain Rule and the prove is left as Exercise for the reader.
Examples. Find the derivative of each of the following:
p
(i) y = (3x2 − 2)3 (ii) y = (1 − 2x3 ) (iii) y = (6−x5 2 )3 .
Solutions.
(i) Given y = (3x2 − 2)3 , Let u = 3x2 − 2, then y = u3
10
dy du
du = 3u2 , dx = 6x
dy dy du
dx = du . dx = 3u2 .6x = 18xu2
Substituting for u, we have
dy
dx = 18x(3x2 − 2)2
p
(ii) Given y = (1 − 2x3 ). Let u = 1 − 2x3 . Then y = u 12
dy 1
dx = 21 u− 2 = 1
√ , du
2 u dx
= −6x2
dy dy du 1 3x 2
dx = du . dx = √
2 u
, −6x2 = √
u
Let u = 6 − x2 , Then y = 5
u3
= 5u−3 .
dy
dx = −15u−4 , du
dx = −2x
dy dy du
dx = du . dx = −15u−4 . − 2x = 30xu−4 = 30x
u4
The above formula is called Product Rule. Examples: Find the derivative of the following;
√
(i) y = (3 + 2x)(1 − x) (ii) y = (1 − 2x + 3x2 )(4 − 5x2 ) (iii) y = x(1 + 2x)2
Solutions.
= (3 + 2x)(−1) + (1 − x)(2)
= −(3 + 2x) + 2(1 − x)
= −3 − 2x + 2 − 2x
dy
dx = −1 − 4x
(ii) y = (1 − 2x + 3x2 )(4 − 5x2 ). Let u = 1 − 2x + 3x2 , v = 4 − 5x2
du dv
dx = −2 + 6x, dx = −10x
11
Therefore
dy dv
dx = u dx + v du
dx
u
Let y = v where u and v are functions of x and v(x) 6= 0 for all x
Solutions.
1+x2
(i) y = 1−x2
. Let u = 1 + x2 , v = 1 − x2
du dv
dx = 2x, dx = −2x
dy v du du
dx −u dx
dx = v2
dy
S/N y dx
1 cosx −sinx
2 sinx cosx
3 tanx sec2 x
6 cotx −cosec2 x
1
7 loga x x loga e
1
8 ln x, x
9 ax ax lna
10 ex ex
11 eax aeax
12 cosh x sinh x
13 sinhx coshx
14 tanhx sech2 x
15 tan−1 x 1
1+x2
−1
16 cot −1 x 1+x2
17 cos−1 x √−1
1−x2
18 sin−1 x √ 1
1−x2
19 sec−1 x √1
x x2 −1
20 tanh−1 x 1
1−x2
21 cosh−1 x √ 1
x2 −1
22 sinh−1 x √ 1
x2 +1
Table 1.0
Examples: Find the derivative of each of the following;
14
3
(a) cos 2x (b) sec 6x (c) cosec 4 x2
Solutions.
(a) Given that y = cos 2x, let u = 2x, ⇒ y = cos u.
Therefore by chain rule,
dy dy du
dx = du . dx = −sin u.2 = −2sin 2x
(b) Let y = sin 13 x
dy
dx = cos 31 x. dx
d 1
( 3 x) = 13 cos 13 x
(e) y = sinh 3x
dy d
dx = cosh 3x dx (3x) = 3cosh 3x
Application of Differentiation
The differential Calculus is a powerful tool for solving problems or determining the maximum or minimum
values of a function. The business man wants to maximize profit and minimize cost, the government deter-
mines the tax rate that optimize tax revenue. Hence, the nature determines many maximum or minimum
problems.
Definition: Turning points are those points along the graph of the function which have a zero gradient or
the points with horizontal tangents to the graph of the functions.
dy
It is where the gradient of the curve vanishes. i.e, where dx =0
d2y
(2) For maximum, dx2
<0
Example: A monopolist’s revenue function is R = 240x + 57x2 − x3
Find the output level that gives maximum revenue. What is the maximum revenue?
Solution.
R = 240x + 57x2 − x3
dR
dx = 240 + 114x − 3x2
dR
At turning point dx = 0 i.e,x2 − 38x − 80 = 0 ⇒ (x − 40)(x + 2) = 0 ⇒ x = 40 or x = −2
Integration
Recall that during differentiation, we multiplied the power by the function and subtract 1 from the power.
But in integration, we add 1 to the power and divide the function by the addition of power and 1. That is,
in carrying out integration, the first step is to determine whether the function to be integrated fits one of the
basic integration formula. If it doesn’t, the next step is to try convert the function into a form to which the
basic formula may be applied.
In determining which rule is applicable, try the power rule first. This rule states that :
n+1
x = xn+1 .
R n
5+1 6 x6
Examples : Evaluate 3x5 , ⇒ 3. x5+1 = 3. x6 = = 12 x6
R
2
Indefinite Integral: We know that after the integration of an indefinite integral, there is need to add a
constant of integration as follows;
n +1
x = xn+1
R n
+C where C is a constant
Definition: A function F is called the integral of a function f on an interval if F 0 (x) = f (x) for every
value of x ∈ I.
If F is defined by F(x) = 4x2 + x2 + 5, then F 0 (x) = 12x2 + 2x. Thus, if f is the function defined by
f (x) = 12x2 + 2x, we say that f is the derivative of F and that F is an integral of f .
In general, if a function F is an integral of a function f on an intervals I and G defined by
G(x) = F(x) +C
16
where x1 < x2 such that f (x1 ) 6= f (x2 ). Because, by hypothesis, f 0 (x) = 0 for all x ∈ I, then f 0 (x) = 0 for
all x ∈ [x1 , x2 ]. Hence, f is differentiable at all x ∈ [x1 , x2 ] and f is continuous on [x1 , x2 ]. Therefore, the
hypothesis of the mean theorem is satisfied, and we conclude that there exists a number c ∈ (x1 , x2 ), such
that
f (x1 )− f (x2 )
f 0 (c) = x1 −x2 (1)
But f 0 (x) = 0 for all x ∈ [x1 , x2 ], then f 0 (c) = 0, and from (1) it follows that f (x1 ) = f (x2 ). Hence a
contradiction, and so f is constant on I.
Theorem 2: If f and g are functions such that f 0 (x) = g0 (x) for all values of x in the interval I, then there
is a constant k such that
f (x) = g(x) + K for all x ∈ I
R cosax
6. sinaxdx = − a +C, a 6= 0
R sinax
7. cosaxdx = a +C, a 6= 0
R ln|secax|
8. tanaxdx = a +C, a 6= 0
9. 1x dx = ln|x| +C
R
R ax 1 ax
10. e dx = a e +C, a 6= 0
The above formulas can be seen as Integration of basic functions. Some complicated functions could be
done knowing fully well the Integrals of these basic functions.
R
Example. Evaluate (3x + 5)dx
17
Solution.
R R R
(3x + 5)dx = 3 xdx + 5 dx by formula (4)
2
= 3( x2 +C1 ) + 5(x +C2 ), by formula (5) and (1).
= 23 x2 + 5x + (3C1 + 5C2 )
= 32 x2 + 5x +C
where C = 3C1 + 5C2 . C is also a constant, since 3C1 and 5C2 are also arbitrary constants.
Integration by Partial Fractions
Our Concern here will be on rational functions which could be resolved by partial fractions into sum of
integrals of the forms we have seen so far.
R 7x+8
Expressions of the form 2x2 +11x+5
dx do not appear in our list of standard integral, but do occur in many
mathematical applications.
So, the above equation can be expressed in partial fractions which are simpler to solve
7x+8 7x+8 3 1
2x2 +11x+5
dx = (x+5)(2x+3) dx = x+5 + 2x+3
R 3x2 +18x+3
Example. Evaluate 3x2 +5x−2
dx
Solution. Since the integral’s denominator is not greater than that of the numerator, we divide out so that
3x2 +18x+3
3x2 +5x−2
dx = 1 + 3x13x+5
2 +5x−2
13x+5 4 3
(3x−1)(x+2) = 3x−1 + x+2
13x+5 4 3
Therefore 3x2 +5x−2
= 1 + 3x−1 + x+2
13x+5
= dx + 34 3x−1
4 1
R R
Hence, 3x2 +5x−2
dx dx + 3 x+2 dx
For instance x2 ln|x|dx.ln|x| is not the derivative of x2 neither is x2 the derivative of ln|x|.
R
Solution.
18
x3
From x2 ln|x|dx, we set u = ln|x| and dv = x2 dx, and obtain du = 1x dx and v = x2 dx =
R R
3
Method of Substitution
Suppose we are interested in finding a function of the form
R √
2x 1 + x2 dx (3)
integration.
Theorem. Let g be a differentiable function of x, and let the range of g be an interval I. Suppose that f is
a function defined on I and F is an anti derivative of f on I. Then if u = g(x),
f (g(x)g0 (x))dx =
R R
f (u)du = F(u) +C = F(g(x)) +C
The proof of the above theorem is left as Exercise to the reader.
Definite Integral
Rb
a f (x)dx = lim ∑n f (ξi ) 4i x
k4k→0i=1
if this limit exists.
R4√
Example. Evaluate 2x + 1dx.
0
R√ 3
Solution. We know that 2x + 1dx = 31 (2x + 1) 2 . Hence
R4√ 3
0 2x + 1dx = 13 (2x + 1) 2 |40
3 3
= 31 (9) 2 − 13 (1) 2
= 13 (27 − 1)
26
= 3
value theorems given again by the two famous French mathematicians Cauchy and Lagrange. Lagrange
proved a result only by using the first two conditions of Rolle’s theorem.
Hence, it is called Lagrange’s Mean-Value theorem. Cauchy gave another mean-value theorem in which
he used two functions instead of one function as in the case of Rolle’s theorem and Lagrange’s Mean-
Value theorem. You will see later that Lagrange’s theorem is a particular of Cauchy’s mean value theorem.
Finally, we discuss the generalised form of these two theorems. We begin with Mean-Value theorem given
by J. L. Lagrange.
Lagrange’s Mean-Value Theorem
If a function f : [a, b] → R is
Now the function φ , being the sum of two continuous and derivable functions is itself
(i) continuous on [a, b]
(ii) derivable on ]a, b[, and
So φ = φ 0 (c) = f 0 (c) + A
f (b)− f (a)
which means that f 0 (c) = −A = b−a
In the statement of the above theorem, sometimes b is replaced by a + h, so that the number c between a
20
and b can be taken as a + θ h where 0 < θ < 1. According them, the theorem can be restated as follows:
Let f be defined and continuous on [a, a + h] and derivable on ]a, a + h[, then there exists θ ,0 < θ < 1 such
that
f (a + h) = f (a) + h f 0 (a + θ h).
Certain important and useful results can be deduced from Lagrange Mean-Value theorem.
We state and prove these results as follows:
You already know that derivative of a constant function is zero.
Conversely, if the derivative of a function is zero, then it is a constant function. This can be formalised in
the following way:
I) If a function f is continuous on [a, b], derivable on ]a, b[ and f 0 (x) = 0 for all x ∈]a, b[, then f (x) = k for
i) continuous on [a, λ ]
ii) derivable on ]a, λ
Therefore, by Lagrange’s mean value theorem, c ∈]a, λ [ such that
( f (λ )− f (a))
f 0 (c) = (λ −a)
f 0 (c) = 0
f (l) = f (a) ∀ l ∈ [a, b]
But l is any arbitrary point of [a, b].
i.e. ⇒ h2 = 2θ h2
which gives θ = 12 , whatever a, h, l, m, n may be.