Answer:
Balanced molecular equation and net ionic equation have been shown below.
Explanation:
[tex]Mg(OH)_{2}[/tex] is a weak base as it does not dissociate completely in water. HCl is a strong acid as it dissociates completely in water.
Reaction between [tex]Mg(OH)_{2}[/tex] and HCl is an example of acid-base reaction. Here a salt [tex]MgCl_{2}[/tex] is formed along with [tex]H_{2}O[/tex].
Balanced molecular equation:
[tex]Mg(OH)_{2}(aq.)+2HCl(aq.)\rightarrow MgCl_{2}(aq.)+2H_{2}O(l)[/tex]
To write net ionic equation, spectator ions are to be removed from both side of total ionic equation. Here [tex]Cl^{-}[/tex] is the spectator ion.
Total ionic equation:
[tex]Mg(OH)_{2}(aq.)+2H^{+}(aq.)+2Cl^{-}(aq.)\rightarrow Mg^{2+}(aq.)+2Cl^{-}(aq.)+2H_{2}O(l)[/tex]
Net ionic equation:
[tex]Mg(OH)_{2}(aq.)+2H^{+}(aq.)\rightarrow Mg^{2+}(aq.)+2H_{2}O(l)[/tex]