Question: what is the relationship between the mass and the temperature of a main sequence star?
Answer: The greater the mass of a main sequence star, the greater its effective temperature. This, combined with the larger radius of higher mass main sequence stars accounts for their much greater luminosity. Remember, L ∝ T4 and L ∝ R2 so even a small increase in effective temperature will significantly increase luminosity.