Some thing is not clicking, I get t expression in slide 4, not the cubic equation the bit in blue.
How do I calculate pH from that?
More importantly how is the cubic equation derived in this case
Slide four shows how to get the 3rd degree equation. You start with a charge balance and replace everything on the RHS with expressions that are functions of [H
+] and [H
2CO
3] (K
a1, K
a2 and K
w are all known constants), no problems with the derivation (note that LHS is just [H
+], as defined at the top of the slide).
That being said equation still contains two unknowns, so it can be solved only if you assume known concentration of [H
2CO
3]. Your teacher assumes concentration of the H
2CO
3 is known from the Henry's law which is IMHO incorrect - Henry's law constant is determined experimentally, so doesn't say anything about concentration of H
2CO
3, it rather tells us how much CO
2 was dissolved in total - so it gives us a sum of concentrations of all forms of dissolved CO
2.
Assuming C
a to be a full (analytical) concentration of CO
2, full equation will be that of 4th degree, as derived
here.