Physics · Astrophysics · A2 Level

Formation of Stars

Every star you can see, including the Sun, began as nothing more than a cold, thin cloud of gas and dust drifting through interstellar space. This lesson looks at how gravity alone can turn that faint, diffuse material into a searing nuclear furnace.

7 min read

Starting material: the nebula

Interstellar space is not a perfect vacuum. Scattered throughout galaxies are vast, diffuse clouds of gas and dust known as nebulae, made up overwhelmingly of hydrogen (with smaller amounts of helium and trace heavier elements left over from earlier generations of stars). A typical nebula is extremely cold — often only tens of kelvin above absolute zero — and extremely low in density compared to anything found on Earth, but spread across such enormous volumes of space that the total mass involved can be many thousands of times the mass of the Sun.

Left alone, a nebula is not automatically doomed to collapse. The gas within it has a temperature, and therefore the individual particles have kinetic energy and exert an outward gas pressure that tends to resist compression, in the same way a normal gas resists being squeezed into a smaller volume. For a cloud to begin forming stars, something has to tip the balance in favour of collapse rather than dispersal.

Gravitational collapse and the birth of a protostar

Within a large nebula, random density fluctuations mean some regions are slightly denser than their surroundings — perhaps triggered by a disturbance such as a shockwave from a nearby supernova, or simply by the slow, chance clumping of gas over long timescales. If a clump becomes dense enough, its own self-gravity becomes strong enough to overcome the outward gas pressure that would otherwise disperse it, and the clump begins to contract under its own gravity.

As the clump contracts, gravitational potential energy is converted into kinetic energy of the infalling gas particles, which collide with one another and convert that kinetic energy into heat. The result is that as the cloud shrinks, it simultaneously becomes denser and hotter, especially toward its centre where the infalling material is most concentrated. This hot, dense, contracting core is called a protostar. The process feeds on itself: as the core heats up, internal pressure begins to rise too, but so long as gravity remains the dominant force, contraction continues.

  • The outer layers of the collapsing cloud continue to fall inward, adding mass and gravitational energy to the protostar.
  • The rate of contraction is governed by how quickly the core can radiate away the heat generated — a slower rate of energy loss allows pressure to build and can temporarily slow the collapse.
  • Over a timescale of roughly hundreds of thousands to a few million years (far faster than the star's eventual main-sequence lifetime), the core temperature climbs steadily higher.

Ignition: crossing the threshold to a true star

Contraction continues until the core reaches a temperature of around ten million kelvin. At this extreme temperature, hydrogen nuclei (protons) are moving fast enough that, on close approach, they can overcome their mutual electrostatic repulsion often enough for quantum tunnelling effects to allow some of them to fuse together, releasing energy in the process. This is the ignition of hydrogen fusion at the core.

Once fusion begins in earnest, it provides a genuinely new, sustained source of internal energy and outward pressure — one that does not depend on continued gravitational contraction to keep the core hot. At this point the protostar has become a true star: gravitational collapse is halted (at least for a very long time to come) because the outward pressure from the energy released by fusion now balances the inward pull of gravity. The star has arrived on the main sequence, the long, stable hydrogen-fusing phase of its life covered in the next lesson.

Purpose, method, result, conclusion — gravitational collapse to ignition

Purpose: to explain how a diffuse, cold cloud of gas becomes a star. Method: track the energy transformations as a sufficiently dense clump of a nebula collapses under its own self-gravity. Result: gravitational potential energy is converted first to kinetic energy of infalling gas, then to heat through collisions, driving the core's temperature and density steadily upward as a protostar. Conclusion: once the core reaches roughly ten million kelvin, hydrogen fusion ignites, supplying a new source of outward pressure that halts further collapse and marks the birth of a main-sequence star.

The idea that runs through a star's whole life

A star's entire existence, from this point onward, is a long battle between two opposing tendencies: the inward pull of its own gravity, always trying to make it collapse, and the outward pressure generated by the heat produced inside it, always trying to make it expand. This lesson is where that battle first gets underway, as gravitational collapse itself generates enough heat to ignite fusion and establish the balance that defines the main sequence. Every later stage of stellar evolution covered in this topic — the main sequence, the red giant phase, and the various end states — is really just a story of how and when that balance eventually tips one way or the other.

Key takeaways

  • Stars form from nebulae: cold, diffuse clouds of gas and dust, made mostly of hydrogen.
  • A sufficiently dense clump within a nebula has enough self-gravity to overcome outward gas pressure and begins to contract under its own gravity.
  • As the clump contracts, gravitational potential energy converts to kinetic energy and then to heat, so the core heats up and densifies, forming a protostar.
  • Contraction continues until the core reaches roughly ten million kelvin, hot and dense enough to ignite hydrogen fusion.
  • Once fusion ignites, the outward pressure it generates balances gravity, halting further collapse — the star has formed and joins the main sequence.
  • A star's whole life can be understood as a continuing balance between inward gravitational collapse and outward pressure from internal heat.
  • The next lesson, Main Sequence Stars, covers the long, stable hydrogen-fusing phase that begins the moment this balance is first established.