# Thread: Solve (x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

1. ## Solve (x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

(x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

How do I solve the xy part? Where will it go?
I hav tried substitution.. But its of no use..

2. ## Re: Solve this differential equation

What I noticed first is that the DE can be written as:
$(x+2y)^2dy=[2(x+2y)+1]dx$

So the two sides have something in common, but I'm not entirely sure if you can do something with this.

3. ## Re: Solve this differential equation

Excellent! And, yes, you can make use of that. Let u= x+2y so that du= dx+ 2dy or dy= (1/2)du- (1/2)dx. That makes the differential equation $u^2((1/2)du- (1/2)dx)= (2u+1)dx$ so $(1/2)u^2du= (2u+ 1/2)dx$ or $u^2du= (4u+1)dx$. That's a separable equation.

4. ## Re: Solve (x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

Sorry I get separable

$u^2du= (u^2+4u+2)dx \; .$

5. ## Re: Solve this differential equation

Originally Posted by HallsofIvy
Excellent! And, yes, you can make use of that. Let u= x+2y so that du= dx+ 2dy or dy= (1/2)du- (1/2)dx. That makes the differential equation $u^2((1/2)du- (1/2)dx)= (2u+1)dx$ so $(1/2)u^2du= (2u+ 1/2)dx$ or $u^2du= (4u+1)dx$. That's a separable equation.
From $u^2((1/2)du- (1/2)dx)=(2u+1)dx$, I get:

$u^2du- u^2dx=(4u+2)dx$

$u^2du=(u^2+4u+2)dx$

Which is certainly separable.

6. ## Re: Solve (x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

Thanx a lot..! i just wanted to get rid of the 'xy' term.. !

7. ## Re: Solve (x^2 + 4y^2+4xy)dy=(2x+4y+1)dx

$\textbf{x}(u)=u - 2\, \ln\!\left(u + \sqrt{2} + 2\right) - 2\, \ln\!\left(u - \sqrt{2} + 2\right) - \frac{3\, \sqrt{2}\, \ln\!\left(u + \sqrt{2} + 2\right)}{2} + \frac{3\, \sqrt{2}\, \ln\!\left(u - \sqrt{2} + 2\right)}{2}+C$

$\textbf{y}(u) = \frac{1}{2}(u-x)=\ln\!\left(u + \sqrt{2} + 2\right) + \ln\!\left(u - \sqrt{2} + 2\right) + \frac{3\, \sqrt{2}\, \ln\!\left(u + \sqrt{2} + 2\right)}{4} - \frac{3\, \sqrt{2}\, \ln\!\left(u - \sqrt{2} + 2\right)}{4}-\frac{C}{2}$