Set Theory Function
Set Theory Function
FUNCTIONS
DEFINITION 3.1.1
DOMAIN OF f = A
= { x│y = f(x) for some y ∈ B }
= the set of all pre – images.
ILLUSTRATION:
f
A B
a 1
e 2
i 3
o 4
5
Range of f = { 1, 2, 3, 5 }
Co – Domain of f = {1,2,3,4,5}
Domain of f = { a, e, I, o }
f(a) = 1
f(e) = 5
f(i) = 3
f(o) = 2
PROPERTIES OF FUNCTION:
DEFINITION 3.1.2
ILLUSTRATION:
A B
a 1
2
b 3
}arguments
Proof:
Let x1, x2∈Df.
ASSUME: f(x1) = f(x2), then
mx1 + b = mx2 + b
m x1 m x2
m
= m
X 1 = x2.
ILLUSTRATION:
f
A B Proof:
f(a) = 4
a 1 f( e) = 2
e 2 f(i) = 1
i 3
f(o) = 4
o 4
f(a) = f(o) = 4, but a≠ o, thus, f is not a 1-1 function.
X 1 = ± x2
X1 = x2 since x1, x2≥ 0.
Therefore, f(x) = x2, x ≥ 0 is a 1-1 function ∎
DEFINITION:
⇛ f is onto iff:
ILLUSTRATION:
f
A B
a 1
b 2
c 3
d 4
e
APPLICATION
Is f onto?
Y = x2
X = ±√ y
X = √ y since coDf = [0, + ∞ ]. Thus, x is defined for all values of y ≥ 0,
therefore Rf = [0, +∞ ].
Thus, f is onto since Rf = coDf ∎
DEFINITION:
A function f: A → B is said to be BIJECTIVE FUNCTION iff:
i) both 1-1 function and onto
ii) A and B have the same number of elements
iii) has a 1-1 correspondence.
ILLUSTRATION:
A B
a 1
B 2
Example
c 3
APPLICATION
a) Is f 1-1?
c) Is f bijective?
EXAMPLES OF FUNCTIONS
1) IDENTITY FUNCTIONS:
Y=x
2) CONSTANT FUNCTION:
f
A B
a 1
a) f is not 1-1 since f(a) = f(b) = b, but a ≠ b.
b 2
c 3 b) f is not onto since there are elements in B, say 1 & 3
f
A B
1
b 2
3
3. EQUAL FUNCTION:
If f and g are functions defined in the same domain D, and if f(a) = g(a),
∀ a ∈ D , then the functions f and g are equal, denoted by f = g.
Example:
b) Let f, g, h be denoted by
f(x) = x3 , 0 ≤ x≤1
g(x) = y3 , 2 ≤ y≤8
h(z) = z3 , Z ∈R
4. CHARACTERISTIC FUNCTION:
{0 if x ∈ B
C B (x) = 1if x ∉ B
Example: CB : R →Q defined by
{ 0 if x is rational
CB (x) = 1if x isirrational
If B = { 2, √ 2, -3, π , 0 } , then
i) CB (2) = 0
ii) CB ( √ 2 ) = 1
iii) CB ( π ) = ?
IV) CB ( 0 ) = ?
5. PRODUCT FUNCTION:
Let f: A →B
g: B → C , then the product function (composition function ) of f and g
denoted by g o f or g(f) is the function g o f: A → C denoted by (g o f)(a) = g [ f(a)
ILLUSTRATION:
f g
A B C
a b c
gof
(g o f)(a) = g [f(a) ]
(g of)(a) = g (b )
(g o f)(a) = c
1) Given: f: A → B and g : B → C
gof
THEOREM:Let f : A → B
g:B→ C
h : C → D , then
(h o g) o f = h o (g o f), hence we can write h o g o f: A → D
Proof:To show (h o g ) o f = h o (g o f) , i. e ∀ x ∈ A,
[ (h o g) o f ] (x) = [h o ( g o f) ] (x)
= [h 0 g] f(x)
= h[ g ( f(x) )]
= h [ (g o f ) (x) ]
= [ h o (g o f)](x) , ∀ x ∈ A.
Therefore, (h o g ) o f = h o ( g o f ), meaning the composition function is associative.
6. INVERSE FUNCTION
Def’n:
Let f be a function A into B and let b ∈ B. Then the inverse of b, denoted by f -1 (b) consists of those elements
in A which have b as their image. Briefly, if f : A → B, then
1) f
A B
c) f -1 ( 4 ) = { b }
d) R f −1
( 1, 2, 3, 4) = {a, b, c}
2.
A B
Let f: A → B and let D be a subset of B. Then, the inverse of D, denoted by f -1 (D), consists of those element in A
which are mapped onto some element in D. Briefly,
Example:
A B Find:
-1
a) f {y,z} = { a, b, c}
a x -1
b) f (y,z,w) = {a,b,c,d} = A
b y c) f -1 {x, y, z, w} = { a, b, c, d} = A
c z
d w
1
THEOREM:
(g o f ) -1 (H) = f -1 ( g -1 (H)).
(g o f ) -1
Illustration:
f g
f -1 g -1
gof
Problem set No. 1 . Write all your answers and necessary solutions in a short bond paper.
Due date: (scheduled scheme)
1. Let f : [1, + ∞ ) → ( - ∞ , o]
X → - √ x−1
Is f bijective ?
5. f g 1) (g o f ) (x)
A B C 2) (g o f) (y)
3) (g o f) (z)
x a 1
y b 2 4) Rg o f =
z c 3
w d 4
gof
6.3) (g o f) (3)
6.4) (f o g )(6)
7. ) f
A B
e) f -1 (1, 2, 3, 4)
The domain of a relation is the set of all first components of the points in the relation.
When the domain of the locus of an equation is known, the appropriate points to use in
sketching the graph can easily be chosen.
D = R ∖ {0}.
2) x(y2 – 4) = 2y
Solution:
Xy2 -4x = 2y
2± √ 4−4 ( x )(−4 x ) 2± √ 4+ 16 x2
Y= = ; x ≠ 0.
2x 2x
Since 4 + 16x2 > 0 for all real number x, it follows that √ 4 +16 x 2 is a real number. Although the
equation (Q.E) does not hold for x = 0, the original equation yields y = 0 when x = 0. This means
that the point (0,0) is in the locus of the given equation. Hence, x = 0 is in the domain of the
locus. Therefore the domain of the given relation is the set of all real numbers, that is D = R .
3) y(x2 – 4) = 1.
1
Y= 2
x −4
D = R ∖ {−2,2}
4) y = √ x 2−9
X2 -9 ≥ 0
(x-3)(x +3) ≥ 0
1) xy + 1 = x
Solution: xy – x = -1
X(y – 1) = -1
−1
X = y−1
R = R ∖ {1}
2) y = - √ x
Solution: x = y2
R = (- ∞ , 0]
3) y(x2 -4) = 1
X2y – 4y = 1
X2y = 4y + 1
4 y +1
X2 = y
√
X = ± 4 y +1
y
4 y +1
≥0
y
Y≥0
4y ≥ -1
−1
Y≥ 4
1
Therefore, R = (- ∞ , - 4 ] ∪ (0, + ∞ )
INTERCEPTS
The graph at which the graph of the equation crosses the x-axis or y-axis is called an x-intercept or y – intercept
respectively.
Step 1. To find the x – intercepts, set y = 0 in the given equation and determine the value(s) of x.
Step 2. To find the y –intercepts, set x = 0 in the given equation and determine the values(s) of y.
Example: Find the intercepts of then locus of the equation xy + 1 = x.
X = 0 , we get 1=0 which is a false statement. Therefore the graph of the equation has no y – intercept.
Solution:
a) Replacing y by –y in the equation yields x(-y) + 1 = x or –xy + 1 = x. Therefore the graph is not symmetric wrt
the x-axis.
b) Replacing x by –x in the equation yields (-x)y + 1 = -x. Therefore the graph is not symmetric wrt the y – axis.
c) Replacing x by –x and y by –y in the equation yields (-x)(-y) + 1 = -x or xy + 1 = -x. Therefore the graph is not symmetric
wrt the origin.
THE ASYMPTOTES
A line x = k (k is a constant) is a vertical asymptote to the graph of an equation if the distance between the
graph of the equation and this line gets closer and closer to zero (that is, the graph or a portion of the graph of the
equation gets closer and closer to this line) as the graph either becomes higher and higher or lower and lower. A line y =
k is a horizontal asymptote to the graph of an equation if the distance between the graph of the equation and this line
gets closer and closer to zero (that is the graph or a portion of a graph of the equation gets closer and closer to yhis line)
as the value of x either increases or decreases without bound.
VERTICAL ASYMPTOTE
Step. 1. Solve the given equation for y in terms of x.
Step 2. In the resulting expression involving x, find all those values of x for which the denominator is zero and the
numerator is not. If k is one such value, then x = k is a vertical asymptote.
HORIZONTAL ASYMPTOTE
Step. 1. Solve the given equation for x in terms of y.
Step 2. In the resulting expression involving y, find all those values of y for which the denominator is zero and the
numerator is not. If k is one such value, then y = k is a vertical asymptote.
Example: Find the vertical and horizontal asymptotes, if any, to the graph of the equation xy + 1 = x.
x−1
Y= ; the denominator is zero when x = 0. Therefore, x = 0 is the vertical
x
asymptote.`
Xy –x = -1
X(y-1) = -1
−1
X=
y−1
y- 1 = 0
X -4 -3 -2 -1 1/2 1 2 3
y 5/4 4/3 3/2 2 -1 0 1/2 2/3
y
Y=1
EXERCISES:
1. Find the domain, range, intercepts, symmetries, and asymptotes of the locus of the equation of each of the following
relations. Give a sketch of the graph.
a) y(x2 -4) =1
b) xy + y = x
c) 2xy – 1 = x
d) x2y = 4