Note that while filling electrons in various orbitals they are filled according to the three laws - Aufbau, Pauli and Hund's. For removing electrons to form cations, electrons are removed from outermost shell as they are bound to the nucleus by lesser forces of attraction because of shielding effect.
For example for iron,
`text()_26Fe -> 1s^2, 2s^2 2p^6, 3s^2 3p^6, 3d^6, 4s^2` & the configuration of ions would be
`Fe^(2+) -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^6` & `Fe^(3+) -> 1s^(2), 2s^2, 2p^6, 3s^2, 3p^6, 3d^5`
Similarly for copper `text()_29Cu -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^(10), 4s^1` & for its ions
`Cu^(+) -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^(10)` & `Cu^(2+) -> 1s^2, 2s^2, 2p^2 , 3s^2, 3p^6, 3d^9`
The anions are formed by adding electrons to the vacant orbital of lowest energy [follow (`n +l`) rule]
For example `text()_9F -> 1s^2, 2s^2, 2p^5` & that of its ion `F^(-) -> 1s^2, 2s^2, 2p^6`
Similarly for Chlorine `text()_17Cl -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^5` & that of its ion `Cl^(-) -> 1s^2, 2s^2 2p^6, 3s^2 3p^6`
Some Exceptional Electronic Configuration :
`text()_24Cr : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^5, 4s^1` `text()_47Ag : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^10, 4s^2 4p^6 5s^1`
`text()_(29)Cu : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^(10), 4s^1` `text()_42Mo : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^(10), 4s^2 4p^6 4d^5, 4s^1`
Note that while filling electrons in various orbitals they are filled according to the three laws - Aufbau, Pauli and Hund's. For removing electrons to form cations, electrons are removed from outermost shell as they are bound to the nucleus by lesser forces of attraction because of shielding effect.
For example for iron,
`text()_26Fe -> 1s^2, 2s^2 2p^6, 3s^2 3p^6, 3d^6, 4s^2` & the configuration of ions would be
`Fe^(2+) -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^6` & `Fe^(3+) -> 1s^(2), 2s^2, 2p^6, 3s^2, 3p^6, 3d^5`
Similarly for copper `text()_29Cu -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^(10), 4s^1` & for its ions
`Cu^(+) -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 3d^(10)` & `Cu^(2+) -> 1s^2, 2s^2, 2p^2 , 3s^2, 3p^6, 3d^9`
The anions are formed by adding electrons to the vacant orbital of lowest energy [follow (`n +l`) rule]
For example `text()_9F -> 1s^2, 2s^2, 2p^5` & that of its ion `F^(-) -> 1s^2, 2s^2, 2p^6`
Similarly for Chlorine `text()_17Cl -> 1s^2, 2s^2, 2p^6, 3s^2, 3p^5` & that of its ion `Cl^(-) -> 1s^2, 2s^2 2p^6, 3s^2 3p^6`
Some Exceptional Electronic Configuration :
`text()_24Cr : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^5, 4s^1` `text()_47Ag : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^10, 4s^2 4p^6 5s^1`
`text()_(29)Cu : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^(10), 4s^1` `text()_42Mo : 1s^2, 2s^2 2p^6, 3s^2 3p^6 3d^(10), 4s^2 4p^6 4d^5, 4s^1`