I have to solve this following question:
Find the value(s) of the (real) constant C such that the following integral converges:
$$\int_0^\infty \left(\frac{x}{{x^2+1}} - \frac{C}{{3x+1}}\right) \, dx$$
However, when I integrate it, the end result is $$\lim_{{A \to \infty}} \frac{{\ln(A^2+1)}}{2} - \frac{{C \ln(3A+1)}}{3}$$
Which gives $\infty - C\infty$, which is indeterminate. What should I do in this case?
The only thing that came to my mind is that the expression may be rewritten as $$\frac{\ln(\infty)}{2} - \frac{C\ln(\infty)}{3}$$ so then if $C = \frac{3}{2}$ $$\frac{\ln(\infty)}{2} - \frac{\ln(\infty)}{2} = 0$$
Which in theory is the answer to the question, but I don't know if rewritting the equation as I did above is something that is allowable.
Thanks in advance for the help.
We have \begin{align} &\int_0^\infty\left(\frac{x}{{x^2+1}} - \frac{C}{{3x+1}}\right) \, dx\\ =&\ \ln\frac{(1+x^2)^{1/2}}{(3x+1)^{C/3}}\bigg|_0^{\infty} = \lim_{x\to\infty}\ln\frac{(1+x^2)^{1/2}}{(3x+1)^{C/3}}=\lim_{x\to\infty}\ln \frac{x^{1-\frac C3}}{3^{C/3}} \end{align} which is finite (converging) if $C=3$.