In a process on a system, the initial pressure and volume are equal to the final pressure and volume.
From ideal gas equation, we know that
PV=nRT
Where P=pressure
V=volume
n=number of moles
R=gas constant
T=temperature
If PiVi=PfVf
Then nRTi=nRTf
∴ Ti=Tf
Since the initial state of the system (Pi, Vi, Ti) is equal to final state of the system (Pf, Vf, Tf), initial and final internal energy will also be equal as internal energy is a state variable.