RankRizz
JEE MAIN 2026 · 28 JAN S2+4 / −1MEDIUMTRANSCRIBED

JEE Main 2026 Mathematics question — Linear first-order differential equations

Let y=y(x)y = y(x) be the solution of the differential equation xdydx−y=x2cot⁡x,x∈(0,π).x\frac{dy}{dx} - y = x^2 \cot x, \quad x \in (0, \pi). If y(π2)=π2y\left(\frac{\pi}{2}\right) = \frac{\pi}{2}, then 6y(π6)−8y(π4)6y\left(\frac{\pi}{6}\right) - 8y\left(\frac{\pi}{4}\right) is equal to :

SOLUTION

The given differential equation is:

xdydx−y=x2cot⁡x,x∈(0,π)x\frac{dy}{dx} - y = x^2 \cot x, \quad x \in (0, \pi)

with initial condition y(π2)=π2y\left(\frac{\pi}{2}\right) = \frac{\pi}{2}.

First, rewrite the equation in standard linear form:

dydx−1xy=xcot⁡x\frac{dy}{dx} - \frac{1}{x}y = x \cot x

Here, P(x)=−1xP(x) = -\frac{1}{x} and Q(x)=xcot⁡xQ(x) = x \cot x.

The integrating factor (I.F.) is:

I.F.=e∫P(x)dx=e∫−1xdx=e−ln⁡x=1x(since x>0)\text{I.F.} = e^{\int P(x) dx} = e^{\int -\frac{1}{x} dx} = e^{-\ln x} = \frac{1}{x} \quad (\text{since } x > 0)

Multiply both sides by I.F.:

1xdydx−1x2y=cot⁡x\frac{1}{x} \frac{dy}{dx} - \frac{1}{x^2} y = \cot x

The left side is the derivative of yx\frac{y}{x}:

ddx(yx)=cot⁡x\frac{d}{dx}\left( \frac{y}{x} \right) = \cot x

Integrate both sides:

∫ddx(yx)dx=∫cot⁡xdx\int \frac{d}{dx}\left( \frac{y}{x} \right) dx = \int \cot x dx

yx=ln⁡∣sin⁡x∣+C\frac{y}{x} = \ln |\sin x| + C

Since x∈(0,π)x \in (0, \pi), sin⁡x>0\sin x > 0, so:

yx=ln⁡(sin⁡x)+C\frac{y}{x} = \ln (\sin x) + C

Thus, the general solution is:

y=xln⁡(sin⁡x)+Cxy = x \ln (\sin x) + C x

Apply the initial condition y(π2)=π2y\left(\frac{\pi}{2}\right) = \frac{\pi}{2}:

Substitute x=π2x = \frac{\pi}{2}, y=π2y = \frac{\pi}{2}:

π2=π2ln⁡(sin⁡π2)+C⋅π2\frac{\pi}{2} = \frac{\pi}{2} \ln \left( \sin \frac{\pi}{2} \right) + C \cdot \frac{\pi}{2}

sin⁡π2=1\sin \frac{\pi}{2} = 1, ln⁡(1)=0\ln(1) = 0, so:

π2=0+Cπ2\frac{\pi}{2} = 0 + \frac{C\pi}{2}

C=1C = 1

Therefore, the particular solution is:

y=xln⁡(sin⁡x)+x=x(ln⁡(sin⁡x)+1)y = x \ln (\sin x) + x = x \left( \ln (\sin x) + 1 \right)

Now compute y(π6)y\left(\frac{\pi}{6}\right) and y(π4)y\left(\frac{\pi}{4}\right):

For x=π6x = \frac{\pi}{6}:

sin⁡π6=12\sin \frac{\pi}{6} = \frac{1}{2}

y(π6)=π6(ln⁡(12)+1)=π6(−ln⁡2+1)y\left(\frac{\pi}{6}\right) = \frac{\pi}{6} \left( \ln \left( \frac{1}{2} \right) + 1 \right) = \frac{\pi}{6} \left( -\ln 2 + 1 \right)

For x=π4x = \frac{\pi}{4}:

sin⁡π4=22=12\sin \frac{\pi}{4} = \frac{\sqrt{2}}{2} = \frac{1}{\sqrt{2}}

y(π4)=π4(ln⁡(12)+1)=π4(ln⁡(2−1/2)+1)=π4(−12ln⁡2+1)y\left(\frac{\pi}{4}\right) = \frac{\pi}{4} \left( \ln \left( \frac{1}{\sqrt{2}} \right) + 1 \right) = \frac{\pi}{4} \left( \ln (2^{-1/2}) + 1 \right) = \frac{\pi}{4} \left( -\frac{1}{2} \ln 2 + 1 \right)

Now evaluate the expression:

6y(π6)−8y(π4)=6[π6(1−ln⁡2)]−8[π4(1−12ln⁡2)]6y\left(\frac{\pi}{6}\right) - 8y\left(\frac{\pi}{4}\right) = 6 \left[ \frac{\pi}{6} (1 - \ln 2) \right] - 8 \left[ \frac{\pi}{4} \left(1 - \frac{1}{2} \ln 2\right) \right]

Simplify:

=π(1−ln⁡2)−2π(1−12ln⁡2)= \pi (1 - \ln 2) - 2\pi \left(1 - \frac{1}{2} \ln 2\right)

Factor out π\pi:

=π[(1−ln⁡2)−2(1−12ln⁡2)]= \pi \left[ (1 - \ln 2) - 2 \left(1 - \frac{1}{2} \ln 2\right) \right]

Distribute the −2-2:

=π[1−ln⁡2−2+2⋅12ln⁡2]=π[1−ln⁡2−2+ln⁡2]= \pi \left[ 1 - \ln 2 - 2 + 2 \cdot \frac{1}{2} \ln 2 \right] = \pi \left[ 1 - \ln 2 - 2 + \ln 2 \right]

Combine like terms:

=π[(1−2)+(−ln⁡2+ln⁡2)]=π[−1+0]=−π= \pi \left[ (1 - 2) + (-\ln 2 + \ln 2) \right] = \pi \left[ -1 + 0 \right] = -\pi

Thus, 6y(π6)−8y(π4)=−π6y\left(\frac{\pi}{6}\right) - 8y\left(\frac{\pi}{4}\right) = -\pi.

The correct answer is option D: −π-\pi.

Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicLinear first-order differential equations
TypeMultiple choice