Explanation:
    [tex]{\displaystyle {\ce {HA[/tex]  ⇄  [tex]{H^+}+{A^{-}}} }}[/tex]
Here HA is a protonic acid such as acetic acid, [tex]CH_3COOH[/tex]
    [tex]K_a[/tex] = [tex]\dfrac{[H^{+}] [A^{-}]}{[HA]}[/tex]
     [tex]\\{\displaystyle {\ce {{HA}+ H_2O}[/tex] ⇄  [tex][H_3O^+] [A^-][/tex]
    [tex]K_a[/tex] = [tex]\dfrac{[H_3O^{+}] [A^{-}]}{[HA]}[/tex]
Here, [tex]K_a[/tex] is the dissociation constant of an acid.