Docsity

Set Theory & Relations: Union, Intersection, Difference, Power Set, Lecture notes of Mathematics

Toggle sidebar
bg1
13. RELATIONS AND
FUNCTIONS
1. INTRODUCTION TO SETS
A collection of well-defined objects that are distinct are known as sets.
Well-defined object clearly defines if the object belongs to a given collection or not.
Well-defined collections
(a) Odd natural numbers less than 10, i.e., 1, 3, 5, 7, 9.
(b) Rivers of India.
(c) Vowels in the English alphabet a, e, i, o, u.
Not well-defined collections
(a) Collection of bright students in class XI of a Nucleus Academy.
(b) Collection of renowned mathematicians of the world.
(c) Collection of beautiful girls of the world.
(d) Collection of fat people.
•The terms objects, elements and member of a set are synonymous.
•Sets are generally denoted by capital letters A, B, C, …, X, Y, Z.
•The elements of a set are represented by small letters a, b, c, …, x, y, z.
•If a is an element of a set A, then we can say that a belongs to A. The Greek symbol∈ represents ‘belongs
to’. Thus we write a ∈ A.
If b is not an element of a set A, then we write b ∉ A.
Uday Kiran G (JEE 2012, AIR 102)
MASTERJEE CONCEPTS
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d

Partial preview of the text

Download Set Theory & Relations: Union, Intersection, Difference, Power Set and more Lecture notes Mathematics in PDF only on Docsity!

13. R E L A T I O N S^ A N D

F U N C T I O N S

1. INTRODUCTION TO SETS

A collection of well-defined objects that are distinct are known as sets. Well-defined object clearly defines if the object belongs to a given collection or not.

Well-defined collections (a) Odd natural numbers less than 10, i.e., 1, 3, 5, 7, 9. (b) Rivers of India. (c) Vowels in the English alphabet a, e, i, o, u.

Not well-defined collections (a) Collection of bright students in class XI of a Nucleus Academy. (b) Collection of renowned mathematicians of the world. (c) Collection of beautiful girls of the world. (d) Collection of fat people.

  • The terms objects, elements and member of a set are synonymous.
  • Sets are generally denoted by capital letters A, B, C, …, X, Y, Z.
  • The elements of a set are represented by small letters a, b, c, …, x, y, z.
  • If a is an element of a set A, then we can say that a belongs to A. The Greek symbol∈ represents ‘belongs

to’. Thus we write a ∈ A.

If b is not an element of a set A, then we write b ∉ A. Uday Kiran G (JEE 2012, AIR 102)

MASTERJEE CONCEPTS

13.2 | Relations and Functions

2. SOME IMPORTANT SYMBOLS AND THEIR MEANINGS

Symbol Meaning ⇒ Implies ∈ Belongs to A ⊂ B A is subset of B ⇔ Implies and is implied by ∉ Does not belong to | or : or S.t. Such that ∀ For all ∃ There exists i ff If and only if & And Symbol Meaning a/b a is divisor of b N Set of natural numbers W Set of whole numbers I or Z Set of integers Q Set of rational numbers Qc^ Set of irrational numbers R Set of real numbers C Set of complex numbers

3. REPRESENTATION OF SETS

The following two methods are used to represent sets: (a) Roster or Tabular form (b) Set builder form

3.1 Roster or Tabular Form In the roster form, all the elements of a set are enclosed within braces { } and each element is separated by a comma. Few examples are listed as follows: (a) The set of all even positive number less than 7 is {2, 4, 6}. (b) The set of vowels in the English alphabets is {a, e, i, o, u}. (c) The set of odd natural numbers is represented as {1, 3, 5, …}. The three dots (ellipses) denote that the list is endless. Note: (i) In the roster form, the elements of a set are not repeated, i.e. all the elements are taken as distinct, e.g. “SCHOOL” ⇒ {S, C, H, O, L}

13.4 | Relations and Functions

Few examples are as follows: (a) Set of odd numbers divisible by 2 is null set, as we know that odd numbers are not divisible by 2 and hence the resultant set is a null set. (b) Set of even prime numbers is not a null set because 2 is a prime number divisible by 2. (c) {y: y is a point common to any two parallel lines} is null set because two parallel lines do not intersect.

