I've not studied calculus for a couple of months so my skills got a little bit rusty.
I'm trying to calculate $\int\frac{x}{x+1}dx$ using the chain rule. Wolfram Alpha says the result is $x - \ln(x+1)$.
So here's where I'm at:
$$\int\frac{x}{x+1}dx = x \cdot \ln(x+1) + \int{\ln(x+1)}dx$$
And I can't figure out how to attack $\int{\ln(x+1)}dx$.
Actually, I need this for an integral test for convergence (I'm trying to find out whether or not the series $\sum\frac{x}{x+1}$ converges), so proving that $x \cdot \ln(x+1) + \int{\ln(x+1)}dx$ is finite for all $x >= 1$ is would be enough.
$\frac{x}{x+1} = \frac{x+1-1}{x+1} = \frac{x+1}{x+1} - \frac{1}{x+1} = 1 - \frac{1}{x+1}$
Or, do a $u$-sub with $u=x+1$.
Handle $\int \ln(x+1) \ dx$ with integration by parts with parts $u=\ln(x+1)$ and $dv=dx$.
And, to nitpick, there should be absolute value bars all over the place unless you can assume $x > -1$.