Historical Context & Motivation
Long before smartphones could graph equations instantly, mathematicians struggled with a deceptively simple question: how do we describe a rule that takes in a number and spits out exactly one result? The idea of a function grew out of centuries of work in algebra, geometry, and calculus. Early thinkers noticed patterns — such as the relationship between the side of a square and its area — and needed a precise language to talk about those patterns without writing out tables of values every time.
The notation we use today, like f(x), did not appear overnight. It evolved through the contributions of several brilliant minds over roughly three hundred years. Understanding this history helps you appreciate why the notation is shaped the way it is and why functions became the backbone of modern mathematics.
So here is the big question this lesson tackles: given a set of paired values — a relation — how do you decide whether it qualifies as a function, and how do you write and interpret function notation correctly? By the end of this lesson, you will be able to answer both questions with confidence.
Core Principles & Definitions
Before diving into examples, you need a handful of foundational ideas. These definitions form the vocabulary you will use throughout algebra and beyond, so take a moment to internalize each one.
Relation
Function
Domain & Range
Function Notation
Vertical Line Test
Visual Explanation — Mapping Diagrams
One of the clearest ways to see whether a relation is a function is through a mapping diagram. In a mapping diagram, inputs are listed in one oval (or column) and outputs in another, with arrows showing which input connects to which output. If any single input has two or more arrows leaving it, the relation is not a function.
Notice the key difference in the diagram above. In the left mapping, each element in the domain sends out exactly one arrow. It is perfectly fine for two different inputs to share the same output (for example, both 1 and 4 could map to 5). However, one input sending arrows to multiple outputs is the deal-breaker. When you evaluate relations given as sets of ordered pairs, mentally draw these arrows to check the rule: one input, one output.
Mathematical Framework — Function Notation
Now that you understand what makes a relation a function, let's formalize the notation. When we write f(x) = 2x + 3, we are saying three things at once: the function is named f, the input variable is x, and the rule for producing an output is to double the input and add 3.
An important distinction: f(x) does not mean f times x. The parentheses in function notation indicate that x is being fed into the function f. When you see f(5), you replace every x in the rule with 5 and simplify.
Functions can be named with any letter — g, h, p — and the input variable can be any letter too. For instance, A(t) = 50 − 9.8t could model the altitude of a ball at time t. The notation tells you both the name and what the independent variable is.
The Vertical Line Test — Graphs & Classification
When a relation is presented as a graph rather than a set of points, the fastest way to check for function status is the vertical line test. Imagine sweeping a vertical line across the graph from left to right. If the line ever crosses the graph in more than one place simultaneously, some x-value is paired with multiple y-values, and the relation fails to be a function.
The diagram above contrasts two common curves. The parabola opens upward and each vertical slice hits only one point on the curve, confirming it as a function. The circle, however, has top and bottom halves that share the same x-values — a vertical line through the interior of the circle always hits both halves. That is why a full circle is a relation but not a function.
| Representation | How to Test for Function | Example |
|---|---|---|
| Set of ordered pairs | Check that no x-value appears with two different y-values. | {(1,4), (2,7), (3,4)} → ✓ Function |
| Table of values | Scan the input column for repeats; if a repeat has a different output, it's not a function. | x: 1,2,2 y: 5,3,7 → ✗ Not a function |
| Graph | Apply the vertical line test. | Parabola → ✓ | Circle → ✗ |
| Equation | Solve for y. If you get ± (two y-values for one x), it's not a function. | y = √x → ✓ | y² = x → ✗ |
| Mapping diagram | Each input should have at most one arrow leaving it. | See Section 3 diagram |
Worked Example
Let's walk through a multi-part problem that combines both skills: identifying a function and using function notation.
Strengths & Common Pitfalls of Function Notation
Function notation is powerful, but it can trip you up if you are not careful. The table below compares its strengths with the most common mistakes students make, so you know what to watch out for.
| Strength | Common Pitfall |
|---|---|
| Clearly names the function and its input: f(x) tells you both. | Reading f(x) as 'f times x' and treating it as multiplication. |
| Easily handles multiple functions: f(x), g(x), h(x). | Mixing up function names — accidentally writing g(x) when you mean f(x). |
| Substitution is explicit: f(−2) means plug in −2. | Forgetting parentheses when substituting negatives, e.g., writing −2² instead of (−2)². |
| Outputs are specific: f(3) = 7 pins down a single value. | Confusing f(−2) with −f(2); the negative is in different positions. |
| Works with any input expression: f(a + 1) is valid. | Forgetting to apply the rule to the entire input expression (e.g., squaring only part of it). |
Connection to Advanced Topics
The concept of a function is the springboard for nearly every advanced math course you will encounter. In Algebra 2, you will study families of functions — quadratic, exponential, logarithmic — and learn how to combine and transform them. In precalculus, you will explore inverse functions, composition of functions, and trigonometric functions. Calculus itself is essentially the study of how functions change (derivatives) and accumulate (integrals). Mastering the basics now sets you up for all of that.
| What You Learn Now | Where It Leads |
|---|---|
| Determining if a relation is a function | Analyzing one-to-one functions and inverse functions (Algebra 2) |
| Evaluating f(x) by substitution | Composition of functions: f(g(x)) (Precalculus) |
| Understanding domain and range | Restricting domains for inverse trig functions (Precalculus) |
| Reading graphs with the vertical line test | Sketching and analyzing derivative graphs (Calculus) |
| Using notation like f(a + h) | The difference quotient and definition of the derivative (Calculus) |
In particular, the expression f(a + h) that you practiced in the worked example will reappear in calculus as part of the difference quotient: [f(a + h) − f(a)] / h. This quotient measures the average rate of change of a function, and taking its limit leads to the derivative. So every time you practice substituting expressions into function notation, you are building skills that will serve you for years.
Practice Problems
Test your understanding with these five problems. They increase in difficulty, so work through them in order for the best learning experience.
Lesson Summary
A relation is any set of ordered pairs, but a function is a special relation where each input maps to exactly one output. You can test for function status using mapping diagrams (one arrow per input), the vertical line test (at most one intersection), tables (no repeated x with different y), or by solving an equation for y and checking for ±.
Function notation f(x) names the function, identifies the input, and represents the output — all in one compact expression. To evaluate, substitute the given value (or expression) for x and simplify. Remember: f(x) does not mean f × x. The domain is the set of all valid inputs, and the range is the set of all outputs the function actually produces. Mastering these ideas prepares you for function transformations, composition of functions, and eventually calculus.