Is Maxima a software good at solving these problems (e.g. simultaneous non-linear equations, solve analytically for a particular variable in terms of chosen set of others, provided of course that such a solution is possible at all)? I was looking for a software that could help solve this type of problem.
From what I know Maxima is not best, and it has some quirks that I don't like. But it is free and reasonably good in my experience.
Also, is an analytical solution always possible when the equilibrium constants involved are limited to Ka, Kb, Kw, Ksp and/or Kf?
Quite the opposite, you can be sure there is no analytical solution in most cases, apart from the most simple ones.
Strong acid in water yields a second degree equation in [H
+]. Each additional dissociation constant increases the degree by 1, so solution for a monoprotic weak acid will be a polynomial of a 3
rd degree, of diprotic acid 4
th degree, of triprotic acid - 5
th degree, and it is a known fact that there is no analytical solution for 5
th degree polynomials.