integral of ((x-1))/(x^2)
Let's integrate: ∫x -1x2dx
For x ≠ 0, divide each numerator term by the power in the denominator: x -1x2 = 1x -1x2
ⅰ ∫x -1x2dx = ∫1xdx -∫1x2dx
∫1xdx -∫1x2dx
ⓘ The derivative of ln|x| is 1x, so ln|x| is an antiderivative of 1x: ∫1xdx = ln|x|■An antiderivative of x^n is x^(n+1)/(n+1), for n ≠ -1: -∫1x2dx = -∫x-2dx = x-1 = 1x
ln|x| + 1x
▶Indefinite integrals are defined up to an additive constant C, so this yields: 1x + ln|x| + C