Question
Mathematics Question on Differential equations
The equation of one of the curves whose slope at any point is equal to y+2x is
A
y=2(ex+x−1)
B
y=2(ex−x−1)
C
y=2(ex−x+1)
D
y=2(ex+x+1)
Answer
y=2(ex−x−1)
Explanation
Solution
Given, dxdy=y+2x...(i)
Put y+2x=z
⇒dxdy+2=dxdz
⇒dxdy=dxdz−2...(ii)
From Eqs. (i) and (ii)
dxdz−2=z
⇒∫z+2dz=∫dx
⇒log(z+2)=x+c
⇒log(y+2x+2)=x+c
⇒y+2x+2=ex+c
⇒y+2x+2=ex⋅ec
⇒y=2[ex−x−1] Taking ec=2