Solving the Indefinite Integral of a Trigonometric Expression

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
11 replies · 2K views
Saitama
Messages
4,244
Reaction score
93

Homework Statement


[tex]\int \sqrt{\frac{\csc x-\cot x}{\csc x+\cot x}} \frac{\sec x}{\sqrt{1+2\sec x}}dx[/tex]

Homework Equations


The Attempt at a Solution


The integral can be simplified to:
[tex]\int \sqrt{\frac{1-\cos x}{1+\cos x}} \frac{1}{\sqrt{\cos x} \sqrt{\cos x+2}}dx[/tex]
Using ##\cos x=2\cos^2x/2-1=1-2\sin^2x/2##, I end up with
[tex]\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[/tex]
I am stuck here.

Any help is appreciated. Thanks!
 
Physics news on Phys.org
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
[tex]2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt[/tex]
##\because \tan t=-d(\cos x)/(\cos x)##

[tex]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}}[/tex]

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:
[tex]\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}}[/tex]
 
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
[tex]\frac{-1}{2} \int \frac{dz}{z\sqrt{z^2-a^2}}[/tex]
My notes say that the above integral evaluates to -1/(2a)(arcsec(x/a)) but the answer is in terms of arcsin. :confused:
 
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.
 
Pranav-Arora said:
Substituting x/2=t, dx=2dt
[tex]2\int \frac{\tan(t)}{\sqrt{4\cos^4(t)-1}}dt[/tex]
##\because \tan t=-d(\cos x)/(\cos x)##

[tex]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}}[/tex]

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:

[itex]\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}}\ .[/itex]​

.
 
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:

[itex]\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}}\ .[/itex]​

.

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

[tex]\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[/tex]
Adding and subtracting ##\pi/2##
[tex]\frac{\pi}{2}-\arccos\left(\frac{1}{2z}\right)-\frac{\pi}{2}+C[/tex]
[tex]\arcsin\left(\frac{1}{2z}\right)+K=\arcsin\left(\frac{1}{2}\sec^2\frac{x}{2}\right)+K[/tex]

Thank you haruspex and SammyS! :smile: