MedVision ad

intergration (1 Viewer)

Trebla

Administrator
Administrator
Joined
Feb 16, 2005
Messages
8,391
Gender
Male
HSC
2006
Let t = tan x/2
x = 2tan-1t
dx = 2 dt / (1 + t²)
∫ dx / (sin x - cos x) = 2 ∫ dt / (1 + t²)( 2t / (1 + t²) - (1 - t²) / (1 + t²))
= 2 ∫ dt / ( 2t - 1 + t²)
= 2 ∫ dt / (t² + 2t + 1 - 2)
= 2 ∫ dt / [(t + 1)² - 2]
= 2 ∫ dt / (t + 1 - √2)(t + 1 + √2)
= (1/√2) ∫ (t + 1 - √2 - t - 1 - √2) dt / (t + 1 - √2)(t + 1 + √2)
= (1/√2) ∫ [(t + 1 - √2) - (t + 1 + √2)] dt / (t + 1 - √2)(t + 1 + √2)
= (1/√2) ∫ {1 / (t + 1 - √2) - 1 / (t + 1 + √2)} dt
= (1/√2)[ln(t + 1 - √2) - ln(t + 1 + √2)] + c
= (1/√2)ln[(t + 1 - √2)/(t + 1 + √2)] + c
= (1/√2)ln[(tan x/2 + 1 - √2)/(tan x/2 + 1 + √2)] + c
 
Last edited:

L

quit bos forever 23/01/07
Joined
Feb 5, 2004
Messages
956
Location
Under the Tuscan Sun, as per usual, fuckan tearin
Gender
Female
HSC
N/A
Trebla said:
Let t = tan x/2
x = 2tan-1t
dx = 2 dt / (1 + t²)
∫ dx / (sin x - cos x) = 2 ∫ dt / (1 + t²)( 2t / (1 + t²) - (1 - t²) / (1 + t²))
= 2 ∫ dt / ( 2t - 1 + t²)
= 2 ∫ dt / (t² + 2t + 1 - 2)
= 2 ∫ dt / [(t + 1)² - 2]
= 2 ∫ dt / (t + 1 - √2)(t + 1 - √2)
= (1/√2) ∫ (t + 1 - √2 - t - 1 - √2) dt / (t + 1 - √2)(t + 1 + √2)
= (1/√2) ∫ [(t + 1 - √2) - (t + 1 + √2)] dt / (t + 1 - √2)(t + 1 + √2)
= (1/√2) ∫ {1 / (t + 1 - √2) - 1 / (t + 1 + √2)} dt
= (1/√2)[ln(t + 1 - √2) - ln(t + 1 + √2)] + c
= (1/√2)ln[(t + 1 - √2)/(t + 1 + √2)] + c
= (1/√2)ln[(tan x/2 + 1 - √2)/(tan x/2 + 1 + √2)] + c
treb dog
 

Affinity

Active Member
Joined
Jun 9, 2003
Messages
2,062
Location
Oslo
Gender
Undisclosed
HSC
2003
shuning said:
1/(sin[x]-cos[x])

intergrate respect to x

can some1 please help me step by step?
You could also do this one and some other similar ones by:

1/(sin[x]-cos[x]) = 1/sqrt(2) * 1/ {sin[x]/sqrt(2)-cos[x]/sqrt(2)}
= 1/sqrt(2) * 1/ {sin[x]cos[pi/4]-cos[x]sin[pi/4]}
= 1/sqrt(2) * 1/sin[x - pi/4]
= cosec[x-pi/4]/sqrt(2)

then if you remember, you will know that the integral of cosec(x) is log(cosec(x) - cot(x))

so the integral equals

log( cosec[ x- pi/4] - cot[x - pi/4] ) / sqrt(2) + C

hope you can see how this works in other cases.
 

shuning

Member
Joined
Aug 23, 2008
Messages
654
Location
Central Coast - Chatswood all the way :p
Gender
Male
HSC
2009
@Affinity

