Evaluate the integral:$$\int\sqrt{\frac{2x+1}{3x+2}}dx$$
My approach:
$$y:=\sqrt{3x+2}\Rightarrow dy=\frac{3}{2\sqrt{3x+2}}\\\therefore x=\frac{y^2-2}{3}$$
Rewriting the integral in terms of $y$:
$$\int\sqrt{\frac{2x+1}{3x+2}}dx{ =\frac{2}{3}\int\sqrt{\frac{2y^2-1}{3}}dy\\ =\frac{2\sqrt2}{3\sqrt3}\int\sqrt{y^2-\left(\frac{1}{\sqrt2}\right)^2}dy\\ =\frac{2\sqrt2}{3\sqrt3}\left(\frac{y}2\sqrt{y^2-\left(\frac{1}{\sqrt2}\right)^2}-\frac{1}{4}\ln\left|y+\sqrt{y^2-\left(\frac{1}{\sqrt2}\right)^2}\right|\right)+c\\ =\frac{2\sqrt2}{3\sqrt3}\left(\frac{\sqrt{(3x+2)(2x+1)}\sqrt3}{2\sqrt2}-\frac{1}{4}\ln\left|\sqrt{3x+2}+\sqrt{3x+\frac{3}2}\right|\right)+c\\ =\frac{1}3\sqrt{(3x+2)(2x+1)}-\frac{1}{3\sqrt{6}}\ln\left|\sqrt{3x+2}+\sqrt{3x+\frac{3}2}\right|+c}$$
But , answer in the book is: $$\frac{1}3\sqrt{(3x+2)(2x+1)}-\frac{1}{3\sqrt{6}}\ln\left|\sqrt{2x+1}+\sqrt{2x+\frac{4}3}\right|+c$$
It is an indefinite integral so answer may defer. But, it dosen't look the same.
$3x+\frac{3}{2}=\frac{3}{2}(2x+1)$ and $3x+2=\frac{3}{2} \left ( 2x + \frac{4}{3} \right )$, so the arguments of the two logs differ by a constant factor (namely $\sqrt{3/2}$), meaning that the logs themselves differ by a constant (namely $\ln(\sqrt{3/2})$). Since everything else is the same, the results without the $+c$'s differ by a constant. So these answers are equivalent.