Join WhatsApp Icon JEE WhatsApp Group
Question 66

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

We wish to evaluate

$$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-\dfrac{x\sec x}{x\sin x+\cos x}.$$

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

First, recall the basic derivatives we shall need:

$$\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=x\sin x+\cos x.$$

Its derivative is

$$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)$$ term by term.

1. For the first term we directly have

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

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

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

$$\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)$$ this whole fraction is preceded by a minus sign, the contribution of the second term to $$F'(x)$$ will actually be the negative of the above. Thus

$$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+x\sec x\tan x )D-\,(x\sec x)(x\cos x).$$

Handle the product in the first term:

$$ ( \sec x+x\sec x\tan x )D =\sec xD+x\sec x\tan x\,D. $$

The second part of $$N$$ simplifies immediately because $$\sec x\cos x=1$$:

$$ (x\sec x)(x\cos x)=x^2\sec x\cos x=x^2.$$

Therefore

$$N=\sec xD+x\sec x\tan x\,D-x^2.$$

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

$$\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+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=\bigl(1+x\tan x\bigr)\Bigl[1+x\tan x\Bigr]-x^2.$$

But $$1+x\tan x$$ squared is $$(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^2 xD^2$$ part of $$F'(x)$$.

Indeed, compute

$$\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)$$ is

$$\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)=\dfrac{x^2}{D^2} =\left(\dfrac{x}{x\sin x+\cos x}\right)^2.$$

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

$$\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.

Get AI Help

Create a FREE account and get:

  • Free JEE Mains Previous Papers PDF
  • Take JEE Mains paper tests

50,000+ JEE Students Trusted Our Score Calculator

Predict your JEE Main percentile, rank & performance in seconds

Ask AI

Ask our AI anything

AI can make mistakes. Please verify important information.