Find the general solution of xdydx=xy+y ?

1 Answer
Jun 10, 2018

y=C1xex

Explanation:

We want to solve the differential equation

xdydx=xy+y

This can solved by separation of variables

Separate the variables

xdydx=y(x+1)

1ydy=x+1xdx

Integrate both sides

1ydy=x+1xdx

ln(y)=x+ln(x)+C

Solve for y

y=ex+ln(x)+C

Simplify

y=C1xex