Suppose I want to compute tthe integral:(adsbygoogle = window.adsbygoogle || []).push({});

[tex]

\int_{-\infty}^{\infty}\frac{\textrm{sech}\hspace{0.1cm} x}{x^{2}-2|x|+1}dx

[/tex]

Can I compute this integral via contour integration? The only way that I have thought of is to split up the domain:

[tex]

\int_{-\infty}^{\infty}\frac{\textrm{sech}\hspace{0.1cm} x}{x^{2}-2|x|+1}dx=\int_{-\infty}^{0}\frac{\textrm{sech}\hspace{0.1cm} x}{x^{2}+2x+1}dx+\int_{0}^{\infty}\frac{\textrm{sech}\hspace{0.1cm} x}{x^{2}-2x+1}dx

[/tex]

Is this the best way I can go about things for is there a better way?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Contour integral with absolute value

**Physics Forums | Science Articles, Homework Help, Discussion**