Question
Question: \[\int_{}^{}\frac{\mathbf{dx}}{\mathbf{1}\mathbf{-}\mathbf{\cos}\mathbf{x}\mathbf{-}\mathbf{\sin}\ma...
∫1−cosx−sinxdx=
A
log1+cot2x+c
B
log1−tan2x+c
C
log1−cot2x+c
D
log1+tan2x+c
Answer
log1−cot2x+c
Explanation
Solution
Given I=∫1−cosx−sinxdx
I=∫1−(1+tan2x/2)(1−tan2x/2)−1+tan2x/22tanx/2dx ⇒I=∫1+tan2x/2−1+tan2x/2−2tanx/2sec2x/2.dxI=∫2tan2x/2−2tanx/2sec2x/2.dx ⇒∫tan2x/2−tanx/21/2.sec2x/2.dx
Put tanx/2=t ⇒21sec2x/2.dx=dt therefore I=∫t2−tdt ⇒I=∫t(t−1)dt ⇒∫[−t1+t−11]dt⇒I=∫t−1dt−∫tdt
I=log(t−1)−logt+c
⇒I=logtt−1+c
⇒I=logtanx/2tanx/2−1+c ⇒I=log∣1−cotx/2∣+c