1 / | | -t | E + t - 1 | ----------- dt | 2 | t | / 0
Integral((E^(-t) + t - 1)/t^2, (t, 0, 1))
There are multiple ways to do this integral.
Let .
Then let and substitute :
Rewrite the integrand:
Integrate term-by-term:
The integral of is .
The integral of a constant times a function is the constant times the integral of the function:
UpperGammaRule(a=1, e=-2, context=exp(_u)/_u**2, symbol=_u)
So, the result is:
The integral of is when :
The result is:
Now substitute back in:
Rewrite the integrand:
Let .
Then let and substitute :
Rewrite the integrand:
Integrate term-by-term:
The integral of is .
The integral of a constant times a function is the constant times the integral of the function:
UpperGammaRule(a=1, e=-2, context=exp(_u)/_u**2, symbol=_u)
So, the result is:
The integral of is when :
The result is:
Now substitute back in:
Rewrite the integrand:
Integrate term-by-term:
The integral of is .
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
UpperGammaRule(a=-1, e=-2, context=exp(-t)/t**2, symbol=t)
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | -t | E + t - 1 1 expint(2, t) | ----------- dt = C + - - ------------ + log(-t) | 2 t t | t | /
-expint(2, 1) - pi*I + EulerGamma
=
-expint(2, 1) - pi*I + EulerGamma
-expint(2, 1) - pi*i + EulerGamma
Use the examples entering the upper and lower limits of integration.