Mathematics · Differential Equations

JEE Main 2026 — 28 January, Evening Shift — Question 14

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

  1. Option A:

    3π3 \pi

  2. Option B:

    −3π-3 \pi

  3. Option C:

    −π-\pi

    Correct
  4. Option D:

    π\pi

Answer: C

Step-by-step solution

xdy−ydx=x2cot⁡xdxx d y-y d x=x^{2} \cot x d x

x2d(yx)=x2cot⁡xdxx^{2} d\left(\frac{y}{x}\right)=x^{2} \cot x d x

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

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

yx=log⁡esin⁡x+C\frac{\mathrm{y}}{\mathrm{x}}=\log _{\mathrm{e}} \sin \mathrm{x}+\mathrm{C}

given y(π2)=π2\mathrm{y}\left(\frac{\pi}{2}\right)=\frac{\pi}{2}

⇒c=1\Rightarrow \mathrm{c}=1

y=x(log⁡esin⁡x+1)\mathrm{y}=\mathrm{x}\left(\log _{\mathrm{e}} \sin \mathrm{x}+1\right)

y(π6)=π6[−log⁡e2+1]y\left(\frac{\pi}{6}\right)=\frac{\pi}{6}\left[-\log _{e} 2+1\right]

y(π4)=π4[−12log⁡e2+1]y\left(\frac{\pi}{4}\right)=\frac{\pi}{4}\left[-\frac{1}{2} \log _{e} 2+1\right]

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

=π[(−log⁡e2+1)+2(12log⁡e2−1)]=\pi\left[\left(-\log _{\mathrm{e}} 2+1\right)+2\left(\frac{1}{2} \log _{\mathrm{e}} 2-1\right)\right] =π[1−2]=−π=\pi[1-2]=-\pi

Answer key and solution verified before publishing.

Practise Differential Equations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Differential Equations
Topic
Methods of solving a First Order,First Degree Differential
Let y = y ( x ) be the solution of the differential equation x d y/d… | JEE Main 2026 PYQ with Solution · DhiX AI