Beruflich Dokumente
Kultur Dokumente
1. RELATION
Definition 1.1
If A and B is two particulars of set, so a relation R from A
to B is particular subset from A x B, represent empty set,
is :
R AxB
R = {(a,b) / a relation with b}
= {(a,b) / aRb
2/19/2019 7:37 PM 2
2. REPRESENTATION OF
RELATION
2/19/2019 7:37 PM 3
A. REPRESENTATION WITH ARROW
DIAGRAM
Example 1:
A B
2 So that relation is
2
3
A completed divided B
3 4
8
9
Domain: { 2,3}
Codomain: { 2,3,4,8,9}
Range: { 2,3,4,8,9}
2/19/2019 7:37 PM 4
B. REPRESENTATION WITH ORDERED
PAIRS
Example 1 :
The set A: { 2,3}
The set B: { 2,3,4,8,9}
Relation “ A completed devided B” with ordered pairs :
{ (2,2); (2,4); (2,8); (3,3); (3,9) }
Example 2 :
Suppose P = {2, 3, 4} and Q = {2, 4, 8, 9, 15} is be definited
relation R from P to Q with (p, q) ϵ R if p multiple q ?????
2/19/2019 7:37 PM 5
Definition 1.2
Relation in set A is relation from A x A
Example :
suppose R is the relation in A = {2, 3, 4, 8, 9} is be definited
by (x,y) ϵ R if x is prime factor from y.
Solution :
R = {(2,2); (2,4); (2,8); (3,3); (3,9)}
2/19/2019 7:37 PM 6
C. REPRESENTATION WITH CARTESIUS
GRAF
9
8
4
3
2
x
2 3
2/19/2019 7:37 PM 7
D. REPRESENTATION WITH TABLE
Example :
P Q
2 2
2 4
2 8
3 3
3 9
2/19/2019 7:37 PM 8
E. REPRESENTATION
RELATION WITH MATRIX
Suppose R is the relation from A = {a1, a2, …, am}
and
B = {b1, b2, …, bn}.
The relation R represented with matrix M = [mij],
b1 b2 bn
a1 m11 m12 m1n
a2 m21 m22 m2 n
M=
am mm1 mm 2 mmn
1, (ai , b j ) R
mij
0, (ai , b j ) R
9
Example 1 :
Suppose P = {2, 3, 4} and Q = {2, 4, 8, 9, 15} is be
definited relation R from P to Q with (p, q) ϵ R if p
completed devived q.
Get R {(2,2); (2,4); (4,4); (2,8); (4,8); (3,9); (3,15)}
Solution :
a1 2, a2 3, a3 4 and
b1 2, b2 4, b3 8, b4 9, b5 15
1 1 1 0 0
0 0 0 1 1
2/19/2019 7:37 PM 0 1 1 0 0 10
Example 2:
Find the reletation of R in A = {1, 2, 3, 4} that is
represented by matric M as follows:
1 0 1 1
0 1 1 0
M
0 0 0 1
1 0 0 1
2/19/2019 7:37 PM 11
Solution:
So for R A x A are
R = {(1,1); (1,3); (1,4); (2,2); (2,3); (3,4); (4,1); (4,4)}
2/19/2019 7:37 PM 12
F. REPRESENTATION WITH
GRAPHS
2/19/2019 7:37 PM 13
Example:
Suppose R = {(a, a), (a, b), (b, a), (b, c), (b, d), (c, a),
(c, d), (d, b)} is the relation in set {a, b, c, d}.
b
a
c d
14
3. RELATION PROPERTIES
A. REFLEXIVE
Definition 3.1
Relation of R in set A is reflexive if (a,a) ϵ R for every a ϵ A
Example :
Suppose A = {1, 2, 3, 4}. Which one have properties
reflexive??
(i) R = {(1,1); (1,3); (2,1); (2,2); (3,3); (4,2); (4,3); (4,4)} ???
2/19/2019 7:37 PM 15
B. SYMETRIC
Definition 3.2
The Relation of R in set A is symetric if (a,b) ϵ R, so (b,a)
ϵ R for all a,b ϵ A
Definition 3.3
The relation of R in set A is antisymetric if (a,b) ϵ R and
(b,a) ϵ R, so a = b for all a,b ϵ A
2/19/2019 7:37 PM 16
Example :
Definition 3.4
The relation of R in set A is transitive if
(a,b) ϵ R, (b,c) ϵ R, so (a,c) ϵ R for all
a,b,c ϵ A
2/19/2019 7:37 PM 18
Example :
2/19/2019 7:37 PM 19
4. EQUIVALENCE RELATION
Definisi 1.4
The relation of R in set A is equivalence if have
reflexive, symetric and transitive properties.
Example :
Which one the relation in X = {1, 2, 3} bellow that constitute
in equivalence relation ???
(i) R = {(1,1); (1,2); (1,3); (2,2); (2,3); (3,1); (3,2); (3,3)}
(ii) R = {(1,2); (2,1); (3,3); (2,2)}
2/19/2019 7:37 PM 20
Example :
For X = {1, 2, 3}
(i) R = {(1,1); (1,2); (1,3); (2,2); (2,3); (3,1); (3,2); (3,3)}
a. Reflexive. Because (1,1), (2,2) and (3,3) ϵ R
b. Symetric. Because (1,3) and (3,1) ϵ R, (2,3) and (3,2) ϵ R.
c. Transitive. Because (1,2), (2,3) and (1,3) ϵ R
So R is equivalence relation.
2/19/2019 7:37 PM 21
5. INVERS RELATION
Definition 1.5
Suppose R is relation from set A to set B. Invers
from relation R is notationated R-1 is the relation
from B to A that is definited:
R-1 = {(b,a) Ι (a,b) ϵ R}
2/19/2019 7:37 PM 22
Example :
Solution :
R = {(2,2); (2,4); (2,8); (3,9); (3,15); (4,8)}
So
R-1 = {(2,2); (4,2); (8,2); (9,3); (15,3); (8,4)}
2/19/2019 7:37 PM 23
LATIHAN 1
b
a
c d
Determine the relation R that reflexive, symetric,
antisymetric and transitive properties
2/19/2019 7:37 PM 24
4. For every relation in A = {1, 2, 3, 4} bellow,
which represent equivalence relation.
a. R = {(2,2); (2,3); (2,4); (3,2); (3,3); (3,4)}
b. R = {(2,4); (2,4)}
c. R = {(1,1); (1,3); (2,2); (3,1); (3,3); (4,4)}
d. R = {(1,3); (1,4); (2,3); (2,4); (3,1); (3,4)}
2/19/2019 7:37 PM 25
6. COMBINING THE RELATION
2/19/2019 7:37 PM
Example :
Solution :
R1 R2 = {(a, a)}
R1 R2 = {(a, a), (b, b), (c, c), (a, b), (a, c), (a, d)}
R1 R2 = {(b, b), (c, c)}
R2 R1 = {(a, b), (a, c), (a, d)}
R1 R2 = {(b, b), (c, c), (a, b), (a, c), (a, d)}
2/19/2019 7:37 PM
If each relation R1 and R2 represented by
matrix MR1 and MR2, so matrix that represent
union and intersection from both relation are
MR1 R2 = MR1 MR2 and
MR1 R2 = MR1 MR2
2/19/2019 7:37 PM
Example :
0 0 0
MR1 R2 = MR1 MR2 = 0 0 1
1 0 0
2/19/2019 7:37 PM
Function
2/19/2019 7:37 PM
1. FUNCTION
A B
f
Domain : Df
Codomain : Kf
x Range : Rf
y = f(x)
Notation: f : A →B
Domain Range
y = f(x)
2/19/2019 7:37 PM
EXAMPLE:
A B
Function
Not a Function
Not a Function
2/19/2019 7:37 PM
EXAMPLE:
2/19/2019 7:37 PM
2. KINDS OF FUNCTIONS
A. INJECTIVE FUNCTIONS
A B
a 1
b 2
c 3
d 4
5
2/19/2019 7:37 PM
Example :
(i) The Relation f = {(1, w), (2, u), (3, v)} from A = {1, 2, 3}
to B = {u, v, w, x}
The Relation is injective function
(ii) The Relation f = {(1, u), (2, u), (3, v)} from A = {1, 2, 3}
to B = {u, v, w}
2/19/2019 7:37 PM
B. SURJECTIVE FUNCTION
a 1
b 2
c 3
2/19/2019 7:37 PM
Example :
(ii) The Relation f = {(1, w), (2, u), (3, v)} from A = {1, 2, 3}
to B = {u, v, w}
2/19/2019 7:37 PM
C. BIJECTIVE FUNCTION
Example:
The Relation f = {(1, u), (2, w), (3, v)} from A = {1, 2, 3}
to B = {u, v, w} is bijective function.
2/19/2019 7:37 PM
D. LINEAR FUNCTION
2/19/2019 7:37 PM
COUNT THE VALUE OF FUNCTION
EXAMPLE :
Given function f: x → 2x – 2 in a set of integer.
Determine:
a. f (1),f (2), f(3)
b. image (–2) by f,
c. Value to x = - 5
d. Value x to f(x) = 8
e. Value a to f(a) = 14
f. Draw function graph in cartecius field.
2/19/2019 7:37 PM
DETERMINE THE FORM FUNCTION
EXAMPLE:
Function h in the real set number is defined by
h(x) = a x + b, with a and b integer.
if h (–2) = –4 and h(1) = 5, find:
a. value a and b,
b. The form function.
2/19/2019 7:37 PM
F. POLYNOMIAL FUNCTION
The Form:
y = P(x) = an xn + an-1 xn-1 + … + a2 x2 + a1 x + a0
which: an, an-1, …, a1, a0 = constanta,
n = polinom degree( an 0)
Df = Y
Polinom degree 2: y = P(x) = ax2 + bx + c,
2/19/2019 7:37 PM
G. EXPONENT FUNCTION
x x
0 0 x 0
2/19/2019 7:37 PM
G. ROOT FUNCTION
The Form :
y f ( x) n
x, n 2, 3, 4,...
y y
y2 x
Graph : y3 x
x x
0 0
2/19/2019 7:37 PM
H. TRIGONOMETRIC FUNCTION
A. Sine Function
The Form: y = f(x) = sin x, x in radiant
Df = , Wf = [-1,1]
1 y = sin x
x
-2π -π 0 π 2π
-1
B. Cosine Function
The Form: y = f(x) = cos x, x in radiant
Df = Y, Wf = [-1,1]
y
1 y = cos x
-π π x
-2π 0 2π
-1
C. Tangent Function
sin x
The Form: y f ( x) tan x , x dalam radian
cos x
y = tan x
x
-2π --π 0 π 2π
-1
2/19/2019 7:37 PM
I. EVEN AND ODD FUNCTION
x
-x x
-x
x
x
-f(x)
2/19/2019 7:37 PM 47
EXAMPLE:
solution:
(i) f(x) = x2 + 1 (ii) f(x) = x3 - 2
f(-x) = (-x)2 + 1 f(-x) = (-x)3 - 2
f(-x) = x2 + 1 f(-x) = -x3 - 2
So, it is even function So, it is odd function
2/19/2019 7:37 PM 48
EXERCISE 2
2/19/2019 7:37 PM 50