asked 115k views
3 votes
Consider the differential equation dy/dx=y-y^2/x for all x !=0

asked
User Astaykov
by
7.8k points

1 Answer

4 votes
Start by separating variables:

(dy)/(y(1-y)) = (dx)/(x)
Split left side into 2 fractions using partial fractions:

(dy)/(y)+(dy)/((1-y)) = (dx)/(x)
Integrate both sides and solve for y:

ln (y) - ln(1-y) = ln (x) + C \\ \\ ln ((y)/(1-y)) = ln (x) + C \\ \\ (y)/(1-y) = Cx \\ \\ y = (Cx)/(1+Cx)

Finally, divide by C on top/bottom to get

y = (x)/(x+C)
answered
User Rudolfdobias
by
7.7k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.