How to calculate $\int\frac{x}{ax+b}$ dx ?
I know $\int\frac{1}{ax+b}$ dx but when there is $x$ at the numerator, I don't know where to begin
How to calculate $\int\frac{x}{ax+b}$ dx ?
I know $\int\frac{1}{ax+b}$ dx but when there is $x$ at the numerator, I don't know where to begin
HINT
We have
$$\frac{x}{ax+b}=\frac1a\frac{ax+b-b}{ax+b}=\frac1a-\frac1a\frac{b}{ax+b}$$
or by parts
$$\int\frac{x}{ax+b}dx=\frac1ax\ln(ax+b)-\frac1a\int\ln(ax+b)dx$$