For a sparingly soluble salt of type BA2, the dissociation equilibrium is:
BA2(s)⇌B2+(aq)+2A−(aq)
If S is the molar solubility of the compound, then the equilibrium concentrations of the ions are:
[B2+]=S
[A−]=2S
The solubility product constant (Ksp) is given by:
Ksp=[B2+][A−]2
Ksp=(S)(2S)2=4S3
Given that Ksp=4×10−12:
4S3=4×10−12
S3=10−12
Taking the cube root on both sides:
S=10−4 mol/L
Thus, the solubility of the compound is 10−4 mol/L.