Harish Karakoti's question on Facebook

  • Context:
  • Thread starter Thread starter alyafey22
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
alyafey22
Gold Member
MHB
Messages
1,556
Reaction score
2
Harish Karakoti asked how to find the integral

$$I = \int^{\pi}_{-\pi} \frac{x^4\cos(x)}{1-\sin(x)+\sqrt{1+\sin^2(x)}}dx$$
 
Physics news on Phys.org
$$I = \int^{\pi}_{-\pi} \frac{x^4\cos(x)}{1-\sin(x)+\sqrt{1+\sin^2(x)}}dx $$

Separate the intervals

$$= \int^{\pi}_{0} \frac{x^4\cos(x)}{1-\sin(x)+\sqrt{1+\sin^2(x)}}dx-\int^{-\pi}_{-0} \frac{x^4\cos(x)}{1-\sin(x)+\sqrt{1+\sin^2(x)}}dx$$

use change of variable in the second one
$$I= \int^{\pi}_{0} \frac{x^4\cos(x)}{1-\sin(x)+\sqrt{1+\sin^2(x)}}dx+\int^{\pi}_{0} \frac{x^4\cos(x)}{1+\sin(x)+\sqrt{1+\sin^2(x)}}dx $$

By combining the two integrals, and noticing that

$$\frac{1}{1-\sin(x)+\sqrt{1+\sin^2(x)}}+ \frac{1}{1+\sin(x)+\sqrt{1+\sin^2(x)}} =1$$

We get

$$I=\int^{\pi}_{0} x^4\cos(x)\,dx $$

Use integration by parts to conclude that
$$I=\int^{\pi}_{0} x^4\cos(x)\,dx =24\pi -4\pi^3 $$