Let the initial density be ρ and volume be V. With a rise in temperature ΔT, the new volume V′=V(1+γΔT).
The new density ρ′=V′m=V(1+γΔT)m=ρ(1+γΔT)−1≈ρ(1−γΔT) (since γΔT≪1).
The change in density is Δρ=ρ−ρ′=ρ−ρ(1−γΔT)=ργΔT.
The fractional change in density is ρΔρ=γΔT.
Given γ=5×10−4 K−1 and ΔT=40∘C=40 K.
Fractional change =5×10−4×40=200×10−4=0.020.