Example 3 from Algebra and Trigonometry, 3.1 Functions and Function Notation
Use function notation to represent a function whose input is the name of a month and output is the number of days in that month. Assume that the domain does not include leap years.
Work it out on paper first. Then open the solution one step at a time, and stop as soon as you can finish on your own.
The number of days in a month is a function of the name of the month, so if we name the function we write or The name of the month is the input to a “rule” that associates a specific number (the output) with each input.
For example, because March has 31 days. The notation reminds us that the number of days, (the output), is dependent on the name of the month, (the input).
How did it go?