A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Relations and Functions

Middle & High School Depth 66 in the knowledge graph ☐ I know this ☆ Set as goal
9,572topics build on this
271prerequisites beneath it
See this on the map →
Coordinate Plane — All Four QuadrantsFunction Tables and Rules→→Domain and RangeFunction Notation Review+1 more
functions relations vertical-line-test mapping graphs

Core Idea

A relation is any set of input-output pairs. A function is a relation in which every input is paired with exactly one output. The same output may appear for several inputs, but one input may never lead to two different outputs. On a graph, a relation is a function exactly when no vertical line crosses the graph more than once. This definition underlies every function studied in algebra and calculus.

How It's Best Learned

Show the same relation four ways: as a list of ordered pairs, a table, a mapping diagram with arrows, and a graph. Have students test each one by asking whether any input has two arrows leaving it. Use everyday examples (each student has one birthday, but a birthday can belong to many students) before abstract ones, and include non-examples such as the circle x² + y² = 25.

Common Misconceptions

Explainer

In earlier work you built tables from rules like "multiply by 3 and add 1." Each input produced one output. That property has a name, and it is the central idea of algebra from here on.

Start with the broader idea of a relation, which is simply a collection of input-output pairs. The pairs might come from a rule, a table, a graph or real life. The set {(1, 3), (2, 5), (2, 7)} is a relation. So is the pairing of each person in a room with the people they have met.

A function is a relation with one restriction: each input is paired with exactly one output. The relation above fails, because the input 2 goes to both 5 and 7. The relation {(1, 3), (2, 5), (4, 5)} passes. The output 5 appears twice, but that is fine, since the rule concerns inputs only. A helpful picture is a vending machine: pressing one button should always give the same snack, but two different buttons may give the same snack.

A mapping diagram makes the test visual. List inputs in one oval and outputs in another, and draw an arrow from each input to its output. The relation is a function if no input has more than one arrow leaving it.

Graphs give a quick test as well. Each point on a graph is an (x, y) pair with x as the input. If some vertical line crosses the graph twice, then one x-value has two y-values, and the graph is not a function. This is the vertical line test. Every non-vertical line passes it, and so does the parabola y = x². A circle such as x² + y² = 25 fails, since the line x = 3 hits both (3, 4) and (3, -4).

Why care? When a relation is a function, you can name it, such as f, and write f(x) for the single output that x produces. Without the one-output rule, f(2) would be ambiguous. The set of allowed inputs is called the domain and the set of outputs produced is called the range. Linear, quadratic and exponential functions are all special cases of this one definition.

Practice Questions 4 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → One-to-One Correspondence → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Addition Within 10 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Function Tables and Rules → Relations and Functions

Longest path: 67 steps · 271 total prerequisite topics

Prerequisites (2)

Leads To (3)