The equation below shows the transformation of the brightness of a planet (Bplanet) as viewed from earth here in our own solar system to how it would appear if the same planet were placed in the same orbit around another star at greatest elongation (B). Each of the terms on the right show the step-by-step transformation of its brightness.
where
Rplanet = distance of planet on given date.
Øplanet = phase of planet on given date.
Rstar = distance from earth to star.
Lstar = absolute luminosity of star.
Lsun = absolute luminosity of sun.
Brightnesses are usually quoted in the literature in a logarithmic unit of astronomical magnitudes.
Applying this transformation to the previous equation yields:
or,
where
mplanet = magnitude of planet viewed within our solar system at given phase and distance.
mstar = apparent magnitude of the planet.
msun = apparent magnitude of the sun.