When 1 ml of 10−5 M HCl is diluted to 1000 ml, then the concentration of HCl will be 10−8 M.
Now the pH of HCl would be 8 which comes in the basic range of pH. But it isn't true.
So, it should be noted that in this case while calculating pH we have to consider the H+ ions from the dissociation of water in addition to the H+ ions given by HCl.
Here the dissociation of water is surpressed due to the commom-ion effect.
H2O ⇌ H+ + OH−
x x
where x is [H]+ or [OH]−
∴ Total concentration of H+ ions=(x + 10−8)
(∵[H]+ = [HCl] = 10−8)
Now Kw = [H+] [OH]−10−14 = (x + 10−8) x⇒ x = 9.5×10−8
∴ Total [H]+ = (9.5×10−8 + 10−8)
Thus pH = − log [H]+ = − log(9.5×10−8 + 10−8) = 6.98