14.2 Function notation and evaluating functions — Learn
Prerequisites: the idea of a function from Section 14.1, and substituting values into expressions from Section 10.2.
Objectives: read and write function notation; find the output for a given input; find the input that gives a chosen output; name the domain and the range in notation; use a function to model the garden bed.
By the end of this section, you can use function notation to find an output, and to find the input that gives it.
Naming a function
A function needs a name, so you can talk about it. We use a letter, usually .
The notation means "the output of the function for the input ". You read as " of ".
This is the rule multiply by 3, then subtract 2, with the name . The same rule can be written in three ways, and they all mean the same thing.
The last one uses an arrow and reads "the function maps to ".
Finding an output
To find , replace every in the rule with 4.
The output is 10. The number inside the bracket is always the input.
Example 1. The function is given by . Find .
Put a negative input in brackets, so the sign stays attached to the number.
Example 2. The function is given by . Find .
Work out the index before the addition.
Example 3. The function is given by . Find .
The square of a negative number is positive.
Finding the input
Sometimes you know the output and want the input. You solve an equation.
Example 4. The function is given by . Find the input for which .
Write the rule equal to the output, and solve.
Subtract 7 from both sides.
Divide both sides by 2.
The input is 6, because .
Example 5. The function is given by . Find both inputs for which .
A square hides the sign of its input, so both and 2 give the output 0.
Domain and range in notation
The domain is the set of inputs the function allows. The range is the set of outputs it produces.
For with the domain , the range is .
For with the domain of all real numbers, the range is every number from 0 upwards. A square cannot be negative, so no output is below 0.
In a real problem the domain is often limited by the situation. The garden bed cannot have a negative width, and it cannot be wider than 6 m, so its domain is to .
The garden bed
The area of the garden bed is a function of its width. Write it with the name .
Example 6. Find .
The area is for a width of 3 m.
Example 7. Find the widths for which the area is .
This is a quadratic equation. Move every term to one side and divide by 2.
Factorise.
So or . Both widths give an area of , which is the pair you met in Section 14.1.
Two functions that meet
Two functions can have the same output for one input. That input is where their graphs cross.
Example 8. The functions are and . Find the input for which .
Subtract from both sides.
Check: and . Both functions give 9, so the graphs cross at the point .
Progress check
Return to the chapter problem. The area of the garden bed is square metres, where is the width in metres.
- Find and .
- Both answers are the same. What does that tell you about the graph of ?
- Find the width for which the area is .
In Section 14.3 you will draw the graph of the fenced length.
You should now be able to
- read and write a function in the forms , and ;
- find the output for a given input, including a negative input;
- find the input that gives a chosen output by solving an equation;
- name the domain and the range of a function;
- use a function to model a real situation such as the garden bed.