Fundamentals in Mathematics
Fundamentals in Mathematics
Akshay R. Thummar
Unit-2 : Functions
Definition
Types – Domain and Range
Construction and functions
3
4
CONTENTS
1 Set Theory 7
1.1 Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.1 Roster or tabular form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.2 Set-builder form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.3 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.4 Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Empty Set or Null Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3 Equal Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Subsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4.1 Proper Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5 Power Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.5.1 Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.6 Operations on Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.6.1 Union of sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.6.2 Intersection of sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6.3 Difference of sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6.4 Symmetric Difference of sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.7 Complement of a Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.8 Cartesian Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.8.1 Properties of Cartesian Product : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.8.2 Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.9 Practical Problems : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.9.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5
6 CONTENTS
UNIT 1
SET THEORY
1.1 Set
A set is a well-defined collection of objects.
If a is an element of a set A, we say that “ a belongs to A” the Greek symbol ∈ (epsilon) is used to denote the
phrase ‘belongs to’. Thus, we write a ∈ A. If ‘b’ is not an element of a set A, we write b ∈
/ A and read “b does
not belong toA”.
(a) The set of all natural numbers which divide 42 is {1, 2, 3, 6, 7, 14, 21, 42}.
(b) The set of all vowels in the English alphabet is {a, e, i, o, u}.
(c) The set of odd natural numbers is represented by {1, 3, 5, ...}. The dots tell us that the list of odd numbers
continue indefinitely.
7
8 UNIT 1. SET THEORY
1.1.3 Examples
1. Write the solution set of the equation x2 + x–2 = 0 in roster form.
Here,
x2 + x − 2 = 0
∴ x2 + 2x − x − 2 = 0
∴ x(x + 2) − (x + 2) = 0
∴ (x + 2)(x − 1) = 0
∴ x = 1, −2.
Therefore, the solution set of the given equation can be written in roster form as {1, –2}.
2. Write the set {x : x is a positive integer and x2 < 40} in the roster form.
12 = 1 < 40
22 = 4 < 40
32 = 9 < 40
42 = 16 < 40
52 = 25 < 40
62 = 36 < 40
The required numbers are 1, 2, 3, 4, 5, 6. So, the given set in the roster form is {1, 2, 3, 4, 5, 6}.
A = {x : x = n2 , where n ∈ N}
We see that each member in the given set has the numerator one less than the denominator. Also,
the numerator begin from 1 and do not exceed 5. Hence, in the set-builder form the given set is
n
{x : x = n+1 , where n is a natural number and 1 ≤ n ≤ 5}
1.1.4 Exercise
1. Write the following sets in roster form:
1.3.1 Example
Find the pairs of equal sets, if any, give reasons:
A = {0},
B = {x : x > 15 and x < 5},
C = {x : x − 5 = 0},
D = {x : x2 = 25},
E = {x : x is an integral positive root of the equation x2 –2x–15 = 0}.
Here, A = {0}
B=φ
C = {5}
D = {−5, 5}
x2 − 2x − 15 = 0
∴ x2 − 5x + 3x − 15 = 0
∴ x(x − 5) + 3(x − 5) = 0
∴ (x − 5)(x + 3) = 0
∴ x = 5, −3
E = {5}
Hence, C = E.
1.4 Subsets
A set A is said to be a subset of a set B if every element of A is also an element of B.
It is denoted by A ⊆ B
We can write the definition of subset as follows:
A ⊆ B if a ∈ A ⇒ a ∈ B
If A ⊆ B and B ⊆ A, then A = B
10 UNIT 1. SET THEORY
Note :
⇒ Every set is subset of it self
⇒ Empty set is subset of every set.
e.g. A = {1, 2}
P (A) = {φ, {1}, {2}, {1, 2}}
1.5.1 Exercise
(i) Write power set of the set {2, 3, 4}
Figure 1.1: A ∪ B
(iv) U ∪ A = U (Law of U )
1.6. OPERATIONS ON SETS 11
Figure 1.2: A ∩ B
Disjoint Sets
If A and B are two sets such that A ∩ B = φ, then A and B are called disjoint sets.
Figure 1.3: A ∩ B = φ
(ii) A − φ = A and φ − A = A
(iii) A − B = φ if A ⊂ B
(iv) A − B = A ∩ B c
12 UNIT 1. SET THEORY
Figure 1.6: A0
(i) A ∪ A0 = U
(ii) A ∩ A0 = φ
2. De Morgan’s law:
(i) (A ∪ B)0 = A0 ∩ B 0
(ii) (A ∩ B)0 = A0 ∪ B 0
Example : If U = {1, 2, 3, 4, 5, 6, 7, 8, 9}, A = {2, 4, 6, 8} and B = {2, 3, 5, 7} then verify De Morgan’s law.
1.8. CARTESIAN PRODUCT 13
(i) (A ∪ B)0 = A0 ∩ B 0
LHS = (A ∪ B)0
= ({2, 4, 6, 8 ∪ {2, 3, 5, 7})0
= ({2, 3, 4, 5, 6, 7, 8})0
= {1, 9}
RHS = A0 ∩ B 0
= ({2, 4, 6, 8})0 ∩ ({2, 3, 5, 7})0
= {1, 3, 5, 7, 9} ∩ {1, 4, 6, 8, 9}
= {1, 9}
∴ LHS=RHS
(ii) (A ∩ B)0 = A0 ∪ B 0
Proof same as above
(ii) A × B = B × A, only if A = B.
(iii) A × B = φ if either A = φ or B = φ
(iv) (A ∪ B) × C = (A × C) ∪ (B × C)
(v) (A ∩ B) × C = (A × C) ∩ (B × C)
(vi) (A − B) × C = (A × C) − (B × C)
14 UNIT 1. SET THEORY
Assume that,A × φ 6= φ
Prove that A × (B ∪ C) = (A × B) ∪ (A × C)
Proof:
Let (x, y) ∈ A × (B ∪ C)
⇔ x ∈ A and y ∈ (B ∪ C)
⇔ x ∈ A and (y ∈ B or y ∈ C)
⇔ (x ∈ A and y ∈ B) or (x ∈ A and y ∈ C)
⇔ (x, y) ∈ (A × B)or (x, y) ∈ (A × C)
⇔ (x, y) ∈ (A × B) ∪ (A × C)
Example : If A = {1, 2, 3}, B = {4} and C = {6} then verify (i)A × (B ∩ C) = (A × B) ∩ (A × C) and
(ii)A × (B − C) = (A × B) − (A × C)
(i)
LHS = A × (B ∩ C)
= {4} ∩ {6}
=φ
RHS = (A × B) ∩ (A × C)
= {1, 2, 3} ∩ {4}
= {(1, 4), (2, 4), (3, 4)} ∩ {(1, 6), (2, 6), (3, 6)}
=φ
∴ LHS=RHS
(ii)
LHS = A × (B − C)
= {1, 2, 3} × {4}
= {(1, 4), (2, 4), (3, 4)}
RHS = (A × B) − (A × C)
= {(1, 4), (2, 4), (3, 4)} − {(1, 6), (2, 6), (3, 6)}
= {(1, 4), (2, 4), (3, 4)}
∴ LHS=RHS
1.8.2 Exercise
1. Let A = {1, 2, 3}, B = {2, 4} and C = {1, 3, 5} then find (A ∩ B) × C, B × C and (A ∪ B) × (A ∩ C)
2. Prove: (A ∩ B) × C = (A × C) ∩ (B × C)
3. Prove: (A − B) × C = (A × C) − (B × C)
1.9. PRACTICAL PROBLEMS : 15
n(A ∪ B ∪ C) = n(D ∪ C)
= n(D) + n(C) − n(D ∩ C)
= n(A ∪ B) + n(C) − n((A ∪ B) ∩ C)
= n(A) + n(B) − n(A ∩ B) + n(C) − n((A ∩ C) ∪ (B ∩ C))
= n(A) + n(B) − n(A ∩ B) + n(C) − (n(A ∩ C) + n(B ∩ C) − n((A ∩ C) ∩ (B ∩ C))
= n(A) + n(B) − n(A ∩ B) + n(C) − n(A ∩ C) − n(B ∩ C) + n(A ∩ B ∩ C)
= n(A) + n(B) + n(C) − n(A ∩ B) − n(A ∩ C) − n(B ∩ C) + n(A ∩ B ∩ C)
1.9.1 Examples
1. If X and Y are two sets such that X ∪ Y has 50 elements, X has 28 elements and Y has 32 elements, how
many elements does X ∩ Y have ?
2. In a class of 35 students, 24 like to play cricket and 16 like to play football. Also, each student likes to
play at least one of the two games. How many students like to play both cricket and football ?
Let X be the set of students who like to play cricket and Y be the set of students who like to play football.
Then X ∪ Y is the set of students who like to play at least one game, and X ∩ Y is the set of students
who like to play both games.
3. In a survey of 400 students in a school, 100 were listed as taking apple juice, 150 as taking orange juice
and 75 were listed as taking both apple as well as orange juice. Find how many students were taking
neither apple juice nor orange juice.
= n(U ) − n(A ∪ B)
= 400 − (n(A) + n(B) − n(A ∩ B))
= 400 − (100 + 150 − 75)
= 400 − 175
= 225
4. A college awarded 38 medals in football, 15 in basketball and 20 in cricket. If these medals went to a total
of 58 men and only three men got medals in all the three sports, how many received medals in exactly
two of the three sports ?
Let F, B and C denote the set of men who received medals in football, basketball and cricket, respectively.
n(F ) = 38, n(B) = 15, n(C) = 20, n(F ∪ B ∪ C) = 58 and n(F ∩ B ∩ C) = 3