1.1 Relations and Functions
1.1 Relations and Functions
Functions and
Operations
on Functions
(Part 1)
Outline:
● Definition of Relation and Function
● Algebraic Functions and
Transcendental Functions
Objectives:
At the end of this chapter, you should be
able to
1. determine properties of functions;
2. perform operations on functions;
3. sketch the graphs of functions;
4. find the inverse of a function;
5. make conjectures mathematically;
6. prove theorems about functions.
2
Definition 1.1.1 The cartesian product
of sets A and B is A × B where
A × B = {(x,y): x ∈ A and y ∈ B}.
3
Example 1.1.1: If A = {1, 2, 3} and B = {4,5},
find A × B and B × A.
Solution:
A × B = {(x,y): x ∈ A and y ∈ B}
= {(1,4), (1,5), (2,4), (2,5), (3,4), (3,5)}
B × A = {(x,y): x ∈ B and y ∈ A}
= {(4,1), (4,2), (4,3), (5,1), (5,2), (5,3)}.
Then
A × B = { (1,3), (1,4), (2,3), (2,4)}.
7
A × B = { (1,3), (1,4), (2,3),
(2,4)}
a. Let r = {(1,3), (1,4)}.
Since r is a subset of A × B, r is a
relation from A into B.
Since (1,3) ∈ r, 1 r 3.
Since (1,4) ∈ r, 1 r 4.
Since (2,3) ∉ r, 2 r 3.
8
A × B = { (1,3), (1,4), (2,3),
(2,4)}
b. Let s = {(1,4), (2,3), (2,4)}.
Since s is a subset of A × B , s is a
relation from A into B.
Since (1,4) ∈ s, 1 s 4.
Since (2,4) ∈ s, 2 s 4.
Since (1,3) ∉ s, 1 s 3.
9
Example 1.1.4 Let A = {Jean, Edith, Roly}
and B = {Thea, Jenna}.
Then
A × B = { (Jean,Thea), (Jean,Jenna),
(Edith,Thea), (Edith,Jenna),
(Roly,Thea), (Roly,Jenna)}.
10
A × B = { (Jean,Thea), (Jean,Jenna), (Edith,Thea),
(Edith,Jenna), (Roly,Thea), (Roly,Jenna)}.
12
Definition 1.1.3 Let r be a relation from a set
A into a set B. The domain of r, written
Dom(r), is
Equivalently,
13
Definition 1.1.4 Let r be a relation from a set
A into a set B. The range of r, written
Ran(r), is
Equivalently,
14
Example 1.1.5 Let A = {1,2} and B = {3, 4}.
15
Example1.1.6 Let A = R and B = R.
16
Definition 1.1.5 Let r be a relation
from a set A into a set B where A and
B are subsets of R. The graph of r is
the set of all points (x,y) in R×R = R2
such that (x,y) ∈ r.
17
Example 1.1.7 Sketch the graph of
each relation.
a. t = {(x,y): y = 2x + 1}
b. g = {(x,y): y = [|x|]}
c. b = {(x,y): x2 + y 2 = 1 }
d. p = {(x,y): y 2 = 4(x – 2) }
e. h = {(x,y): x2 - y 2 = 4 }
18
a. t = {(x,y): y = 2x + 1}
y
The graph in R2 of
y = mx + b ∙
is a line with slope m
and y-intercept b. ∙
x
So the graph in R2
of
y = 2x +1
is a line with slope 2
and y-intercept 1.
19
b. g = {(x,y): y = [|x|]} y
By definition, [|x|] is
the largest integer
less than or equal to
x. °
°
° x
°
°
°
20
c. b = {(x,y): x2 + y 2 = 1 }
y
The graph in R2 of
∙
(x - h)2 + (y - k)2 = r 2
is a circle centered at
(h,k) with radius r. ∙ ∙ x
1
Thus, the graph in
R2 of
x2 + y2 = 1
∙
is a circle centered
at (0,0) with radius
1. 21
d. p = {(x,y): y 2 = 4(x – 2) }
y
The graph in R2 of
(y - k)2 = 4p(x - h) is a
parabola with vertex at ∙
(h,k) and length of latus
rectum |4p|. ∙ x
The graph in R2 of ∙
y2 = 4(x - 2) is a parabola
with vertex at (2,0) and
length of latus rectum 4.
22
e. h = {(x,y): x2 - y 2 = 4 }
The graph in R2 of
A(x - h)2 - B(y - k)2 = r 2
is a hyperbola with vertex at (h,k) and asymptotes
given by
A(x - h)2 - B(y - k)2 = 0.
The graph in R2 of
x2 - y2 = 4
is a hyperbola with vertex at (0,0) and asymptotes
given by
x2 - y2 = 0 or y = ± x
23
x2 - y2 = 4
y
∙ ∙ ∙ x
24
Definition 1.1.6 A function f from a set
A into a set B is a relation from A into B
such that
Also, if
and
then since y is unique, we may write
28
Definition 1.1.7 Let f: A → B. If C is
a subset of A, then
29
Example 1.1.9 Let f(x) = 3x + 2
and g(x) = x2 , C is the closed
interval [1,2] and E is the open
interval (1,2). Then
a. f(C) = [5,8]
b. f(E) = (5,8)
c. g(C) = [1,4]
d. g(E) = (1,4)
30
Example 1.1.10 Let
and
and
32
The vertical line test
A graph in R2 is the graph of a
function iff any vertical line
intersects the graph at most once.
33
Definition 1.1.9 Let A be a non-
empty set. The identity function on A
is the function
where