Write the balanced formula, complete ionic, and net ionic equations for each of the following acid–base reactions.
HClO₄(aq) + Mg(OH)₂(s) → HClO₄(aq) + Mg(OH)₂(s) →