As the observed size (diameter) of a star increases, its magnitude…