Solution
= Solution
By cylindrical symmetry the field is azimuthal and constant on a circle of radius $r$. The <Ampère-Maxwell equation>[Ampère's law] for a steady current gives
$$
2\pi r B=\mu_0I,
$$
so
$$
\boxed{\mathbf B=\frac{\mu_0I}{2\pi r}\,\mathbf e_\phi}.
$$
In the plane $x=0$ with $y>0$, it points in the $-x$ direction.