Why does hydrogen phosphate act as a base? Let's look at question c:


  a) Write a balanced equation for the reaction.
  $$\ce{2 NaOH + H3PO4 -&gt; Na2HPO4 + 2 H2O (l)}$$
  
  b) When some crystals of $\ce{Na2HPO4}$ were dissolved in water, the $\mathrm{pH}$ of the resulting solution was found to be $9.5$. Calculate the hydrogen ion concentration of this solution.
  $$[\ce{H+}] = 10^\mathrm{-pH}\, ;\qquad [\ce{H+}] = 10^{-9.5} = \pu{3.2e-10 mol L-1}$$
  
  c) Write an equation for the reaction of the $\ce{HPO4^2-}$ ion with water to account for the measured $\mathrm{pH}$.
  $$\ce{HPO4^2- + H2O (l) &lt;=&gt; H2PO4- + OH-}$$


So, I'm a bit confused with what's happening. It seems that water is acting as an acid in this reaction, and donating protons to the ion. Can someone just elaborate on this whole process please because I'm not really sure what is happening. Why is it $\ce{HPO}$ and not $\ce{H2PO}$ or $\ce{H3PO}$ (as is in the original equation?) Is it a step wise process and only one step included?
When hydrogen phosphate salts are dissolved in water there are two main equilibria formed. This is based on the fact, that hydrogen phosphate can act as a Brønsted–Lowry base, i.e. accept protons, or as an acid, i.e. donate protons. For water the same is true. In addition to this it can react with itself, which is known as the autoprotolysis of water:
$$\ce{H2O + H2O &lt;=&gt; H3+O + {}^{-}OH}\tag1$$

With this knowledge you can write
\begin{align}
\ce{HPO4^2- + H2O &amp;~&lt;=&gt; PO4^3- + H3+O}\tag2\\
\ce{HPO4^2- + H2O &amp;~&lt;=&gt; H2PO4- + {}^{-}OH}\tag3\\
\end{align}

To a lesser extent there is also the following equilibrium happening:
$$\ce{HPO4^2- + 2H2O &lt;=&gt; H3PO4 + 2 {}^{-}OH}\tag4$$

From the acidity constant you know that $\ce{HPO4^2-}$ will react mostly as a base, i.e. $\mathrm{p}K_\mathrm{a}(\ce{Na2HPO4})=12.35$, so the equilibrium $(3)$ will be predominant.