I have a doubt, i hope not so stupid.
Suppose we consider a buffer solution of acetic acid/acetate at pH = pKa = 4.76 and we add aspirin (pKa = 3.5): given that the pH of the solution is higher than the pKa of the drug, then the aspirin prevails in its ionized form, from Henderson-Hasselbalch equation. That said, does the degree of dissociation of aspirin actually depend on the pH of the solution, or does it depend on the ability of the aspirin to react with the conjugate base of the buffer to some extent?
AspH + CH3COO- <=> Asp- + CH3COOH
In fact, given that the pKa of aspirin is higher than that of acetic acid, the reaction is shifted to the right, so that aspirin will be dissociated in a certain percentage which depends precisely on this equilibrium, rather than on the pH of the solution (?).
Similar doubt regarding an unbuffered solution: suppose we want to extract aspirin from an organic solvent, with a saturated bicarbonate solution: the reaction between the two species is, also in this case, shifted to the right, as aspirin is a stronger acid than carbonic acid, therefore aspirin will prevail in the deprotonated form and there is a certain degree of dissociation. Again, does the degree of dissociation of aspirin actually depend on this reaction, or on the pH that is reached AFTER the reaction, again using the Henderson-Hasselbalch equation?
Thanks.