MTS 241 (First)
MTS 241 (First)
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. i.e., xn =
R
xn+1
n+1
+1 5 6 x6
Examples : Evaluate 3x5 , ⇒ 3. x5+1 = 3. x6 = = 21 x6
R
2
and G is also an anti-derivative of f on the interval I. Infact, we shall show below that if F is any particular
integral of f on an interval I, then all possible integral of f on I are defined by F(x) + C where C is an
arbitrary constant.
We have various integration functions as shown below;
Indefinite Integral: We know that after the integration of an indefinite integral, there is need to add a
16