Indefinite IntegrationmediumFree

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

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

Question
∫ex(2tan⁡x1+tan⁡x+cot⁡2 ⁣(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⁡ ⁣(π4−x)+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π4−x)+Ce^{x}\tan\!\left(\dfrac{3\pi}{4}-x\right)+C
Dextan⁡ ⁣(x−3π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
cot⁡2 ⁣(x+π4)=tan⁡2 ⁣(x−π4)=sec⁡2 ⁣(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:
2tan⁡x1+tan⁡x−1=2tan⁡x−(1+tan⁡x)1+tan⁡x=tan⁡x−11+tan⁡x=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:
2tan⁡x1+tan⁡x+cot⁡2 ⁣(x+π4)=[2tan⁡x1+tan⁡x−1]+sec⁡2 ⁣(x−π4)=tan⁡ ⁣(x−π4)+sec⁡2 ⁣(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)=sec⁡2 ⁣(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.