Red-giant branch hydrogen fusion continues in stars of roughly solar mass until the helium core increases in mass sufficiently that it becomes degenerate. The core then shrinks, heats up, and develops a strong temperature gradient. The hydrogen shell, fusing via the temperature-sensitive CNO cycle, greatly increases its rate of energy production and the stars is considered to be at the foot of the red-giant branch. For a star the same mass as the sun, this takes approximately 2 billion years from the time that hydrogen was exhausted in the core. Subgiants more than about reach the Schönberg–Chandrasekhar limit relatively quickly before the
Red-giant branch core becomes degenerate. The core still supports its own weight thermodynamically with the help of energy from the hydrogen shell, but is no longer in thermal equilibrium. It shrinks and heats causing the hydrogen shell to become thinner and the stellar envelope to inflate. This combination decreases luminosity as the star cools towards the foot of the RGB. Before the core becomes degenerate, the outer hydrogen envelope becomes opaque which causes the star to stop cooling, increases the rate of fusion in the shell, and the star has entered the RGB. In these stars, the subgiant phase occurs within a