J.R. S. answered 10/27/23
Ph.D. University Professor with 10+ years Tutoring Experience
Codeine acts as a base, so we can let codeine be represented as B, and then write the hydrolysis reaction as follows:
B + H2O <==> BH+ + OH-
Next, we can write the Kb expression:
Kb = [BH+][OH-] / [B]
Since we know the pKa of the conjugate acid, we can find the Kb for the base (codeine):
pKa = 8.21
Ka = 1x10-8.21 = 6.17x10-9
KaKb = Kw
Kb = Kw/Ka = 1x10-14/6.17x10-9 = 1.62x10-6
Substituting values into the Kb expression, we have...
Kb = [BH+][OH-] / [B]
1.62x10-6 = (x)(x) / 2.25x10-4 - x (b/c Ka is small, we can ignore x in denominator)
1.62x10-6 = (x)(x) / 2.25x10-4
x2 = 3.65x10-10
x = 1.91x10-5 M = [OH-]
pOH = -log 1.91x10-5 = 4.72
pH = 14 - pOH = 14 - 4.72
pH = 9.28
NOTE: If you are required to find a more accurate answer, then go back and do not ignore x in the denominator. Use the quadratic equation to solve for [OH-] and then find pH from there.