  In Stochastic Thermodynamics, heat is a random variable with a probability
distribution associated. Studies of the distribution of heat are mostly in the
overdamped regime and in one dimension. Here we solve the heat distribution in
the underdamped regime for three different cases: the free particle, the linear
potential, and the harmonic potential. All of them in arbitrary dimensions. The
results are exact and generalize known results in the literature.
