Magnesium's Electron Configuration:
* Magnesium has an atomic number of 12, meaning it has 12 protons and 12 electrons.
* Its electron configuration is 1s² 2s² 2p⁶ 3s².
* This means its outermost energy level (the 3rd energy level) has only 2 electrons in the 3s orbital.
The Octet Rule:
* The octet rule states that atoms tend to gain, lose, or share electrons to achieve a stable configuration with 8 electrons in their outermost energy level (valence shell).
* This stable configuration is similar to the noble gases, which are very unreactive.
Magnesium's Solution:
* Magnesium has only 2 valence electrons, so it needs to gain 6 more to achieve an octet.
* However, it's easier for magnesium to lose its 2 valence electrons to achieve the stable configuration of the previous noble gas (neon, with 10 electrons, 2 in the 1st shell and 8 in the 2nd).
* By losing these electrons, magnesium becomes a positively charged ion (Mg²⁺) with a full outer shell of 8 electrons from the previous energy level.
Formation of an Ionic Bond:
* Magnesium can then form an ionic bond with an element like chlorine (Cl), which has 7 valence electrons.
* Chlorine needs to gain 1 electron to complete its octet, becoming a negatively charged ion (Cl⁻).
* The electrostatic attraction between the positively charged magnesium ion (Mg²⁺) and the negatively charged chlorine ion (Cl⁻) forms an ionic bond, resulting in the compound magnesium chloride (MgCl₂).
In summary, magnesium achieves a full outer shell by losing its 2 valence electrons and becoming a positively charged ion. This allows it to form an ionic bond with other atoms to achieve stability.