I have a question about the paricular part of the accepted answer in this post Does special relativity explains working of an electromagnet?. I will quote the whole answer here.
- Imagine you have a wire full of equally many positive and negative charges. The wire is neutral. You have a positive test charge outside of the wire. Since the wire is neutral, it experiences no electric force. Since it is not moving, it does not experience a magnetic force. Charge does not experience any force.
- You start a current, making the negative charges flow to the right. Because of special relativity and length contraction, the negative charges are "squished together" slightly in the direction they travel, compared to their length in their rest frame (the frame where they are not moving).The wire will be negatively charged, since there are more negative charges per length unit than positive ones. Compensate for this by giving the wire a positive charge so that it is still neutral in the lab frame. Your test charge experiences no electric force, since the wire is neutral. It experiences no magnetic force since it is not moving. Charge still experiencing no force.
- Get your test charge moving, in the same direction as the current, with the same velocity v for convenience. Since there is a current going through a wire, there is a magnetic field, and we can find its direction by the right hand rule. Since our test charge is moving in a magnetic field, it will experience a force. We can find this force using F=qvB, and using the right hand rule we find it is pointing away from the wire. There is still no electric force, since the wire is neutral. When the test charge moves, it is affected by a magnetic force
- Now move to the reference frame that is moving along with the test particle. Here, the negative charges are still, and the positive charges are moving to the left. So there is still a current, but since the charge is not moving in this frame, there is no magnetic force. However, the positive charges are moving in this frame, so they will squish due to length contraction. At the same time, the negative charges will "un-squish", as we are now in their rest frame. The net result is that the wire is positively charged. The test charge will be repelled by an electric force. In the particle's rest frame, there is an electric force instead.
Point 2 says that when the current starts in the lab frame, the electrons are "squished together". Thus, since the wire is nutral, there must be some extra positive charges come into it. But as far as I understand, positive charges are fixed in the nodes of the crystal structure and can not move.
So the questions are:
Where do these extra charges come from?
Why can not we apply the same logic to point 4 of the same answer, where the positive charges are squished now? Why there are no extra negative charges to compencate it in this case?