Sunanda said:
Yes, you are right about the definition. It needed correction. But this whole derivation that I have jotted down on paper, is from my textbook. I have mentioned this immediately below the figure. Though my doubt is yet to be cleared, thankyou for the correction.
We have to be careful here. Either you work with positive values such as E and dr or you work with vectors:
E and
dr.
First using vectors: Consider any r' between r and ∞. r' is known as dummy variable which will occur under integral sign[Normally textbooks do not distinguish in this way and think that students will understand automatically that what is under Integral sign or even in the expression of dw is dummy variable
First consider dw for
E pointing away from given charge and
dr' also pointing away from given charge then
dw =
E.dr' = Edr', where E and dr' are magnitudes and hence are positive but what this work will do take charge towards the charge away ? or nearer answer is away but we wish to bring it closer therefore for our consideration
E and
dr' are not pointing in same direction but in opposite direction and hence
dw =
E.dr' = -Edr', where E and dr' are magnitudes and hence are positive. This truly represents the work don by
E and is therefore negative but the work done by the external agency will be positive will be proved so when you integrate the expression. according to rules of mathematics after integration you would put the value of r' as r and then subtract putting r' = ∞.
If you do not use vector notation then it is obvious work done by E if you tend to increase is Edr' and if you wish to decrease it is -Edr'
All said and done you are finding the work done by the electric field if electric field does he work it will be positive and the test charge will gain energy but we want to take the charge there without increasing its energy hence potential energy will be reduced. Reverse will happen when we bring it closer from ∞.to r we will do work (equivalently means electric field does negative work) and that energy spent by us will be stored as potential energy of the moved charge.