Piecewise Functions - Complete Interactive Lesson
Part 1: Reading the Notation
๐งฉ Piecewise Functions
Part 1 of 5 โ Reading the Notation
Topics in This Part
| Section |
|---|
| What Is a Piecewise Function? |
| The Big Curly Brace |
| Choosing the Right Piece |
๐ Key Concept: A piecewise function is one function built from several rules โ each rule applies only on its own stretch of the number line. The whole game is figuring out which rule to use for which input.
What Is a Piecewise Function?
Most functions you've met use a single formula for every input โ like . A piecewise function uses different formulas on different intervals.
Think of a parking garage:
- The first hour costs a flat $5.
- After that it's $2 per additional hour.
That's two rules glued together. Mathematically we stack them under a single curly brace:
Each line is a piece: a formula on the left and the interval where it applies on the right.
๐ก The function still passes the vertical line test โ for any single input , exactly one piece gives the output. The intervals are designed so they never overlap.
The Anatomy of the Notation
Read a piecewise function right-to-left: first check the condition, then use the matching formula.
Concept Check ๐ฏ
Match Input to Piece ๐ฝ
Use . For each input, choose the formula you'd use.
From "Which Piece" to "What Value"
Choosing the right piece is half the job. The other half is just plugging in โ substitute your input into that one formula and simplify.
Pick the Piece, Then Evaluate ๐งฎ
Use
Recap
To work with any piecewise function:
- Read the conditions on the right of each piece.
- Locate your input on the number line โ find the interval it belongs to.
- Use only that piece's formula.
You've got the reading skill down. In Part 2 we zoom in on the trickiest spot: the boundary point where two intervals meet, and what those , , , symbols really decide.
Part 2: Boundary Points & Evaluating Carefully
๐งฉ Piecewise Functions
Part 2 of 5 โ Boundary Points & Evaluating Carefully
๐ The Idea: Two pieces meet at a boundary. The inequality symbol ( vs ) decides which piece owns that exact boundary value. Getting this right is the #1 skill for evaluating and graphing piecewise functions.
Who Owns the Boundary?
Look at where the intervals "touch":
Part 3: Graphing Piecewise Functions
๐งฉ Piecewise Functions
Part 3 of 5 โ Graphing Piecewise Functions
๐ Big Payoff: A piecewise graph is just each piece's graph, trimmed to its own interval. The only new skill is marking endpoints correctly: a closed dot โ for "included," an open dot โ for "excluded."
Open vs. Closed Endpoints
At every boundary, the inequality tells you the dot:
| Symbol at the boundary | Endpoint dot | Meaning |
|---|---|---|
| or | โ closed (filled) | the point is on the graph |
| or |
Part 4: Absolute Value, Step Functions & Continuity
๐งฉ Piecewise Functions
Part 4 of 5 โ Absolute Value, Step Functions & Continuity
๐ The Reveal: Some "famous" functions are secretly piecewise. Absolute value is the classic example, and step functions model real costs. We'll also learn to spot whether a piecewise graph is continuous (no gaps) or has a jump.
Absolute Value Is Piecewise
The definition of absolute value is a piecewise rule:
Part 5: Applications & Mastery Check
๐งฉ Piecewise Functions
Part 5 of 5 โ Applications & Mastery Check
You can now read the notation, evaluate carefully across boundaries, graph the pieces with correct dots, recognize absolute-value and step functions, and test for continuity. Let's apply it to the real world โ then finish with an Exit Quiz.
Real-World Models: Tiered Pricing
Piecewise functions are everywhere money is involved: tax brackets, shipping, phone plans, and utility bills all change rate at thresholds.
Example: Cell-Phone Data
A plan charges a flat $30 for up to GB, then $10 per extra GB beyond :