Mode 1
In this mode transistor Q gets turned on by the positive output of the PWM. After that current flows through inductor L transistor Q then back to supply in this condition inductance stores the energy.
Assuming that inductor current rises linearly from I1 to I2 in time period t1= T on .
V in = L I2- I1 / Ton = LI /Ton