We have assumed a strong acid, for which the equilibrium reaction, as shown below, lies strongly to the right.
HX(aq)+H2O(l)⇌X−+H3O+
Why do we use pH? Well it is a holdover from the pre-electronic calculator days, which some of us can remember (not me of course, I am not a day over 29!).
When I write logab=c, I explicitly say that ac=b. Common logarithmic bases are 10 and e (I think you cover this in A level mathematics these days). pH and pKa scales use logarithms to the base 10.
Anyway given what I have said log10100=2, log101000=3, and log101=0, and log100.1=log1010−1=−1. If you can grasp this, you will find the pH concept (literally pouvoir hydrogene, power of hydrogen) fairly straightforward.
With weaker acids, say acetic acid, H3C−C(=O)OH, the acid-base equilibrium lies to the left. The equilibrium constant, Ka, can be measured and often reported as pKa = −log10Ka.