how does the energy of an electron change when the electron moves closer to the nucleus?

1 answer

When an electron moves closer to the nucleus, its potential energy decreases.