On the numerator of the Ka equation, the concentration of protons is written as being squared due to the fact the concentration of protons is equal to the concentration of the conjugate base in solution.On the denominator, the concentration of the acid is written as the initial concentration of the acid. This is because a weak acid negligibly dissociates hence the concentration will remain roughly constant.