So in this lecture we're going to look at something called the Hamilton Hasselbach equation. Now this equation has two uses. First, we can use it to find the PH of the buffet system. And second, we can use it to find the ratio of conjugate base to conjugate acid or the ratio of conjugate acid to conjugate base of our buffet system. Now let's see where this equation comes from. Let's derive it.