Unit-4 Real Functions
Unit-4 Real Functions
Unit-4 Real Functions
STRUCTURE
4.1 Introduction
Objectives
4.2 Algebraic Functions
Algebraic Combinations bf unctions
Notion of an Algebraic Function
Polynomial Functions
Rational Functions
Irrational Functions
I 4.3 ~ranscendentalFunctions
Trigonometric Functions
Logarithmic Functions
Exponential Functions
4.1 INTRODUCTION
The concept of a function has undergone many refinements. With the advent of Set
Theory in 1895, this concept was modified as a correspondence between any two non-
empty sets. Given any twa non-empty sets S and T, a function f'from S into T,
denoted as f: S 4 T, defines a rule which assigns to each x E S, a unique element
' Leonard Eulcr '
y-ET. This is expressed by writing is y =.f (x). This definition, as you will recall, was
given in Section 1.2. A function fi S -4-
T is said to be a
k be same fixed real number. Then the scalar multiple of 'f' is a function
kfS -+R defined by
(kf (x) = k. f(x), 9 x E S.
This is also called the scalar multiplication.
DEFINITION 4: QUOTIENT O F TWO FUNCTIONS
Let f: S R and g: S 'R be any two functions such that g(x) # 0 for each
-+
-
x in S. Then s function!: S + R defined by
g
(t) ----&
( x ) = f(x) V x E S
EXERCISE 2)
Draw the.graph of a constant function. Draw the graph of the zero function.
The functions which are not rational are known as irrational functions. A typical
example of an irrational function is the square root function which we define as
follows:
DEFINITION 7: SQUARE ROOT FUNCTION
Let S be the set of non-negative real numbers. A function f: S
f(x) = 6 , - vx E S
- R defined by
EXERCISE 3)
Draw the graph of the function f(x) = &for x L 0.
-.
Polynomial functions, rational functions and the square root function are some of the
examples of what are known as algebraic functions. An algebraic function, in general,
is defined as follows
DEFINITION 8: ALGEBRAIC FUNCTION
An algebraic function f: S "R is a function defined by y = f(x) if it satisfies
identically an equation of the form
....
p o ( ~ ) y " + p , ( X ) y n - ' + +p.-,(x) y + p , ( x ) = O
where p (x), pl (x), ....p.-I (x), p. (x) are Polynomials in x for all x in S and n is a
positive integer.
EXAMPLE 2: Show that f: R 'R defined by
is an algebraic function.
Solution
Let y = f(x) =
d x 2- 3, +2
. JiFT
Then (4 x-1) y2- (x2-3x + 2) = 0
Hence f(x) is an algebraic function.
In fact, any function constructed tiy a finite number of algebraic operations (addition,
subtraction, multiplication, division and root extraction) on the identity function and
the constant function, is an algebraic function.
EXAMPLE 3: The functions f : R -+ R defined by
EXERCISE 4)
Verify that a function f: R "R defined by
f(x)= m x
i s an algebraic function.
You are quite familiar with the trigonometric functions from the study of Geometry
and Trigonometry. The study of Trigonometry is concerned with the measurement of
the angles and the ratio of the measures of the sides of a triangle. In Calculus, the
trigonometric functions have an importance much greater than sirpply their use in
relating sides and angles of a triangle. Let us review the definitions of the
trigonometric functions sin x, cos x and some of their properties. These functions
form an important class of real functions.
Consider a circle x2 t y2 = r 2 with radius r and centre at 0.Let P be a poii~ton the
circumference of this circle. If 8 is the radian measure of a central angle a t the centre
of the circle as shown in the Figure 1.
Real Bunctions
then you know that the lengths of the arc AP is given by
s = 8r.
You already know how the trigonometric ratios sin 0, cos 0 , etc., are defined for an angle
. measured in degrees or radians. We now define sinx, cos x, etc., for x ER.
Q
If we put r = 1 in above relation, then we get 0 = s. Also the equation of circle beconies
x1 + y 2 = I . This, as you know,, is the Unit Circle. Let C represents this circle with centre
0 and radius 1. Suppose the circle meets the x-axis at a point A as shown in the Figure
2.
Fig. 2
' Through the point A = (1,O); we draw a verticle line labeled as t-axis with origin at A and
positive direction upwards. Now, let t be any real number and we will think of this as a
point on this verticle number line i.e., t-axis.
Imagine this t-axis as a line af thread that can be wrapped around the circle C, Let
p(t) 7 (x, y) be the point where 't' ends up when this wrapping takes place. In other
words, the line segment from A to point (t, 0) becomes the arc from A to P, pdsitive or
negative i.e., counterclockwise or clockwise, depending on whether t > 0 or t c: 0. Of
course, when t = 0, P = A. Then, the trigonometric functions 'sine' and 'cosine', for
arbitrary t ER,are defined by
s i n t = s i n e = y, and c o s t = c o s e = x,
where '8' is the radian measure of the angle subtended by the arc AP at the centre of the
circle C. More generally, if t is any real number, we may take (0 I8 5 27c) to be the angle
(rotation) whose radian measure is t. It is then clear that
You can easily see that as 6 increases from '0' to d 2 , PQ increases from 0 to 1 and OQ
decreases from 1 to 0: Further, as 6
RP~B
Yclmbtrs and Functions a
increases from -
2
to n; P Q decreases from 1 to 0 and O Q decreases from 0 to - 1,
3x
Again as B increases from n to , PQ decreases from 0 to - 1 and O Q
2
3a
increases from - 1 to 0. As B increases kom - to 217. O Q increases
2
-
from 0 to 1 and PQ increases from 1 to 0. The graphs of these functions take the
shapes as shown in Figure 3.
L
!-
= sins
y 7 cos x
Frg. J I
I
is called the sine of x. We often write y = sin x. I
I
DEFINITION 10: COSINE FUNCIION
A function fi R -+ R defined by I
f(x) = cos x, V x ER I
I
is called the cosine of x and we write y = cos x.
i
74 I
i
I
Note that the range of each of the sine and cosine, is [- 1, 11. In terms of the real Kca! F~~nctions
fLinctions sine and cosine, the other four trigonometric functions can be defined as
follows:
f(x) = tan x =
sin x
- , cos x # 0, +Y' x E S = R - {(2n + 1) T]
2
is called the COS
If sin -
X 1-X:
= 0, then -
XI-X?
= O , f 7r, + 2 ~ ....
,
2 2
If cos -
X I + X:
2
=O, then-
2
x,+x.
=* Tr
2
3Tr
-, f - ,
2
.,,.
i s , then x, + x, = + x .
X
Since x,,x, E[ - - ,
2
X 'IC
therefore, x, = x2= - or x, = x, = --
2 2
Hence(x,) = f(x,) 3 x, = x,, which proves that f is one-one. Then function f(x) = sin x
dsfined as such, is not onto because you know that the range of sin x is [- 1, 11 # R.
y = tan x
I
Fig. 4 t i )
Fig. 4 (iii)
f(x) = sin. x, V x E
Show that the finctiol~sare one-one. Under what conditions the function are one-one and
onto?
Refer to the graph of f(x) = sin x in Fig. 3. The x-axis cuts the curve y = sin x at the
points x = 0, x = x , x = 2.x,....... This shows that function f(x) = sin x is not one-one.
However, we have already shown in Example 5 that if we restrict the domain of
f(x) = sinx to the interval [-n/2, 71/21, then the functio~l
f [--
7t
-1x -+[- 1, 11 defined by
2 ' 2
71 71
f(x) = sinx, --
2 1x5- 2
is one-to-one as well as onto. Hence it will have the inverse. The inverse function is
Be careful about the notation
used.The superscript - 1 that called the inverse sine of x and is denoted as sin x. In other words,
appears in y = sin-' is not y = sin-' x o x = sin y,
an exponent, but is Lhe
71 7t
symbol f' used to denote the where -- 5 y 2 - and -1 2 x 2 1.
inverse of a function f. Two 2 2
I avoid this, notation y =
,, Thus, we have the following definition:
I ' arcsin, illstead of =
' 1 x is used sometimes.
DEFINlTION 11: INVERSE SllVE FUNCTION
'rt
A function g : [-I, 1) -> [--
2
, -12TK defined by
where 0 I y 5 7~ and -1 5 x I I .
n: .n
f(x) = tan x, - -
2
<x < -
2
is one-one and onto. Hence it has an inverse. The inverse function is called the inverse
tangent of x and is denoted by tan-, x (or by arctan x). In other words,
y = tan-' x a x = tan y,
EXERCISE 6)
Define the inverse cotangent, inverse secant and inverse cosecant function. Specify their
domain and range.
Now, before we proceed to define the logarithmic and exponential functions, we need the
concept of the monotonic functions. We discuss these fullctions as follows:
Now, for any y ~y,2 E T , we have yl= f(xl), y2 = f(xz). If y~ < yz, then we claim XI < XZ.
Indeed if X I 2 x2, then f (xl) 2 f(x2) (why?).
This implies that y, 2 y2 which contradicts that yl < y2.
Hence yl < yz =>XI < xz =>f (yl)< f-' (y2)
-'
which shows that f is strictly increasing.
You can similarly solve the following exercise for a strictly decreasing function:
EXERCISE 7)
Let f: S ' T be a strictly decreasing function such that f(S) = T. Show that f is
-':
invertible and f T ' S is also strictly decreasing.
log x = J - dta P
I t
1
In the Figure 5, log x represents the area between the curve f(t) = - X - Axis and
9
t
d ;r. F,..; 0 < x < 1, we define
the two ordinates.at 1 ; ~ s at
1 o g x = - J - I dt
x t
This means that for O < x < 1, log x is the negative of the area under the graph of
1
f(t) = - X - Axis and the.twc3 ordinates at x and at.1
?P
X.
Fig 6 '
The logarithmic function defined here is called the Natural logarithmic function. For
+
any x > 0, and for any positive real number a 1, we can define
log x
log.,*- =
!
-
log a
This function is called the logarith,mic function with respect to the base a,.
If a = 10, then this function is c a l l ~ dthe common logarithmic funktion. 811
Fig.
Logarithmic function to the base a has the following properties
( i ) log, ( ~ 1 ~ x=
2 log,
) XI + log, xz
By the definition of log x, we see that log 1 = 0 and as xbecomes larger and larger,
1
the area covered by the curve f(t) = X - axis and :he ordinates at 1 and x,
t
becomes larger and larger. Its graph is as shown in the Figure 8,
You already know what is meant, by inverse of ;l funcion. You had also seen in Unit 1
that if f is 1 - 1 and onto, then f is invertible. Let us ?ply that study to logarithmic
function. I
I
(ii) a > 1
Fig. 9
-
The Exp (x) satisfies the following properties
+
(i) Erp (x y) = Exp x Exp y
(ii) Exp (x - y) = Exp x/Exp y
(iii) (Exp x)"= Exp (nx)
(iv) Exp (0) = 1
I.*
We now come t o define ax for a > 0 and x any real number. We write
ax =-E.xp (x log a)
I (iii) (ax)Y= a xY
, (iv) ax b x = (ab)x,a > 0, b > 0.
Denote E (I) = e, so that log e = 1. The number e is an irrational number and its
approximation say upto five places of decimals is 2.71828. Thus
-
ex = Exp (x log e) = Exp (x).
I Thus Exp (x) is also den,oted a s e x and ye~writefor each a > 0, a" exlog a
EXAMPLE 8: Plot the graph of the function I: R -+ R defined by f(x) A 2'.
' The required graph takes the shape as shown in the Figure 10.
Fig. 10
- r
EXERCISE 8)
1
Show the graph off: R 'R defined by F(x) = ( - )"
2
1. Identity Function
We have already discussed some of the special functions in Section 4.2. For example,
the Identity function i : R + R, defined as i (x) = x, V x E R has already been
discussed as an algebraic function. However, this function is sometimes, referred to as
a special function because of its special characteristics, which are as follows:
(iv) The graph of the identity function is a straight line through the origin which
forms an angle of 45' along the positive direction of X-Axis as shown in the
Figure 11.
84
il
Real F ~ ~ n c l i o ~ ~ s
Fig. 11
2. .periodic Function
You know that
+ +
sin (27r x) = sin (4n x) = sin x,
tan (IT + x ) = tan (27r-t x) = tanx.
This leads us to define a special class of functions, known as Periodic functions. All
A function f: S
that
-
trigonometric functions belong to this class.
R is said to be periodic if there exlsts a positive real number k such
+
f(x k) = f(x), tf x ES
where S C R.
The smallest such positive number k is called the period of the function.
You can verify that the functions sine, cosine, secant and cosecant are periodic each
with a period 2n while tangent and cotangent are periodic functions each with a
period IT.
EXERCISE 9)
F'ind the period of the function f where f(x) = I sin3 xl
-<.
3. Modulus Function
The modulus or the absolute (numerical) value of a real number has already been
defined in Unit 1. Here we define the modulus (absolute value) function as follows:
Let S be a subset of R. A function f: S R defined by
f(x)= 1x1, v x E S
is called the modulus function.
In short, it is written as ~ d function.
d
You can easily see the following properties of this function:
(i) The domain of the Modulus function may be a subset of R or the set R itself.
,
(ii) The range of this functionI is a subset of the set of non-negative real numbers.
(iii) The ~ o d u l ' ufunction
s I: R R is not an onto #unction. (Check why?).
(iv) The Modulus function f: R "R is not one-one. For instance, both 2 and - 2 in
4. Signum Function
A fuqction'kR ' R defined by
x when x # 0
x when x = 0:
or equivalently by:
-lifx<O
1 if x > 0.
is called the signum function. It is generally mitten as sgn (x).
Its range set is {-I, 0, I}. Obviously sgn x is neither one-one nor onto. The graph of
sgn x is shown in the Figure 13,
5. Greatest Integer Function Real Functioris
Consider the number 4.01. Can you find the greatest integer which is less than or equal
to this number? Obviously, the required integer is 4 and we write it as [4.01] = 4.
Similar.ly, ifthe syrnbol [x] denotes the greatest integer contained in x then w e have
[3/4] = 0, [5.01] -5,
[-.OO:i] = -1 and [-3.961 = -4.
Based on these, thc greatest integer function is defined as follows:
A function f: R -+ R defined by
f(x) = 1x1, V x ER,
where [x] is the largest integer less than o r equal to x is called the greatest integer
function:
The following properties of this function are quite obvious:
(i) The domain is R and the range is the set Z of all integers.
(ii) The function is neither one-one nor onto.
(iii) If n is any integer and x is any real number such that x is greater than or equal to
n but less than n + 1 i.e., if n S x < n + 1 (for some integer n), then [x] = n i.e.,
The graph of tile greatest integer function is shown in the Figure 14.
--C
I I I I I I ( I o , I I I I I
-9 -8 -7 -6 -5 -4I I
-3 -2 - II
I
I 1 2I 3I 4 I 5 I 6 I7 8I 9I C
x-axis
Fig. 14
I
EXERCISE 10)
Test whetlher or not allre function f: R + R defined by f(x) = x-[x] M x E R, is
psddic. PB i h m9h d its psimi.
-
Suck a function is called an add function.
Now,consider a function f:R R defined as
f(x) = x2 V x E R
Then changing x to -x we get
q-x) = (-x)~= x2 = f(x)
Such a function is called a n even function.
The definitions of even and odd functions are as follows:
A function fi R + R is called even if f.( - x) = f(x), tf x ER.
It is callcd odd Pf f(- x) = - f(x), tf x E R
EXAMPLE 7: Verify whether the function P: R "R defined by
(i) f(x) = s i d x + em32x
qx) = \I- - JZ
are even or odd.
+
SOLUTION: (1 f(x) = sin2 x cos3 2x. V. x € R
-I +
=> (-X) = sin Z(-x) cos 3
2 (-x)
+ 3
= sin x cos 2x = f(x), tf x E R
=> f is an even function.
(ii) fix) =
=> P(-x) =
f is an odd function.
EXERCISE 11)
Dct wbkboftbefdlowiug
(iii) a l n x , c ~ x , ~ x ,
(iv) f(x) = -
x-4
x2- 9
~ftxER,xC(-3,3)
In Unit 2, you were introduced to the notion of a bounded set, upper and lower
bounds of a set. Let us now extend these notions to a function.
You know that if I: S R is a function, (S C R), then
-+
{Kx):x €s], -
is called the range set or simply the range of the function f.
-
A function 18 mid io be bounded if iti I*age-h bounded.
Let f: S R be a function. It is said to be bounded above #$here kxists a real
number K such that
f ( x ) l K. Vx ES
The number K is called an upper bound of It. The function f is said to be bounded I
below if there exists a number.k such that 1
I
a R X ) ~ ~ ~ X ' E S I
The number k je called a lower bound of f. .-
- - .--
I
1
4 s
A function I:'S R, which is bounded above as well as bounded below, is said to be
+
bounded. This implies that there exist two real numbers k and K such that
kSf(x)SKVxES.
A function may be bounded above only or may be bounded below only or neither
bounded above nor bounded below.
RecalI that sin x and cos x are both bounded functions. Can you say why? It is
-
because of the reason that the range of each of these functions is [-I, 11.
EXAMPLE 8: A function fi R R defined by
* 2- -
(i) f(x) = - x , tr x E R is bounded above with 0 as an upper bound
(Ii) f(x) = x , q x 1 0 is bounded below with 0 as a lower bound
(i) f )= for 1x1 5 1 is bounded because If(r)( 5 l for 1 rl 5 1.
Try the following 'exercise.
EXERCISE 12)
Test which of the following functions with domain and co-domain as R are bounded
and unbounded:
(i) f(x) =: tan x
(W f(x) = 1x1
(iii) f(x).= ex
(iv) f(x) = log x
EXERCISE 18)
Suppose t:S 4 -Rand g: S -+- R are any bounded functions on S. h a v e that f
+ g aqd'f. g are also bounded functions on S.
4.5 SUMMARY
In this unit, we have discussed various types of real functions. We shall frequently use
these functions in the concepts and examples to be discussed in the subsequent units
throughout the course).
-
In Section 4.2, we h a v e r o d u c e d the notion of an algebraic function
--- and its varioua
types. A function f: S ---+ R ( S C R) defrned as y = f(x), Y x E S is said to be
algebraic if it satisfies identically an equation of the form
PO (x) y"+ + + + +
PI (x) Y"" p2 (x) yn-2 .... P(X)Y pn (x) = 0,
where p, (x), pl (x), ...., p, (x) are polynomials in x for all
x € S and n is a positive integer. In fact, any function constructed by a finite number
of algebraic operations-addition, subtraction, multiplication, division and root
extraction-is an algebraic function. Some of the examples of algebraic functions are
the polynomial functions, rational functions and irrational functions.
But not all functions are algebraic. The functions which are not algebraic, are called
transcendental functions. These have been discussed in Section 4.3. Some important
examples of the transcendental functions are trigonometric functions, logarithmic
functions and exponential functions which have been defined in this section. We have
defined the monotonic functions also in this section.
In Section 4.4, we have discussed some special functions. These are the identity I
function, the periodic functions, the modulus function, the signum function, the
matest integer function, even and odd functions. Lastly, we have introduced the
bounded functions and discussed a few examples. .89
Relei Numbers and Functions
4.6 ANSWERS/IEPINTS/SOLUTIONS
El) (f + g) (x) ax2 + bx
(f - g) (x) = ax2 - bx
(fg) (x) = ax2.bx = abx3
ax2 ax
(flg) (x) =- = - provided b + 0, x s 0.
bx b
I
E3) y = f(x) = d x y2 = x. Now draw the graph.
E4) y = Rx) = y =
i = y 2 = x + LC,
/ / =>y2-x=,E
i' =? (y2 - x ) =~x
1 <
. X t x2 ,
1
2
0, 2 n:, i2n,..*
Hence -
qx,) = f(X2) 3 XI = Xr
In other words, f(x) = cos x is .one-one in.[O, n].
90
a
Now, the range of cos x is [-I, 11 = R. Therefore cos x, defined from [0, 7c] to Real Functions
R is not onto. But, if cos x is defiend fiom [O, ] to [-I, I], then it is certainly
one-one and onto.
(i) Do it yourself.
n
where 0 I y < n, y # - andlxl L 1.
2
(iii) Cosecant inverse
y = cosec-I x e x = cosec y,
n n
where - - 5 y s - , y z O a n d I x l 2 1 .
2 2
E7) (i) Let f:S + T be a strictly decreasing function.
Let x,, x, be any two distinct elements of S. Then
X, + x2 3 X , < X, or X , > X,
= f(x,) > f(x,) or f(x,) < f(x,)
3 f(x,) # f(x2).
I
! '
E8) Follow the method of Example 8.
I
4. P r o v e t h a t l a + b + c l 5 l a l + ( b l + I c l
for all a, b, c, E R.
5. Show that
+ +
(a, az+ .... anl 5 (all la21 .... la,l+ + +
.for al, - -.... a, E R .
- .az,
6. Which of the'following sets are bounded above? Write the supremum of the set
if it exists.
+
01)
1
(v) ( x E R : x < O } (vi)(-:nENandnisprime)
n
!
(vii) ( x 2 : x E R } (viii)
7. Find which of the sets in question 6 are bounded below. Write the infemum if it
exists.
8. Which of the sets in question 6 are bounded and unbounded.
9. Test whether the following statements are true or i l s e :
(i) The set Z of integers is not a NBD of any of its points.
(ii) The interval 10, 11 is a NBD of each of its points
(iii) The set ]1, 3[ U ] 4, 5 [ is open.
(iv) The set [a,=[ U 1-00, a ] is not open.
(v) N is a closed set.
(vi) The derived set of Z is nonempty.
(vii) Every real number is a limit point of the set Q of rational numbers.
(viii) A finite bounded set has a limit point.
(ix) [4,5] U [7, 81 is a closed set.
(x) Every infinite set is closed.