For an adiabatic change, the first law of thermodynamics may be expressed as
dU + PdV = 0
or, −PdV = dU …(i)
When a gas does work adiabatically PdV is +ve. For this dU should ne negative. Hence, the source of mechanical energy produced during the adiabatic change is the decrease in internal energy of the gas.