1. Identify the Charges:
* Magnesium (Mg) is in group 2 of the periodic table, so it forms a +2 ion (Mg²⁺).
* Bromine (Br) is in group 17 (halogens), so it forms a -1 ion (Br⁻).
2. Balance the Charges:
To have a neutral compound, the positive and negative charges must cancel out. Since magnesium has a +2 charge, we need two bromide ions (each with a -1 charge) to balance it.
3. Write the Formula:
The ionic formula is MgBr₂.