Step 1. Reactions involved
The total [H3O+] is from ionization of HCl and H2O both according to the following reactions-
2H2O(l)⇌H3O+ (aq) +OH− (aq)
HCl (aq)+H2O(l)⇌H3O+ (aq)+Cl− (aq)
Step 2. Total [H3O+]
Assume x=[OH−]=[H3O+] from H2O and y=[H+]=10−8 from HCl as HCl being strong acid, it completely ionizes.
So, total [H3O+]=10−8+x and total [OH−]=x .
We know, Kw=[OH−][H3O+]=10–14
⇒Kw=(10−8+x)(x)=10−14
or x2+10−8x –10−14=0
⇒x=9.5×10−8
So, total H+=9.5×10−8+10−8=10.5×10−8
Step 3. pH calculation
We know, pH=−log [H+]
pH=−log (10.5×10−8)=6.98
Final answer: 6.98