# Thread: Find the general solution

1. ## Find the general solution

Find the general solution of the differential equation $3y+x^3y^4+3xy'=0$.

$y'+\frac{y}{x}=\frac{-x^2y^4}{3}$

$xy'+y=\frac{-x^3y^4}{3}$

$\frac{d}{dx}(xy)=\frac{-x^3y^4}{3}$

$xy=\frac{-x^4y^4}{12}+C$

But the answer given in the book is $y(x)=x^{-1}(C+\ln x)^{-1/3}$. Where have I gone wrong?

2. ## Re: Find the general solution

Originally Posted by alexmahone
Find the general solution of the differential equation $3y+x^3y^4+3xy'=0$.

$y'+\frac{y}{x}=\frac{-x^2y^4}{3}$

$xy'+y=\frac{-x^3y^4}{3}$

$\frac{d}{dx}(xy)=\frac{-x^3y^4}{3}$

$xy=\frac{-x^4y^4}{12}+C$

But the answer given in the book is $y(x)=x^{-1}(C+\ln x)^{-1/3}$. Where have I gone wrong?
Setting $z=x\ y$ Your DE is...

$z^{'}= -\frac{z^{4}}{3 x}$ (1)

... and the integration is immediate...

$z= x y= -\frac{1}{(\ln x+c)^{\frac{1}{3}}}$ (2)

Kind regards

$\chi$ $\sigma$

3. ## Re: Find the general solution

Originally Posted by alexmahone
Find the general solution of the differential equation $3y+x^3y^4+3xy'=0$.

$y'+\frac{y}{x}=\frac{-x^2y^4}{3}$

$xy'+y=\frac{-x^3y^4}{3}$

$\frac{d}{dx}(xy)=\frac{-x^3y^4}{3}$

$xy=\frac{-x^4y^4}{12}+C$

But the answer given in the book is $y(x)=x^{-1}(C+\ln x)^{-1/3}$. Where have I gone wrong?
You have gone wrong by treating y as a constant and not as a function of x.

You should recognise that this is actually a Bernoulli Equation.

4. ## Re: Find the general solution

Originally Posted by chisigma
Setting $z=x\ y$ Your DE is...

$z^{'}= -\frac{z^{4}}{3 x}$ (1)

... and the integration is immediate...

$z= x y= -\frac{1}{(\ln x+c)^{\frac{1}{3}}}$ (2)

Kind regards

$\chi$ $\sigma$
But what's wrong with my solution?

5. ## Re: Find the general solution

Originally Posted by Prove It
You have gone wrong by treating y as a constant and not as a function of x.

You should recognise that this is actually a Bernoulli Equation.
I know that this is a Bernoulli equation; that is why I multiplied by the integrating factor x. Which step of my solution is actually invalid?

6. ## Re: Find the general solution

Originally Posted by alexmahone
I know that this is a Bernoulli equation; that is why I multiplied by the integrating factor x. Which step of my solution is actually invalid?
Which steps are invalid?

1. Not making an appropriate substitution.

2. Performing integration treating a function of the independent variable like a constant...

7. ## Re: Find the general solution

Originally Posted by alexmahone
But what's wrong with my solution?
You arrived [correctly...] to write...

$\frac{d}{dx} (x y)= - \frac{x^{3}y^{4}}{3}$ (1)

... and then You [incorrectly...] operated as in case of separate variables... but in (1) x and y aren't separate...

Kind regards

$\chi$ $\sigma$