Identifying Functions
Learn to identify functions and test whether a relation is a function using tables, mappings, ordered pairs, and graphs. A function assigns exactly one output to each input.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on Identifying Functions, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
What Is a Function?
Mathematically, we say that the input is also called the independent variable (usually written as ), and the output is called the dependent variable (usually written as ). The key rule is: no input can have more than one output. An input can be used only once, or it can appear multiple times, but it must always connect to the same output.
For example, the rule "add 3 to the input" is a function because every input gives exactly one output . The input 2 always gives output 5; the input 5 always gives output 8. Every input has one home, and that home is always the same.
Testing Functions in Tables and Mappings
In a table, scan the input column from top to bottom. If an input repeats with different outputs, the relation is not a function. For example:
| Input | Output |
|---|---|
| 1 | 4 |
| 2 | 5 |
| 1 | 6 |
In a mapping diagram, arrows show which outputs connect to each input. If any input has more than one arrow coming out of it pointing to different outputs, it is not a function. If every input has at most one arrow leaving it (and that arrow goes to only one output), then it is a function.
A common mistake is confusing the input and output. Always check the input column or the left side of the mapping. It's okay for two different inputs to have the same output—that doesn't break the function rule. Only repeated inputs with different outputs break it.
Testing Functions in Ordered Pairs and Graphs
On a graph, you can use the Vertical Line Test: if you imagine drawing a vertical line at any -value, that line should intersect the graph at most one point. If a vertical line passes through two or more points on the graph, then that -value has more than one -value, and the relation is not a function.
For example, a parabola opening upward () passes the vertical line test—every vertical line hits it at most once—so it is a function. A circle, however, fails the vertical line test because a vertical line through the middle of the circle intersects it at two points. So a circle is not a function.
The graph of a function is simply the set of all its pairs plotted on a coordinate plane. That visual picture tells you immediately whether you have a function: look for vertical lines crossing the curve more than once.
Why the One-Output Rule Matters
Consider a real-world example: a distance-time relationship for a car. If the car's distance depends only on the time elapsed (and the car doesn't teleport), then at any moment in time, the car is in exactly one location. Time is the input, and distance is the output. This is a function—you cannot have the same time paired with two different distances.
On the other hand, a relation like "name to favorite color" might not be a function. A person's name is the input, and their favorite color is the output. But if some people have no favorite color, or have changed their favorite color multiple times, then one name could connect to many outputs. That's not reliable enough to be a function.
Understanding what makes something a function helps you recognize when a rule or relationship can be trusted to have a unique answer.
Key terms
- Function.
- A rule that assigns exactly one output to each input. No input can produce more than one output.
- Input (Independent Variable).
- The value you put into a function, usually represented by . It is the starting value or cause.
- Output (Dependent Variable).
- The value that results from applying the function rule to an input, usually represented by . It depends on the input.
- Vertical Line Test.
- A graphical test: a relation is a function if and only if every vertical line intersects its graph at most once.
- Ordered Pair.
- A pair of numbers written as where is the input and is the output. A point on a coordinate plane.
- Mapping Diagram.
- A visual representation showing inputs on the left and outputs on the right, with arrows connecting each input to its output(s).
- Relation.
- A set of ordered pairs or a rule connecting inputs to outputs. A function is a special type of relation.
Worked example
(a) The set of ordered pairs:
(b) The table:
| Input () | Output () |
|---|---|
| 0 | 1 |
| 1 | 2 |
| 2 | 3 |
| 3 | 4 |
(b) Look at the -values in the table: 0, 1, 2, 3. Each input appears exactly once, and each has exactly one output: 0 maps to 1, 1 maps to 2, 2 maps to 3, and 3 maps to 4. Since every input has exactly one output, this relation is a function. In fact, you can see the rule: .
Key insight: When checking a table, scan the input column. If you see any input value repeat with a different output, stop—it's not a function. If every input appears only once, or if an input repeats with the same output, then it is a function.
Practice questions
Which of the following relations is a function?
- The set of ordered pairs
- A mapping diagram where input 5 points to outputs 2 and 8
- The set of ordered pairs
- A table where input 2 appears twice with outputs 6 and 8
Answer: The set of ordered pairs
The graph below shows a curved line. When you apply the vertical line test, a vertical line at passes through two different points on the curve. What does this tell you about whether the relation is a function? Explain.
Answer: This relation is not a function because the vertical line at intersects the graph at two different points, meaning the input 2 is paired with two different outputs. A function must assign exactly one output to each input. When a vertical line passes through more than one point on a graph, it proves that the relation fails the function test.
FAQ
- Can two different inputs have the same output?
- Yes. A function can have two different inputs paired with the same output. For example, in the function , both and produce the output . The rule is that each input must have exactly one output, but it's perfectly fine for two inputs to produce the same output.
- What is the difference between a function and a relation?
- A relation is any set of ordered pairs or any rule connecting inputs to outputs. A function is a special type of relation that follows the rule: each input must have exactly one output. Every function is a relation, but not every relation is a function.
- How does the vertical line test work?
- The vertical line test works because a vertical line at represents all points where the input is . If that vertical line intersects the graph at more than one point, then the input connects to more than one output, which means it's not a function. If every vertical line intersects the graph at most once, then every input has exactly one output, so it is a function.
- If I see an input value repeated in a table, is it automatically not a function?
- Not necessarily. If an input value repeats but always connects to the same output, the relation can still be a function. For example, if a table shows input 3 twice, both times with output 7, it is still a function. The relation is not a function only if the same input appears with two different outputs.
Learn this with a teacher, not a page
The Crimsora tutor teaches Identifying Functions live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.