I have a problem with the definition of $\Omega(E,V,N)$ — the number of microstates with $V$, $N$ and energy $E$. It starts with the definition of the PDF. If one defines the PDF as follows:
$P(\{q_i,p_i\})=\dfrac{1}{\Omega(E,V,N)}$ if $H(\{q_i,p_i\})=E$ and $P(\{q_i,p_i\})=0$ otherwise.
In this case it follows that in order for $P$ to be normalized we should demand that: $$\Omega(E,V,N)=\frac{1}{h^{3N}}\cdot\int_{H=E} d\Gamma$$ but this integral is zero because the domain of integration is a set of measure zero. So as I saw, there are two options. the first is to redefine the PDF as: $$P(\{q_i,p_i\})=\frac{1}{\Omega(E,V,N)}\cdot \delta(H(\{q_i,p_i\})-E)$$ and then we get: $$\Omega(E,V,N)=\frac{1}{h^{3N}}\cdot\int \delta(H(\{q_i,p_i\})-E) d\Gamma$$ which solves the problem of zero integral but now it has the dimension of $\dfrac{1}{[E]}$ which is problematic if I want to consider $\log \Omega(E,V,N)$.
The second option is to redefine the PDF as:
$P(\{q_i,p_i\})=\dfrac{1}{\Omega(E,V,N)}$ if $H(\{q_i,p_i\})\in[E,E+dE]$ and $P(\{q_i,p_i\})=0$ otherwise
and then we get: $$\Omega(E,V,N)=\frac{1}{h^{3N}}\cdot\int_{E<H<E+dE} d\Gamma$$ which also solves the problem of zero integral and the dimensionality issue (it is now a dimensionless quantity) but the downside now is that it feels to me as if it is not well defined in this fashion because I defined the PDF by some infinitesimal qunatity. I know that there is a formal consturction of the infinitesimals but I'm not familiar with it.
can someone please shed some light on which of these 2 definitions are "better"?