The period-luminosity relationship states that the longer the period of pulsation, the more luminous the Cepheid variable is. This relationship is expressed mathematically and allows astronomers to calculate the absolute magnitude of the star. By comparing this with the apparent magnitude, the distance modulus can be determined, providing a measure of the distance to the star.