QlarIITy

MathematicsIIT-JEE 2011 · Paper 2Integer

Let y′(x)+y(x)g′(x)=g(x)g′(x)y'(x)+y(x)g'(x)=g(x)g'(x), y(0)=0y(0)=0, x∈Rx\in\mathbb{R}, where f′(x)f'(x) denotes df(x)dx\frac{df(x)}{dx} and g(x)g(x) is a given non-constant differentiable function on R\mathbb{R} with g(0)=g(2)=0g(0)=g(2)=0. Then the value of y(2)y(2) is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. With coefficient g′(x)g'(x) the integrating factor is eg(x)e^{g(x)}, and the solution y=g−1+e−gy=g-1+e^{-g} depends on xx only through g(x)g(x).

Concept refresher. A linear equation dydx+P(x)y=Q(x)\frac{dy}{dx}+P(x)y=Q(x) is solved with the integrating factor e∫Pdxe^{\int P dx}:

y⋅e∫Pdx=∫Q⋅e∫Pdxdx+Cy\cdot e^{\int P dx}=\int Q\cdot e^{\int P dx}dx+C

Approach. Here P=g′(x)P=g'(x), so the integrating factor is eg(x)e^{g(x)}. Integrate, fix the constant from y(0)=0y(0)=0, then evaluate at x=2x=2.

  1. Step 1: Integrating factor

    dydx+g′(x)y=g(x)g′(x),I.F.=e∫g′(x)dx=eg(x)\frac{dy}{dx}+g'(x)y=g(x)g'(x),\qquad \text{I.F.}=e^{\int g'(x)dx}=e^{g(x)}

    So

    ddx(yeg(x))=g(x)g′(x)eg(x)\frac{d}{dx}\left(ye^{g(x)}\right)=g(x)g'(x)e^{g(x)}
  2. Step 2: Integrate

    Put t=g(x)t=g(x), dt=g′(x)dxdt=g'(x)dx:

    ∫tetdt=tet−et=(t−1)et\int te^{t}dt=te^{t}-e^{t}=(t-1)e^{t}

    Hence

    yeg(x)=(g(x)−1)eg(x)+C⇒y=g(x)−1+Ce−g(x)ye^{g(x)}=(g(x)-1)e^{g(x)}+C\quad\Rightarrow\quad y=g(x)-1+Ce^{-g(x)}
  3. Step 3: Use y(0)=0y(0)=0

    At x=0x=0, g(0)=0g(0)=0: 0=0−1+C0=0-1+C, so C=1C=1 and

    y(x)=g(x)−1+e−g(x)y(x)=g(x)-1+e^{-g(x)}
  4. Step 4: Evaluate at x=2x=2

    y(2)=g(2)−1+e−g(2)=0−1+1=0y(2)=g(2)-1+e^{-g(2)}=0-1+1=0

Answer. 0

Smart method. Notice y(x)=g−1+e−gy(x)=g-1+e^{-g} depends on xx only through g(x)g(x), and y=0y=0 when g=0g=0. Since g(2)=g(0)=0g(2)=g(0)=0, y(2)=y(0)=0y(2)=y(0)=0 immediately.

Common slips

  • Forgetting CC (or taking C=0C=0) gives y=g−1y=g-1 and y(2)=−1y(2)=-1.
  • Integrating tette^{t} as tette^{t} alone loses the −et-e^{t} term.

Key takeaway

The trap. Students drop the constant of integration or take C=0C=0, which gives y=g−1y=g-1 and the wrong value y(2)=−1y(2)=-1.

How toppers think. They see that yy is a function of gg alone, so g(2)=g(0)=0g(2)=g(0)=0 forces y(2)=y(0)=0y(2)=y(0)=0 without evaluating anything.

Remember. dydx+g′(x)y=Q(x)\frac{dy}{dx}+g'(x)y=Q(x) has integrating factor eg(x)e^{g(x)}, and ∫tetdt=(t−1)et+C\int te^{t}dt=(t-1)e^{t}+C.

More on Linear Differential Equations