Answer on Question #39003 - <math> - <algebra>.
Solve the following ordinary differential equations; xdx+ydy+4y3(x2+y2)dy
Solution:
We can rewrite our equation:
xdx+(4(x2+y(x)2)y(x)3+y(x))dy(x)=0
Make the replacement, let R(x,y)=x and S(x,y)=4y3(x2+y2)+y. This is not exact equation, because ∂y∂R(x,y)=0=8xy3=∂x∂S(x,y).
Next step we have to find an integrating factor μ(y) such that
μ(y)R(x,y)dx+μ(y)S(x,y)dy(x)=0 is exact.
This means that ∂y∂(μ(y)R(x,y))=∂x∂(μ(y)S(x,y)):
∂y∂μ(y)x=8y3μ(y)x
Isolate μ(y) to the left-hand side:
μ(y)∂y∂μ(y)=8y3
Integrate both sides with respect to y:
log(μ(y))=2y4
Then we take exponentials of the both sides:
μ(y)=e2y4
Go back to our expression and multiply it:
(4(x2+y(x)2)y(x)3+y(x))dxdy(x)+x=0 by μ(y(x)):e2y(x)4x+(e2y(x)4(4(x2+y(x)2)y(x)3+y(x)))dxdy(x)=0
Let P(x,y)=xe2y4 and Q(x,y)=e2y4(4y3(x2+y2)+y) this is an exact equation, because ∂y∂P(x,y)=8xe2y4y3=∂x∂Q(x,y).
Define f(x,y) such that ∂x∂f(x,y)=P(x,y) and ∂y∂f(x,y)=Q(x,y):
Then the solution will be given by f(x,y)=C1, where C1 is an arbitrary constant. Integrate ∂x∂f(x,y) with respect to x in order to find f(x,y):
f(x,y)=∫e2y4xdx=21e2y4x2+g(y)
Where g(y) is an arbitrary function of y.
Differentiate f(x,y) with respect to y in order to find the g(y):
∂y∂f(x,y)=∂y∂(21e2y4x2+g(y))=4e2y4y3x2+∂y∂g(y)
Substitute into ∂y∂f(x,y)=Q(x,y):
4e2y4y3x2+∂y∂g(y)=e2y4(y+4y3(x2+y2))
Then we solve for ∂y∂g(y):
∂y∂g(y)=e2y4(4y5+y)
Integrate ∂y∂g(y) with respect to y:
g(y)=∫e2y4(4y5+y)dy=21e2y4y2
Substitute g(y) into f(x,y):
f(x,y)=21e2y4x2+21e2y4y2
Eventually we get the solution f(x,y)=C1 (as we note earlier).
The solution is C1=21e2y4x2+21e2y4y2
C1=21x2e2y(x)4+21e2(x)4y(x)2
Answer: C1=21x2e2y(x)4+21e2(x)4y(x)2