You are on page 1of 12

1

RELATIONS AND FUNCTIONS BASIC CONCEPTS Natural Numbers: The numbers 1, 2, 3, 4, are called natural numbers, and their set is denoted by N. Thus N = {1, 2, 3, 4, 5, }. Integers: The numbers 3, 2, 1, 0, 1, 2, 3 are called integers and the set is denoted by I or Z. integers cane be positive, negative, non positive and non negative. Rational Numbers: All numbers of the form p/q where p and q are integers and q and their set is denoted by Q. Irrational Numbers: There are numbers which cannot be expressed in the p/q form. These numbers are called irrational numbers and their set is denoted by Q c (i.e. complementary set of Q) Real Numbers: The complete set of rational and irrational numbers is the set of real numbers and is denoted by R. Thus R = Q Qc. It may be noted that N I Q R . Real numbers can also be expressed in terms of position of a point on the real line. The real line is the number line wherein the position of a point relative to the origin (i.e. 0) represents a unique real number and vice versa. 0, are called rational numbers

2 1 2 3 Real line All the numbers defined so far follow the order property i.e. if there are two numbers a and b then either a< b or a = b or a > b. Intervals:
-3 -2 -1 0 Intervals are basically subsets of R. If there are two numbers a, b R such that a < b, we can define four types of intervals as follows: Open Interval i.e. end points are not included. Closed Interval i.e. end points are also included. This is possible only when both a and b are finite. Open-closed Interval: (a, b] = { x: a < x b} Closed open Interval: [a, b) = { x: a x < b} The infinite intervals are defined as follows: (a, ) ={ x: x > a} (a, ) = { x: x a} (- , b) = {x: x< b) (- , b] = { x: x b}

2
Inequalities:

a b either a < b or a = b a < b and b < c a<c a<b a+c<b+c c R a<b -a > -b i.e. inequality sign reverses if both sides are multiplied by a negative number a < b and c < d a + c < b + d and a d < b c a<b ma < mb if m > 0 and ma > mb if m< 0 0<a<b ar < br if r > 0 and ar > br if r < 0

a a

1 a 1 a

2 -2

a > 0 and equality holds for a = 1 a < 0 and equality holds for a = -1

Absolute Value: Let x R. Then the magnitude of x is called its absolute value and is, in general, denoted by |x|. Thus |x| can be defined as,

x, x,

x x

0, 0.

Note that x = 0 can be included either with positive values of x or with negative values of x. As we know that all real numbers can be plotted on the real number line, |x| represents the distance of number x from the origin, measured along the number-line. Thus |x| 0. Secondly, any point x lying on the real number line will have its coordinates as (x, 0). Thus, its distance from the origin is

x2

|x| = x2 .

Basic Properties of |x|:


x
x > a or x < -a if a a < x < a if a R+, and x R if a R R {0} R+ and no solution if a

x>a
x<a x y

x y x y xy
x y

x~y x x
x y

The last two properties can be put in one compact form namely,

x~y

y y

, y

Greatest Integer and Fractional Part Let x R. Then [x] denotes the greatest integer less than or equal to x and {x} denotes the

3
fractional part of x and is given by {x} = x [x]. Note that 0 integer, then [x] = x. Basic Properties of Greatest Integer and Fractional Part:

{x} < 1.It is obvious that if x is an

[[x]] = [x], [{x}] = 0, {[x]} = 0 x 1 < [x] x, 0 {x} < 1 [n + x] = n + [x] where n I

[x] {x}
x y

[ x] {-x}
x x
[x + y]

0,

if x

int eger

1 if x int eger , 0, x Integer 1, x Integer


y , if {x} {y} 1 . y 1 , if {x} {y} 1
[x] + [y] +1

Hence [x] + [y]

[ x] n

x n

, n N , x R

Relations: Let A and B be two sets. A relation R from the set A to set B is a subset of the cartesian product A B . Further, if x, y R , then we say that x is R-related to y and write this relation as x R y. Hence R x, y ;x

A, y B, x R y .

