QlarIITy

MathematicsIIT-JEE 2004 ScreeningSingle correct

If y=y(x)y=y(x) and 2+sin⁡xy+1(dydx)=−cos⁡x\frac{2+\sin x}{y+1}\left(\frac{dy}{dx}\right)=-\cos x, y(0)=1y(0)=1, then y(π2)y\left(\frac{\pi}{2}\right) equals

  1. Option A: 13\frac{1}{3}
  2. Option B: 23\frac{2}{3}
  3. Option C: −13-\frac{1}{3}
  4. Option D: 11
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. Separating variables gives dyy+1=−cos⁡x2+sin⁡xdx\frac{dy}{y+1}=-\frac{\cos x}{2+\sin x}dx, and both sides integrate to logarithms that combine into a product.

Concept refresher. If dydx=g(x)h(y)\frac{dy}{dx}=g(x)h(y), separate: ∫dyh(y)=∫g(x)dx\int\frac{dy}{h(y)}=\int g(x)dx. Also ∫f′(x)f(x)dx=ln⁡∣f(x)∣+C\int\frac{f'(x)}{f(x)}dx=\ln|f(x)|+C.

Approach. Separate variables, integrate both sides as logarithms, and fix the constant with y(0)=1y(0)=1.

  1. Step 1: Separate

    dyy+1=−cos⁡x2+sin⁡xdx\frac{dy}{y+1}=-\frac{\cos x}{2+\sin x}dx
  2. Step 2: Integrate

    ln⁡∣y+1∣=−ln⁡(2+sin⁡x)+ln⁡C⇒(y+1)(2+sin⁡x)=C\ln|y+1|=-\ln(2+\sin x)+\ln C\Rightarrow (y+1)(2+\sin x)=C
  3. Step 3: Use y(0) = 1

    (1+1)(2+0)=C⇒C=4(1+1)(2+0)=C\Rightarrow C=4, so

    y+1=42+sin⁡xy+1=\frac{4}{2+\sin x}
  4. Step 4: Evaluate at π/2

    y(π2)+1=43⇒y(π2)=13y\left(\frac{\pi}{2}\right)+1=\frac{4}{3}\Rightarrow y\left(\frac{\pi}{2}\right)=\frac{1}{3}

Answer. (A)

Why the other options are wrong

  • (B) comes from treating y(2+sin⁡x)y(2+\sin x) as constant (dropping the +1+1): y=22+sin⁡xy=\frac{2}{2+\sin x}.
  • (C) comes from taking the constant as 2 instead of (1+1)(2+0)=4(1+1)(2+0)=4, giving y+1=23y+1=\frac{2}{3}.
  • (D) 1 would mean yy does not change, but dydx=−(y+1)cos⁡x2+sin⁡x≠0\frac{dy}{dx}=-\frac{(y+1)\cos x}{2+\sin x}\ne0 on (0,π2)\left(0,\frac{\pi}{2}\right).

Key takeaway

The trap. Dropping the minus sign in the logarithm gives y+12+sin⁡x=const\frac{y+1}{2+\sin x}=\text{const}, which leads to the wrong value y(π2)=2y\left(\frac{\pi}{2}\right)=2.

How toppers think. They spot cos⁡x\cos x as the derivative of 2+sin⁡x2+\sin x, write (y+1)(2+sin⁡x)=C(y+1)(2+\sin x)=C directly, and fix C=4C=4 from y(0)=1y(0)=1.

Remember. ∫f′(x)f(x)dx=ln⁡∣f(x)∣+C\int\frac{f'(x)}{f(x)}dx=\ln|f(x)|+C.

More on Variable Separable Equations