One function, several rules
A piecewise function is one function written with more than one rule, each rule in charge of part of the number line. The rule is chosen by the input: , read aloud: f of x equals x plus one when x is less than two, and three x minus five when x is at least two. Here is the function, is the input, and the conditions on the right decide which rule does the work. To evaluate , find the condition that 5 satisfies (), then use that rule and no other: . The other rule is not consulted, not averaged in, not added.
The one place to be careful is the boundary, the x where the rules change. Exactly one rule owns it, and the inequality signs say which: or includes the boundary, or stops just short of it. On a graph that is the difference between a closed dot (the point is on the graph) and an open dot (the piece ends there without including it). In the example, : the line arrives at height 3 with an open dot, and the line starts at height 1 with a closed dot. Two heights at one x is what a jump looks like, and the dots say which height the function actually takes.