- #1
Mangoes
- 96
- 1
Homework Statement
[tex] (y^2 + xy)dx - x^2dy = 0 [/tex]
The Attempt at a Solution
Put it into derivative form.
[tex] y^2 + xy - x^2 \frac{dy}{dx} = 0 [/tex]
[tex] \frac{dy}{dx} - \frac{y^2}{x^2} - \frac{xy}{x^2} = 0 [/tex]
[tex] \frac{dy}{dx} + \frac{-1}{x}y = \frac{1}{x^2}y^2 [/tex]
I recognized this as a Bernoulli equation where n = 2.
[tex] \frac{dy}{dx}\frac{1}{y^2} + \frac{-1}{x}\frac{1}{y} = \frac{1}{x^2} [/tex]
Plan to make a substitution of [itex] v = y^{-1} [/itex] and [itex] \frac{dv}{dx} = -y^{-2} \frac{dy}{dx} [/itex]
[tex]-\frac{dv}{dx} + \frac{-1}{x}v = \frac{1}{x^2}[/tex]
[tex]\frac{dv}{dx} + \frac{1}{x}v = \frac{-1}{x^2}[/tex]
[tex] u(x) = e^{\int{\frac{1}{x}}dx} [/tex]
[tex] u(x) = x [/tex]
[tex] \int{x\frac{dv}{dx} + v} = \int{\frac{-1}{x}} [/tex]
LHS is product of product rule.
[tex] xv = -lnx + c [/tex]
Since v = y^(-1)
[tex] \frac{x}{y} = ln{\frac{c}{x}} [/tex]
You could arrange the above equation into various forms, but I see no way to arrange it into the form in the answer key:
[tex] x + yln{|x|} = cy [/tex]
I've checked again and again and can't see where I'm going wrong with this...