Since the surface tension is pH dependent, as a result the viscosity will be pH dependent.
Dependence of Surface Tension of pH The variation in surface tension of 0.1% solutions of the sarcosinates from Table 1, with pH, is presented in Figure 1. In each case, the surface tension is highest above pH 9 and decreases rapidly as the pH is decreased towards 7. For each surfactant the surface tension reaches a minimum between pH 7 and 5.5, with the cocoyl sarcosinate showing a deep minimum around pH 7. Below pH 5, the insoluble acid form of the surfactant begins to predominate and can be seen to separate out as a second phase.
Figure 1: N-acyl Sarcosinates; pH Dependence of Surface Tension
For viewing Figure 1 and more details, please see the attached file.
Actually, My shampoo is in the pH range 5.5-6.5. If I see the surface tension Vs pH graph, there is not much change in the surface tension in this pH range. While my viscosity changes from 1700 cps to 3600 cps when I change pH 6.5 to 6.1
There are other ingredients too in the shampoo - Sodium cocoyl isethoinate, CAPB etc.
That I know Rafik. For all our shampoos, we use NaCl for gaining viscosity. This sulfate free system is behaving very differently. That's why I wanted to know that why the viscosity is pH dependent.