I'm attempting a problem from Zwiebach: A First Course in String Theory and am completely stuck. Could anyone give me a hint? The problem is as follows.
Consider $S$, $S'$ two Lorentz frames with $S'$ boosted along the $+x$ axis. In frame $S$ we have a cubic box with sides of length $L$ at rest. The box is filled by a material, also at rest, of uniform charge density $\rho$. In $S$ we assume that the charge density $\underline{j}=0$. Use the Lorentz invariance of charge to calculate the charge density $\rho'$ and current density $\underline{j}'$ in $S'$. Verify that $(c\rho,\underline{j})$ a 4-vector.
The charge density is easy. Indeed $L^3\rho = Q = Q' = L'^3\rho'=\frac{L^3}{\gamma}\rho'$ so $\rho' = \gamma \rho$. I know I'm right here because this agrees with what we'd expect from a 4-vector under Lorentz boost.
To do the current density I tried to use $0=\frac{\textrm{d}Q}{\textrm{d}t}=\frac{\textrm{d}Q'}{\textrm{d}t'}=\int_S\underline{j}'.\textrm{d}\underline{a}=j'_xL^2$ so $\underline{j}'=0$ since $j'_y=j'_z=0$ clearly must be zero.
I know this is wrong though, because it doesn't agree with what I'd expect from a 4-vector! What am I doing wrong? And is this the right way to go about this question?
Many thanks in advance!