Functions http://localhost/~senning/courses/ma229/slides/functions/slide01.html 1 of 1 09/07/2003 04:37 PM prev | slides | next
Functions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Functions http://localhost/~senning/courses/ma229/slides/functions/slide02.html 1 of 1 09/07/2003 04:37 PM
Functions
prev | slides | next
Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A. We use several types of notation for functions:
f:A B The function f maps A to B f(a) = b where a A and b B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Functions http://localhost/~senning/courses/ma229/slides/functions/slide03.html 1 of 1 09/07/2003 04:37 PM
Functions
prev | slides | next
Some examples of functions: f(x) = x + 1, x Z. 1.
x f(x) 0 Bob 1 Bill 2 Belinda
2. f(a) = 1, a R. 3.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Functions http://localhost/~senning/courses/ma229/slides/functions/slide04.html 1 of 1 09/07/2003 04:37 PM
Functions
prev | slides | next
If f is a function from A to B then A is the domain and B is the codomain of f. If f(a)=b then b is the image of a and a is the preimage of b. The range of f is the set of all f(a) for each a A.
A is the domain of f, B is the codomain, and the range of f is the set of all elements in B that elements in A are mapped to.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18