5.2 Finite and Infinite Set

Any set is said to be finite set, if finite number of elements are present in it. Few examples are listed as follows: (a) { } [null set is a finite set] (b) {a, e, i, o, u} (c) {Jan, Feb,… Dec} etc. Any set is said to be infinite set if the number of elements are not finite. Few examples are as follows: (a) S = {men living presently in different parts of the world} is non-countable. Therefore it is an infinite set. (b) S = {x: x ∈ R} is infinite set.

(c) S = {x: 2 < x > 3, x ∈ R} is infinite set.

5.3 Equal and Equivalent Sets

Any two sets A and B are said to equal set if all elements of set A are in B and vice versa. E.g. {a, e, i, o, u} = A and B = {e, i, a, u, o} then A = B. Any two sets A and B are said to be equivalent sets if their number of elements in both the sets are same. E.g. A = {1, 2, 3} and B = {a, b, c} are equivalent set, i.e. both the sets have three elements (A ≈ B).

  1. Number of elements in any set is said to be cardinality/cardinal number of that set. E.g. 1. A = {1, 2, 3, 4}, then cardinality of set A is 4.
    1. B = {a, e, i, o, u}, then cardinality of set B is 5.
  2. Any set does not change if one or more elements of the set are repeated. E.g. 1. A = {June, Nov., April, Sept} 2. B = {June, Nov., June, Sept., April, Sept.} are equal. Shivam Agarwal (JEE 2009, AIR 27)

5.4 Singleton Set

A set with single element is called a singleton set, i.e. n(X) = 1, E.g. {x: x ∈ N, 1 < x < 3}, { { } }, i.e. set of null set, {π} is a set containing alphabet φ.

MASTERJEE CONCEPTS

Mathematics | 13.

5.5 Universal Set

It is a set which includes all the sets under consideration, i.e. it is a super set of each of the given set. Thus, a set that contains all sets in a given context is called the universal set. It is denoted by U. E.g. If A = {1, 2, 3}, B = {2, 4, 5, 6} and C = {1, 3, 5, 7}, then U = {1, 2, 3, 4, 5, 6 7} is a universal set which contains all elements of sets A, B and C.

5.6 Disjoint Set

Two sets are said to be disjoint if they have no elements in common, i.e. if A and B are two sets, then A ∩ B = φ. If A ∩ B ≠ φ, then A and B are said to be intersecting or overlapping sets. E.g. (i) If A = {1, 2, 3}, B= {4, 5, 6} and C = {4, 7, 9}, then A and B are disjoint sets, and B and C are intersecting sets. (ii) Set of even natural numbers and odd natural numbers are disjoint sets.

5.7 Complementary Set

Complementary set of A is a set containing all those elements of universal except the element in set A. It is denoted by A , AC or A’. So A C= {x: x ∈ U and x ∉ A}, e.g. If set A = {1, 2, 3, 4, 5} and universal set U = {1, 2, 3, 4, …, 50}, then A = {6, 7, …, 50} Note: All disjoint sets are not complementary sets and vice versa.

5.8 Power Set

The collection of all subsets of set A is called the power set of A and is denoted by P(A) i.e., P(A) = {x: x is a subset of A}. If X = {x 1 x 2 x 3 ….. xn} then n(P(x)) = 2n; n(P(P(x))) = 22 n.

Illustration 1: Which of the two sets are equal? (i) A = {4, 8, 12, 18}, B = {8, 4, 12, 16} (ii) A = {2, 4, 6, 8, 10} B = {x : x is positive even integer and x ≤ 10} (iii) A = {x: x is a multiple of 10} B = {x: x is a multiple of 5 and x ≥ 10} (JEE MAIN)

