# Change of frame in a uniform magnetic field using relativity

Let's say a charged particle is at rest in a uniform magnetic field. Now if we change our frame of reference the particle appears moving. Now according to classical physics the particle should move in a circle in this frame ( this can't be true because we know that the particle must move in a straight line in this frame.) Thus we conclude that the electromagnetic field changes. Can you use relativity to find the field in the moving frame so that physics becomes self consistent.
Note: If a source is strictly necessary to find the change in the field consider the source as an infinitely long sheet carrying a uniform areal current along it's area. It should be easy to see using ampere's circutal law that the field is uniform and can be calculated easily.

$$E^2-c^2B^2$$ is the conserved quantity (There are several sign and unit conventions, but this is the one I'm used to). As you move to other frames, you'll get a non-zero $$E$$ and an increasing $$B$$. Together, those will be consistent with what the observer sees the charged particle do.
Let's say the particle starts at the origin, and the $$B$$ field is along $$z$$. Now pick a frame where it's moving along $$x$$. You'd expect the $$B$$ field to deflect it along $$y$$. But in that frame, you'll observe an $$E$$ field that provides exactly enough force to cancel that, giving a net force of zero and no deflection.
The components of $$B$$ and $$E$$ don’t transform separately in SR. Like $$x$$ and $$t$$ in the usual Lorentz transform, they mix together. The mathematical formulation of this starts by combining $$E$$ and $$B$$ into an antisymmetric tensor called $$F$$. This Physics SE question and answers take it from there.