A representation theorem for $(X_1-1)(X_2-1)...(X_n-1)$ and its applications