# Can work on a system increase entropy?

If you add Heat on a constant volume container, disorder will increase, so Entropy will increase. But what if I do some work on a piston-cylinder? I'll give more kinetic energy to particles, so they gain more disorder, but they also occupy a smaller volume, thus particles would be more organized (less entropy). Is this valid? Can work create entropy? I ask this because $$dS=\frac{dq}{T}$$ By this equation it seems that entropy only depends on Heat, not in work.

• $dU = TdS-pdV$... so? – Damian Sowinski May 3 '17 at 19:27