Sol: Refer to the definition of different types of sets in the above section. (i) The elements 4, 8, 12 belong to both sets A and B. But 16 ∈ B and 18 do not belong to both A and B. So A ≠ B. (ii) All elements present in set A is present in set B, and vice versa. Therefore A = B. (iii) Given A = {10, 20, 30, 40, …} and B = {10, 15, 20, 25, 30, …} Since 15, 25, 35 are not multiples of 10, B does not belong to A. ∴ (^) A ≠ B. Illustration 2: From the following sets, select equal sets: A = {2, 4, 8, 12}, B = {1, 2, 3, 4}, C = {4, 8, 12, 14}, D = {3, 1, 4, 2}, E = {–1, 1} F = {0, a}, G = {1, –1}, H = {0, 1} (JEE MAIN)

Sol: Similar to the previous question. Since numbers 2, 4, 8, 12 belongs to set A, but 8, 12 ∉ B, 2 ∉ C, 8, 12, ∉ D, 2, 4, 8, 12, ∉ E, F, G and H. Therefore, A ≠ B, A ≠ C, A ≠ D, A ≠ E, A ≠ F, A ≠ G, A ≠ H

Mathematics | 13.

7.3 Difference of Two Sets

If A and B are two sets, then the difference of A and B is the set of elements which belongs to A and not B. Thus, A – B = {x: x ∈ A and x ∉ B} A – B ≠ B – A. It is represented through the Venn diagrams in Fig. 13.7.

B

U A A- B

U

Figure 13.

7.4 Symmetric Difference of Two Sets

Set of those elements which are obtained by taking the union of the difference of A and B: (A-B) and the difference of B and A: (B-A) is known as the symmetric difference of two sets A and B denoted by (A ∆ B). Thus A ∆ B = (A – B) ∪ (B – A) Venn diagram is represented in Fig. 13.8. (^) A B U

A DB

B

Figure 13.

8. NUMBER OF ELEMENTS IN DIFFERENT SETS

If A, B and C are finite sets and U be the finite universal set, then (a) n(A ∪ B) = n(A) + n(B) – n (A ∩ B) (b) n(A ∪ B) = n(A) + n(B) (if A and B are disjoint sets) (c) n(A − B) = n(A) – n (A ∩ B) (d) n(A ∆ B) = n[(A – B) ∪ (B – A)] = n(A) + n(B) – 2n (A ∩ B) (e) n(A ∪ B ∪ C) = n(A) + n(B) + n(C) – n (A ∩ B) – n (B ∩ C) – n (A ∩ C) + n(A ∩ B ∩ C) (f) n(A’ ∪ B’) = n (A ∩ B)’ = n(∪) – n (A ∩ B) (g) n(A’ ∩ B’) = n (A ∪ B)’ = n(∪) – n (A ∪ B)

9. ALGEBRAIC OPERATIONS ON SETS

9.1 Idempotent Operation

For any set A, we have (i) A ∪ A = A and (ii) A ∩ A = A

9.2 Identity Operation

For any set A, we have (a) A ∪ ϕ = A

(b) A ∩ A = A, i.e. φ and U are identity elements for union and intersection, respectively.

13.8 | Relations and Functions

9.3 Commutative Operation For any set A and B, we have

(a) A ∪ B = B ∪ A and (ii) A ∩ B = B ∩ A

i.e. union and intersection are commutative.

9.4 Associative Operation If A, B and C are any three sets, then

(a) (A ∪ B) ∪ C = A ∪ (B ∪ C)

(b) (A ∩ B) ∩ C = A ∩ (B ∩ C)

i.e. union and intersection are associative.

9.5 Distributive Operations If A, B and C are any three sets, then

(a) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)

(b) A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)

i.e. union and intersection are distributive over intersection and union, respectively.

10. DE MORGAN’S PRINCIPLE

If A and B are any two sets, then

(a) (A ∪ B)’ = A’ ∩ B’

(b) (A ∩ B)’ = A’ ∪ B’

Proof: (a) Let x be an arbitrary element of (A ∪ B)’. Then x ∈ (A ∪ B)’⇒x ∉ (A ∪ B) ⇒ x ∉ A and x ∉ B ⇒ x ∈ A’ ∩ B’ Again let y be an arbitrary element of A’ ∩ B’. Then y ∈ A’ ∩ B’ ⇒ y ∈A’ and y∈ B’ ⇒ y ∉ A and y ∉ B ⇒ y ∉(A ∪ B) ⇒ y ∈(A ∪ B)’ ∴ A’ ∩ B’ ⊆ (A ∪ B)’ Hence (A ∪ B)’ = A’ ∩ B’ Similarly (b) can be proved.

