The derivation of Gaussian distribution entropy.

This is an automatically translated post by LLM. The original post is in Chinese. If you find any translation errors, please leave a comment to help me improve the translation. Thanks!

This article mainly derives the entropy of a univariate Gaussian distribution:

113646456_p0

(1)p(x)=12πσ2e(xμ)22σ

H(x)=p(x)lnp(x)dx=12πσ2e(xμ)22σ2ln12πσ2e(xμ)22σ2dx=12πσ2e(xμ)22σ2(ln2πσ2(xμ)22σ2)dx=ln2πσ22πσ2e(xμ)22σ2dx+12πσ2e(xμ)22σ2(xμ)22σ2dx=ln2πσ2+1πet2t2dt=ln2πσ2+12(2)=12(ln(2πσ2)+1) where: (3)ex2dx=π

x2ex2dx=12x(2x)ex2dx=12xdex2=12(xex2|+ex2dx)=12ex2dx)(4)=π2