oo / | | 1 | ----------------- dx | / 2 \ | pi*\x + 4*x + 5/ | / -1
Integral(1/(pi*(x^2 + 4*x + 5)), (x, -1, oo))
/ | | 1 | ----------------- dx | / 2 \ | pi*\x + 4*x + 5/ | /
/ 1 \ |----| 1 \pi*1/ ----------------- = ------------- / 2 \ 2 pi*\x + 4*x + 5/ (-x - 2) + 1
/ | | 1 | ----------------- dx | / 2 \ = | pi*\x + 4*x + 5/ | /
/ | | 1 | ------------- dx | 2 | (-x - 2) + 1 | / ------------------- pi
/ | | 1 | ------------- dx | 2 | (-x - 2) + 1 | / ------------------- pi
v = -2 - x
/ | | 1 | ------ dv | 2 | 1 + v | / atan(v) ------------ = ------- pi pi
/ | | 1 | ------------- dx | 2 | (-x - 2) + 1 | / atan(2 + x) ------------------- = ----------- pi pi
atan(2 + x) C + ----------- pi
/ | | 1 atan(2 + x) | ----------------- dx = C + ----------- | / 2 \ pi | pi*\x + 4*x + 5/ | /
Use the examples entering the upper and lower limits of integration.