Question
Mathematics Question on Differential equations
The solution of the differential equation ydx−(x+2y2)dy=0 is x=f(y). If f(−1)=1, then f(1) is equal to :
A
4
B
3
C
2
D
1
Answer
3
Explanation
Solution
Given differential equation is ydx−(x+2y2)dy=0...(1) and solution of (1) is x=f(v); where f(−1)=1,f(1)=? Rearranging (1), we get ydydx−(x+2y2)=0 ⇒dydx−2y−yx=0 or dydx+(y−1)x=2y, which is a linear differential equation of first order dydx+P x=Q; Its I.F. =e∫Pdy=e∫y−1dy=e−lny=y1 ∴ Solution of (1) is given by x.(I.F)=∫Q(I.F.)dy+C ⇒x⋅y1=∫2y⋅y1dy+C ⇒yx=2y+c⇒x=2y2+cy;f(−1)=1 x+1=2+c(−1)⇒c=1∴x=2y2+y=f(y) ⇒f(1)=2+1=3