# How is the energy function of a Gaussian RBM derived?

I think it must have been come through the PDF of a Gaussian distribution. Could somebody elaborate?

The reason behind it is the Hammersley–Clifford theorem. Basically, it gives you the conditions under which allows you the conditions under which the factorization is valid. Basically, you need $p(x) > 0$, and the exponential ensures it. Furthermore, it allows you to express very generally any sort of relationship between nodes.