# Why is Coulomb's law is an inverse square law? [duplicate]

I read about Coulomb's law it says the force of attraction or repulsion between two charges is inversely proportional to the square of the distance between them.

So generally if I say then Coulomb's law is inverse square law. But I really want to know why this electrostatic force depends on square of the distance, and not the cube nor the fourth power. Why only the square of the distance?

Is there any connection with dimensions? Or does it depend on the reference frame? Why does it depend on inverse of the square of the distance?

## marked as duplicate by Qmechanic♦Nov 2 '16 at 11:49

Taking S in the integral form of Gauss's law to be a spherical surface of radius r, centered at the point charge Q, we have $${\displaystyle \oint _{S}\mathbf {E} \cdot d\mathbf {A} ={\frac {Q}{\varepsilon _{0}}}}$$ By the assumption of spherical symmetry, the integrand is a constant which can be taken out of the integral. The result is $${\displaystyle 4\pi r^{2}{\hat {\mathbf {r} }}\cdot \mathbf {E} (\mathbf {r} )={\frac {Q}{\varepsilon _{0}}}}$$ where ${\displaystyle {\hat {\mathbf {r} }}}$ is a unit vector pointing radially away from the charge. Again by spherical symmetry, E points in the radial direction, and so we get $${\displaystyle \mathbf {E} (\mathbf {r} )={\frac {Q}{4\pi \varepsilon _{0}}}{\frac {\hat {\mathbf {r} }}{r^{2}}}}$$ which is essentially equivalent to Coulomb's law. Thus the inverse-square law dependence of the electric field in Coulomb's law follows from Gauss's law.