QlarIITy

MathematicsJEE Main 2021 · 17 MarchSingle correct

Which of the following is true for y(x)y(x) that satisfies the differential equation dydx=xy−1+x−y\frac{dy}{dx} = xy - 1 + x - y; y(0)=0y(0) = 0

  1. Option A: y(1)=e−12−1y(1) = e^{-\frac{1}{2}} - 1
  2. Option B: y(1)=e12−e−12y(1) = e^{\frac{1}{2}} - e^{-\frac{1}{2}}
  3. Option C: y(1)=1y(1) = 1
  4. Option D: y(1)=e12−1y(1) = e^{\frac{1}{2}} - 1
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 right side that factorises into a part in x and a part in y gives a separable equation.

Concept refresher. An equation of the form dydx=g(x)(y+c)\dfrac{dy}{dx} = g(x)(y + c) separates into

dyy+c=g(x)dx\dfrac{dy}{y + c} = g(x)dx

and its left side integrates to log⁡e∣y+c∣\log_e|y + c|.

Picture the situation. The right side is

xy−1+x−y=x(y+1)−(y+1)=(x−1)(y+1)\begin{aligned} xy - 1 + x - y &= x(y + 1) - (y + 1) \\[4pt] &= (x - 1)(y + 1) \end{aligned}

so the equation has the form of the refresher with g(x)=x−1g(x) = x - 1 and c=1c = 1.

Approach. Separate the variables, integrate and fit the constant.

  1. Step 1: Separating

    Dividing by y+1y + 1 gives dyy+1=(x−1)dx\dfrac{dy}{y + 1} = (x - 1)dx, so log⁡e(y+1)=x22−x+C\log_e(y + 1) = \dfrac{x^2}{2} - x + C. The condition y(0)=0y(0) = 0 gives C=0C = 0.

  2. Step 2: The value

    At x=1x = 1 the right side is 12−1=−12\dfrac{1}{2} - 1 = -\dfrac{1}{2}, so y+1=e−1/2y + 1 = e^{-1/2} and y(1)=e−12−1y(1) = e^{-\frac{1}{2}} - 1.

Answer. (A) y(1)=e−12−1y(1) = e^{-\frac{1}{2}} - 1

Sanity check. Putting the solution back: y+1=ex2/2−xy + 1 = e^{x^2/2 - x} has derivative (x−1)(y+1)(x - 1)(y + 1), as the equation requires, and it gives y(0)=0y(0) = 0.

Smart method. At the start y=0y = 0, and the slope (x−1)(y+1)(x - 1)(y + 1) is negative on (0,1)(0, 1) as long as y>−1y > -1, so y(1)y(1) is negative. Of the four values offered, only e−12−1e^{-\frac{1}{2}} - 1 is negative.

Why the other options are wrong

  • (B) This is positive, about 1.04, but the solution falls from y(0)=0y(0) = 0 since its slope is negative on (0,1)(0, 1).
  • (C) The value 1 is positive, whereas yy decreases from 0 on (0,1)(0, 1) and stays above −1-1.
  • (D) This is about 0.65, also positive; at x=1x = 1 the exponent is 12−1=−12\dfrac{1}{2} - 1 = -\dfrac{1}{2}, not 12\dfrac{1}{2}.

Key takeaway

The trap. The four terms look unrelated until they are grouped in pairs.

How toppers think. They check the sign of the slope to discard options before solving.

Remember. xy−1+x−yxy - 1 + x - y equals (x−1)(y+1)(x - 1)(y + 1)

More on Variable Separable Equations