There's this equation in chemistry called the hasselbalch equation. I looked at how it was derived, and it isn't making sense to me. $\ pKa -log(\frac{x}{y})$ equals to $\ pKa + log(\frac{y}{x})$, which confuses me because I thought the inverse would be $\ pKa -\frac{1}{log(\frac{x}{y})}$. Where did I go wrong, and could you please show me how to do it correctly.
This is my first time using MathJax (: