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

Linear Functions

Middle & High School Depth 67 in the knowledge graph ☐ I know this ☆ Set as goal
15topics build on this
294prerequisites beneath it
See this on the map →
Slope-Intercept FormGraphing Linear Equations→→Tax Brackets and Marginal Rates
functions linear domain range rate-of-change

Core Idea

A linear function is a function of the form f(x) = mx + b, where every input x produces exactly one output. Viewing y = mx + b through the lens of functions adds structure: the domain is all real numbers (unless context restricts it), the range is all real numbers (for non-zero slope), and the slope m represents a constant rate of change. Function notation like f(3) = 2(3) + 1 = 7 makes input-output relationships explicit and enables composition, evaluation, and comparison of multiple functions. Linear functions model any situation where a quantity changes at a steady rate — distance over time at constant speed, cost per unit, temperature conversion.

How It's Best Learned

Build on students' existing knowledge of slope-intercept form by rewriting y = mx + b as f(x) = mx + b and practicing function evaluation. Compare two linear functions on the same graph to discuss how domain, range, and rate of change differ. Use real-world contexts where students define the function, state its domain, and interpret f(x) values.

Common Misconceptions

Explainer

You already know how to graph y = mx + b and interpret the slope as rise over run. The shift to function notation — writing f(x) = mx + b instead of y = mx + b — is not just cosmetic. It turns the equation into a machine: you feed in any value of x, and the machine returns exactly one output. Writing f(3) = 2(3) + 1 = 7 makes the input-output relationship explicit in a way that "let x = 3" does not. The notation f(3) asks a specific question: "what does this function return when the input is 3?" The answer is a number, 7, not a new equation.

The domain of a function is the set of allowable inputs, and the range is the set of all possible outputs. For f(x) = mx + b with m ≠ 0, the domain is all real numbers — you can plug in any x you like — and the range is also all real numbers, because as x runs over every value, mx + b hits every value too. This is different from, say, a function defined only on positive integers. Pure mathematics uses all real numbers as the default domain unless a real-world context imposes a restriction. If f(x) = 50x models the distance (in miles) driven in x hours, then the context restricts the domain to x ≥ 0, but the mathematical function itself has no such restriction.

The slope m now carries a precise interpretation: it is the constant rate of change. For every 1-unit increase in x, the output increases by exactly m. This constancy is what makes the function linear — the rate never speeds up or slows down. Temperature conversion illustrates this: C = (5/9)(F − 32), which you can write as C(F) = (5/9)F − 160/9. The rate of change is 5/9 degrees Celsius per degree Fahrenheit, everywhere on the domain. Whether you are converting 0°F or 200°F, one additional degree Fahrenheit always adds 5/9 of a degree Celsius.

Function notation also lets you compare multiple functions cleanly. If f(x) = 2x + 1 and g(x) = −x + 7, you can find where they agree by solving f(x) = g(x), which gives 2x + 1 = −x + 7, so x = 2. The intersection point is at x = 2, f(2) = g(2) = 5. This framing — two functions whose output values you are equating — is how linear systems get set up, and it extends to all the non-linear functions you will encounter in later courses. The concept of a function as an input-output rule is the foundation everything else builds on.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → 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 → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Linear Functions

Longest path: 68 steps · 294 total prerequisite topics

Prerequisites (2)

Leads To (1)