So when my book explains energy of electrons it says that the further an electron is from the nucleus the higher the energy, which is why orbitals that are further away have higher energy levels. Then later in the chapter it explains that the greater the distance between two electrons, the lower the energy. I don't understand how the first case is possible. Electric potential energy = kq1q2/r, so increasing distance, decreases the electric potential energy. Also why would the energy of the electron depend on the charges (One situation the energy increases with distance while the other, energy decreases with distance)? Doesn't the sign just denote if it is attractive or repulsive, and the magnitude actually shows the energy?