Solving the Indefinite Integral of a Trigonometric Expression

Saitama
Messages
4,244
Reaction score
93

Homework Statement


\int \sqrt{\frac{\csc x-\cot x}{\csc x+\cot x}} \frac{\sec x}{\sqrt{1+2\sec x}}dx

Homework Equations


The Attempt at a Solution


The integral can be simplified to:
\int \sqrt{\frac{1-\cos x}{1+\cos x}} \frac{1}{\sqrt{\cos x} \sqrt{\cos x+2}}dx
Using ##\cos x=2\cos^2x/2-1=1-2\sin^2x/2##, I end up with
\int \frac{\tan(x/2)}{\sqrt{2\cos^2(x/2)-1}\sqrt{2\cos^2(x/2)+1}}dx=\int \frac{\tan(x/2)}{\sqrt{4\cos^4(x/2)-1}}dx
I am stuck here.

Any help is appreciated. Thanks!
 
Physics news on Phys.org
Your algebra has a slight error at the beginning of item 3. above. sec x = 1 / cos x. When this is combined with 1 / SQRT (cos x + 2), you should obtain 1 / SQRT (cos^2 x * (cos x + 2)).
 
SteamKing said:
Your algebra has a slight error at the beginning of item 3. above. sec x = 1 / cos x. When this is combined with 1 / SQRT (cos x + 2), you should obtain 1 / SQRT (cos^2 x * (cos x + 2)).
I don't see an error there.
Pranav-Arora, you can eliminate the trig, if it helps. tan(x)dx = -d(cos(x))/cos(x). (I think that after a few substitutions you can get it to integrating sech.)
 
haruspex said:
I don't see an error there.
Pranav-Arora, you can eliminate the trig, if it helps. tan(x)dx = -d(cos(x))/cos(x). (I think that after a few substitutions you can get it to integrating sech.)

Substituting x/2=t, dx=2dt
2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt
##\because \tan t=-d(\cos x)/(\cos x)##

2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt=\int \frac{-d(\cos x)}{\cos x\sqrt{\cos^4(t)-(1/2)^2}}

Is this equivalent to integrating ##\displaystyle \int \frac{-dt}{t\sqrt{t^4-a^2}}## where a is some constant.

I am asking this because I have never used this type of method to solve integrals.
 
haruspex said:
I don't see an error there.
Pranav-Arora, you can eliminate the trig, if it helps. tan(x)dx = -d(cos(x))/cos(x). (I think that after a few substitutions you can get it to integrating sech.)

sec x is still not equal to 1 / SQRT(cos x).
 
SteamKing said:
sec x is still not equal to 1 / SQRT(cos x).

I never wrote that it is.
I should have not skipped the steps. I simplified it the following way:
\frac{\sec x}{\sqrt{1+2\sec x}}=\frac{1}{\cos x \sqrt{1+2/\cos x}}=\frac{1}{\sqrt{\cos x} \sqrt{2+\cos x}}
 
Pranav-Arora said:
##\int \frac{-dt}{t\sqrt{t^4-a^2}}## where a is some constant.
Good. Now, what can you do after rewriting that as ##\int \frac{-tdt}{t^2\sqrt{t^4-a^2}}##?
 
haruspex said:
Good. Now, what can you do after rewriting that as ##\int \frac{-tdt}{t^2\sqrt{t^4-a^2}}##?

Let t^2=z or 2tdt=dz. The integral can be written as
\frac{-1}{2} \int \frac{dz}{z\sqrt{z^2-a^2}}
My notes say that the above integral evaluates to -1/(2a)(arcsec(x/a)) but the answer is in terms of arcsin. :confused:
 
Pranav-Arora said:
the above integral evaluates to -1/(2a)(arcsec(x/a)) but the answer is in terms of arcsin. :confused:
well, arcsec(x/a) = arccos(a/x), and there's a pretty easy step from there to arcsin form.
 
  • #10
haruspex said:
well, arcsec(x/a) = arccos(a/x), and there's a pretty easy step from there to arcsin form.

Furthermore, if you draw the right angled triangle and label the x and a sides correctly, you can relate all six trig functions to each other in terms of x and a.
 
  • #11
Pranav-Arora said:
Substituting x/2=t, dx=2dt
2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt
##\because \tan t=-d(\cos x)/(\cos x)##

2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt=\int \frac{-d(\cos x)}{\cos x\sqrt{\cos^4(t)-(1/2)^2}}

Is this equivalent to integrating ##\displaystyle \int \frac{-dt}{t\sqrt{t^4-a^2}}## where a is some constant.

I am asking this because I have never used this type of method to solve integrals.
I know that we're past this but there is a significant error in the middle of this post.

You wrote that ##\ \tan t=-d(\cos x)/(\cos x)\ .##

That should have been ##\ \tan(t)\,dt=-d(\cos t)/(\cos t)\,,\ ## which makes the next line:

\displaystyle 2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt=\int \frac{-d(\cos t)}{\cos (t)\ \sqrt{\cos^4(t)-(1/2)^2}}\ .​

.
 
  • #12
SammyS said:
I know that we're past this but there is a significant error in the middle of this post.

You wrote that ##\ \tan t=-d(\cos x)/(\cos x)\ .##

That should have been ##\ \tan(t)\,dt=-d(\cos t)/(\cos t)\,,\ ## which makes the next line:

\displaystyle 2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt=\int \frac{-d(\cos t)}{\cos (t)\ \sqrt{\cos^4(t)-(1/2)^2}}\ .​

.

Ah, I should have taken care of that. I did not notice that while I was writing that post. Thank you!

Substituting cos(t)=z

\int \frac{-d(\cos t)}{\cos (t)\ \sqrt{\cos^4(t)-(1/2)^2}}=\frac{-1}{2} \int \frac{dz}{z\sqrt{z^2-(1/2)^2}}=-\sec^{-1}(2z)+C=-\arccos\left(\frac{1}{2z}\right)+C
Adding and subtracting ##\pi/2##
\frac{\pi}{2}-\arccos\left(\frac{1}{2z}\right)-\frac{\pi}{2}+C
\arcsin\left(\frac{1}{2z}\right)+K=\arcsin\left(\frac{1}{2}\sec^2\frac{x}{2}\right)+K

Thank you haruspex and SammyS! :smile:
 
Back
Top