MeAndMyLucidLife said:
and also, what was responsible for the spin of the cloud?
Imagine some hypothetical, large, primordial, initially static cloud of gas. Whether universe-sized, galaxy-sized, solar system-sized, or any size really.
There will be fluctuations in density of that cloud. Even if the cloud started out ideally uniform, it would be in a dynamically unstable state, much like a needle standing on its tip. Any deviation from uniformity, even the tiniest one, would destabilise the cloud and lead to irregular clumping.
If you then look at one such over-dense region, you'll notice that it will be attracted by other clumps. Due to their irregular distribution, the resultant forces will locally produce some nett torque, imparting a non-zero angular momentum, as illustrated schematically in the following picture:
Circles represent concentrations of matter (e.g. particles), extending beyond the picture. Clouds show expected clumping.
(I was eyeballing the forces, so don't take them too literally)
Here, conservation of angular momentum tells us that for each clump that starts rotating one way, there's another (or a number) that rotates the other way, so whatever the angular momentum of the entire system of clumps, it stays unchanged.
But when considering any single clump, which depending on size may go on to become e.g. a group of galaxies, or a solar system, or a planet, it will have non-zero angular velocity.
It doesn't matter how small the rotation is - the conservation law tells us that as it collapses to form a smaller system, the initial rotation will become amplified until the system settles into a stable state, either as a compact rotating body (star, planet) or a collection of separate objects in orbits.
MeAndMyLucidLife said:
but using conservation of angular momentum...this should imply that the small planets spin faster and larger planets spin slower...which is not the real case...
No, it doesn't imply that.
If the entire cloud collapses to form a smaller object, then it will end up rotating the faster the smaller it gets. But with planets, you're only taking a fraction of the entire mass of the cloud - with the same angular velocity, but smaller radius and mass - and contracting that. I.e., these are different systems, so you can't use conservation laws as if you were describing a single system.