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 ReviewContinuity 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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Making 10 as an Addition StrategyAddition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts Through 10Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsFunction Notation ReviewDomain and RangePiecewise Functions — Graphing and Analysis

Longest path: 59 steps · 266 total prerequisite topics

Prerequisites (2)

Leads To (2)