The functions that use different formulas on different parts of their domains are called "piecewise-defined functions".
English - English
Definition of piecewise function in English English dictionary
In mathematics, a piecewise-defined function f(x) of a real variable x is a function whose definition is given differently on disjoint subsets of its domain
In mathematics, a piecewise-defined function f(x) of a real variable x is a function whose definition is given differently on disjoint subsets of its domain