I have to answer this in more than one post because of connection and seeing screen probs.
Things you should realize:
The LHS of your mass balance equation should be, in my terms [P]
tot, which is what I assumed you meant.
Before you do the calculation of [H
3PO
4] I hope you'll realize that it's going to be quite tiny - of the order of less than 10
-5 of the main components at pH 7.8. [PO
43-] will be likewise negligible.
To solve the rest of your problem you are going to have to calculate [H
2PO
4-] and [HPO
42-] preferably as fractions of [P]
tot, similar kind of calculation to that for [H
3PO
4].
The other part of your problem was to calculate [K
+] . How are you going to do that? Well think, as well as mass balance what other kind of balance is there here? :wink In fact you already have an equation for [K
+].
I remind you we said [H
+] and [OH
-] are negligible. I think what throws students is the fact that these seem all important, the questions are about them, and yet at the same time they are negligible though some of the equations involve them vitally, in others they are ignored. Think of them as reporters on the state of the system and on the balance between the big players there in mass.
In fact there are only two forms of phosphate that matter in this question H
2PO
4- and HPO
42-
Therefore actually you can solve it using pretty much the theory you will have already done with monobasic acids. And in any case even the full theory for tri- or multi- protic acids is scarcely different from that you have already done for mono-, the only difference is that there are more terms. We often like to write the more general equations first, and then home down on any particular simplifications for particular cases. In the case that the pK's were closer together we'd have to keep the more general ones.
And I have to say you are taking days to grind out equations that people write in fewer minutes. Conservation equations and equilibrium equations + any simplifications, that's it. In chemistry and biochemistry you'll meet any number of equations like that for multiple equilibria, you'll see them just written down with minimal explanation, maybe definition of the eq. constants by equations, maybe a conservation equation or two, maybe not because considered obvious. You should
see what all the terms and the pattern are saying.
I nay not have time next days to continue this, anyone is welcome to take over if nec.
Edit: other obscure terminology - I don't know what is meant by 'analytical'

concentrations, unnecessary adjective?