4

This integral popped up when I was trying to solve this integral : $$\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+2\sin^2 2x}\,dx $$

I simplified it a little bit, substituted $\tan(x)=u$ and came up with,

$$I= \int_{-\infty}^\infty \frac{u^2}{5u^2\left(u^2+1\right)+2}\,\mathrm{d}u$$

any suggestions for how I can take it from here ?

jimjim
  • 9,675
  • 1
    Are you sure about what you get after the substitution? I get $$\frac{u^2}{8u^4+8u^2+4}$$ as integrand. Also, please tell us if you have any method for doing partial fraction decomposition or what you have learned for these kind of integrals. – mickep Jun 19 '17 at 19:34
  • @mickep I checked again, I am sure about what I am getting after the substitution. Partial Fraction Decomposition will require us to factorise the denominator, but there are no "easy to deal with" factors of the denominator here. – Mathoholic99 Jun 19 '17 at 19:48
  • 2
    I agree with @mickep's result. And apparently the align environment doesn't work in comments. $$\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+2\sin^2 2x},dx$$ $$=\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+8\sin^2x\cos^2x},dx$$ $$=\int_{-\pi/2}^{\pi/2}\frac{\tan^2x \sec^2 x}{4(1+2\tan^4x)+8\tan^2 x},dx$$ $$=\int_{-\infty}^{+\infty}\frac{u^2}{4(1+2u^4)+8u^2},du$$ $$=\int_{-\infty}^{+\infty}\frac{u^2}{8u^4+8u^2+4},du$$ –  Jun 19 '17 at 20:16
  • @tilper Really now? $$\begin{align}\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+2\sin^2 2x}~dx&=\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+8\sin^2x\cos^2x}~dx\&=\int_{-\pi/2}^{\pi/2}\frac{\tan^2x \sec^2 x}{4(1+2\tan^4x)+8\tan^2 x}~dx\&=\int_{-\infty}^{+\infty}\frac{u^2}{4(1+2u^4)+8u^2}~du\&=\int_{-\infty}^{+\infty}\frac{u^2}{8u^4+8u^2+4}~du\end{align}$$ – Simply Beautiful Art Jun 20 '17 at 00:06
  • 1
    @SimplyBeautifulArt, well, it didn't work for me despite the exact same markup working in an answer preview. Maybe I don't have enough rep yet. :P $\quad$ –  Jun 20 '17 at 12:47

5 Answers5

4

There might be a easy way out,taking from where @tilper left $$\begin{align}I&=\int_{-\infty}^{+\infty}\frac{2u^2}{8(1+2u^2+2u^4)}\,du\\&=\frac{1}{8}\int_{-\infty}^{+\infty}\frac{du}{(\sqrt{1+\sqrt{2}})^2+\left[u-\frac{1}{u\sqrt{2}}\right]^2}\\&=\frac{1}{8}\int_{-\infty}^{+\infty}\frac{du}{u^2+(\sqrt{1+\sqrt{2}})^2}\\&=\boxed{\frac{1}{8}\dfrac{1}{\sqrt{1+\sqrt{2}}}\cdot\pi}\end{align}$$ in the third step i used

$$\int_{-\infty}^{+\infty}f(x)\,dx=\int_{-\infty}^{+\infty}f\left(x-\dfrac{a}{x} \right)\,dx ,a>0$$

Siddhartha
  • 2,681
4

For the fun of it :-)

\begin{align} 4(\cos^4x+2\sin^4x)+2\sin^2 2x&=4(1-\sin^2x)^2+8\sin^4x+2(2\sin x \cos x)^2\\ &=4-8\sin^2x+4\sin^4x+8\sin^4x+8\sin^2 x (1-\sin^2x)\\ &=4+4\sin^4x \end{align}

Hence \begin{align} I&=\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{4(\cos^4x+2\sin^4x)+2\sin^2 2x}\,dx\\ &=\frac14\int_{-\pi/2}^{\pi/2}\frac{\sin^2x}{1+\sin^4x}\,dx\\ &=\frac12\int_{0}^{\pi/2}\frac{\sin^2x}{1+\sin^4x}\,dx\\ &=\frac12\int_{0}^{\pi/2}\sin^2x\sum_{j=0}^{\infty}(-1)^j\sin^{4j}x\,dx\\ &=\frac12\sum_{j=0}^{\infty}(-1)^j\int_{0}^{\pi/2}\sin^{2\times\frac{4j+3}{2}-1}x\cos^{2\times\frac12-1}x\,dx\\ &=\frac14\sum_{j=0}^{\infty}(-1)^j \text{Beta}\left(\frac{4j+3}{2},\frac12\right)\\ &=\frac14\sum_{j=0}^{\infty}(-1)^j \frac{\Gamma(\frac12)\Gamma(2j+\frac32)}{\Gamma(2j+2)}\\ \end{align} I am not sure how to pin the last down. I will be happy if someone would share thoughts on this :-)

