How do I solve the following differential equation:

Angela Harrell

Angela Harrell

Answered question

2022-04-17

How do I solve the following differential equation:
2xy+1+(x2+2y)y=0

Answer & Explanation

wyjadaczeqa8

wyjadaczeqa8

Beginner2022-04-18Added 14 answers

Step 1
Note that
2xy+x2y+2yy=ddx(x2y+y2).
So the equation is equivalent to:
ddx(x2y+y2)=1
x2y+y2=x+C
y=x2±x44x+4C2
y(1)=1±4C32=1C=1
Since at x=1 the ± is , and y is differentiable at any point, the ± will always be at any point.
y=x2x44x+42
calcinaretnbz

calcinaretnbz

Beginner2022-04-19Added 5 answers

Step 1
Indeed, you can check that I(x,y)=2xy+1 and J(x,y)=x2+2y are both continuously differentiable everywhere and
Iy=2x=Jx.
A general solution to an exact differential equation is F(x, y)=C for constants C (i.e., level curves of F(x, y)), where F(x,y) is a potential function satisfying
Fx=I(x,y) and Fy=J(x,y). Integrating I(x, y) with respect to x, we obtain
F(x,y)=x2y+x+m(y).
Integrating J(x,y) with respect to y, we obtain
F(x,y)=x2y+y2+n(x).
Equating the two expressions for F(x,y), we see that
x2y+x+m(y)=x2y+y2+n(x)
m(y)=y2  m{ and } \ \ n(x) = xm{and}  n(x)=x.
Thus, a general solution to your differential equation is
F(x,y)=x2y+x+y2=C.
To find C, we impose the given initial condition y(1)=1:
1+1+1=1=C.
Thus, an implicit solution to your exact differential equation is
x2y+x+y2=1.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?