* Potassium (K) is a metal in group 1 of the periodic table, meaning it has a +1 charge when it forms an ion (K⁺).
* Oxygen (O) is a nonmetal in group 16 of the periodic table, meaning it has a -2 charge when it forms an ion (O²⁻).
To form a neutral compound, we need to balance the charges:
* Two potassium ions (2 x +1 = +2) will balance the charge of one oxygen ion (-2).
Therefore, the formula is K₂O.