RankRizz
JEE MAIN 2020 · 04 SEP S1+4 / −1HARDTRANSCRIBED

JEE Main 2020 Mathematics question — Integration by parts

The integral ∫(xxsin⁡x+cos⁡x)2dx\int \left(\frac{x}{x\sin x + \cos x}\right)^2 dx is equal to, (where C is a constant of integration):

SOLUTION

We wish to evaluate

I=∫ ⁣(x xsin⁡x+cos⁡x )2 dx.I=\int\!\left(\dfrac{x}{\,x\sin x+\cos x\,}\right)^2\,dx.

Whenever we see a rational expression in which the denominator as well as its derivative appear, it is often fruitful to look for some expression whose derivative reproduces the given integrand. Let us therefore inspect the quantity

F(x)=tan⁡x−xsec⁡xxsin⁡x+cos⁡x.F(x)=\tan x-\dfrac{x\sec x}{x\sin x+\cos x}.

If it turns out that F′(x)=(xxsin⁡x+cos⁡x)2,F'(x)=\left(\dfrac{x}{x\sin x+\cos x}\right)^2, then we can immediately write I=F(x)+C.I=F(x)+C. So we now differentiate F(x)F(x) very carefully, showing every algebraic step.

First, recall the basic derivatives we shall need:

ddx(tan⁡x)=sec⁡2x,ddx(sec⁡x)=sec⁡xtan⁡x.\dfrac{d}{dx}(\tan x)=\sec^2 x,\qquad \dfrac{d}{dx}(\sec x)=\sec x\tan x.

Write the denominator that keeps occurring as

D=xsin⁡x+cos⁡x.D=x\sin x+\cos x.

Its derivative is

D′=ddx(xsin⁡x)+ddx(cos⁡x)=sin⁡x+xcos⁡x−sin⁡x=xcos⁡x.D'=\dfrac{d}{dx}(x\sin x)+\dfrac{d}{dx}(\cos x)=\sin x+x\cos x-\sin x=x\cos x.

Now differentiate F(x)F(x) term by term.

1. For the first term we directly have

ddx(tan⁡x)=sec⁡2x.\dfrac{d}{dx}(\tan x)=\sec^2 x.

2. The second term is the quotient xsec⁡xD.\dfrac{x\sec x}{D}. Let us put u=xsec⁡x,v=D.u=x\sec x,\quad v=D. Then u′=sec⁡x+xsec⁡xtan⁡x,v′=D′=xcos⁡x.u'=\sec x+x\sec x\tan x,\qquad v'=D'=x\cos x.

Using the quotient rule (uv)′=u′v−uv′v2,\bigl(\tfrac{u}{v}\bigr)'=\dfrac{u'v-uv'}{v^2}, we get

ddx(xsec⁡xD)=(sec⁡x+xsec⁡xtan⁡x)D− (xsec⁡x)(xcos⁡x)D2.\dfrac{d}{dx}\left(\dfrac{x\sec x}{D}\right)= \dfrac{( \sec x+x\sec x\tan x )D-\,(x\sec x)(x\cos x)}{D^2}.

Because in F(x)F(x) this whole fraction is preceded by a minus sign, the contribution of the second term to F′(x)F'(x) will actually be the negative of the above. Thus

F′(x)=sec⁡2x−(sec⁡x+xsec⁡xtan⁡x)D− (xsec⁡x)(xcos⁡x)D2.F'(x)=\sec^2 x-\dfrac{( \sec x+x\sec x\tan x )D-\,(x\sec x)(x\cos x)}{D^2}.

It is now a matter of pure algebra to simplify the numerator. For that purpose let us isolate the large numerator:

N=(sec⁡x+xsec⁡xtan⁡x)D− (xsec⁡x)(xcos⁡x).N=( \sec x+x\sec x\tan x )D-\,(x\sec x)(x\cos x).

Handle the product in the first term:

(sec⁡x+xsec⁡xtan⁡x)D=sec⁡xD+xsec⁡xtan⁡x D.( \sec x+x\sec x\tan x )D =\sec xD+x\sec x\tan x\,D.

The second part of NN simplifies immediately because sec⁡xcos⁡x=1\sec x\cos x=1:

(xsec⁡x)(xcos⁡x)=x2sec⁡xcos⁡x=x2.(x\sec x)(x\cos x)=x^2\sec x\cos x=x^2.

Therefore

N=sec⁡xD+xsec⁡xtan⁡x D−x2.N=\sec xD+x\sec x\tan x\,D-x^2.

Notice that sec⁡xD\sec xD can itself be rewritten:

sec⁡xD=sec⁡x(xsin⁡x+cos⁡x)=xsin⁡x+cos⁡xcos⁡x=1+xtan⁡x.\sec xD=\sec x(x\sin x+\cos x)=\dfrac{x\sin x+\cos x}{\cos x}=1+x\tan x.

Consequently,

sec⁡xD=1+xtan⁡x⟹sec⁡xD+xsec⁡xtan⁡x D=(1+xtan⁡x)+xtan⁡x(1+xtan⁡x).\sec xD=1+x\tan x\quad\Longrightarrow\quad \sec xD+x\sec x\tan x\,D =\bigl(1+x\tan x\bigr)+x\tan x\bigl(1+x\tan x\bigr).

This factorisation tells us that

N=(1+xtan⁡x)[1+xtan⁡x]−x2.N=\bigl(1+x\tan x\bigr)\Bigl[1+x\tan x\Bigr]-x^2.

But 1+xtan⁡x1+x\tan x squared is (1+xtan⁡x)2(1+x\tan x)^2, whose numeric value need not be expanded because, as we shall see, it will cancel out perfectly with the sec⁡2xD2\sec^2 xD^2 part of F′(x)F'(x).

Indeed, compute

sec⁡2xD2=1cos⁡2x(xsin⁡x+cos⁡x)2=(sec⁡xD)2=(1+xtan⁡x)2.\sec^2 xD^2 =\dfrac{1}{\cos^2 x}(x\sin x+\cos x)^2 =\bigl(\sec xD\bigr)^2 =\bigl(1+x\tan x\bigr)^2.

Now the total numerator appearing in F′(x)F'(x) is

sec⁡2xD2−N=(1+xtan⁡x)2−[(1+xtan⁡x)2−x2]=x2.\sec^2 xD^2-N =\bigl(1+x\tan x\bigr)^2-\Bigl[\bigl(1+x\tan x\bigr)^2-x^2\Bigr] =x^2.

Therefore

F′(x)=x2D2=(xxsin⁡x+cos⁡x)2.F'(x)=\dfrac{x^2}{D^2} =\left(\dfrac{x}{x\sin x+\cos x}\right)^2.

But this is precisely the integrand of II. Hence F(x)F(x) is an antiderivative, and we can write

∫ ⁣(xxsin⁡x+cos⁡x)2dx=tan⁡x−xsec⁡xxsin⁡x+cos⁡x+C.\int\!\left(\dfrac{x}{x\sin x+\cos x}\right)^2dx =\tan x-\dfrac{x\sec x}{x\sin x+\cos x}+C.

Comparing with the given options, this matches Option A.

Hence, the correct answer is Option A.

Tagged Integration by parts. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicIntegration by parts
TypeMultiple choice