SECTION 1
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.
1637 • Descartes & Variable Relationships
1694 • Leibniz Coins 'Function'
1734 • Euler Introduces f(x)
1837 • Dirichlet's Modern Definition
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.
SECTION 2
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
KEY TAKEAWAY
SECTION 3
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.
SECTION 4
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.
FUNCTION NOTATION
f = the name of the function • x = the input (independent variable) • f(x) = the output (dependent variable, the same as y)
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.
EVALUATING A FUNCTION
Substitute 5 for every occurrence of x in the expression, then simplify to get the output value.
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.
REWRITING y = mx + b AS FUNCTION NOTATION
Replace y with f(x). The equation says the same thing; function notation simply gives the rule a name and makes the input explicit.
Common Mistake
SECTION 5
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 |
Five ways to represent a relation and how to test each for function status
SECTION 6
Worked Example
Let's walk through a multi-part problem that combines both skills: identifying a function and using function notation.
Evaluating and Analyzing f(x) = x² − 4x + 1
- 1
Step 1 — Confirm It Is a Function
The rule f(x) = x² − 4x + 1 is a polynomial. For every real-number input x, squaring, multiplying by −4, and adding 1 each produce a single value. There is no ± and no ambiguity, so this relation is a function.Yes, f(x) = x² − 4x + 1 is a function. - 2
Step 2 — Evaluate f(3)
Substitute 3 wherever x appears: f(3) = (3)² − 4(3) + 1 = 9 − 12 + 1.f(3) = −2 - 3
Step 3 — Evaluate f(−1)
Substitute −1: f(−1) = (−1)² − 4(−1) + 1 = 1 + 4 + 1. Notice that (−1)² = 1 and −4(−1) = +4.f(−1) = 6 - 4
Step 4 — Evaluate f(a + 2)
Replace x with the expression (a + 2): f(a + 2) = (a + 2)² − 4(a + 2) + 1. Expand: (a + 2)² = a² + 4a + 4, and −4(a + 2) = −4a − 8. Combine: a² + 4a + 4 − 4a − 8 + 1.f(a + 2) = a² − 3 - 5
Step 5 — Interpret the Result
The ordered pair (3, −2) lies on the graph because f(3) = −2. Likewise (−1, 6) lies on the graph. The expression f(a + 2) = a² − 3 shows how the function behaves when its input is shifted 2 units — a preview of function transformations you will study soon.
SECTION 7
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). |
Strengths of function notation alongside common student errors
KEY TAKEAWAY
SECTION 8
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) |
How today's skills connect to future math courses
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.
SECTION 9
Practice Problems
Test your understanding with these five problems. They increase in difficulty, so work through them in order for the best learning experience.
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
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.