You didn't change your terminals when you substituted u. Also, your integrand should be 1/(u^2 + 1), not u/(u^2 + 1), but since you have integrated this correctly I suspect that is just a typo.
As the title says, I am trying to find the definite integral of sech(x) with limits of infinity and minus infinity.
I always get 2pi as my solution, but all calculators and integration applets give pi as the answer.
Below is my method so far:
Could someone please tell me where I have gone wrong?
EDIT: there is an error in line 6 of my method, that extra u is just a typo.
I did, but e^infinity is just infinity.You didn't change your terminals when you substituted u.
Yes, that was a typo. I had mentioned it in an edit prior to your post.Also, your integrand should be 1/(u^2 + 1), not u/(u^2 + 1), but since you have integrated this correctly I suspect that is just a typo.
Anyway, I still have the issue of 2pi versus pi.