[Physics] Gas expansion and temperature

ideal-gas

A piston is freed and the gas inside is expanded, volume will increase therefore temperature will increase too according to charles law, right? But at the same time pressure will decrease and so temperature will decrease too according to gay-lussac's law? I am very confused, which law should I consider in this case and why?
Thank you..

Best Answer

Before you apply any law, the first thing to consider is the conditions, assumptions and special cases (if any).

Charles's Law requires constant pressure. If the pressure is not constant, then you can't use this law. Does it apply here?

For Gay-Lussac's law, you need fixed mass and fixed volume. Does it apply here?

Pressure, volume, temperature, and mass all affect each other. You need two of them to be fixed in order to get direct proportionality between the remaining two.