Indefinite IntegrationmediumFree

∫eˣ(2tanx/(1+tanx)+cot²(x+π/4)) dx | JEE

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

Question
ex(2tanx1+tanx+cot2 ⁣(x+π4))dx\displaystyle\int e^{x}\left(\dfrac{2\tan x}{1+\tan x}+\cot^{2}\!\left(x+\dfrac{\pi}{4}\right)\right)dx equals
Aextan ⁣(π4x)+Ce^{x}\tan\!\left(\dfrac{\pi}{4}-x\right)+C
Bextan ⁣(xπ4)+Ce^{x}\tan\!\left(x-\dfrac{\pi}{4}\right)+Ccorrect
Cextan ⁣(3π4x)+Ce^{x}\tan\!\left(\dfrac{3\pi}{4}-x\right)+C
Dextan ⁣(x3π4)+Ce^{x}\tan\!\left(x-\dfrac{3\pi}{4}\right)+C
Solution
Step 1: Convert the cotangent term. Since cot ⁣(x+π4)=tan ⁣(xπ4)\cot\!\left(x+\tfrac{\pi}{4}\right)=-\tan\!\left(x-\tfrac{\pi}{4}\right), squaring gives
cot2 ⁣(x+π4)=tan2 ⁣(xπ4)=sec2 ⁣(xπ4)1\cot^{2}\!\left(x+\tfrac{\pi}{4}\right)=\tan^{2}\!\left(x-\tfrac{\pi}{4}\right)=\sec^{2}\!\left(x-\tfrac{\pi}{4}\right)-1
Step 2: Use the 1-1 to simplify the first term:
2tanx1+tanx1=2tanx(1+tanx)1+tanx=tanx11+tanx=tan ⁣(xπ4)\dfrac{2\tan x}{1+\tan x}-1=\dfrac{2\tan x-(1+\tan x)}{1+\tan x}=\dfrac{\tan x-1}{1+\tan x}=\tan\!\left(x-\dfrac{\pi}{4}\right)
Step 3: Combine the bracket:
2tanx1+tanx+cot2 ⁣(x+π4)=[2tanx1+tanx1]+sec2 ⁣(xπ4)=tan ⁣(xπ4)+sec2 ⁣(xπ4)\dfrac{2\tan x}{1+\tan x}+\cot^{2}\!\left(x+\tfrac{\pi}{4}\right)=\left[\dfrac{2\tan x}{1+\tan x}-1\right]+\sec^{2}\!\left(x-\tfrac{\pi}{4}\right)=\tan\!\left(x-\tfrac{\pi}{4}\right)+\sec^{2}\!\left(x-\tfrac{\pi}{4}\right)
Step 4: This is the ex(f+f)e^{x}(f+f') form with f(x)=tan ⁣(xπ4), f(x)=sec2 ⁣(xπ4)f(x)=\tan\!\left(x-\dfrac{\pi}{4}\right),\ f'(x)=\sec^{2}\!\left(x-\dfrac{\pi}{4}\right):
I=ex(f+f)dx=extan ⁣(xπ4)+CI=\int e^{x}\big(f+f'\big)\,dx=e^{x}\tan\!\left(x-\dfrac{\pi}{4}\right)+C
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.