Explanation:
Electron affinity is a measure of the attraction between the incoming electron and the nucleus - the stronger the attraction, the more energy is released.
The factors which affect this attraction are exactly the same as those relating to ionization energies - nuclear charge, distance, and screening.
Now, if a reaction is exothermic, the change in energy is negative. This means that the electron affinity is positive.
Additional Information As we know, the first electron affinities can be negative, positive, or zero. Second electron affinities are always positive.
Og - + e- →O2-(g) - E (ΔH = +ve, Endoenergic)
When O− changes to O2− change is endothermic because O− repels the incoming electron due to a similar charge, hence, it needs the energy to accept the electron. The second electron affinity of oxygen is
particularly high because the electron is being forced into a small, very electron-dense space. So, electron affinity is positive.
So, we can say that electron affinity is positive when O− changes into O2−,
Important PointsIn general, exceptions arise when new subshells are being filled/half-filled, or in cases where the atom is too small. In the first case, Be and Mg are interesting examples; they have a positive electron affinity
because of the energy difference between the s and p subshells.