The maximum concentration of [OH−] ions that will precipitate Mg(OH)2 is calculated by applying the equation
Ksp=[Mg2+][OH−]2
[OH−]2=Ksp[Mg2+]=9.0×10−120.05=1.8×10−10
or [OH−]=1.34×10−5M
NH3 is present in solution in the form of NH4OH
NH3+H2O⇌NH4OH⇌NH+4+OH−
0.05 0.05
The ionisation of NH4OH is suppressed by the addition of NH4Cl (strong electrolyte)
KNH3=KNH4OH=[NH+4][OH−][NH4OH]
Whole of the concentration of NH+4 ions is provided by NH4Cl.
[NH+4]=KNH4OH×[NH4OH][OH−]=1.8×10−5×0.051.34×10−5=0.067M
i.e., [NH4Cl]=0.067M