Math-fun
  • 9,507
  • You last expression reduces to $\frac 1 4 \frac{\pi \sin \left(\frac{\pi }{8}\right)}{\sqrt[4]{2}}$ which is the correct result. – Claude Leibovici Jun 20 '17 at 09:18
  • @ClaudeLeibovici This is true :-) but I did not know how to get this expression on paper ... – Math-fun Jun 20 '17 at 09:21
  • It is a good answer and I upvoted it not only for its quality but mainly because you started writing For the fun of it :-). What I really enjoy on this site is to see the enthousiasm of many people. To me, mathematics include fun and beauty plus a few other things. Cheers. – Claude Leibovici Jun 20 '17 at 09:22
  • Thank you Claude, I just come here "for the fun of it" :-) and many (if not all) do so I believe. – Math-fun Jun 20 '17 at 09:24
  • nice and elegant +1 – Siddhartha Jun 20 '17 at 16:35
2

If we assume, as in mickep's comment, that it's $\dfrac{u^2}{8u^4 + 8u^2+4},$ then we work first on factoring the denominator: $$ 8u^4 + (\cdots) + 4 = \Big( \sqrt8\, u^2 + 2\Big)^2 = 8u^4 + 8\sqrt 2\, u^2 + 2 $$ So \begin{align} 8u^4 + 8u^2 + 4 & = \Big(8u^2 + 8\sqrt 2 u^2 + 2\Big) + (8u^2 - 8\sqrt 2\, u^2) \\[10pt] & = (\sqrt8\,u^2 + 2)^2 + 8(1-\sqrt2)u^2 \\[10pt] & = \Big( \sqrt8\,u^2 + 2\Big)^2 - \Big( \sqrt{8(\sqrt 2 - 1)} \, u \Big)^2 \\[10pt] & = \Big( \sqrt8\, u^2 + 1 - \sqrt{8(\sqrt 2 - 1)}\,u\, \Big) \Big( \sqrt8\, u^2 + 1 + \sqrt{8(\sqrt 2 - 1)}\,u \, \Big). \end{align} You then have a product of two irreducible quadratic factors in the denominator. Do partial fractions accordingly.

You might also consider the tangent half-angle substitution: $$ w = \tan \frac x 2 $$ which leads to \begin{align} \sin x & = \frac{2w}{1+w^2}, \\[10pt] \cos x & = \frac{1-w^2}{1+w^2}, \\[10pt] dx & = \frac{2\,dw}{1+w^2}. \end{align}

  • 1
    +1 for nonchalantly recommending partial fractions on that monstrosity. –  Jun 19 '17 at 20:20
  • @tilper: what monstruosity ? The ratio of $u^2$ over the product of conjugate quadratic polynomials yields the difference of $u$ over these polynomials. Then by a shift of the arguments, you get rid of the linear term in the denominators and obtain elementary integrands. –  Jun 20 '17 at 07:35
  • :\ $\qquad{}{}{}$ –  Jun 20 '17 at 12:46
1

This is more a comment than an answer.

Considering $$\frac{\sin^2(x)}{4(\cos^4(x)+2\sin^4(x))+2\sin^2 (2x)}$$ the denominator can be simplified as $2\cos^2(2x)-4\cos(2x)+10$ and the numerator as $\frac{1-\cos(2x)} 2$.

So, for the time being, let $X=\cos(2x)$ and the integrand is then $$\frac{1-X}{4 (X-a) (X-b)}=\frac 1{4(a-b)}\left(\frac{1-a}{X-a} -\frac{1-b}{X-b}\right)$$ where $a=1-2i$, $b=1+2i$ are the roots of $2X^2-4X+10=0$.

So, we are basically facing simpler integrals looking like $$I=\int \frac{dx}{\cos(2x)-c}=\frac 1{\sqrt{1-c^2}}{\tanh ^{-1}\left(\sqrt{\frac{1+c}{1-c}}\tan (x)\right)}$$ and the problem becomes easy (assuming that you enjoy complex numbers).

1

$$ \begin{aligned} I & =\frac{1}{4} \int_{-\infty}^{\infty} \frac{u^2}{2 u^4+2 u^2+1} d u \\ & =\frac{1}{2} \int_0^{\infty} \frac{u^2}{2 u^4+2 u^2+1} d u \\ & =\frac{1}{2} \int_0^{\infty} \frac{1}{2 u^2+\frac{1}{u^2}+2} d u \\ & =\frac{1}{4 \sqrt{2}} \int_0^{\infty} \frac{\left(\sqrt{2}+\frac{1}{u^2}\right)+\left(\sqrt{2}-\frac{1}{u^2}\right)}{2 u^2+\frac{1}{u^2}+2} d u \\ & =\frac{1}{4 \sqrt{2}} \int_0^{\infty} \frac{d\left(\sqrt{2} u-\frac{1}{u}\right)}{\left(\sqrt{2} u-\frac{1}{u}\right)^2+2(\sqrt{2}+1)}+ \frac{1}{4 \sqrt{2}} \underbrace{ \int_0^{\infty} \frac{d\left(\sqrt{2} u+\frac{1}{u}\right)}{\left(\sqrt{2} u+\frac{1}{u}\right)^2-2(\sqrt{2}-1)} }_{=0} \\ & =\frac{1}{4 \sqrt{2} \sqrt{2(\sqrt{2}+1)}} \left[\tan ^{-1}\left(\frac{\sqrt{2} u-\frac{1}{u}}{\sqrt{2(\sqrt{2}+1)}}\right)\right]_0^{\infty} \\ & =\frac{\pi}{8} \sqrt{\sqrt{2}-1} \end{aligned} $$

Lai
  • 20,421