# A 'complicated' integral: $\int \limits_{-\infty}^{\infty}\frac{\sin(x)}{x}$ [duplicate]

I am calculating an integral $\displaystyle \int \limits_{-\infty}^{\infty}\dfrac{\sin(x)}{x}$ and I dont seem to be getting an answer.

When I integrate by parts twice, I get:
$$\displaystyle \int \limits _{-\infty}^{\infty}\frac{\sin(x)}{x}dx = \left[\frac{\sin(x)\ln(x) - \frac{\cos(x)}{x}}{2}\right ]_{-\infty}^{+\infty}$$

What will be the answer to that ?

## marked as duplicate by Start wearing purple, Git Gud, M.H, Ayman Hourieh, AmzotiJul 17 '13 at 20:37

• You could use double integrals and switch limits. It is an improper integral. The answer is $\pi$. – Torsten Hĕrculĕ Cärlemän Jul 17 '13 at 20:09
• @AnuragPallaprolu I looked it up on Wolfram Alpha and it said $\pi$. WHat is an improper integral ? :) – Little Child Jul 17 '13 at 20:11
• @LittleChild I think we could use a bit of wiki here. :) Its an integral whose limits reach either infinities. – Torsten Hĕrculĕ Cärlemän Jul 17 '13 at 20:12
• @AnuragPallaprolu Double integral = split the integral into two ?? – Little Child Jul 17 '13 at 20:13
• @LittleChild Accepting answers is (of course) entirely up to the OP. However, in the present case, since you admitted in a comment that the posted answer did not help you, I wonder why you accepted this answer (... 7 minutes after it got posted!). A consequence is that it makes other, perhaps more satisfying, answers less likely to be posted. – Did Jul 29 '13 at 15:58
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 1, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://math.stackexchange.com/questions/446082/a-complicated-integral-int-limits-infty-infty-frac-sinxx", "fetch_time": 1566646278000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2019-35/segments/1566027320734.85/warc/CC-MAIN-20190824105853-20190824131853-00239.warc.gz", "warc_record_offset": 542726996, "warc_record_length": 28906, "token_count": 467, "char_count": 1483, "score": 3.53125, "int_score": 4, "crawl": "CC-MAIN-2019-35", "snapshot_type": "latest", "language": "en", "language_score": 0.8403868675231934, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00025-of-00064.parquet"}