This is LaTeX code:
[latex]
a^{ - 1} = \left\{ \begin{gathered} p - a,\forall a \in \left( {R/\left\{ 0 \right\}} \right) \hfill \\ 0,a = 0 \hfill \\ \end{gathered} \right.
[/latex]