The solution of the differential equation dydx=x-y+32(x-y)+5 is
2(x-y)+log(x-y)=x+c
2(x-y)-log(x-y+2)=x+c
2(x-y)+log(x-y+2)=x+c
None of these
Explanation for the correct option
Given: dydx=x-y+32(x-y)+5
Let v=x-y
dvdx=1-dydx
Now ,
dydx=x-y+32(x-y)+5⇒1-dvdx=v+32v+5⇒dvdx=1-v+32v+5⇒dvdx=2v+5-v-32v+5⇒dvdx=v+22v+5⇒dvdx=v+22v+5⇒2v+5v+2dv=dx
Integrating both sides
∫2v+5v+2dv=∫dx⇒∫2+1v+2dv=∫dx⇒2v+log(v+2)=x+C
Put v=x-y
Therefore 2x-y+log(x-y+2)=x+C
Hence option C is correct.