Bifalgorithm post · Brisk · Chapter 1
What are a function’s meaning, definition, and range?
What are a function’s meaning, definition, and range? (Brisk · Chapter 1) — "Now as with relations, functions normally have “meaning.” We could define a functi…
Ideas in this flowchart
- Functions have meanings and map domain elements to codomain values.
- Wizard-and-drink functions illustrate meaningful associations.
- firstTasted associates each wizard with the soft drink first sampled in childhood.
- faveDrink maps each wizard to a favorite drink, assuming every wizard has one in the set.
- wouldChooseWithMexicanFood identifies the drink each wizard would choose with Mexican food.
- Ron’s values provide a concrete example of the three functions.
- firstTasted(Ron) = Mt. Dew.
- faveDrink(Ron) = Mt. Dew.
- wouldChooseWithMexicanFood(Ron) = Dr. Pepper.
- Ron first tasted Mt. Dew and has favored it, but prefers Dr. Pepper with Mexican food.
- Functions can be defined intensionally or extensionally.
- An intensional definition gives the conceptual meaning of the function.
- An extensional definition lists the value for each element of the domain.
- A function’s range is the subset of the codomain reached by at least one domain element.
- For G : X → Y = {(Harry, Dr. Pepper), (Ron, Dr. Pepper), (Hermione, Dr. Pepper)}, the codomain is {Dr. Pepper, Mt. Dew}.
- The range of G is {Dr. Pepper}, because no input maps to Mt. Dew.
- A function’s range is also called its image.
