Yes. You almost literally just did exactly that. This is typically denoted using a big curly brace containing the different cases like this (or similarly):
Though you may think this does not classify as "simple". In that case you can get the same by using indicator functions. It just looks different notation-wise:
Yes. You almost literally just did exactly that. This is typically denoted using a big curly brace containing the different cases like this (or similarly):
$$f(x) = \begin{cases} 50,& x < 50\\ 100,& x>100 \\ \frac{1}{4}x+50,& \text{else}\end{cases}$$
Though you may think this does not classify as "simple". In that case you can get the same by using indicator functions. It just looks different notation-wise:
$$f(x) = 50\cdot 1_{(-\infty, 50)}(x) + 100\cdot 1_{(200,\infty)}(x) +\left(\frac{1}{4}x+50\right)\cdot 1_{[50,200]}(x)$$
or perhaps:
$$f(x) = 50 + \frac{1}{4}x\cdot 1_{[50,200]}(x) + 50\cdot 1_{(200,\infty)}(x) $$