What is the solution to the differential equation: #(x^2+y+y^2)dx=xdy# ?
I am trying to separate the variables to LHS and RHS which then I integrate both sides to have #y# in terms of #x#
I can't finish it and was stuck at quite beginning:
#(x^2+y+y^2)/x=dy/dx#
I can't find ways to factorise or group #x# and #y#
Help please, thanks.
I am trying to separate the variables to LHS and RHS which then I integrate both sides to have
I can't finish it and was stuck at quite beginning:
I can't find ways to factorise or group
Help please, thanks.
2 Answers
# y = xtan(x + c) #
Explanation:
We have the following Differential Equation in differential form
# (x^2+y+y^2) dx = xdy #
Which we can re-arrange as follows:
# dy/dx = (x^2+y+y^2)/x #
# " " = x+y/x+y^2/x #
# " " = x+y/x+y(y/x) #
Try a substitution
# dy/dx = v+x(dv)/dx #
Substituting in the DE we get:
# v+x(dv)/dx = x+v+(xv)v #
# :. x(dv)/dx = x+xv^2 #
# :. (dv)/dx = 1+v^2 #
This is a separable DE, so we can seperate the variables to get:
# int \ 1/(1+v^2) \ dv = int \ dx #
These integrals are standard and so trivial to evaluate:
# arctan v = x + c #
# :. v = tan(x + c) #
And restoring the initial substitution we get:
# y/x = tan(x + c) #
# :. y = xtan(x + c) #
See below.
Explanation:
Making
or
or
or
or
and after integration