I am trying to understand the proof of why the force acting on a spherical shell and a particle is $$\frac{GMm}{r^2}$$ Where M is the mass of the sphere and m is the mass of the particle.
I am looking at Wikipedia in the section of "Outside a shell". The method there is to "cut" the sphere into small rings and then calculate the force of gravity applied from one ring to the particle. Then they calculate the sum of infinitely many of those rings when their width is infinitesimal using an integral: $$F_r=Gm\int\frac{\cos \phi \ dM}{s^2}$$
That part confused me. Isn't that integral should be a definite integral instead of an indefinite one? How can an indefinite integral represent a sum? and if it was a definite integral what will be its limits?
Please help me understand that part.
I am new to physics, I only know some simple mechanics so please keep that in mind.