RELATIONS

1. ORDERED PAIR

A pair of elements written in a particular order is called an ordered pair. Let A and B be two sets. If a ∈ A, b ∈ B, then elements (a, b) denotes an ordered pair, with first component a and second component b. Here, the order in which the elements a and b appear is important. The ordered pair (1, 2) and (2, 1) are different, because they represent different points in the co-ordinate plane. Equality of ordered pairs: Ordered pair (a 1 , b 1 ) is equal to (a 2 , b 2 ) iff a 1 = a 2 and b 1 = b 2.

13.10 | Relations and Functions

E.g. P = {1, 2}, from the set P × P × P. P × P × P = {(1, 1, 1), (1, 1, 2), (1, 2, 1), (1, 2, 2), (2, 1, 1), (2, 1, 2), (2, 2, 1), (2, 2, 2)}

2.3 Number of Elements in the Cartesian Product If A and B are two finite sets then n(A × B) = n(A) · n(B) Thus, if A and B have m elements and n elements, respectively, then A × B has mn elements. Proof: Let A = {x 1 , x 2 , x 3 , …, xn} and B = {y 1 , y 2 , y 3 , …, yn} Then A × B = {(x 1 , y 1 ), (x 2 , y 2 ) … (x 1 , yn), (x 2 , y 1 ), (x 2 , y 2 ) … (x 2 , yn), ⁝ (xm , y 1 ), (xm , y 2 ) … (xm , yn)} Clearly each row has n ordered pairs and there are m such rows. Therefore A × B has mn elements. Similarly, n(A × B × C) = n(A) · n(B) · n(C)

Illustration 4: If n(A) = 7, n(B) = 8 and n(A ∩ B) = 4, then match the following columns: (JEE MAIN)

(i) n(A ∪B) (a) 56

(ii) n(A × B) (b) 16 (iii) n((A × B) × A) (c) 392

(iv) n((A × B) ∩ (B × A)) (d) 96

(v) n((A × B) ∪ (B × A)) (e) 11

Sol: Use the formula studied in the above section.

(i) n (A ∪ B) = n (A) + n (B) – n (A ∩ B) = 7 + 8 – 4 = 11

(ii) n(A × B) = n(A) n(B) = 7 * 8 = 56 = n(B × A) (iii) n((A × B) × A) = n(B × A) · n(A) = 56 × 7 = 392

(iv) n((A × B) ∩ (B × A)) = (n(A ∩ B))^2 = 4^2 = 16

(v) n((A × B) ∪ (B × A)) = n(A × B) + n(B × A) – n(A × B) ∩ (B × A) = 56 + 56 – 16 = 96

2.4 Representation of Cartesian Product Let A = {1, 2, 3} and B = {a, b} 1 2 3

a b

Figure 13. Each element of set A to each element of set B is represented by lines from A to B in Fig. 13.9.

Mathematics | 13.

3. RELATION

A relation R from one set to another say from set X to set Y (R : X → Y) is a correspondence between set X to set Y through which some or more elements of X are associated with some or more elements of Y. Therefore a relation R, from a non-empty set X to another non-empty set Y, is a subset of X × Y, i.e. R: X → Y is a subset of A × B. Every non-zero subset of A × B is defined as a relation from set A to set B. Therefore, if R is a relation from A → B then R = {(a, b) | (a, b) ∈ A × B and a R b}. If A and B are two non-empty sets and R: A → B be a relation such that R: {(a, b) | (a, b) ∈ R, and a ∈ A and b ∈ B}, then (a) ‘b’ is an image of ‘a’ under R. (b) ‘a’ is a pre-image of ‘b’ under R. For example consider sets X and Y of all male and female members of a royal family of the kingdom Ayodhya. X = {Dashrath, Ram, Bharat, Laxman, Shatrughan} and Y = {Koshaliya, Kaikai, Sumitra, Sita, Mandavi, Urmila, Shrutkirti}. A relation RH is defined as “husband of” from set X to set Y.

