integral of 1/(2-t)+1/(2+t)
Let's compute the integral: ∫(12 -t + 12 + t)dt
ⅰ ∫(12 -t + 12 + t)dt = ∫12 -tdt + ∫12 + tdt
∫12 -tdt + ∫12 + tdt
Let u = 2 -t. Then du = -dt, so dt = -du
∫12 -tdt = -1·∫1udu
We use ∫1udu = ln|u|. The absolute value covers both signs of the denominator, on any interval where 2 -t ≠ 0
Substitute u = 2 -t back into the antiderivative
Let u = 2 + t. Then du = dt, so dt = du
∫12 + tdt = ∫1udu
We use ∫1udu = ln|u|. The absolute value covers both signs of the denominator, on any interval where 2 + t ≠ 0
Substitute u = 2 + t back into the antiderivative
ⓘ The derivative of ln|2 + t| is 12 + t, so ln|2 + t| is an antiderivative of 12 + t: ∫12 + tdt = ln|2 + t|
-1·ln|2 -t| + ln|2 + t|
ⓘ Multiplying by 1 changes nothing: 1·ln|2 -t| = ln|2 -t|
-ln|2 -t| + ln|2 + t|
ⓘ For strictly positive arguments, a sum of logarithms is the logarithm of the product, a difference that of the quotient, ln(a) + ln(b) = ln(a*b): -ln|2 -t| + ln|2 + t| = ln(|2 + t||2 -t|)
ln(|2 + t||2 -t|)
ⓘ The quotient of absolute values is the absolute value of the quotient: |2 + t||2 -t| = |2 + t2 -t|
ln|2 + t2 -t|
▶Indefinite integrals are defined up to an additive constant C, so this yields: ln|t + 22 -t| + C