The functions that use different formulas on different parts of their domains are called "piecewise-defined functions".