Conceptual question on work and potential energy I'm confused by classic description of work and negative work. If someone pulls (slowly) on a rope to lift a bucket in a well, I understand that the person is doing work on the bucket and gravity is doing negative work on the bucket. So, the net work is zero.
But if the net work is zero, where is the energy coming from that increases the bucket's potential energy?
 A: Here are a few points to keep in mind:


*

*Potential energy is always described as the potential energy of the system. For example, the gravitational potential energy of the Earth-Moon system, belongs to the system as a whole, not the Earth or the Moon individually. So for your example, if you are for instance throwing a brick upwards, it would be the potential of the brick-Earth system.

*The Work-Energy Theorem can be written (in terms of conservative, non-conservative and other, external forces) as:


$$W_{tot}=W_{cons}+W_{non-cons}+W_{ext}=\Delta K = K_{f}-K_{i}$$
But for a conservative force, the definition of the associated potential energy is
$$W_{cons} = -\Delta U = -(U_{f}-U_{i})$$
and so our previous equation becomes:
\begin{align*}
W_{tot}=W_{cons}+W_{non-cons}+W_{ext}&=\Delta K = K_{f}-K_{i}\\
-(U_{f}-U_{i})+W_{non-cons}+W_{ext}&=\Delta K = K_{f}-K_{i}\\
K_{i}+U_{i}+W_{non-cons}+W_{ext}&= K_{f}+U_{f}
\end{align*}
    If there are no external forces or non-conservative forces, then:
$$K_{i}+U_{i} = K_{f}+U_{f}$$
    So we see that we can either use the concept of the work done by gravity, OR we can use the concept of gravitational potential energy. But we don't want to do both at the same time, as then we would count the influence of gravity twice.
A: The person is doing work on the bucket by raising it against the gravitational force. ($W = mgh$). 
Consider the definition of work $W = Fx$ (constant force). Since $F_{weight} = mg$, then $W = mgh$.
Whether you use a lot of force to quickly jerk the bucket up, or you use little force to slowly raise the bucket, as long as its initial and final positions and velocities are the same, the work done to the bucket would be the same. It does not matter how much force you exert in lifting the mass, all that matters is the distance the mass is lifted, as well as the gravitational force, mg. The work done is simply $W=mgh$. More explanation could be found here. https://physics.stackexchange.com/a/135194/59969
A: The energy comes from the chemical energy stored in the muscles of your arms. But ...
You have to be careful when you say that net work is zero.  You have to make sure that your system is clearly defined so that you know what's in your system, and what's outside.  Then you have to identify what work is internal, and what work is external, and which if any is zero.  
One way of defining the system in your case is to say that the Earth and bucket are inside the system, everything else is outside.  Then the rope (not you) does work on the system.  This work is external work ... it come into the system from the outside.  
So the work done on the system in this picture is not zero.
You can also analyze a system comprising the Earth, the bucket, the rope, and you.  This case is more complicated because 1.) you now have an energy storage device (you) in the system, and 2.) you are deformable and 3.) The force produced by your muscles is not conservative.  Nonetheless, in this case the total internal work is indeed zero.  The energy comes from chemical energy in your muscles.
