Potential energy versus separation plot for two atoms in a solid is as shown below.
From above graph, we see that as temperature rises $\left(T_3 > T_2 > T_1\right)$, total energy of atoms also increases $\left(E_3 > E_2 > E_1\right)$
As a result, mean separation between atoms also increases $\left(r_3 > r_2 > r_1\right)$.
Hence, crystalline solids in general expands on heating.
