This is LaTeX code:
[latex]
b_i = \left\{\begin{array}{l@{\,,\ }l} 0 & a_i \in x1 \\ 1 & a_i \in x2 \end{array}\right.
[/latex]