Indefinite IntegrationhardFree

Evaluate ∫dx/((tanx+1)sin²x) at π/4 | JEE

JEE Maths question with a full step-by-step solution.

Question
dx(tanx+1)sin2x=f(x)+c\displaystyle\int \dfrac{dx}{(\tan x+1)\sin^{2}x}=f(x)+c, where f ⁣(π2)=0f\!\left(\dfrac{\pi}{2}\right)=0. Then f ⁣(π4)f\!\left(\dfrac{\pi}{4}\right) is
A1ln21-\ln 2
Bln21\ln 2-1correct
C1+ln21+\ln 2
D1ln2-1-\ln 2
Solution
Step 1: Express 1sin2x\dfrac{1}{\sin^{2}x} in terms of tanx\tan x. Since 1sin2x=sec2xtan2x\dfrac{1}{\sin^{2}x}=\dfrac{\sec^{2}x}{\tan^{2}x},
I=sec2x(tanx+1)tan2xdxI=\int\dfrac{\sec^{2}x}{(\tan x+1)\tan^{2}x}\,dx
Step 2: Substitute t=tanxdt=sec2xdxt=\tan x\Rightarrow dt=\sec^{2}x\,dx:
I=dtt2(t+1)I=\int\dfrac{dt}{t^{2}(t+1)}
Step 3: Partial fractions, 1t2(t+1)=At+Bt2+Dt+1\dfrac{1}{t^{2}(t+1)}=\dfrac{A}{t}+\dfrac{B}{t^{2}}+\dfrac{D}{t+1}, gives A=1, B=1, D=1A=-1,\ B=1,\ D=1:
1t2(t+1)=1t21t+1t+1\dfrac{1}{t^{2}(t+1)}=\dfrac{1}{t^{2}}-\dfrac{1}{t}+\dfrac{1}{t+1}
Step 4: Integrate and back-substitute t=tanxt=\tan x (so 1t=cotx\dfrac{1}{t}=\cot x and t+1t=1+cotx\dfrac{t+1}{t}=1+\cot x):
I=1t+lnt+1t+c=cotx+ln1+cotx+cI=-\dfrac{1}{t}+\ln\left|\dfrac{t+1}{t}\right|+c=-\cot x+\ln|1+\cot x|+c
f(x)=cotx+ln1+cotx+c\Rightarrow f(x)=-\cot x+\ln|1+\cot x|+c
Step 5: Apply f ⁣(π2)=0f\!\left(\dfrac{\pi}{2}\right)=0. At x=π2x=\dfrac{\pi}{2}, cotx=0\cot x=0, so f ⁣(π2)=0+ln1+c=c=0f\!\left(\dfrac{\pi}{2}\right)=0+\ln 1+c=c=0. Step 6: Evaluate at x=π4x=\dfrac{\pi}{4}, where cotx=1\cot x=1:
f ⁣(π4)=1+ln2=ln21f\!\left(\dfrac{\pi}{4}\right)=-1+\ln 2=\ln 2-1
Correct answer: (2)
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.