Every topic in this course is about functions: how their outputs change, what their graphs look like, and how to describe them with numbers and words. This page sets up the vocabulary. If your algebra class used these words loosely, read it carefully; the exam reads them strictly.
What a function is
A function is a rule that gives each input exactly one output. A vending machine is a function from buttons to snacks: B4 always gives the same snack. A table, a graph, a formula or a sentence can all describe a function.
The rule says "exactly one output", not "a different output for each input". Two buttons may give the same snack, and two inputs may share an output. What is not allowed is one input with two outputs.
We name functions with letters and write the input in parentheses. means "the input gives the output ". On the graph of , that is the point . Keep the two apart: inside the parentheses is always the input.
Evaluating with function notation
To evaluate a function, replace every in its formula with the input, and put the input in parentheses. Parentheses protect negative signs and whole expressions.
Worked example 1. For , find and .
Notice that is not . One changes the input; the other changes the output.
Domain and range
The domain of a function is the set of inputs it accepts. The range is the set of outputs it produces. Unless a question says otherwise, the domain of a formula is every real number that gives a real output. Two rules cover almost every case in this course:
- A denominator cannot be .
- The expression under a square root cannot be negative.
Worked example 2. Find the domain of
Square root: , so . Denominator: , so . Both must hold: the domain is with .
On a graph, the domain is how far the graph reaches left and right, and the range is how far it reaches down and up. The graph of starts at and keeps rising to the right, so its domain is and its range is .
Zeros and intercepts
A zero of a function is an input whose output is . On the graph, a zero is an -intercept: the graph meets the -axis there. To find zeros from a formula, set the output equal to and solve. For : gives .
The -intercept is the point where the graph crosses the -axis, . A function has at most one -intercept (one input, one output), but it can have many zeros, or none.
An input outside the domain is never a zero. is undefined at , and since its numerator is always it has no zeros at all.
Piecewise-defined functions
A piecewise-defined function uses different formulas on different parts of its domain. A parking garage might charge $5 for up to two hours and $3 for each hour after that:
Worked example 3. Find and .
meets , so use the first piece: dollars.
meets , so use the second piece: dollars.
Always check the condition first. The most common slip is plugging the input into the wrong piece.