Solving Linear Differential Equations of First Order
The equation ...
Question
The equation of the curve whose slope at any point is equal to y+2x and which passes through the origin is
Open in App
Solution
Given slope of curve at any point =y+2x
i.e. dydx=y+2x
⇒dydx−y=2x ....(1)
It is of the form dydx+Py=Q
Here, P=−1,Q=2x I.F.=e∫pdx=e∫−1dx=e−x
∴ The solution of eqn (1) is given by
ye−x=∫2xe−xdx+c =2[x(−e−x)−∫1.(−e−x)dx]+c =2[−xe−x−e−x]+c ⇒y=−2x−2+cex which is the equation of the family of curves. Since, it passes through the origin (0,0), 0=−2+c or c=2 ∴ The required equation of the curve is 2x+y+2=2ex