Let y=y(x) be the solution of the differential equation x dy+\2(1-x) x+x(2-x)\dx=0 such that y(0)=2. Then y(2) is equal to:
- 2\ (2)+1\
- 2
- 1
- 2\1- (2)\
Answer
(2) 2
Solution
Multiplying by x:
dydx=- x\2(1-x) x+x(2-x)\=2(x-1) x+ (x2-2x ) x
ddx [ (x2-2x ) x ]=(2x-2) x+ (x2-2x ) x (same as RHS)
y= (x2-2x ) x+c
y(0)=2 c=2
y(2)=(4-4) 2+2=2
Answer: (2)