Professional Documents
Culture Documents
Function Props
Function Props
1
Function
A function is a relation that assigns each element in a set of inputs
X , called the domain, to exactly one element in a set of
outputs Y , called the codomain (or range).
f :X!Y
2
Function
f :X!Y
10
5
f(x)
-5
-10
-5 0 5
x
4
Example 2: One-to-one Functions
Consider:
f :R!R such that f (x) = x2
This function is not one-to-one.
25
f (1) = 1
20
f ( 1) = 1
15 f (x) = f ( x)
f(x)
10
0
-5 0 5
x
5
Example 2: One-to-one Functions
Consider:
f : [0, 1) ! R such that f (x) = x2
This function is one-to-one.
25
20
We have removed the
“redundant” values of x
15
from the domain.
f(x)
10
0
-5 0 5
x 6
Example 3: Onto Functions
Consider:
f :R!R such thatf (x) = ex
This function is not onto.
For any y 0 , there is no x such that ex = y .
7
Example 3: Onto Functions
Consider:
f : R ! (0, 1) such that f (x) = ex
This function is onto.
The specified codomain no longer includes the values y 0 .