Consider a parallel plate capacitor. The process of charging a capacitor consists of removing negative charges (electrons) from the positive plate and depositing them on the negative plate.
Suppose at a particular instant, the charge on the plates are , so that the potential difference between the plates is . To transport an infinitisimal charge from the positive plate to the negative plate, the work done by an external agency is