Answer:
See below
Step-by-step explanation:
a)
<u>Domain:</u> the cartesian product of integers ZxZ
<u>Range:</u> the integers Z, for every p in Z is the image of (p, p-1)
b)
<u>Domain:</u> the positive integers Z+
<u>Range:</u> the set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} obviously, f(1)=9, f(12)=8, f(123)=7,...,f(123456789)=1 and f(1234567890)=0. So, every number in {0,1,...,9} is the image of some positive integer.
c)
<u>Domain:</u> all the bit strings. Since any real number can be written as a bit string in the binary system, the domain is actually the set R of real numbers.
<u>Range:</u> a bit string can have 0 or 1 or 2 or more blocks “11”, so the range is the set N of natural numbers including 0.
d)
<u>Domain:</u> all the bit strings (the real numbers as in c).
<u>Range:</u> the natural numbers N plus 0