Proof: Differential entropy of the t-distribution
Theorem. Let $X$ be a random variable following a standard t-distribution
\[\label{eq:t} X \sim t(\nu)\]where $\nu > 0$ are the degrees of freedom. Then, its differential entropy in nats is
\[\label{eq:t-dent} \mathrm{h}(X) = \ln\!\left[\sqrt{\nu}\,\mathrm{B}\!\left(\frac{1}{2},\frac{\nu}{2}\right)\right] + \frac{\nu+1}{2} \left[\psi\!\left(\frac{\nu+1}{2}\right) - \psi\!\left(\frac{\nu}{2}\right)\right]\]where $\mathrm{B}(x,y)$ is the beta function and $\psi(z)=(\ln\Gamma(z))’$ is the digamma function.
Proof. Let $a = (\nu+1)/2$ and $Y = X/\sqrt{\nu}$. The probability density function of $X$ gives $Y$ the density $(1+y^2)^{-a}/I(a)$ where, for any $s>1/2$, we have
\[\label{eq:t-dent-beta} I(s) = \int_{-\infty}^{\infty} (1+y^2)^{-s} \, \mathrm{d}y = \int_0^\infty u^{-1/2} (1+u)^{-s} \, \mathrm{d}u = \mathrm{B}\!\left(\frac{1}{2},s-\frac{1}{2}\right) \; .\]The second equality uses symmetry and $u=y^2$. Fix $s_0$ with $1/2 < s_0 < a$. For $s$ in a neighborhood of $a$ with $s>s_0$, the absolute derivative of the first integrand in equation \eqref{eq:t-dent-beta} is bounded by $(1+y^2)^{-s_0} \ln(1+y^2)$. This is integrable, so differentiating under the integral gives
\[\label{eq:t-dent-expectation} \mathrm{E}\!\left[\ln(1+Y^2)\right] = -\frac{I'(a)}{I(a)} = \psi(a) - \psi\left(a-\frac{1}{2}\right) \; .\]The last equality follows by taking the logarithmic derivative of
\[\label{eq:t-dent-beta-gamma} I(s) = \mathrm{B}\!\left(\frac{1}{2},s-\frac{1}{2}\right) = \frac{\Gamma(1/2)\,\Gamma(s-1/2)}{\Gamma(s)} \; .\]Finally, the density of $X$ is $f_\nu(x) = (1+x^2/\nu)^{-a} / (\sqrt{\nu}\,I(a))$. Hence, we have
\[\label{eq:t-dent-density} \mathrm{h}(X) = -\mathrm{E}\!\left[\ln f_\nu(X)\right] = \ln\!\left(\sqrt{\nu}\,I(a)\right) + a\,\mathrm{E}\!\left[\ln(1+Y^2)\right] \; .\]Substitution of $\eqref{eq:t-dent-beta}$ and $\eqref{eq:t-dent-expectation}$ into $\eqref{eq:t-dent-density}$ gives $\eqref{eq:t-dent}$.
- Cook, John D. (2022): "Entropy of a Student t distribution"; in: John D. Cook Consulting, November 15, 2022; URL: https://www.johndcook.com/blog/2022/11/15/t-entropy/.
- Askey, R. A. and Roy, R. (2010): "Gamma Function"; in: NIST Digital Library of Mathematical Functions, eqs. 5.2.2, 5.12.1, 5.12.3; URL: https://dlmf.nist.gov/5.12.
Metadata: ID: P575 | shortcut: t-dent | author: theyounganimation-rgb | date: 2026-11-24, 15:00.