$$\int \frac{x-1}{x^2 + 3x}\;dx $$
After working through it, I arrive at
$$ \frac{1}{3} \Big(\,4\log \big( \,x+3\,\big) - \log \left(\,x \,\right) \Big)$$
Which webwork deems incorrect. Am I going wrong, here?
$$\int \frac{x-1}{x^2 + 3x}\;dx $$
After working through it, I arrive at
$$ \frac{1}{3} \Big(\,4\log \big( \,x+3\,\big) - \log \left(\,x \,\right) \Big)$$
Which webwork deems incorrect. Am I going wrong, here?
Notice, $$\int \frac{x-1}{x^2+3x}$$ $$=\int \frac{x-1}{x(x+3)}dx$$ Using partial fractions $$=\int\left( -\frac{1}{3x}+\frac{4}{3(x+3)}\right)dx$$ $$=-\frac{1}{3}\int \frac{dx}{x}+\frac{4}{3}\int \frac{dx}{x+3}$$ $$=-\frac{1}{3}\ln|x|+\frac{4}{3}\ln|x+3|+C$$ $$=\color{red}{\frac{1}{3}(4\ln|x+3|-\ln|x|)+C}$$
You need to use mode '$|\ \ |$' instead of parenthesis '$(\ \ )$' & add a constant $(C)$ of integration in your answer