Symbolic differentiation

With respect to z_{1}

With respect to z_{2}

With respect to a

With respect to b