Definite IntegrationmediumFree

∫(|cosx|+|sinx|) dx from 0 to nπ+t | JEE

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

Question
The value of 0nπ+t(cosx+sinx)dx\displaystyle\int_{0}^{n\pi+t}\big(|\cos x|+|\sin x|\big)\,dx, where 0<t<π20<t<\dfrac{\pi}{2}, is
Ann
B2n+sint+cott2n+\sin t+\cot t
Ccost\cos t
D4n+sintcost+14n+\sin t-\cos t+1correct
Solution
Step 1: The integrand cosx+sinx|\cos x|+|\sin x| has period π2\dfrac{\pi}{2}. Split the interval at x=nπx=n\pi:
I=0nπ(cosx+sinx)dx+nπnπ+t(cosx+sinx)dx.I=\int_{0}^{n\pi}\big(|\cos x|+|\sin x|\big)\,dx+\int_{n\pi}^{n\pi+t}\big(|\cos x|+|\sin x|\big)\,dx.
Step 2: Evaluate the bulk. The length nπn\pi contains 2n2n periods of length π2\dfrac{\pi}{2}, and over one period
0π/2(cosx+sinx)dx=[sinxcosx]0π/2=(10)(01)=2.\int_{0}^{\pi/2}\big(\cos x+\sin x\big)\,dx=\big[\sin x-\cos x\big]_{0}^{\pi/2}=(1-0)-(0-1)=2.
Hence the bulk equals 2n2=4n.2n\cdot 2=4n. Step 3: Evaluate the tail. For 0<t<π20<t<\dfrac{\pi}{2}, on [nπ,nπ+t][n\pi,\,n\pi+t] both cosx|\cos x| and sinx|\sin x| reduce to cos\cos and sin\sin of the shifted variable, so shifting by nπn\pi,
nπnπ+t(cosx+sinx)dx=0t(cosx+sinx)dx=[sinxcosx]0t=sintcost+1.\int_{n\pi}^{n\pi+t}\big(|\cos x|+|\sin x|\big)\,dx=\int_{0}^{t}\big(\cos x+\sin x\big)\,dx=\big[\sin x-\cos x\big]_{0}^{t}=\sin t-\cos t+1.
Step 4: Add:
I=4n+sintcost+1.I=4n+\sin t-\cos t+1.
Correct answer: (4)
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.