R (^) H Dashrath Ram Bharat Laxman Shatrughan

Kaushlya Sumitra Kakai Urmila Sita Madhvi Sharukirti x y

Figure 13.

R (^) H = {(Dashrath, Koshaliya), (ram, sita), (Bharat, Mandavi), (Laxman, Urmila), (Shatrughan, Shrutkirti), (Dashrath, Kakai), (Dashrath, Sumitra)} (a) If a is related to b, it is symbolically written as a R b. (b) It is not necessary for each and every element of set A to have an image in set B, and set B to have a pre- image in set A. (c) Elements of set A having image in B are not necessarily unique. (d) Number of relations between A and B is the number of subsets of A × B. Number of relations = no. of ways of selecting a non-zero subset of A × B. = mnC 1 + mnC 2 + … +mnCmn = 2mn^ – 1.

3.1 Domain

Domain of a relation is a collection of elements of the first set participating in the correspondence, i.e. it is set of all pre-images under the relation. For example, from the above example, domain of RH = {Dashrath, Ram, Bharat, Laxman, Shatrughan}.

3.2 Codomain

All elements of any set constitute co-domain, irrespective of whether they are related with any element of correspondence set or not, e.g. Y = {Koshaliya, Kakai, Sumitra, Sita, Mandavi, Urmila, Shrutkirti} is co-domain of RH.

Mathematics | 13.

2. Set builder notation R = {(a, b): a ∈A and b ∈B, a is less than b} 3. Arrow-diagram (mapping)

A B 1 2 3

a b

Figure 13.

5. TYPES OF RELATION

5.1 Reflexive Relation

R: X → Y is said to be reflexive iff x R x ∀ x ∈ X, i.e. every element in set X must be a related to itself. Therefore ∀ x ∈ X; (x, x) ∈ R, then relation R is called as reflexive relation.

5.2 Identity Relation

Consider a set X. Then the relation I = {(x, x): x ∈ X} on X is called the identity relation on X i.e. a relation I on X is identity relation if every element of X related to itself only. For example, y = x. Note: All identity relations are reflexive but all reflexive relations are not identity.

5.3 Symmetric Relation

R: X → Y is said to be symmetric iff (x, y) ∈ R ⇒ (y, x) ∈ R. For example, perpendicularity of lines in a plane is symmetric relation.

5.4 Transitive Relation

R: X → Y is transitive iff (x, y) ∈ R and (y, z) ∈ R ⇒ (x, z) ∈ R, i.e. x R y and y R z ⇒ x R z. For example, the relation “being sister of” among the numbers of a family is always transitive. Note: (i) Every null relation is a symmetric and transitive relation. (ii) Every singleton relation is a transitive relation. (iii) Universal and identity relation are reflexive, symmetric as well as transitive.

5.5 Antisymmetric Relation

Let A be any set. A relation R on set A is said to be an antisymmetric relation iff (a, b) ∈ R and (b, a) ∈ R ⇒ a = b for all a, b ∈ A. For example, relations “being subset of”; “is greater than or equal to” and “identity relation on any set A” are anti-symmetric relations.

13.14 | Relations and Functions

5.6 Equivalence Relation A relation R from a set X to set Y (R → X → Y) is said to be an equivalence relation iff it is reflexive, symmetric as well as transitive. The equivalence relation is denoted by, e.g. relation “is equal to” equality similarity and congruence of triangle, parallelism of lines are equivalence relation.

5.7 Inverse Relation If relation R is defined from A to B then inverse relation would be defined from B to A, i.e. R: A → B ⇒ a R b, where a ∈ A, b ∈ B. R–1^ : B →A ⇒ b R a, where a ∈ A, b ∈ B. Domain of R = Range of R – and range of R = Domain of R –^. ∴ R–1^ = {b, a} | (a, b) ∈ R} For example, a relation R is defined on the set of 1 st^ ten natural numbers. ∴ N = {1, 2, 3, …., 10} and a, b ∈ N.