We notice that in every ordered pair of R, the second element is the cube of the first element i.e. the element of the ordered pairs of R have a common relation- ship which is cube. Here the first element in each of the ordered pair is greater than the second element. Hence the relationship is greater than. Obviously, from the definition, x R y and y R x are not the same, x, y : x A, y R, xR y and R x, y :x B, y A, xR y are different. since R Domain and Range of a relation: Let R be a relation defined from a set A to a set B, i.e. R A B . Then the set of all first elements of the ordered pairs in R is called the domain of R. The set of all second elements of the ordered pairs in R is called the range of R. That is, D = domain of R

x : x, y

R or x : x

A and x, y

R ,

R = range of R

y : x, y
B.

R or y : y Band x, y

R .

Clearly D A and R * Inverse relation: relation defined by R 1

1 Let R be a relation from a set A to a set B. Then, the inverse relation of R, denoted by R , is a

y, x : x, y

R ,

Types of relation in a set A are: (i) Identity relation:

4
A relation R in the set A defined by R called the identity relation. (ii) Void relation: A relation R in the set A is void relation if R (iii) Universal relation: A relation R in the set A defined as R (iv) Reflexive relation: A relation R, in a set A, is called a reflexive relation if all x A . (v) Symmetric relation: A relation R, in a set A, is called a symmetric relation if or xR y .

x, y : x

A, y

A, x

y or R

x, x ; x A is

A A is called the universal relation in the set.

x, x

R for all x

A or xR x for

x, y

y, x

yR x .

(vi) Transitive relation: A relation R, in a set A, is called a transitive relation if x, y and y, z

x, z

R or

xR y and yR z

xR z .

(vii) Equivalence relation: A relation R, in a set A is an equivalence relation if R is reflexive, symmetric and transitive i.e. yR x , and xR y, yR z xR z . xR x for all x A , xR y Functions Function is a special case of a relation, since a relation may relate an element of A to more than one elements in B. A function from A to B is usually denoted by the symbols f, g etc. and we write f : A B . We also say that f is a mapping from A to B. The set A is called the domain of the f function f and B is called the co domain of a the function f. b
A B

(i) Graph of a function: Let f : A

B be a function. Then the subset a, f a : a A of A B is called the graph of the


A

f 2 3 4 3 9 7

5 6 8 B

function f. We know that a relation R from the set A to B is a subset of A B . The relation R is a function from the set A to the set B, if every element of A is the first element of exactly one ordered pair of R. The function f from the set A to the set B is usually written explicitly;

5
Definitions of Function, Domain, Co-domain and Range: Function can be easily defined with the help of the concept of mapping. Let X and Y be any two non-empty sets. A function from X to Y is a rule or correspondence that assigns to each element of set X, one and only one element of set Y. Let the correspondence be f. Then mathematically we write f:X Y where y = f(x), x X and y Y. We say that y is the image of x under f(or x is the pre image of y). Accordingly (i) A mapping f: X Y is said to be a function if each element of X has its image in the set Y. It is possible that a few elements in Y are present which are not the images of any element in the set X.

(ii)

Every element of X should have one and only one image. That means it is impossible to have more than one images for a specific element of X. Functions cant be multivalued (A mapping that is multi-valued is called a relation from X to Y) The set X is called the domain of f. The set Y is called the co-domain of f. Set of images of different elements of the set X is called the range of f. It is obvious that range could be a subset of the co-domain as we may have some elements in the co-domain which are not the images of any element of X (of course, these elements of the co-domain will not be included in the range). Range is also called domain of variation. If R is the set of real numbers and X and Y are subsets of R, then the function f (x) is called a real valued function or a real function. Domain of a function f is normally represented as Domain (f). Range is represented as Range (f). We are primarily interested in functions whose domain and ranges are (sub) sets of real numbers. Graphs of Some Elementary Functions FUNCTION 1.

2.

DOMAIN, RANGE AND DEFINITION A function f : A B, A, B The constant function R, is said to be a constant The graph of y = f (x) is a line parallel to the function if there exists a real number c such that f (x) = c x axis. If c > 0, the line is above for all x A. Domain : A the x axis. Range : {c} If c = 0, the line coincides with the x axis If c < 0, the line is below the x axis. The function from R R The identity function The graph of y = f (x) = x that associates to each x is a straight line with R the same x, is called the identity function. More slope 1. The line passes through precisely

