# A point mass m having charge q is connected with spring to a rigid wall on a horizontal surface.

A point mass m having charge q is connected with massless spring to a rigid wall on a horizontal surface.A horizontal uniform electric field E is switched on and mass is displaced through a distance x from equilibrium position.
Work done by electric force is $W=qE.x$ as electric force is constant.
But F(external) on spring mas system is equal to kx. So $W=kx.x=k{x}^{2}$ (equation 1) as external force i.e, electric force is constant.
We know that work done is stored in the form of potential energy and we know that potential energy stored in the spring is $1/2k{x}^{2}$.
So $W=1/2k{x}^{2}$ (let it be equation 2)
But the above 2 equations are not equal. From where did the 1/2 come from in the 2nd equation?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

yelashwag8
Unlike the electric force in this scenario, the spring force is not constant with respect to displacement. This is where the factor of 1/2 arises.
${W}_{k}={\int }_{0}^{x}-kx\phantom{\rule{thinmathspace}{0ex}}\mathrm{d}x=-\frac{1}{2}k{x}^{2}$
The electric field does work ${W}_{E}=qEx$, while the spring force does work ${W}_{k}=-\frac{1}{2}k{x}^{2}$. Since the mass comes to rest, the total work done on it must be 0:
${W}_{E}+{W}_{k}=qEx-\frac{1}{2}k{x}^{2}=0$
###### Not exactly what you’re looking for?

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee