$$\int \frac{dx}{\sqrt{3x + \sqrt{x^2}}}$$
How to solve the above indefinite integration? I am trying this question by taking out $x^2$ from the root sign. Now when I am taking out $x^2$ from the root sign the value will be $|x|$. Now when $x > 0$, $|x|$ will be $+x$ and when $x < 0$, $|x|$ will be $-x$. But in case of this indefinite integration I am confused which value to take, $x$ or $-x$, because there is no limit given for $x$. Also I am thinking to write this integration as $\displaystyle\int{\dfrac{dx}{\sqrt{3x+x\cdot \operatorname{sgn}(x)}}}$. But I don't know how to approach further. Please help me out with this question.