GRAPH
y y=c O x

6
the origin f (x) = x Domain : R Range : R
y y=x x

3.

4.

5.

The absolute value (or modulus) function. The graph of y= f (x) = |x| is symmetric about the y axis. It passes through the origin and remains above the x axis. The exponential function The graph of y = ex lies above the x axis As we move from left to right, the value of y increases (i.e. the graph rises) It meets the y axis at (0, 1) For negative values of x, the graph approaches the x axis, but never meets it. The Logarithmic Function The graph of y = ln x is on the right side of the y axis y increases as x increases The graph meets the x axis at (1, 0) For values of x < 1, the graph approaches the y axis but never meets it.

The function f : R R+ + {0} defined by f (x) = |x| = x if x 0 x if x < 0 is called the absolute value function Domain : R Range : [0, ). If a is positive real number and a 1, then the function defined by f (x) = ax, x R is called an exponential function to the base a. If a = e, the exponential function takes the form f (x) = ex, x R. Domain : R Range : (0, )

y = -x

y= x O

y 3 2 1 -2 -1 O 1 2 3 x y = ex

If a > 0 and a 1, then the function loga x : R+ R, given by y = loga x, if and only if ay = x, is called the logarithmic function. For a = e, we call it the natural logarithmic function i.e. f : R+ R, y = loge x = ln (x) iff ey = x. Domain = R+ (0, ) Range = R

y = ln(x) 1 2 3 4 x

7
6. The Greatest Integer Function [x] denotes the greatest integer less than or equal to x. In particular x 1 < [x] x. It is also called a step function. The graph of y = [x] consists of infinitely many broken pieces, in the first and the third quadrant, each piece parallel to the x axis. 7. The fractional part function If x = [x] + {x}, 0 {x} < 1, then {x} is the fractional part of x. The graph of y = {x} consists of infinitely many broken pieces, each piece parallel to the line y = x, varying from y = 0 to y = 1. 8. Polynomial Function The function f : R Z defined by f(x) = [x], x R is called the greatest integer function Domain : R Range : Z.
y 4 3 2 1 -4 -3 -2 -1 O -1 -2 -3 -4 1 2 3 4 x

The function f : R [0, 1) defined by f(x) = {x} is called the fractional part function. Domain : R Range: [0, 1)

y y=1

-2

-1

0 1

f(x) = a0xn + a1xn - 1 + .... +an - 1x + an where a0, a1,....,an are real numbers, a0 0. Domain : R Range : Depends on the polynomial representing the function. f(x) =

p x q x

9.

Rational Function

, where p(x) and q(x) are polynomials

in x. Domain is R {x : q(x) = 0}, Range depends on the function.


f

1.

Constant function:

Let f : A B be a function from A B . f is said to be a constant function if there exists an element b B such that f x b , for all x A .
A B

2.

Identity function:

8
Let A be a non-empty set. If the mapping f : A A is such that each element of the set A is mapped onto itself, then f is said to be an identity function. The identity function is a bijective function. 3. Trigonometric or Circular Functions: The domains and ranges of these functions are: Function Domain Range sin x R [ 1, 1] cos x R [ 1, 1] tan x R (2n 1) : n Z R

cot x sec x cosec x R

n :n Z
(2n 1) : n 2 Z
( ( , ,

R 1] 1] [1, ) [1, )

n :n Z

The graphs of the trigonometric functions are given below:


y = sinx
1 - /2 O -1 /2

1 /2 O
1

y = cosx
/2

y
y = cotx

y = tanx
-2 -3 /2 - /2 0 /2 3 /2 2 x
-2 -3 /2 - /2 0 /2 3 /2 2 x

y y =secx

y y=cosecx

1
- /2 1 O /2 -1 3 /2 x

3 /2 -1

2 x

/2

Algebra of Functions: (i) Let f and g be two functions defined from A to B. Then f ,g : A if f x

B are equal

g x , x A.

9
If the function f and g are equal, then the subsets, graph of f and graph of g, of A B are equal. (ii)

