(a) From Ka=[HOCl][H3O+][OCl−], the ratio of the two forms is
[HOCl][OCl−]=[H3O+]Kaand% HOCl=[H3O+]+Ka[H3O+]×100
At pH 7.2: [H3O+]=6.31×10−8 M
% HOCl=6.31×10−8+3.0×10−86.31×10−8×100=67.8 %
At pH 7.8: [H3O+]=1.58×10−8 M
% HOCl=1.58×10−8+3.0×10−81.58×10−8×100=34.6 %

(b) The pH should be kept near the lower end, about 7.2. There, about two-thirds of the chlorine is present as the effective germ-killer HOCl, compared with only about one-third at pH 7.8, so the same dose disinfects roughly twice as well. Because pKa of HOCl (7.52) lies inside the allowed range, small pH changes in this range shift the HOCl/OCl⁻ balance a lot (common-ion effect of H₃O⁺ on the ionization of HOCl).