# Derivative of sine

The following formula holds: $$\dfrac{\mathrm{d}}{\mathrm{d}z} \sin(z) = \cos(z),$$ where $\sin$ denotes the sine function and $\cos$ denotes the cosine function.
From the definition, $$\sin(z) = \dfrac{e^{iz}-e^{-iz}}{2i},$$ and so using the derivative of the exponential function, the linear property of the derivative, the chain rule, and the definition of the cosine function, $$\begin{array}{ll} \dfrac{\mathrm{d}}{\mathrm{d}z} \sin(z) &= \dfrac{1}{2i} \left[ \dfrac{\mathrm{d}}{\mathrm{d}z} [e^{iz}] - \dfrac{\mathrm{d}}{\mathrm{d}z}[e^{-iz}] \right] \\ &= \dfrac{1}{2i} \left[ ie^{iz} + ie^{-iz} \right] \\ &= \dfrac{e^{iz}+e^{-iz}}{2} \\ &= \cos(z), \end{array}$$ as was to be shown. █