The followings are the results of the first derivatives with respect to $\mu$ and $\sigma^2$
$\dfrac{\partial \ln l}{\partial\mu} = \dfrac{1}{\sigma^2}\sum_{i=1}^n(x_i-\mu)$
and
$\dfrac{\partial \ln l}{\partial\sigma^2} = -\dfrac{N}{2\sigma^2} + \dfrac{1}{2\sigma^4}\sum_{i=1}^n(x_i-\mu)^2$
The result of the second derivative with respect to $\mu$ is as follows:
$\dfrac{\partial^2 \ln l}{\partial\mu\partial\mu} = \dfrac{\partial \ln l}{\partial\mu^2} = -\dfrac{N}{\sigma^2}$.
However, I wonder the algebraic steps to get the result.
and the second derivative with respect to $\sigma^2$ is defined as follows:
$\dfrac{\partial^2 \ln l}{\partial(\sigma^2)^2}$.
I also wonder the algebraic steps to get the result for this, too.