TeX source:
\begin{array}{rcl}g'_{ba}(a,b) &=& -\sin(a)+\cos(b)-1\end{array}