Clear Notion Academy

Linear First-Order Equations, the Integrating Factor and Bernoulli's Equation — DPP: Solve y , dy dx + x y = x with y(0)=0 . If x 2 =2 2 , find y (taking the branch with…

Question

Solve cos⁡y dydx+xsin⁡y=x\cos y\,\frac{dy}{dx} + x\sin y = x with y(0)=0y(0)=0. If x2=2ln⁡2x^{2}=2\ln2, find yy (taking the branch with y(0)=0y(0)=0).

Options

  1. π6\dfrac{\pi}{6}
  2. π4\dfrac{\pi}{4}
  3. π3\dfrac{\pi}{3}
  4. π2\dfrac{\pi}{2}

Answer

Correct option: A

Hint

Let v=sin⁡yv=\sin y, so cos⁡y dydx=dvdx\cos y\,\frac{dy}{dx} = \frac{dv}{dx}; the equation becomes linear in vv.

Solution

Let v=sin⁡yv=\sin y, so dvdx=cos⁡y dydx\frac{dv}{dx} = \cos y\,\frac{dy}{dx}, turning the equation into dvdx+xv=x\frac{dv}{dx}+xv = x, linear in vv. Integrating factor: e∫x dx=ex2/2e^{\int x\,dx} = e^{x^{2}/2}. Multiplying through: ddx(vex2/2)=xex2/2\frac{d}{dx}\left(ve^{x^{2}/2}\right) = xe^{x^{2}/2}. Integrating the right side: ∫xex2/2dx=ex2/2+C1\int xe^{x^{2}/2}dx = e^{x^{2}/2}+C_1, so v=1+Ce−x2/2v = 1+Ce^{-x^{2}/2}. Using y(0)=0y(0)=0: sin⁡0=0=1+C\sin0=0=1+C, so C=−1C=-1, giving sin⁡y=1−e−x2/2\sin y = 1-e^{-x^{2}/2}. At x2=2ln⁡2x^{2}=2\ln2: e−x2/2=e−ln⁡2=12e^{-x^{2}/2}=e^{-\ln2}=\frac{1}{2}, so sin⁡y=12\sin y = \frac{1}{2}, giving y=π6y=\frac{\pi}{6}.

More questions from Linear First-Order Equations, the Integrating Factor and Bernoulli's Equation — DPP

Practise the full set: Linear First-Order Equations, the Integrating Factor and Bernoulli's Equation — DPP