Insertion of this in to the Hellmann–Feynman theorem returns the x -component of the force on the given nucleus in terms of the electronic density ρ ρ ( r ) and the atomic coordinates and nuclear charges: