Integration


By Anonymous on Sunday, February 25, 2001 - 01:04 pm :
How do you do cosecx, secx, cotx, and their hyperbolic partners, cosechx, sechx, cothx. These are given in text books as standard integrals, and we are expected to remember them. But I don't have that good a memory. It'll be better if I know how to work them out from A to Z.
By Michael Doré (Md285) on Sunday, February 25, 2001 - 08:27 pm :

I had trouble remembering these too. Although it is certainly good to know how to work them out, their derivation is a little complicated and fiddly so for an exam it is best to have them memorized. (These are really the only integrals you need to remember though - the rest are obvious.)

Here are two methods to evaluate them

1) Make the substitution t=tan(x/2).

We now find that dt/dx= sec2 (x/2)/2 so dx/dt=2 cos2 (x/2). So, for instance, the first integral would become:

1/sinxdx=1/(2sin(x/2)cos(x/2))×dx/dtdt

(using the double angle formula for sin)

=2 cos2 (x/2)/(2sin(x/2)cos(x/2))dt

=1/tdt

=lnt+C

=lntan(x/2)+C

Another method is to write the trigonometric functions as complex exponentials, and then write u= eix . I'm afraid this next bit is going to make no sense unless you know that:

eix =cosx+isinx (*)

If you haven't seen this before, stick to the first method for the time being.

Anyway, the second integral is:

1/cosxdx=2/( eix + e-ix )dx

(by re-writing (*) as cosx=( eix + e-ix )/2 and substituting)

Letting u= eix our integral now becomes:

2/(u+1/u)dx

But x=-ilnu, so dx/du=-i/u and our integral is:

(2/(u+1/u))×-i/u=-2i/( u2 +1)du=-2iarctan( eix )

Then use the fact that arctan(x)=i/2ln((i+x)/(i-x)). So our integral is:

ln((i+ eix )/(i- eix )+C

Letting t=x-π/2 this is now (dropping the constant):

ln((1+ eit )/(1- eit ))=ln(( eit/2 + e-it/2 )/( e-it/2 - eit/2 ))=ln(2cos(t/2)/(-2isin(t/2)))=ln(icot(t/2))=ln(icot(x/2-π/4))

So the final answer is (hopefully)

lncot(π/4-x/2)+C

(where a factor of -i has been taken out - this simply changes the constant).

OK that last method was absolutely horrible. Usually it works out nicer than that (or maybe I've missed a simplification somewhere along the way). In any case, both methods can be useful in some circumstances.



By Anonymous on Sunday, February 25, 2001 - 08:29 pm :

Thanks Michael.


By Kerwin Hui (Kwkh2) on Tuesday, February 27, 2001 - 06:35 pm :
Alternatively:

secxdx=(secx+tanx)secx/(secx+tanx)dx

and notice that the right hand side is of the form

f'(x)/f(x)dx

so the answer comes out to be ln|secx+tanx|+ arbitrary constant of integration.

Similarly,

cosecxdx=( cosec2 x+cotxcosecx)/(cosecx+cotx)dx=-ln|cosecx+cotx|+ constant.

Finally,

cotxdx=(cosx)/(sinx)dx=ln|sinx|+ constant.

Kerwin


By Kerwin Hui (Kwkh2) on Tuesday, February 27, 2001 - 06:42 pm :
For the hyperbolic counterparts, look at the circular trig function and gives:

sechxdx=-ln|sechx+tanhx|+ constant.

cosechxdx=-ln|cosechx+cothx|+ constant

cothxdx=ln|sinhx|+constant

Kerwin


By Anonymous on Tuesday, February 27, 2001 - 06:42 pm :

Thanks Kerwin. Neat methods!

'look at the circular trig function ' - not sure what that means?


By Kerwin Hui (Kwkh2) on Tuesday, February 27, 2001 - 06:47 pm :

Circular trig is just the name given to sin, cos, etc. as oppose to hyperbolic trigs: sinh, cosh, etc.

Kerwin


By Anonymous on Tuesday, February 27, 2001 - 07:00 pm :

Thanks Kerwin.