So #pH# literally stands for #"power of hydrogen"#, and was introduced in the early 20th century by the Danish chemist, Soren Sorenson.
Normally, we use it to measure the concentration of hydrogen ion in aqueous solution............
And by definition, #pH=-log_10[H_3O^+]#.
#[H_3O^+]# is a conceptual species, and could also be represented as #H^+#. It is the characteristic cation of the water solvent; and the characteristic anion of water is designated as hydroxide, #""^(-)OH#.
By careful measurement of pure water, #[H_3O^+]# and #[HO^-]#, were found to be present in some (small) quantity at equilibrium dependent on temperature:
#2H_2OrightleftharpoonsH_3O^+ +HO^-#
#K_w=[H_3O^+][HO^-]=10^-14# at #298*K# (NB #[H_2O]# does not appear in the equilibrium expression, because it is so large it is effectively constant.) So in an acid solution, the relationship tells us that #[""^(-)OH]# is low, and vice versa for an alkaline solution.
Now back in the day (only 30-40 years ago in fact), before the advent of cheap electronic calculators, division and multiplication of large and small numbers was fairly difficult. Scientists, students and teachers, and engineers would routinely use logarithmic tables (to the #"base 10"# or #"base e"# for multiplication and division.)
And thus the product #axxb-=10^("log"_10 a +"log"_10 b"#. It was easier to find #"logs"# and #"antilogs"# of the given product, than it was to do the long multiplication/division. Of course these days we would simply plug the numbers into a hand-held calculator.
But if we take #log_10# of #K_w=[H_3O^+][HO^-]=10^-14#, we gets.....
#log_(10)K_w=log_10[H_3O^+]+log_10[HO^-]=log_(10)10^-14#
But since #log_(a)a^b=b# by definition, then, #log_(10)10^-14=-14#.
And so #-14=log_10[H_3O^+]+log_10[""^(-)OH]#
OR
#14=-log_10[H_3O^+]-log_10[""^(-)OH]#
And given our definition,
#14=pH+pOH#
And thus a low or negative #pH# characterizes a STRONGLY acidic solution, and a high #pH# (approaching #14#) characterizes a STRONGLY alkaline solution.
I have gone on for a bit about nothing to the power of less. Look at the examples of #pH# in your text to consolidate your understanding.