Note that when you define a function, you donβt necessarily have to give an input-output formula β you can also use a table of input-output values or just a description in words (i.e. an algorithm) of how an output is to be produced from an input.
Determine some pattern that all elements of the image have in common. That is, if you were handed an arbitrary element of the codomain , describe what property or properties you would use to determine whether it was in the subset .
, is the bitwise complement function: for input word , the output word is the word of the same length as but with a at every position that has a , and a at every position that has a .
Consider , and recall that for , is the subset of consisting of all words from the alphabet with length . Suppose is a set with distinct elements. Construct a bijection .
When attempting this activity, remember that when you define a function you donβt necessarily have to give an input-output formula β you can also use a description in words (i.e. an algorithm) of how an output is to be produced from an input.