N N

Figure 13. a R b ⇒ a + 2b = 10 R = {(2, 4), (4, 3), (6, 2) (8, 1)} R–1^ = {(4, 2), (3, 4), (2, 6) (1, 8)} For example, a relation defined on the set of lines.

1. aR b ⇒ a || b

It is a symmetric relation because if line ‘a’ is || to ‘b’, the line ‘b’ is || to ‘a’. where (a, b) ∈ L {L is a set of || lines}

2. L 1 RL 2 L 1 ⊥ L 2 It is a symmetric relation L 1 , L 2 ∈ L {L is a set of lines}

3. a R b ⇒ ‘a’ is brother of ‘b’ is not a symmetric relation as ‘b’ may be sister of ‘a’.

4. a R b ⇒ ‘a’ is cousin of ‘b’. This is a symmetric relation. If R is symmetric.

5. R = R–^.

6. Range of R = Domain of R.

FUNCTIONS

1. INTRODUCTION

The concept of function is of fundamental importance in almost all branches of Mathematics. It plays a major role to solve real world problems in mathematics. As a matter of fact, functions are some special type of relations.

13.16 | Relations and Functions

2. RELATION VS FUNCTION

y y 2 y 1

y = f(x)

O x^1 x^2 x 3 x (a)

y y 3 y 2 y 1

C y = f(x) B A

L

O x 0 x (b) Figure 13.16 Figure 13. These figures show the graph of two arbitrary curves. In figure 16, any line drawn parallel to y-axis would meet the curve at only one point. That means each element of X would have only one image. Thus figure 16 (a) represents the graph of a function. In figure 17, certain line parallel to y-axis (e.g., line L) would meet the curve in more than one point (A, B and C). Thus element x 0 of X would have three distinct images. Thus, this curve does not represent a function. Hence, if y = f(x) represents a function, then lines drawn parallel to y-axis through different point corresponding to points of set X should meet the curve at one point. Equation of an ellipse

2 2 2 2

x y 1 a b

  • = (^) is a relation, which is a combination of two functions 2 2 y b 1 x a = − and y = –

2 2 b 1 x a −. Similarly, the equation of the parabola y^2 = x is a combination of two functions as shown in Fig. 13.18.

y’

y

x’ (^) O x

y = b 1- x^

2 a^2

y = -b 1- x^

2 a^2 y’

y

x’ (^) O x

y = x

y = - x

Figure 13.

3. DOMAIN, CO-DOMAIN AND RANGE OF A FUNCTION

Let f: A → B, then the set A is known as the domain of f and the set B is known as co-domain of f. The set of all f images of elements of A is known as the range of f. Thus: Domain of f = {a |a ∈ A, (a, f(a)) ∈ f} Range of f = {f(a) ∀ a ∈ A and f(a) ∈ B} It should be noted that range is a subset of co-domain. If only the rule of function is given then the domain of the function is the set of those real numbers, where function is defined. Note: If domain of f(x) is D 1 and domain of g(x) is D 2 then domain of f(x) + g(x) = D 1 ∩ D 2.

Mathematics | 13.

A

f B d o m a i n

c o d o m a i n

Domain

Elements of range

Figure 13.

4. COMMON FUNCTIONS

4.1 Polynomial Function

If a function f is defined by f(x) = a 0 xn^ + a 1 xn–1^ + a 2 xn–2^ + …. an–1x + an where n is a non-negative integer and a 0 , a 1 , a 2 , …., an are real numbers and a 0 ≠ 0, then f is called a polynomial function of degree n.

f(x) = x + 1^2

x

f(x) = x + 1^2

x

Figure 13.20 Figure 13.

(a) A polynomial of degree one with no constant term is called an odd linear function i.e., f(x) = ax, a ≠ 0 (b) There are two polynomial functions, satisfying the relation ; f(x) f(1/x) = f(x) + f(1/x) They are : (i) f(x) = xn^ + 1 and (ii) f(x) = 1 –xn, where n is positive integer. (c) Domain of a polynomial function is R (d) Range for odd degree polynomial is R whereas for even degree polynomial range is a subset of R. (i) If f(x) + f(y) = f(xy) then f(x) = k log x (ii) If f(x) · f(y) = f(x + y) then f(x) = akx (iii) If f(x) + f(y) = f(x+ y) then f(x) = kx Rohit Kumar (JEE 2012, AIR 79)