hm... but ur answer if different to the 1 Trebla gime me tho, also i used the intergration web site on sticked on the forum ... the answer was the same as the 1 Trebla give me. can u please explain ur working more detiled 4 me? cuz i can see that ur working is more simple ( but if the teacher ask me how .. i'd be ... ) xD

thanks
 

Timothy.Siu

Prophet 9
Joined
Aug 6, 2008
Messages
3,449
Location
Sydney
Gender
Male
HSC
2009
i can understand affinity, its actually really simple to understand,
basically took out 1/root2 from the fraction and changed the 1/root2 to sin pi/4 and cos pi/4 then used the sine compound angle to simplify it, thats basically all

and yeah it doesn't seem to be the same.
 
Last edited:

Trebla

Administrator
Administrator
Joined
Feb 16, 2005
Messages
8,391
Gender
Male
HSC
2006
Affinity basically used the auxillary method to convert sin x - cos x into a single trigonometric function, which I think is easier than what I did.

They are actually equivalent, it's just that they differ by a constant (which can also be considered as the arbitrary constant c)

It's pretty tricky to see and prove it but the trick is to note that: (√2 - 1)(√2 + 1) = 1

So:
cosec(x - π/4) - cot(x - π/4)
= [1 - cos(x - π/4)] / sin(x - π/4)
= [1 - cos x.cos π/4 - sin x.sin π/4] / [sin x.cos π/4 - cos x.sin π/4]
= [1 - cos x/√2 - sin x/√2] / [sin x/√2 - cos x/√2]
= [√2 - cos x - sin x] / [sin x - cos x]
= [√2 - {(1 - t²)/(1 + t²)} - {2t/(1 + t²)}] / [{2t/(1 + t²)} - {(1 - t²)/(1 + t²)}]
= [√2(1 + t²) - (1 - t²) - 2t] / [2t - (1 - t²)]
= [√2(1 + t²) - 1 + t² - 2t] / [2t - 1 + t²]
= [t²(√2 + 1) - 2t + (√2 - 1)] / [t² + 2t - 1]
= [t²(√2 + 1) - 2t + (√2 - 1)] / [t² + 2t - 1]
Now using (√2 - 1)(√2 + 1) = 1
= [t²(√2 + 1) - 2t(√2 - 1)(√2 + 1) + (√2 - 1)] / [t² + 2t + 1 - 2]
= (√2 + 1)[t² - 2t(√2 - 1) + (√2 - 1) / (√2 + 1)] / [(t + 1)² - 2]
But when rationalising denominator: (√2 - 1) / (√2 + 1) = (√2 - 1)²
= (√2 + 1)[t² - 2t(√2 - 1) + (√2 - 1)²] / [(t + 1 - √2)(t + 1 + √2)]
= (√2 + 1)[t - (√2 - 1)]² / [(t + 1 - √2)(t + 1 + √2)]
= (√2 + 1)[t + 1 - √2]² / [(t + 1 - √2)(t + 1 + √2)]
= (√2 + 1)(t + 1 - √2) / (t + 1 + √2)

Hence:
cosec(x - π/4) - cot(x - π/4) = (√2 + 1)(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)
=> ln [cosec(x - π/4) - cot(x - π/4)] = ln[(√2 + 1)(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)]
=> ln [cosec(x - π/4) - cot(x - π/4)] = ln[(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)] + ln(√2 + 1)

So from the two answers obtained:
∫ dx / (sin x - cos x) = (1/√2)ln[(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)] + c1
and
∫ dx / (sin x - cos x) = (1/√2)ln[cosec (x - π/4) - cot(x - π/4)] + c2
= (1/√2){ln[(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)] + ln(√2 + 1)} + c2
= (1/√2)ln[(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)] + (1/√2)ln(√2 + 1) + c2
Note that (1/√2)ln(√2 + 1) is just a constant, so it can make up part of the c2 into another arbitrary constant c1.
= (1/√2)ln[(tan x/2 + 1 - √2) / (tan x/2 + 1 + √2)] + c1

Therefore the two answers are equivalent to each other (hopefully you can decipher all that working lol :D)
 
Last edited:

tommykins

i am number -e^i*pi
Joined
Feb 18, 2007
Messages
5,730
Gender
Male
HSC
2008
great job trebla. probably more than we needed (because i know fo' sho' affinity's tank and so are you, and having done 4unit you can get alot of diff answers that are stil correct).
 

Timothy.Siu

Prophet 9
Joined
Aug 6, 2008
Messages
3,449
Location
Sydney
Gender
Male
HSC
2009
lol, nice, i'll try remember affinitys method in the future, hopefully it comes in handy and i actually manage to figure out when to use it
 

tommykins

i am number -e^i*pi
Joined
Feb 18, 2007
Messages
5,730
Gender
Male
HSC
2008
They rarely give 2 trigs in the denominator, it's normally only one.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top