(a) An acid ArOH reacts with HCO3− as follows, with K=Ka(ArOH)/Ka(H2CO3):
ArOH+HCO3−⇌ArO−+H2CO3
- Picric acid: K=106.4−0.4=1.0×106. The reaction is complete, so picric acid passes into the water layer as its sodium salt, releasing CO2.
- Phenol: K=106.4−10.0=2.5×10−4. Practically no reaction, so phenol stays in the ether.
NaHCO3 therefore removes only picric acid. The remaining ether is then shaken with NaOH. OH− is a much stronger base than phenoxide, so phenol dissolves as sodium phenoxide:
C6H5OH+NaOH→C6H5ONa+H2O
Cyclohexanol is weaker than water and does not react with NaOH, so it is left in the ether layer, which is evaporated to recover it. Each water layer is acidified with dilute HCl to give back picric acid and phenol.

(b) NaOH is strong enough to deprotonate both acids: picric acid (pKa 0.4) and phenol (pKa 10.0) both have far lower pKa values than water. Both would go into the same water layer together as their sodium salts, and no separation between them is achieved. The weaker base must be used first, so that only the stronger acid reacts.