Cases: {\{

This is a pretty straightforward analog to if/else if/else constructs. The results of these curly brackets is the value that is listed with the fitting condition. The basic form looks something like this:

f(x)={0if x0xif x<11else\operatorname{f}(x) = \begin{cases} 0 & \text{if } x \leq 0\\ x & \text{if } x < 1 \\ 1 & \text{else} \end{cases}

While this is a specific example, others will look the same way, just with more or less cases.

Code