The lichnerowicz equation in the closed case of the einstein-maxwell theory