Piecewise functions and absolute value functions
Lesson 2 of 4 in this unit
Explanation
A piecewise function uses different rules for different parts of its domain — each piece is defined over a specific interval. To evaluate, identify which interval the input falls in, then apply that rule. Absolute value functions can be written as piecewise: |x| = x if x ≥ 0, and −x if x < 0. Their graphs form a V-shape with vertex at the point where the expression inside equals zero.
Piecewise functions model real-world situations with changing rules — tax brackets, shipping rates that change with weight, and electricity pricing tiers are all piecewise functions.
Educational Video
▶️ Piecewise functions – Khan Academy
Created by Khan Academy (free educational content)
Watch videos on this topicPractice Problems
Answer Key
Practice Quiz
Test your understanding of this lesson with a short AI-generated quiz.
Practice Bot
Ask for practice questions on any topic in Pre-Calculus and Trig — then reveal the answers when you're ready.
More in this unit
Test yourself!
Generate a quiz on this topic and earn XP.
Take Quiz →