if we have a infinitely thin and infinitely long straight wire on the z-Axis with given current I(t), how can i compute the charge density?
I figured out that the current-density is given by $\vec{j}(\vec{r},t)=I(t)\delta(x)\delta(y)\vec{e_z}$.
But how can i compute the charge-density? I thought about the continuity equation, but did not understand the term $div\vec{j}=div(I(t)\delta(x)\delta(y)\vec{e_z})$=?? On the other side i tried to find a "direct" relationship between the charge density $\rho$ and the current I(t) by $\rho=\frac{dQ}{dz}=I\frac{dt}{dz}$. But this seems absolutely wrong. Can you give me an advice?