Take a phone plan: the first 5 GB of data are included in a $30 fee, and each GB after that costs $8. For x≤5 the bill is B(x)=30; for x>5 it is B(x)=30+8(x−5). The graph runs flat, then at x=5 it bends upward into a line of slope 8. It is one function with two behaviors, and x=5 is where the behavior switches.
Every piecewise problem has two jobs. The first is routing: before using any formula, decide which region the input belongs to, so B(7) uses the second piece and gives 30+8⋅2=46. The second is the seams. At a boundary a, compare the value the left piece approaches with the value the right piece approaches. Here both give 30 at x=5, so the graph is continuous but has a corner. When the two values differ the graph jumps, and the inequality signs (≤ or <) decide which piece supplies f(a) itself.
Changing direction is not the same as changing rules. The parabola y=x2 falls and then rises, yet one formula describes it everywhere, and it turns smoothly. ∣x∣ also falls then rises, but its slope switches abruptly from −1 to 1 at 0, because two different formulas meet there. A sharp corner or a jump in a graph is the visible sign of piecewise behavior; a smooth turn is not.
Think of it like this. A car with gears: below a certain speed the engine responds one way, and at the shift point the same pedal produces a different response. The function is the car, the regions are the gears, and each boundary is a shift point. Unlike a gearbox, a function can also jump to a new output at the shift.
Core idea. A function shows piecewise behavior when it follows one rule until a boundary, then switches to a qualitatively different rule.