QlarIITy

MathematicsJEE Main 2019 · 12 JanuarySingle correct

Let y=y(x)y = y(x) be the solution of the differential equation, xdydx+y=xlog⁡ex,(x>1)x\frac{dy}{dx} + y = x\log_e x, (x > 1). If 2y(2)=log⁡e4−12y(2) = \log_e 4 - 1, then y(e)y(e) is equal to

  1. Option A: −e2-\frac{e}{2}
  2. Option B: e4\frac{e}{4}
  3. Option C: −e22-\frac{e^2}{2}
  4. Option D: e24\frac{e^2}{4}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A left side of the form x times the slope plus y is the derivative of the product of x and y.

Concept refresher. The product rule read backwards:

xdydx+y=ddx(xy)x\dfrac{dy}{dx} + y = \dfrac{d}{dx}(xy)

so an equation with this left side is integrated at once.

Picture the situation. By the refresher the left side xdydx+yx\dfrac{dy}{dx} + y is (xy)′(xy)^{\prime}, so the equation is (xy)′=xlog⁡ex(xy)^{\prime} = x\log_e x.

Approach. Integrate the right side by parts and fit the constant.

  1. Step 1: Integrating

    Integrating the right side by parts, with the logarithm as the part to differentiate, gives

    ∫xlog⁡exdx=x22log⁡ex−∫x2dx=x2log⁡ex2−x24\begin{aligned} \int x\log_e xdx &= \dfrac{x^2}{2}\log_e x - \int\dfrac{x}{2}dx \\[4pt] &= \dfrac{x^2\log_e x}{2} - \dfrac{x^2}{4} \end{aligned}

    So xy=x2log⁡ex2−x24+Cxy = \dfrac{x^2\log_e x}{2} - \dfrac{x^2}{4} + C.

  2. Step 2: The constant

    At x=2x = 2 this gives 2y(2)=2log⁡e2−1+C2y(2) = 2\log_e 2 - 1 + C, and the given value log⁡e4−1=2log⁡e2−1\log_e 4 - 1 = 2\log_e 2 - 1 shows that C=0C = 0.

  3. Step 3: The value

    Putting x=ex = e into the solution gives ey(e)=e22−e24=e24ey(e) = \dfrac{e^2}{2} - \dfrac{e^2}{4} = \dfrac{e^2}{4}, so the required value is y(e)=e4y(e) = \dfrac{e}{4}.

Answer. (B) e4\dfrac{e}{4}

Sanity check. With C=0C = 0 the solution is y=x2log⁡ex−x4y = \dfrac{x}{2}\log_e x - \dfrac{x}{4}, for which xy′+yxy^{\prime} + y is xlog⁡exx\log_e x: the terms ±x4\pm\dfrac{x}{4} cancel.

Why the other options are wrong

  • (A) This is negative, but at x=ex = e the solution is e2−e4\dfrac{e}{2} - \dfrac{e}{4}, which is positive.
  • (C) This is negative and has e2e^2; dividing xy=e24xy = \dfrac{e^2}{4} by x=ex = e leaves a single ee.
  • (D) This is the value of the product xyxy at x=ex = e; it still has to be divided by ee.

Key takeaway

The trap. The value found first is the product of x and y, which must be divided by x.

How toppers think. They rewrite the given condition so that it matches the solution term by term.

Remember. ∫xlog⁡exdx\int x\log_e xdx is x2log⁡ex2−x24+C\dfrac{x^2\log_e x}{2} - \dfrac{x^2}{4} + C

More on Linear Differential Equations