The capacitance of the capacitor without the dielectric slab is given by
When the dielectric slab is inserted, the capacitance becomes
(a) Increased electrostatic energy:
(b)
Charge on the capacitor containing dielectric is,
Potential difference across the capacitor after removing battery and then dielectric is,
Increased electrostatic energy,
(c) When the battery is connected, energy is increased after insertion of the dielectric slab because of the increase in the capacitance of the capacitor. Now, capacitor will abstract more change from the battery.
When the battery is disconnected, and dielectric slab is taken out then energy stored in the will increase because of increase of potential difference across the capacitor.