A weather forecast lists the temperature hour by hour. If is that function and counts hours after midnight, then is the temperature at two in the afternoon. Function notation records which input you used and which output you got in a few symbols. Calculus uses it on every page, often with inputs like that are expressions rather than numbers.
Key terms
Function notation
Definition Let be a function with domain . For each , the symbol , read ” of ”, denotes the unique output that assigns to . A formula such as
defines a function by saying that for every in its domain the output is . The letter used for the input is a placeholder, so defines the same function. When no domain is stated, the domain is the natural domain of the formula. Writing names the output .
In plain words The name of the function goes outside the parentheses and the input goes inside. The whole symbol stands for the output.
Example The rule “square the input, then add ” is written . Then , so the point is on the graph of . Writing describes the same rule with a different letter, and indeed as well.
Function value as an output
Definition For an input in the domain of , the function value is a single number, the output at . The letter names the function itself, the whole rule or set of pairs, and is not a number. The equation says exactly that belongs to , which means that the point lies on the graph of .
In plain words The letter is the machine. The symbol is what comes out when you feed it .
Example A ball thrown upward is at height
after seconds. The value says that two seconds after the throw the ball is meters high, and the point is on the graph of . A statement like "" makes no sense, since is the whole height function and not one height.
Evaluation
Definition To evaluate at means to find the value . This is possible exactly when is in the domain of . If is not in the domain, then is undefined, and no algebra can produce a value for it.
In plain words Evaluating is asking the function for its answer at one input. Some inputs simply have no answer.
Example Let
Then and . At the denominator is , so is not in the domain and is undefined.
Substitution
Definition When is given by a formula in , the value is found by replacing every occurrence of in the formula by , written in parentheses, and then simplifying with the usual order of operations.
In plain words Swap each for the input, keep the input in parentheses, and then simplify.
Example Let . Then
The parentheses matter. If the first term were written as , it would be read as , and the result would come out as instead of .
Evaluating from a table or a graph
Definition If is given completely by a table, then is the output listed with the input , and is undefined if is not among the listed inputs. If is given by its graph, then is the second coordinate of the point where the vertical line meets the graph. So
If the vertical line misses the graph, then is not in the domain.
In plain words In a table, find the input and read the output next to it. On a graph, go to the input on the horizontal axis, move up or down to the graph, and read the height there.
Example A function is given by this table.
Then , while is undefined because is not listed. Reading the table backwards answers a different question. The inputs with are and . If the graph of a function passes through and , then and .
Arbitrary inputs
Definition The input of may be any expression whose value lies in the domain of , such as a letter , or , or . To find of an expression, substitute the whole expression, in parentheses, for every occurrence of the variable in the formula, and then simplify.
In plain words The input slot does not care whether it receives a number or an expression. Whatever goes in replaces every , all of it at once.
Example Let . Then
and
A quick numerical check helps. For the last formula gives , and indeed .
Evaluating at a plus h
Definition For numbers and such that is in the domain of , the value is the output of at the single input . It is computed by substituting for the variable. In general is neither nor .
In plain words Think of as one input, a step of size away from . Put the whole sum in the input slot before doing anything else.
Example Let . Then
Compare this with the two tempting wrong answers, and . With and the correct value is , while the wrong ones give and . Subtracting and dividing by gives
which is the difference quotient behind derivatives.
Function value versus multiplication
Definition In the parentheses mean “apply to ”, not “multiply by ”. Function evaluation has no distributive law. The equations
and
hold for all real inputs when for a constant , but they fail for most other functions, for example for and for . So neither may be used unless it has been checked for the function at hand. Whether a letter followed by parentheses means multiplication or evaluation depends on whether the letter names a number or a function.
In plain words A function is not a number you can hand out across a sum. To find , add first and then apply .
Example Take . Then , while . Similarly , while . By contrast, if is the number , then really is a product.
Check yourself
- Let . Find and .
Show the answer
Substituting gives
For the second value,
- Let . Simplify the following expression for .
Show the answer
First
and . So
- For , is it true that for every ?
Show the answer
No. Substituting gives , while . The two agree only at . For example, but .