Find the most general antiderivative of #f(x)=((1+x)/x)^2#?

#f(x)=((1+x)/x)^2#

1 Answer
Nov 20, 2017

#int f(x) dx = x + ln(x^2) - 1/x + C#

Explanation:

Given:

#int ((1+x)/x)^2dx#

Expand the square:

#int (x^2+2x+1)/x^2dx#

Perform the division:

#int 1+2/x+1/x^2dx#

Separate into 3 integrals:

#int dx +2int 1/x dx +int 1/x^2dx#

These integrals are well known:

#x + 2ln|x| - 1/x + C#

Bring the 2 inside the logarithm:

#x + ln(x^2) - 1/x + C#