I want to compute the average kinetic energy of a particle at a certain temperature T given by the Hamiltonian:
$$ H = \sum_{i=1}^{N}\frac{\mathbf{p}_i^{2}}{2m}+V(\mathbf{r}_{1},...\mathbf{r}_{N}), $$ and show that the average kinetic energy is:
$$ \langle K_{i}\rangle=\frac {3}{2}k_{b}T $$
To start with I would compute the single particle partition function for a certain configuration of all the other particles.
$$ Q_{1}=\int exp\left ( -\frac{\mathbf{p}_{i}^{2}/2m+V(\mathbf{r}_{1},...\mathbf{r}_{N})}{k_{b}T} \right )d^3pd^{3N}q=\int exp\left ( -\frac{\mathbf{p}_{i}^{2}}{2mk_{b}T} \right )d^3p*\int exp \left( -\frac{V(\mathbf{r}_{1},...\mathbf{r}_{N})}{k_{b}T} \right )d^{3N}q $$
The integral over the potential part takes some value P depending on the considered configuration. This will factor out in the end anyway. The kinetic part is just a Gaussian integral and hence the single particle partition function is $$ Q1=P*(2m\pi k_{b}T)^{3/2} $$
Now from the definition of the canonical partition function I can write the average kinetic energy as a derivative
$$ \langle K_{i}\rangle = -\frac{k_{b}T}{2m}\frac{\partial}{\partial\frac{1}{2m}}log \left ( P\int exp\left ( -\frac{\mathbf{p}_{i}^{2}}{2mk_{b}T} \right )d^3p \right )=\frac {P\int\mathbf{p}_{i}^{2}exp\left ( -\frac{\mathbf{p}_{i}^{2}}{2mk_{b}T} \right )d^3p}{Q_{1}} $$.
This factor out the potential part of the partition function. And hence I would just have to apply the derivative to the term
$$ Q^{'}_{1}=(2m\pi k_{b}T)^{3/2} $$
and hence: $$ \langle K_{i}\rangle = -\frac{k_{b}T}{2m}\frac{\partial}{\partial\frac{1}{2m}}log(Q^{'}_{1}) $$
My problem is now I dont't really know how to compute this derivative since 2m occurs reciprocal in the derivative but non reciprocal in the term to differentiate. I am also not 100% sure if this approach works. Does anybody know how to compute this derivative? Or if I am completely wrong what would be a nice way to do this computation?