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