Piecewise Linear Function definition
A piecewise linear function uses a linear rule on each of several parts of its domain.
Piecewise Linear Function in a picture
How it works
Each piece has a constant slope, though the slope can differ across pieces. A horizontal segment counts as a linear piece in this usage. Some piecewise linear graphs join at corners, while others have jumps. Use the interval condition to decide which formula applies at an endpoint.
Worked examples
Is |x| piecewise linear?
Yes. Use −x for x < 0 and x for x ≥ 0.
A rule is 2x for x < 1 and 3 for x ≥ 1. What is f(1)?
3, because the second rule includes 1.
Can a piecewise linear function have a jump?
Yes, if neighboring pieces do not join at their boundary.
Common mistake
Use the rule whose interval contains the input. Open and closed endpoints matter when the rules give different values.
Quick check
Can two pieces have different slopes?
Show answer
Yes.
Can a horizontal line be one piece?
Show answer
Yes.
Must the graph always be continuous?
Show answer
No.
Sources
Flashcard
Piecewise Linear Function
Reveal the definition
A piecewise linear function uses a linear rule on each of several parts of its domain.
Effortless Math. “Piecewise Linear Function.” Math Dictionary.



