Module-1 Abstract
Module-1 Abstract
Introduction
Key Concepts:
To find the value of n mod m, just take away as many multiples of m as possible
until you are left with 0 to m - 1. In short, we find remainder upon division by m.
Examples:
where mk refers to the closest multiple of m less than or equal to (a+b) or (a x b).
From the addition and multiplication tables, we can readily identify the additive
and multiplicative inverses.
Example 2: The addition and multiplication tables for Z5 are:
From the addition and multiplication tables, we can readily identify the additive
and multiplicative inverses.
Congruence in Modulo m
Example 4:
a) 9 (mod 4) = 1 and 6 (mod 4) = 2
9 )mod 4) + 6 (mod 4) = 1 + 2
(9 + 6) (mod 4) = 3
15 (mod 4) = 3
3 (mod 4) = 3
Example 5:
9 (mod 4) = 1 and 6 (mod 4) = 2
9 (mod 4) x 6 (mod 4) = (1 )( 2)
(9 x 6) (mod 4) = 2
54 (mod 4) = 2
2(mod 4) = 2
Introduction
Key Concepts:
A function can also be defined as a relation ( set of ordered pairs) such that no two
ordered pairs have the same first element.
X Y
f
x y
y = f(x)
Given the function f whose mapping is shown below, answer the questions that
follow.
X Y
-2 -2
-1 -1
0 0
1 1
2
Questions:
1. f(-1)=
2. What is the image of 2?
3. What is the domain of f ?
4. What is the codomain of f?
5. What is the pre image(s) of 1?
A function can also be presented in the form of an arrow diagram.
A function can also be presented as a graph like the ones below. The vertical line test
can be used to determine whether the graph is of a function or not.
Types of Functions
A. Injections
A function is said to be one to one, if and only if for all a and b in the domain,
f(a) = f(b) implies that a = b. A function is said to be an injection if it is one to one.
If the graph is given, a horizontal line test can determine whether a given function is
injective or not. The line must only cut the graph once.
2. f : R→ R
f(x) = 3x
Solution:
To show: f(x1) = f(x2) whenever x1 = x2
x1 = x2 No two values of x will give
3x1 = 3x2 the same function value
x1 = x2
So if x1 = x2, then f(x1) = f(x2), that is, f is one to one
Drills: Determine whether the following functions are one to one.
Surjection
A function f from X to Y is called onto, if and only if for every element y Y there
is an element x X with f(x) = y. A functions is called a surjection if it is onto. In
other words, if the range and the codomain of a function are equal, the function is
onto or surjective.
Take note that in the first mapping, although C is an element of Y, it is not part of the
range of the function. In the first example the codomain is Y={ A,B,C,D}, while the
range is {A,B,D} which obviously are not equal.
Example: Show that f(x) = 3x - 2 for the set of real numbers is surjective. What about
for the set of integers?
Solution: y = 3x - 2
Lets solve for x in terms of y
y + 2 = 3x
y2
x
3
a) Checking for f: R→R
Assign y values and solve for x, and check whether the results are real
numbers
If y = 0, x = 2/3
y = 1, x = 1
The resulting x values are real numbers, therefore f: R→R is surjective
Solution:
Yes, f is onto since all three elements of the codomain are images(range) of the
elements in the domain. If the codomain were changed into {2,4,6,8}, f would not be
onto.
Solution:
No, f is not onto because there is no integer x with x2 = - 4, for example.
Bijection
A function f is a bijection if it is both one to one and onto, both injective and
surjective.
Examples:
1. A linear function y = mx + b is a bijective function from the set of real numbers to
itself.
2. The cubic function f(x) = x3 is bijective from the set of real numbers to itself.
C 2
D 3
B.
Mulan Arendelle Is f injective?
Is f surjective?
Elsa Te Fiti Is f bijective?
Moanah DunBroch
Merida Antartica
China
C.
Ana Statistics Is f injective?
Is f surjective?
Minda Biology Is f bijective?
Marla Physics
Miriam Geometry
History
D.
Quirino Basco
Batanes Ilagan
E. Determine whether each of the function on the set of real numbers listed below is
or is not a) injective and b)surjective.
Topic 3: Equivalence Relations
Relation
1. Find AxB
Solution: AxB = {(1,1), (1,2), (1,3), (1,4), (1,5), (2,1), (2,2), (2,3), (2,4), (2,5),
(3,1), (3,2),(3,3), (3,4), (3,5), (4,1), (4,2), (4, 3), (4,4), (4,5), (5,1), (5,2), (5,3),
(5,4), (5,5)}
Equivalence Relation
2. Symmetric Property
If (a, b) R, then (b, a) R.
( if a R b, then b R a) If a is related to b, then b is related to a.
This means every element of R can be reversed.
3. Transitive Property
If (a,b) R and (b, c) R then (a,c) R. ( a R b and b R c, then a R c). If a is
related to b and b is related to c, then a is related to c.
If the R (relation) satisfies these three properties, then R is an equivalence relation.
Drills/Exercises:
2. Let the relation R on the set {1, 2,3,4} be defined by the rule