Here, notice that since f and g are symmetric about the main diagonal, the same should be true of their derivatives. That is, the derivatives of the corresponding points should be reciprocal of each other — as can be confirmed below by letting the parameter 'a' runs on its own: