Ionic compounds consist of positively and negatively charged ions bonded together through electrostatic forces. These compounds usually form between metals and non-metals.
When forming ionic compounds, the total positive charge must equal the total negative charge, resulting in a neutral compound.
- Magnesium chloride (\(\text{MgCl}_2\)) is an example of an ionic compound, where one magnesium ion (\(\text{Mg}^{2+}\)) pairs with two chloride ions (\(\text{Cl}^-\)) to balance charges.
- The resulting formula \(\text{MgCl}_2\) reflects the ratio of magnesium ions to chloride ions.
This type of bonding is very strong, giving ionic compounds characteristics such as high melting and boiling points.