Electric PE? I think you're referring to the work done by the electric force.
So most of us know that
F = kQq/r^2
Work done = F * r = ∫ F dr
However, work done by electric force is defined as the work needed to bring a charge from infinity to a distance r
Thus we need to integrate between infinity and r,
Applying L'hopsital rules, we obtain
W = -kQq/r
And that is the work done by electric force.
Cool ain't it? To see how maths relates to physics