In approximating a first derivative term (assuming $\delta z$ is the distance between two spatial grid points) using a finite differencing scheme I came up with these basic equations:
$$\phi \frac{\partial y}{\partial z} = \phi_z \left[ \frac{y_{z+\Delta z} - y_{z-\Delta z}}{2 \Delta z} \right]$$
$$\phi C_p \frac{\partial T}{\partial z} = \phi_z C_{p,z} \left[ \frac{T_{z+\Delta z} - T_{z-\Delta z}}{2 \Delta z} \right]$$
However it was commented to me that these equations are equivalent:
$$\phi \frac{\partial y}{\partial z} = \frac{1}{2} \left[ \phi_{z+\Delta z/2} \left( \frac{y_{z+\Delta z} - y_z}{\Delta z} \right) + \phi_{z-\Delta z/2} \left( \frac{y_z - y_{z-\Delta z}}{\Delta z} \right) \right]$$
$$\phi C_p \frac{\partial T}{\partial z} = \frac{1}{2} \left[ \phi_{z+\Delta z/2} C_{p,z+\Delta z/2} \left( \frac{T_{z+\Delta z} - T_z}{\Delta z} \right) + \phi_{z-\Delta z/2} C_{p,z-\Delta z/2} \left( \frac{T_z - T_{z-\Delta z}}{\Delta z} \right) \right]$$
My question is why are these the same? The algebra does not seem to simplify down easily such that they result in the same equations. How can it be the case that both equations are 2nd order finite difference approximations?