ALGEBRA 1 • FUNCTION CONCEPTS & NOTATION

Understanding Functions, Domain, and Range

Learn how functions pair every input with exactly one output, and how to read their graphs.

Historical Context & Motivation

Long before smartphones and computers, mathematicians needed a reliable way to describe how quantities are connected. If you drop a ball, its height depends on time. If you buy movie tickets, the total cost depends on how many you buy. People recognized these input-output relationships for centuries, but they lacked a precise language to talk about them. The concept of a function was developed to fill that gap — giving us a powerful, universal tool for describing how one quantity determines another.

~1670
Leibniz Coins the Word
German mathematician Gottfried Wilhelm Leibniz first used the Latin word "functio" to describe a quantity that depends on a changing variable, like the slope of a curve at different points.
1748
Euler Introduces f(x)
Swiss mathematician Leonhard Euler popularized the notation f(x) — read "f of x" — in his textbook. This compact notation is still the standard we use today.
1837
Dirichlet's Modern Definition
Peter Gustav Lejeune Dirichlet proposed the definition we use now: a function assigns to each input exactly one output. This clear rule removed confusion about what counts as a function.
1900s
Set Theory Connection
Mathematicians formalized functions using set theory, describing them as mappings from a domain set to a range set. This framework is the basis of the Common Core standard you are learning now.

The big question these mathematicians were answering is one you deal with every day: If I know the input, can I predict exactly one output? Understanding functions gives you a precise way to answer that question, whether you're calculating a tip, predicting the weather, or programming a video game.

Core Principles & Definitions

At its heart, a function is a special kind of rule. It takes an input, does something to it, and produces exactly one output. Let's break down the three big ideas you need to master.

1

What Is a Function?

A function is a rule that assigns to each input exactly one output. If you put the same number into the function twice, you must get the same answer both times. No surprises, no exceptions.
2

Domain — The Inputs

The domain is the complete set of inputs that you are allowed to plug into the function. Think of it as the menu of choices. For example, if the function only works with positive numbers, then the domain is all positive numbers.
3

Range — The Outputs

The range is the set of all outputs the function actually produces. It's every answer you can possibly get when you feed in every value from the domain.
4

Function Notation: f(x)

When we write f(x), we mean "the output of function f when the input is x." The letter f names the function, and x is the variable representing the input. f(3) means "plug 3 in for x."
5

The Graph of a Function

The graph of f is the graph of the equation y = f(x). Every point (x, y) on the graph shows one input-output pair. You can read the domain along the x-axis and the range along the y-axis.
KEY TAKEAWAY
Think of a function like a vending machine. You press a button (the input), and the machine gives you exactly one snack (the output). The buttons available are the domain, and the snacks that come out are the range. If one button could give you two different snacks at random, the machine would be broken — and it wouldn't be a function.

Visual Explanation — Mapping Diagram

One of the clearest ways to see whether a relationship is a function is through a mapping diagram. A mapping diagram has two ovals: one for the domain (inputs) and one for the range (outputs). Arrows connect each input to its output. The key rule: every input must have exactly one arrow leaving it.

Left: every input (1, 2, 3, 4) has exactly one arrow — this is a function. Note that two inputs (2 and 4) can share the same output (8); that's allowed. Right: input 2 has two arrows — this is NOT a function.

Notice something important on the left diagram: inputs 2 and 4 both point to the output 8. That is perfectly fine! A function only requires that each input leads to one output. Multiple inputs can share the same output — just like several friends can have the same birthday.

Mathematical Framework — Function Notation

Function notation is a compact way to name a function and show what it does to any input. Instead of writing "y equals two x plus three," we write the equation using f(x) notation. This tells us the name of the function and makes it easy to evaluate (calculate) the output for any specific input.

FUNCTION NOTATION
f(x) = 2x + 3
f is the name of the function. x is the input variable (an element of the domain). f(x) is the output (the corresponding element of the range). The expression 2x + 3 is the rule that tells you what to do with the input.

To evaluate a function at a specific value, you substitute that value for x everywhere it appears. Here's how evaluation works step by step.

EVALUATING f AT x = 4
f(4) = 2(4) + 3 = 8 + 3 = 11
Replace every x with 4, then simplify. The output is 11, so the ordered pair (4, 11) lies on the graph of f.
GRAPH CONNECTION
y = f(x)
The graph of a function f is the set of all points (x, y) where y = f(x). Every point on the graph represents one input-output pair. The x-coordinate is the input, and the y-coordinate is the output.
DOMAIN & RANGE FROM A RULE
g(x) = √x → Domain: x ≥ 0, Range: g(x) ≥ 0
You can't take the square root of a negative number (in real numbers), so the domain is restricted to x ≥ 0. Since square roots always produce non-negative results, the range is also g(x) ≥ 0.

Reading Graphs — The Vertical Line Test

When you look at a graph on the coordinate plane, there is a quick visual check called the vertical line test. Imagine sliding a vertical line across the graph from left to right. If the vertical line ever hits the graph at more than one point at the same time, the graph does NOT represent a function. Why? Because that would mean one input (the x-value) produces two different outputs (two y-values).

Left: a wavy curve that passes the vertical line test — every vertical line (dashed gold) touches the curve at most once. Right: an ellipse fails the test — the dashed line intersects it at two points, so one x-value gives two y-values.

You can also use the graph to read the domain and range. The domain is the set of all x-values that the graph covers — look at how far left and right the graph stretches. The range is the set of all y-values the graph reaches — look at how far up and down the graph goes. For instance, if a graph starts at x = −2 and ends at x = 5, the domain is −2 ≤ x ≤ 5.

