- #1
latentcorpse
- 1,444
- 0
In my electrostatics notes, when calculating the work done in moving a point charge from r1 to r2 we use
[itex]W=\int_{\mathbf{r_1}}^{\mathbf{r_2}} \mathbf{F} \cdot \mathbf{dr}[/itex]
which ends up giving W=qV where V is the potential difference.
However in previous years we used [itex]\mathbf{F}=-\nabla W \Rightarrow W=-\int_{\mathbf{r_1}}^{\mathbf{r_2}} \mathbf{F} \cdot \mathbf{dr}[/itex]
(this works if you consider W as potential energy (mgz) and then you get a force due to gravity of -mg in the z direction.
so which is correct and why?
[itex]W=\int_{\mathbf{r_1}}^{\mathbf{r_2}} \mathbf{F} \cdot \mathbf{dr}[/itex]
which ends up giving W=qV where V is the potential difference.
However in previous years we used [itex]\mathbf{F}=-\nabla W \Rightarrow W=-\int_{\mathbf{r_1}}^{\mathbf{r_2}} \mathbf{F} \cdot \mathbf{dr}[/itex]
(this works if you consider W as potential energy (mgz) and then you get a force due to gravity of -mg in the z direction.
so which is correct and why?