H₂S ionises in two steps:
H2S⇌H++HS−,Ka1=[H2S][H+][HS−]=9.1×10−8
HS−⇌H++S2−,Ka2=[HS−][H+][S2−]=1.2×10−13
(a) 0.1 M H₂S alone. Almost all H+ comes from the first step, so [H+]=[HS−]=x and [H2S]≈0.1:
x2=(9.1×10−8)(0.1)=9.1×10−9,x=[HS−]=9.5×10−5 mol L−1
(check: x/c=0.095 %, so the approximation is valid). In the second step [H+]≈[HS−], so they cancel:
[S2−]=Ka2=1.2×10−13 mol L−1
(b) 0.1 M H₂S in 0.1 M HCl. HCl is fully ionised, so [H+]=0.1 M; this common ion suppresses the ionisation of H₂S.
[HS−]=[H+]Ka1[H2S]=0.1(9.1×10−8)(0.1)=9.1×10−8 mol L−1
[S2−]=[H+]Ka2[HS−]=0.1(1.2×10−13)(9.1×10−8)=1.1×10−19 mol L−1
In 0.1 M HCl, [HS−] falls from 9.5×10−5 M to 9.1×10−8 M (about 1000 times lower), and [S2−] falls from 1.2×10−13 M to 1.1×10−19 M.