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