One mole of an ideal diatomic gas undergoes a transition from A to B along a path AB as shown in the figure.
The change in internal energy of the gas during the transition is:
Change in internal energy
where
is the degree of freedom
And also using
we get
or