## The first law of thermodynamics and conservation of energy

The first law of thermodynamics states the **conservation of energy** of our universe. Thus this law states as energy can neither be created nor be destroyed but it may be transferred one form to another.

In other words, when one form of energy disappears, an exact and same amount of other form appears. Thus the net amount of energy in our universe must be constant.

### Derivation of the first law of thermodynamics

Let q amount of heat supplied to the system containing one-mole gas in a cylinder fitted with a frictionless weightless moveable piston.

At constant pressure, the gas expands from V_{1} to V_{2} and the temp changes from T_{1} to T_{2}. Thus according to the first law of thermodynamics

q = dU + w

where dU = change of internal energy

If the work restricted to pressure-volume work than the work performed for this system w = PdV.

∴ q = dU + PdV

But internal energy U = ∫(T, V)

Putting this value in the energy equation

But at constant volume

where Cv = molar heat capacity at constant V.

Thus the generalized mathematical formula of the first law of thermodynamics for n mole of a gas

#### The first law of thermodynamics ideal gas

The thermodynamics equation of state

From ideal gas law

Thus the mathematical form of the first law of thermodynamics for the ideal gas

q = nC_{V}dT + pdV

#### Thermodynamics of real gases

Van der Waals equation for n mole real gases

Thus from the first law thermodynamics

### Law of conservation energy examples

For an isolated system, the value of q and w are zero since no interaction of the system with the surroundings can take place. Thus we can conclude that the value of the energy function of an isolated system is constant.

This is another statement of the first law and known as the law of conservation of energy. Thus this states as

No matter what changes of state of an isolated system, thus the value of energy function always constant.

#### Change in internal energy during a cyclic process

Internal energy changes in the cyclic process

dU = 0

Thus according to the first law

q = w

Hence heat is completely converted into work for the cyclic process.

#### Heat change in the isothermal process

Internal energy change in the isothermal process for the ideal gas

dU = nCVdT = 0

∴ q = w

Thus heat is completely converted into work for the ideal gas in the isothermal process.

#### Change in internal energy isochoric process

Volume change in isochoric process

dV = 0

The 1st law of thermodynamics when dV = 0

q = dU = nCVdT

Thus heat supplied to an isochoric process only increases the internal energy or temperature of the system.

#### Internal energy change in an isolated system

In an isolated system, neither energy nor matter can be transfer to or from it.

∴ q = 0 for isolated system

From the law of conservation energy

0 = dU + w

or, w = -dU

Thus in an isolated system, internal energy uses for the work done by the system.