6.2 Domain, range and notation — Learn
Prerequisites: substituting into an expression; solving a linear equation; knowing that a square root of a negative number is not real.
Objectives: use function notation; evaluate a function; state its domain and range; find the values that a rule does not allow.
By the end of this section you can write a function in the standard notation, say which inputs are allowed, and describe the outputs.
Function notation
A function is usually written with a name and a rule. The notation
means that the function takes an input and returns . The letter is the name of the function, and stands for the input. You may also meet the arrow form , which reads " sends to ".
To evaluate the function, replace every by the input.
Example 1. For , work out and .
The bracket after the name holds the input, so means "the output when the input is ".
The domain
The domain of a function is the set of inputs the rule allows. Some rules allow every real number, and some do not.
- A fraction is undefined when its bottom is zero, so those inputs are excluded.
- A square root is defined only when the value under it is not negative.
Example 2. State the domain of .
The bottom is zero when , so is not allowed. The domain is every real number except .
Example 3. State the domain of .
The value under the root must not be negative, so . The domain is , written .
The range
The range of a function is the set of outputs it produces. You find it by asking which outputs are possible, given the domain.
Example 4. For with domain the whole real line, the range is . A square is never negative.
Example 5. For with domain the whole real line, the range is also the whole real line. As runs through every real number, so does .
The cooling coffee
The chapter problem has domain , because time starts when the coffee is poured and cannot run backwards. The range is : the coffee starts at , and it settles towards the room temperature of without ever reaching it.
Progress check
Back to the chapter problem. The rule is .
Write down the domain of and explain why. Then write down its range and say what the two endpoints mean for the coffee. Keep both answers for the Review, where they explain why the rule can be turned around.
You should now be able to
- read and use function notation such as ;
- evaluate a function at a number, including a negative number;
- state the domain of a function, and find an excluded value;
- state the range of a function from its rule and domain.