Given functions f : D R and g : D R, we define functions f + g, f - g, gf and f/g as follows: f+g:D R is a function defined by (f + g)(x) = f(x) + g(x) for all x D fg:D R is a function defined by (f g) (x) = f(x) g(x) for all x D fg : D R is a function defined by (f g) (x) = f(x) g(x) for all x D

f x f :C R is a function defined by (f/g) (x) = ,g x g g x

0 ,where C={x D:g(x)

0}.

i.e. x D {x : g (x) = 0}. If k is any scalar, then kf is a function from D R defined by (kg)(x) = kf(x), x D. Note: The sum f + g, the difference f g, the product fg and the quotient f/g are defined only when f and g are real functions having the same domain. In case f and g, have different domains, these operations are defined for those values of x which are common to the domains of both f and g i.e. x to the intersection of the domains of f and g.

Composite Functions In the figure shown below correspondence between the elements of A and C is called the composite function of f and g and is denoted by gof i.e. the composite mapping is defined by gof : A

C such that gof x

g f x

for all x

A.
f h = g of Y g f(x) Z g(f(x))

The function h, defined above, is called the composition of f and g. Domain of gof = {x : x in domain f, f(x) in domain g}.

X x

Note : (i) The range of f is the domain of g. A is the domain of gof and C is its range. In general, composite function of two functions is not commutative i.e. fog gof . In particular if f is a bijection of A onto itself then, f 1 of = f of 1 = I, where I is the identity function. (ii) The function fog is not always defined,

Even and Odd Functions Let f : D R be a real function such that x D x D. Then f is called an even function if f( x) = f(x) for every x D and an odd function if f( x) = f(x) for every x D. The domain and range of f depend on the definition of the function f. Graph of even function is symmetrical in I and II (or III and IV) quadrants whereas graph of odd function is always symmetrical in diagonally opposite quadrants. For every function f(x), the function f(x)+ f(-x) is even and the function f (x) f ( x) is odd. Every function f(x) can be represented as the sum of an even function and an odd function as f (x) =

1 1 [f (x) + f ( x)] + [f (x) f ( x)]. 2 2

10
Periodic Functions If a function satisfies the condition f(x + p) = f (x), for all x X, where p is the smallest positive real number, independent of x, then f (x) is said to be a periodic function and p is called the period of the periodic function. Rules for finding the period of the periodic functions: (i) (ii) (iii) (iv) If p, independent of x, is the solution of the equation f (x + p) = f (x), then f (x) is periodic with period p. If f (x) is a periodic function with period p, then f (x + np) = f (x), n = 1, 2, If f(x) is periodic with period p, then a f(x) + b, where a, b R (a 0) is also a periodic function with period p. If f(x) is periodic with period p, then f(ax + b), where a R-{0} and b R, is also periodic with period (v)

p . a

If f (x) is periodic with period p and g (x) is periodic with period q, and r is the LCM of p and q (if it exists), then r is the period of f (x) + g (x) provided there does not exist a constant c such that f (c + x) = g (x) and g (c + x) = f (x). One-to-one functions:
f

Let f : A

B be a function from the set A to the

set B. Then f is said to be one-to-one function if the images of distinct elements of A are distinct elements if x1, x2, A, x1 of B i.e.
A B

x2

f x1

f x2 .

A one-to-one function is also called an injective function. A function which is not one one is called a many one function. Methods to Find One-One or Many-One: (i) (ii) (iii) If x1 x2 f(x1) f(x2) x1, x2 in the domain, then f(x) is one-one. If f(x1) = f(x2) x1 = x2, then f(x) is one-one. Any function f(x), which is entirely increasing or decreasing in the whole of a domain, is one-one. (iv) Any continuous function f(x), which has at least one local maximum or local minimum, is many-one. (v) If any line parallel to the x-axis cuts the graph of the function at the most at one point, then the function is one-one and if there exists a line which is parallel to the x-axis and cuts the graph of the function in at least two points, then the function is many-one. Remark: Any function will be either one - one or many - one.

11
Onto and Into functions: Let f : A
f

B be a function from the set A to set B.

