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

Piecewise Functions — Graphing and Analysis

College Depth 58 in the knowledge graph ☐ I know this ☆ Set as goal
6,656topics build on this
266prerequisites beneath it
See this on the map →
Domain and RangeFunction Notation Review→→Continuity DefinitionOne-Sided Limits
functions piecewise graphing

Core Idea

A piecewise function uses different formulas on different intervals of its domain. The absolute value function f(x) = |x| is the simplest example: it equals x when x >= 0 and -x when x < 0. Piecewise functions model real situations where rules change at thresholds (tax brackets, shipping rates, speed limits). They also motivate the concepts of continuity and one-sided limits.

How It's Best Learned

Practice evaluating piecewise functions at specific points, especially at the boundary values. Graph by drawing each piece on its interval, paying attention to open vs. closed endpoints. Discuss continuity informally: does the graph have a break at the boundary?

Common Misconceptions

Explainer

From your study of function notation and domain/range, you know that a function assigns exactly one output to each input. A piecewise function does this using different formulas on different parts of its domain. The simplest example is the absolute value function: f(x) = x when x ≥ 0 and f(x) = −x when x < 0. There is no contradiction — at any particular input, exactly one formula applies. The function is perfectly well-defined; it just uses different rules in different regions.

Piecewise functions model real situations where rules change at thresholds. Tax brackets are piecewise: your tax rate on the first $10,000 of income differs from the rate on income above $10,000. Shipping costs often jump at weight thresholds. Speed limits change at city boundaries. In each case, the underlying relationship is a single function of one variable, but the formula governing it switches at specific boundary values. Recognizing these as piecewise functions connects abstract function notation to the stepped, threshold-based rules you encounter constantly in everyday life.

Graphing a piecewise function requires attention to three things: drawing each piece on its correct interval, marking boundary points carefully with open or closed circles, and checking whether the pieces connect. An open circle at a boundary means the function does not include that point (strict inequality); a closed circle means it does (inclusive inequality). For f(x) = { x² if x < 2; 3x − 1 if x ≥ 2 }, you draw the parabola y = x² only for x-values strictly less than 2 (open circle at (2, 4)), then the line y = 3x − 1 for x ≥ 2 (closed circle at (2, 5)). The gap between the open and closed circles reveals a jump discontinuity at x = 2.

Not all piecewise functions are discontinuous at their boundaries. If the pieces happen to agree at the boundary — if the left-hand limit, the right-hand limit, and the function value all match — the function is continuous there and the graph passes through the boundary without a break. For example, f(x) = { x if x < 1; 1 if x ≥ 1 } is continuous at x = 1 because both pieces approach 1. This observation previews the formal concept of continuity and one-sided limits that you will study rigorously in calculus. The intuition you build here — checking whether pieces "connect" at boundaries — is exactly what the ε-δ definition of continuity will formalize.

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 → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Function Notation Review → Domain and Range → Piecewise Functions — Graphing and Analysis

Longest path: 59 steps · 266 total prerequisite topics

Prerequisites (2)

Leads To (2)