|
-
Sep 8th, 2006, 07:12 AM
#1
Thread Starter
Member
Integrating tan x
Can someone show me how to integrate tan x wrt x please? I know you have 1/cos x, which gives a natural log, but after that I can't work it out. Thanks.
Also, if you could do the same for cot x that would be great!
Thanks.
-
Sep 8th, 2006, 09:06 AM
#2
Re: Integrating tan x
Let J the integral you want to calculate. Let I mean "integral of..." Then,
J = I(tanx dx)
Make this change of variable:
t = tanx -> dt = dx / cos2x
Substituting,
J = I(t dt cos2x)
Now express the cos2x as function of t:
t = tanx = sinx / cosx
t2 = sin2x / cos2x = (1 - cos2x) / cos2x = (1 / cos2x ) - 1
1 / cos2x = 1 + t2 -> cos2x = 1 / (1 + t2)
so that
J = I(t dt / (1 + t2)) = (1/2) ln (1 + t2) = ln (Sqrt(1 + t2))
Replacing t by tanx:
J = ln(Sqrt(1 + tan2x)) = ln(1 / cos x) = -ln(cos x)
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Sep 8th, 2006, 01:37 PM
#3
Addicted Member
Re: Integrating tan x
 Originally Posted by Thomas154321
Can someone show me how to integrate tan x wrt x please? I know you have 1/cos x, which gives a natural log, but after that I can't work it out. Thanks.
Also, if you could do the same for cot x that would be great!
Thanks. 
tan x = (sin x)/(cos x)
Integral of (sin x)/(cos x) dx
Let u = cos x
Then du/dx = - sin x
So dx = -1/(sin x) du
Integral becomes
Integral of (sin x)/u (-1)/(sin x) du
= Integral of (-1)/u du = -ln u + c = -ln (cos x) + c
-
Sep 8th, 2006, 01:39 PM
#4
Addicted Member
Re: Integrating tan x
cot x = (cos x)/(sin x)
Integral of (cos x)/(sin x) dx
Let u = sin x
Then du/dx = cos x
So dx = 1/(cos x) du
Integral becomes
Integral of (cos x)/u (1)/(cos x) du
= Integral of (1/u) du = ln u + c = ln (sin x) + c
-
Sep 9th, 2006, 02:52 PM
#5
Addicted Member
Re: Integrating tan x
I suggest that you use the Wolfram Integrator whenever you need a quick view of the result (just to confirm whether the calculus you performed is right or not).
http://integrals.wolfram.com/index.jsp
...este projecto dos Deuses que os homens teimam em arruinar...
-
Sep 9th, 2006, 03:08 PM
#6
Re: Integrating tan x
 Originally Posted by Rassis
I suggest that you use the Wolfram Integrator whenever you need a quick view of the result (just to confirm whether the calculus you performed is right or not).
http://integrals.wolfram.com/index.jsp
I knew the Wolfram site but had never stumbled upon this specific page...
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|