Then, f is said to be an onto function (onto mapping) if every element of B is image of at least one element of A.
A B

If on the other hand, range of f is a subset of B, then f is said to be an into function. In other words, if each element in the co-domain have at least one preimage in the domain, Note: Onto function is called surjective function and a function which is both one one and onto is called bijective function. Methods to find Onto or Into function: (i) If range = co-domain, then f(x) is onto and if range is a proper subset of the co-domain, then f(x) is into. (ii) Solve f(x) = y by taking x as a function of y i.e. g(y) (say). Remark: Any polynomial function f : R R is onto if degree of f is odd and into if degree of f is even. One-to-one and onto functions: Let f : A B be a function from the set A to the set B. f is said to be one-to-one and onto if it is both one-to-one and onto. A one-to-one and onto function is also called a bijective function. Inverse Function Let f : A B be a function from the set A to the set B. Let b B . The inverse image of the element b B is the set of all elements of A whose image under the mapping f is b. If f : A B is one-to-one and onto, then the inverse image is called the inverse function of f. Since f is onto, for b every b
f

B, f

b is non-empty. In fact f

b is a singleton set. Hence, for


a. b
is defined only when f is

B , there exists a unique element a A such that f 1 b


1

This correspondence between the elements of B and A is called the inverse function of f and is denoted by f . Hence f 1 b

a if and only if f a
1

b i.e. f

a bijective function. The function f is also a bijective function. Further, if g is the inverse of f, then f is the inverse of g and the two functions f and g are said to be the inverses of each other. For the inverse of a function to exist, the function must be oneone and onto. Method of finding Inverse of a Function: If f -1 is the inverse of f, then fof -1 = f -1 o f = I, where I is an identity function. fof -1 = I (fof -1(x)) = I (x) = x. Operate f on f -1 (x), and get an equation in f -1 (x) and x.Solve it to get f -1 (x). The domain of f 1 is the range of f (x) and the range of f 1 is the domain of f (x).

12
Note: A function and its inverse are always symmetric with respect to the line y = x. To draw the graph of f 1, we simply interchange the roles of x and y. We give below some standard functions along with their inverse functions: Function Inverse Function -1 1. f : [0, ) [0, ) f : [0, ) [0, ) defined by f(x) = x2 defined by f -1 (x) = x 2. f:

[-1, 1]

f -1 [-1,1]
-1

3. 4.

defined by f(x) = sinx f : [0, ] [-1,1] defined by f(x) = cos x f:

defined by f (x) = sin-1x f -1 : [-1, 1] [0, ] defined by f -1 (x) = cos-1x f -1 : (- , )


-1

(- ,

5. 6.

defined by f(x) = tan x f : (0, ) (- , ) defined by f(x) = cot x

defined by f (x) = tan-1x f -1 : (- , ) (0, ) -1 defined by f (x) = cot-1x (- ,-1][1, ) f -1 : (- , -1] [1, )

f : 0,

0,

defined by f(x) = sec x 7.

defined by f -1 (x) = sec-1x f -1 : (- , -1] [1, )

f:

, 0 0,

, 1 1, 2

,0 0,
-1

defined by f(x) = cosec x f:R R+ defined by f(x) = ex Binary Operations: 8.

defined by f (x) = cosec-1x f -1(x) : R+ R defined by f -1 (x) = ln x.

Let A be a non-empty set. Then a function f : A A is called a unitary operation on A. A function f : A A A is called a binary operation on A. The binary operation is usually denoted by o or *. The image of (a, b) (A A) under the binary operation* is denoted by a* b. Similarly, a function f : A A A ... A(n times) A is called an n-ary operation on A. Laws of binary compositions: Let A be a non-empty set and be a binary operation defined on A. Commutative composition. The binary operation is said to be commutative if a b = b a for a, b A. Associative composition. The binary operation is said to be associative if (a b) c = a (b c) for a, b, c A. Identity element. An element e A is said to be an identity element for the binary operation if a e = a = e a for a A. For binary operation of addition in R, 0 (zero) is the identity element. For multiplication, the identity element is 1. For a binary operation, if the identity element exists, then it is unique.

You might also like