4.2 Algebraic Function

y is an algebraic function of x, if it is a function that satisfies an algebraic equation of the form P 0 (x) = yn^ + P 1 (x) yn–

  • …. + Pn–1(x) y + Pn(x) = 0 where n is a positive integer and P 0 (x),

MASTERJEE CONCEPTS

Mathematics | 13.

y

y=-x y=x O x

Figure 13.

Note: (a) f(x) = | x |, domain is R and range is R+∪ {0}.

(b) f(x) = (^) f | x |^1 , domain is R – {0} and range is R+.

4.6 Signum Function

A function y = f(x) = sgn(x) is defined as follows: y = f(x) =

1, x 0 0, x 0 1, x 0

If is also written as sgn x = | x |/ x or (^) | x |x ;x

≠ 0; f(0) = 0

Note: Domain is x ∈ R and its range = {–1, 0, 1}

sgn x = (^) dxd | x | when x ≠ 0

= 0 when x = 0 y y=1 if x > 0

O y=sgn xx y=-1 if x > 0 Figure 13.

4.7 Greatest Integer Function or Step Function

The function y = f(x) = [x] is called the greatest integer function, where [x] denotes the greatest integer less than or equal to x.

Note:

(a) –1 ≤ x < 0⇒ [x] = –

0 ≤ x <1⇒ [x] = 0 1 ≤ x <2⇒ [x] = 1 2 ≤ x <3⇒ [x] = 2 etc. (b) f(x) = [x], domain is R and range is I.

(c) f(x) = (^) [x]^1 domain is R – [0, 1) and range is (^1) nn^ I^ {0}

Properties of greatest integer function:

(a) [x] ≤x < [x] + 1 and x – 1 < [x] ≤ x, 0 ≤ x – [x] < 1.

(b) [x + m] = [x] + m if m is an integer.

(c) [x] + [y] ≤[x + y] ≤[x] + [y] + 1.

(d) [x] + [–x] = 0 if x is an integer= –1 otherwise.

graph of y =[x]

x

3 y 2 1

-3 -2 -1 1 2 3

Figure 13.

13.20 | Relations and Functions

4.8 Fractional Part Function It is defined as g(x) = {x} = x – [x]. For example, the fractional part of the number 2.1 is 2.1 – 2 = 0.1 and the fractional part of –3.7 is 0.3. The period of this function is 1 and graph of this function is as shown. Note: (a) f(x) = {x}, domain is R and range is [0, 1)

(b) f(x) = {x}^1 , domain is R – I, range is (1, ∞)

{x + n} = {x}, where n ∈ I

5. TRANSFORMATION OF CURVES

(a) Given graph of a function y = f(x) and we have to draw the graph of y = f(x – a) [means replacing x by x–a, a

0] then shift the entire graph through a distance a units in positive direction of x-axis.

y=sin(x-2) (^) -2 +2p 1

y 2 +2p (^) 3 +2p

x

p 2 + 2

-4 +2p 0 2

-3 +2p - +2p^ -1^ p 2 + 2^ p+ Figure 13. (b) Given graph of a function y = f(x), draw a graph of y = f(x + a) [means replacing x by x + a, a > 0]. Shift the entire graph through in negative direction of x-axis.

y=sin(x+2)

  • p 2 - -

y 1 0

p 2 +

3 p 2 -

-3p 2 -^

  • -2p -1 p-

2 -2p

x

Figure 13. (c) Given graph of a function y = f(x), draw a graph of y = af(x) [means replacing y by y/a, a >0]. Then multiply all the values by a on y-axis.

-2p - p

y y=2sinx^2

  • /2p 0 p 2 p^ 2 p

3 p (^) x

Figure 13.

graph of y =[x]

y 1

Figure 13.