MHB An Elegant Solution to a Tricky Integral

  • Thread starter Thread starter sbhatnagar
  • Start date Start date
  • Tags Tags
    Integral
sbhatnagar
Messages
87
Reaction score
0
Evaluate the integral

\[ \int \frac{\sin(x)-\cos(x)}{(\sin{(x)}+\cos{(x)})\sqrt{\sin(x)\cos(x)+ \sin^2(x)\cos^2(x)}} dx\]

The problem above is not necessarily difficult; however, it can be almost impossible to evaluate if one doesn’t know the right “trick”.
 
Mathematics news on Phys.org
I would do the following:
Let \[\sin(x)+\cos(x)=t \Rightarrow [\cos(x)-\sin(x)]dx=dt \Rightarrow -[(\sin(x)-\cos(x)]dx=dt \Rightarrow [\sin(x)-\cos(x)]dx=-dt \]
and \[\sin(x)\cos(x)=\frac{t^2-1}{2} \]

Thus, the integral becomes:
\[ - \int \frac{dt}{t\sqrt{\frac{t^2-1}{2}\left(1+\frac{t^2-1}{2}\right)}}=-2 \int \frac{dt}{t\sqrt{t^4-1}}=\frac{-1}{2} \int \frac{4t^3}{t^4\sqrt{t^4-1}}\]

Let \[ t^4-1= u \Rightarrow 4t^3dt=du \] so the integral becomes:
\[ \frac{-1}{2} \int \frac{du}{(u+1)\sqrt{u}}=-\arctan(\sqrt{u})\]

Doing the back-substitution we obtain:
\[- \arctan\left(\sqrt{[\sin(x)+\cos(x)]^4-1}\right)+C\]

I'm not sure my attempt is correct.
 
Last edited:
Hi Siron! You made it. Here's my idea:

\[ \begin{align*} \int \frac{\sin(x)-\cos(x)}{(\sin{(x)}+\cos{(x)})\sqrt{\sin(x)\cos(x)+ \sin^2(x)\cos^2(x)}} dx &= -\int \frac{\cos^2(x)-\sin^2(x)}{(1+2\sin{(x)}\cos{(x)})\sqrt{\sin(x) \cos(x)(\sin(x)\cos(x)+1)}} dx\\ &= -\int \frac{\cos(2x)}{(1+\sin(2x))\sqrt{\frac{\sin(2x)}{2} \left( \frac{\sin(2x)}{2}+1 \right)}} dx \\ &= -\int \frac{2\cos(2x)}{(1+\sin(2x))\sqrt{\sin(2x)(\sin(2x)+2)}} dx\end{align*}\]

By the substitution \( u=1+\sin(2x) \),

\[ -\int \frac{1}{u\sqrt{u^2-1}}du =-\sec^{-1}(u)+C=-\sec^{-1}(\sin(2x)+1)+C \]
 
Last edited:
sbhatnagar said:
Hi Siron! You made it. Here's my idea:

\[ \begin{align*} \int \frac{\sin(x)-\cos(x)}{(\sin{(x)}+\cos{(x)})\sqrt{\sin(x)\cos(x)+ \sin^2(x)\cos^2(x)}} dx &= -\int \frac{\cos^2(x)-\sin^2(x)}{(1+2\sin{(x)}\cos{(x)})\sqrt{\sin(x) \cos(x)(\sin(x)\cos(x)+1)}} dx\\ &= -\int \frac{\cos(2x)}{(1+\sin(2x))\sqrt{\frac{\sin(2x)}{2} \left( \frac{\sin(2x)}{2}+1 \right)}} dx \\ &= -\int \frac{2\cos(2x)}{(1+\sin(2x))\sqrt{\sin(2x)(\sin(2x)+2)}} dx\end{align*}\]

By the substitution \( u=1+\sin(2x) \),

\[ -\int \frac{1}{u\sqrt{u^2-1}}du =-\sec^{-1}(u)+C=-\sec^{-1}(\sin(2x)+1)+C \]
why we chose u=1+\sin(2x)
 
oasi said:
Why substitute $u=1+\sin(2x)$?

...because it make the solution easy.
 
I wouldn't consider that argument enough to say why it works, and actually, the answer is very simple, for the one who asked why it works, just check the integrand, and see the derivative of the substitution involved, everything works nicely.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Back
Top