Indefinite IntegrationmediumFree

f(0)+f'(0) from ∫2eˣcos²x(−tan²x+tanx+1) dx | JEE

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

Question
If f(x)=2excos2x(tan2x+tanx+1)dxf(x)=\displaystyle\int 2e^{x}\cos^{2}x\,(-\tan^{2}x+\tan x+1)\,dx and y=f(x)y=f(x) passes through (π,0)(\pi,0), then f(0)+f(0)f(0)+f'(0) equals
A2e2e
B3e3e
C22correct
D33
Solution
Step 1: Expand cos2x(tan2x+tanx+1)\cos^{2}x(-\tan^{2}x+\tan x+1) term by term:
cos2x(tan2x)=sin2x,cos2xtanx=sinxcosx,cos2x1=cos2x\cos^{2}x(-\tan^{2}x)=-\sin^{2}x,\quad \cos^{2}x\tan x=\sin x\cos x,\quad \cos^{2}x\cdot 1=\cos^{2}x
Summing,
=(cos2xsin2x)+sinxcosx=cos2x+12sin2x=(\cos^{2}x-\sin^{2}x)+\sin x\cos x=\cos 2x+\dfrac{1}{2}\sin 2x
Step 2: Substitute into the integral:
f(x)=2ex ⁣(cos2x+12sin2x)dx=ex(2cos2x+sin2x)dxf(x)=\int 2e^{x}\!\left(\cos 2x+\dfrac{1}{2}\sin 2x\right)dx=\int e^{x}\big(2\cos 2x+\sin 2x\big)\,dx
Step 3: Recognise the derivative. Since
ddx(exsin2x)=exsin2x+2excos2x=ex(sin2x+2cos2x),\dfrac{d}{dx}\big(e^{x}\sin 2x\big)=e^{x}\sin 2x+2e^{x}\cos 2x=e^{x}\big(\sin 2x+2\cos 2x\big),
we get f(x)=exsin2x+Cf(x)=e^{x}\sin 2x+C. Step 4: Apply the point (π,0)(\pi,0): f(π)=eπsin2π+C=0+C=0C=0f(\pi)=e^{\pi}\sin 2\pi+C=0+C=0\Rightarrow C=0. Hence f(x)=exsin2xf(x)=e^{x}\sin 2x. Step 5: Compute the required values. f(0)=e0sin0=0f(0)=e^{0}\sin 0=0. Differentiating, f(x)=ex(sin2x+2cos2x)f'(x)=e^{x}(\sin 2x+2\cos 2x), so f(0)=1(0+2)=2f'(0)=1\cdot(0+2)=2.
f(0)+f(0)=0+2=2\therefore f(0)+f'(0)=0+2=2
Correct answer: (3)
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.