Lesson 4.2 · Introduction to Functions
Function notation
Writing "" works, but it gets clumsy when you have several functions or want to say "the output when the input is ." Function notation gives each function a name and a compact way to write its inputs and outputs.
Naming a function
Definition
Function notation
The notation , read " of ," means the output of the function when the input is . The letter is the name of the function, and is the input.
So instead of , you can write
This says the same thing: to get the output, multiply the input by and subtract . The graph of is the same as the graph of , because and both name the output.
Functions don't have to be called . You'll see , , and names that fit a situation, like for a cost that depends on a number of items, or for a distance that depends on time.
Common mistake
does not mean times . The parentheses here hold the input; they are not multiplication. In the same way, is "the output when the input is ," not " times ."
Evaluating a function
To find , replace every in the rule with , then simplify. This is just substitution from Unit 1, written in new notation.
Input and output
- asks: the input is , what is the output? Substitute and simplify.
- asks: the output is , what is the input? Set the rule equal to and solve.
Worked example: Evaluating at numbers
Let . Find , and .
Each result is an ordered pair on the graph of : , and . The statement says exactly the same thing as "the point is on the graph."
When a rule has several 's, every one of them gets the input. Use parentheses, especially for negative inputs.
Worked example: A rule with a square
Let . Find .
Working backward: when is the output a given value?
Sometimes you know the output and need the input. Since you've already learned to solve equations, this is one more step.
Worked example: Solving f(x) = b
Let . For what input is ?
Check: . So , and the point is on the graph.
Reading function values from a graph
On a graph of , the value is the height of the graph above (or below) . To find , go to on the -axis, move straight up or down to the graph, and read the -value.
To answer "" from a graph, go the other way: find the height on the -axis, move across to the graph, and read every -value where the graph has that height. For the graph above, the horizontal line meets the graph at and , so has two solutions. That's allowed: two inputs can share an output.
Functions in context
Function notation shines in real situations, because the statement carries the meaning of both numbers.
Worked example: Interpreting function notation
A bike rental shop charges a $6 helmet fee plus $14 per hour. The cost in dollars for hours is .
- Find and explain what it means.
- Solve and explain what it means.
Solutions.
- . Renting a bike for 3 hours costs $48.
- , so and . For $76 you can rent a bike for 5 hours.
In , the number inside the parentheses (hours) is the input and the number on the right (dollars) is the output. Keeping track of which is which is the whole point.
Inputs that are expressions
The input doesn't have to be a number. If , then means "replace each with ":
The parentheses around the input are essential; the distributive property does the rest.
Tip
Check an expression input with a number. If , then , and . They match.
Practice
Let . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let . For what value of is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Use the graph of below to find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Using the same graph, find every for which .
Separate answers with commas, e.g. 2, -5
A kayak rental costs dollars for hours. What does mean?
Let . Find in terms of .
Enter an expression, e.g. 3x^2 - 2x + 1