\documentclass{article}
\usepackage{mathtools}
\usepackage[active,displaymath,tightpage]{preview}
\setlength\PreviewBorder{1em}
\begin{document}
\[
y_v=\begin{cases*}
1, & if $v$ was received and decodable, \\
0, & otherwise
\end{cases*}
\quad \forall v \in V
\]
\end{document}