Degree of Unsaturation (DU) of an organic compound tells us about the total number of π bonds (both double bonds and triple bonds) and number of rings/cyclic chains in the compound.
Degree of unsaturation forms an integral part of the four tools used to identify the structure of an organic compound (some of the others being structure after hydration and ozonolysis (there's one more iI don't remember)).
Wikipedia states the formula of Degreedegree of Unsaturationunsaturation as:
Rings + pi bonds=C−H2−X2+N2+1Rings + π-bonds=C−H2−X2+N2+1 where CC = number of carbons, HH = number of hydrogens, X=X = number of halogens and NN = number of nitrogens
A more general formula is stated as
DU=1+12∑ni(vi−2) where ni is the number of atoms with valence vi.
###WhatWhat I'm interested is the underlying concept from which this formula is derived.