3
$\begingroup$

I came across this interesting question.

$$(y^2 + xy + 1)\,dx + (x^2 + xy + 1)\,dy =0.$$

I tried to make it homogeneous by using an integrating factor but could not proceed through.

NOTE: I am asking a question first time in this forum and don't know the exact format on how to ask a good question.

$\endgroup$
  • $\begingroup$ You might start by putting $y(x)=z(x)-x$. That simplifies it a little. I think you can then solve it in terms of exponentials and the error function, but the result is not pretty. $\endgroup$ – almagest Sep 10 '14 at 18:11
  • $\begingroup$ result is very pretty..final answer is (e^(xy))*(x+y) $\endgroup$ – PRP Sep 10 '14 at 18:14
  • $\begingroup$ it.wikipedia.org/wiki/… Check this one: it is in italian but you don't really need the text, just the maths. It should be a case a bit more complicate than: en.wikipedia.org/wiki/Exact_differential_equation . Hope it helps! $\endgroup$ – MattAllegro Sep 10 '14 at 18:15
1
$\begingroup$

Rewrite as: $(x^2+x y(x)+1)y'(x)+y(x)^2+x y(x)+1 = 0$

Let $y(x) = \frac{v(x)-x^2-1}{x}$, which gives $y'(x)= \frac{v'(x)-2 x}{x}-\frac{v(x)-x^2-1}{x^2}$

Then $$-x^2+\frac{(-x^2+v(x)-1)^2}{x^2}+v(x)+(-2 x+v'(x)-\frac{-x^2+v(x)-1}{x^2}) v(x) = 0 \iff \frac{2 x^2+(-2 x^2+x v'(x)-1) v(x)+1}{x^2} = 0 \iff v'(x) = \frac{(2 x^2+1) (v(x)-1)}{x v(x)}$$ Then you have to divide both sides by $\frac{v(x)-1}{v(x)}$ and then integrate both sides with respect to $x$

$$\int \frac{v'(x) v(x)}{v(x)-1} \mathrm{d}x = \int \frac{2 x^2+1}{x} \mathrm{d}x \iff \log(v(x)-1)+v(x) = x^2+\log(x)+c_1$$ Now it gets kinda tricky, you have to use the Lambert-W function to solve for $v(x)$, but here goes;(I simplify constants too) $$v(x) = W(c_1 e^{x^2-1} x)+1$$ Sub $y(x)$ back; $$x^2+x y(x)+1 = W(c_1 e^{x^2-1} x)+1 \iff y(x) = \frac{-x^2+W(c_1 e^{x^2-1} x)}{x}$$

$\endgroup$
  • $\begingroup$ answer is (e^(xy))*(x+y) $\endgroup$ – PRP Sep 10 '14 at 18:27
  • $\begingroup$ I'm pretty sure this is the result as I checked for mistakes, according to the other answer, maple gives the same result too. Wolfram alpha gives a weird result that can be simplified to my result(I suppose, I didn't try it). $\endgroup$ – UserX Sep 10 '14 at 18:38
  • $\begingroup$ are you saying (e^(xy))*(x+y) = c is wrong....? $\endgroup$ – PRP Sep 10 '14 at 18:40
  • $\begingroup$ For this DE? I think so. $\endgroup$ – UserX Sep 10 '14 at 18:43
  • 1
    $\begingroup$ @PRP Can you show solution is (x+y)e^(xy) ?? $\endgroup$ – MattAllegro Sep 10 '14 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.