Frame S′ is moving with uniform speed v in the z-direction relative to a laboratory frame S. Using Cartesian coordinates and units such that c=1, the relevant Lorentz transformation is
t′=γ(t−vz),x′=x,y′=y,z′=γ(z−vt)
where γ=1/1−v2. A straight thin wire of infinite extent lies along the z-axis and carries charge and current line densities σ and J per unit length, as measured in S. Stating carefully your assumptions show that the corresponding quantities in S′ are given by
σ′=γ(σ−vJ),J′=γ(J−vσ)
Using cylindrical polar coordinates, and the integral forms of the Maxwell equations ∇⋅E=μ0ρ and ∇×B=μ0j, derive the electric and magnetic fields outside the wire in both frames.
In a standard notation the Lorentz transformation for the electric and magnetic fields is