Skip to content
Exercise: Linear Differential Equations · Q24

Q.Solve the differential equation xdydx+y=x2x\dfrac{dy}{dx} + y = x^2, x>0x>0.

West Bengal WbchseTextbookSubjectiveImportance★★★★★
54% · 27/50 Questions
✓ Free question

Concept understanding — Linear Differential Equations and Integrating Factor

A first-order equation linear in yy has the standard form dydx+Py=Q\dfrac{dy}{dx}+Py=Q (P,QP,Q functions of xx, or constants); multiplying it through by the integrating factor I.F.=e∫P dx\text{I.F.}=e^{\int P\,dx} turns the left-hand side into the exact derivative ddx(y⋅I.F.)\dfrac{d}{dx}(y\cdot\text{I.F.}), so that integrating both sides directly gives the general solution y⋅I.F.=∫Q⋅I.F. dx+Cy\cdot\text{I.F.}=\displaystyle\int Q\cdot\text{I.F.}\,dx+C. When an equation is instead linear in xx as a function of yy -- standard form dxdy+Px=Q\dfrac{dx}{dy}+Px=Q, P,QP,Q functions of yy -- the identical reasoning with xx and yy exchanged gives I.F.=e∫P dy\text{I.F.}=e^{\int P\,dy} and general solution x⋅I.F.=∫Q⋅I.F. dy+Cx\cdot\text{I.F.}=\displaystyle\int Q\cdot\text{I.F.}\,dy+C; which of the two forms applies is decided by inspecting which variable the equation is actually linear in.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.