Answer
$=\frac{1}{2}ln|x|+C$
Work Step by Step
Since $\frac{1}{2x}$ equals $(\frac{1}{2})(\frac{1}{x})$ and $\frac{1}{2}$ is a constant, the constant can be brought outside of the integral. This yields $$\frac{1}{2}\int\frac{dx}{x}=\boxed{\frac{1}{2}ln|x|+C}$$