💡 PRO TIP
To find the domain from a graph, scan from left to right and note where the graph starts and stops along the x-axis. To find the range, scan from bottom to top and note the lowest and highest y-values the graph reaches.

Worked Example

Let's work through a complete example that ties together function notation, evaluation, domain, and range.

Analyzing the Function f(x) = x² − 1
1
Step 1 — Write the RuleWe are given f(x) = x² − 1. This means: take the input x, square it, then subtract 1. That is the rule.
2
Step 2 — Determine the DomainAsk yourself: are there any values of x that would break this rule? Can you square any real number? Yes! There are no restrictions. So the domain is all real numbers, written as (−∞, ∞).
Domain: all real numbers, (−∞, ∞)
3
Step 3 — Evaluate at Several InputsLet's plug in a few values to build an input-output table. f(−2) = (−2)² − 1 = 4 − 1 = 3. f(0) = (0)² − 1 = 0 − 1 = −1. f(1) = (1)² − 1 = 1 − 1 = 0. f(3) = (3)² − 1 = 9 − 1 = 8.
Ordered pairs: (−2, 3), (0, −1), (1, 0), (3, 8)
4
Step 4 — Determine the RangeSince x² is always ≥ 0, the smallest value of x² − 1 is 0 − 1 = −1. As x gets larger (positive or negative), x² − 1 grows without bound. So the range is y ≥ −1, written as [−1, ∞).
Range: y ≥ −1, or [−1, ∞)
5
Step 5 — Verify It's a FunctionFor every x-value we tested (and every x we could test), there is exactly one output. The graph of y = x² − 1 is an upward-opening parabola, and it passes the vertical line test. Therefore, f(x) = x² − 1 is indeed a function.
✓ f(x) = x² − 1 is a function with domain (−∞, ∞) and range [−1, ∞).

Functions vs. Non-Functions — Common Comparisons

Students often confuse functions with other types of relationships. The table below highlights several examples and explains whether each one is a function.

Common examples and whether they qualify as functions.
RelationshipFunction?Why?
y = 3x + 2 (a line)✓ YesEach x produces exactly one y. Lines (that aren't vertical) always pass the vertical line test.
x² + y² = 25 (a circle)✗ NoMost x-values give two y-values (one above, one below the x-axis). Fails the vertical line test.
x = 5 (a vertical line)✗ NoThe single input x = 5 maps to infinitely many y-values. This is the worst-case failure.
y = |x| (absolute value)✓ YesEach x gives exactly one |x|. Even though f(−3) = f(3) = 3, each input still produces only one output.
{(1,4), (2,7), (1,9)}✗ NoThe input 1 maps to both 4 and 9. One input, two outputs — not a function.
KEY TAKEAWAY
The single most important rule: each input gets exactly one output. It's okay for different inputs to share the same output (like two students having the same test score). It is NOT okay for one input to produce multiple outputs (like one student having two different grades for the same test).

Connection to Advanced Topics

The definition of a function you learned in this lesson is the foundation for nearly everything that comes next in algebra, and later in courses like Algebra 2, Precalculus, and Calculus. Here's a preview of how these ideas grow as your math journey continues.

How today's concepts connect to future math courses.
What You Learned NowWhere It Leads
A function assigns each input exactly one output.One-to-one functions assign each output to exactly one input — these have inverses you can "undo" (Algebra 2).
Domain is the set of valid inputs.Restricted domains arise with rational functions, logarithms, and real-world constraints (Precalculus).
f(x) notation names a function and its input.Composite functions f(g(x)) chain functions together; derivatives f′(x) describe rates of change (Calculus).
The graph of f is y = f(x).Transformations shift, stretch, and reflect graphs. You'll learn rules like y = f(x − 3) + 2 (Algebra 2).

Every one of those advanced topics builds directly on what you just learned. By truly understanding that a function is a reliable input-output machine — and that domain, range, and notation let you describe and work with that machine — you have the building blocks for years of math ahead.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why the relationship "each student's locker number" is a function, but "each student's friend" might not be a function.
PROBLEM 2BASIC CALCULATION
Given f(x) = 4x − 7, evaluate f(3) and f(−2).
PROBLEM 3INTERMEDIATE
Consider the set of ordered pairs: {(−1, 5), (0, 3), (2, 5), (4, −1), (6, 3)}. (a) Is this a function? (b) State the domain and range.
PROBLEM 4APPLIED
A movie theater charges $9.50 per ticket. The total cost C is a function of the number of tickets t: C(t) = 9.50t. (a) What is a reasonable domain for this function? (b) Find C(4). (c) If you have $50, what is the maximum number of tickets you can buy?
PROBLEM 5CRITICAL THINKING
A graph passes through the points (2, 4), (3, 7), (5, 4), and (2, −1). (a) Does this set of points represent a function? Explain. (b) Could you remove exactly one point to make it a function? If so, which one, and what would the resulting domain and range be?

Lesson Summary

A function is a rule that assigns each element of the domain (the set of inputs) to exactly one element of the range (the set of outputs). We use function notation f(x) to name the function and show its output for a given input x. The graph of f is the set of all points (x, y) where y = f(x), and you can use the vertical line test to quickly check whether a graph represents a function.

The single defining rule is that each input maps to exactly one output. Multiple inputs can share the same output, but one input can never produce two different outputs. You can identify the domain by finding all valid x-values and the range by finding all resulting y-values. Mastering these ideas prepares you for every type of function you will encounter — linear, quadratic, exponential, and beyond.

Varsity Tutors • Algebra 1 • Understanding Functions, Domain, and Range