(Thinking)please give me a hint how to start this@

x(dy/dx) = y + 2xsin^2(y/x)

basically i dont know what the first step is because the way i learnt this, i can't see how to apply that method to this example?

Printable View

- Feb 21st 2011, 01:30 PMmathcorehomogenous equation
(Thinking)please give me a hint how to start this@

x(dy/dx) = y + 2xsin^2(y/x)

basically i dont know what the first step is because the way i learnt this, i can't see how to apply that method to this example? - Feb 21st 2011, 01:31 PMAckbeet
You have two equals signs there. Did you mean a plus sign in there somewhere?

- Feb 21st 2011, 01:40 PMmathcore
yes sorry it is i edited it now

- Feb 21st 2011, 01:47 PMmathcore
ok i know to divide through x, sub z=y/x. but then how do you find dy/dx? if y=xz? is it chain rule? can someone talk me through this?

- Feb 21st 2011, 04:11 PMmathcore
i have solved it down to this

-1/(2tan(y/x)) = lnx + c

how can i isolate y please? - Feb 21st 2011, 04:12 PMmathcoreisolate y
i have an implicit solution that i need to make plicit

-1/(2tan(y/x)) = lnx + c

how can i isolate y please? - Feb 21st 2011, 04:28 PMpickslides
$\displaystyle \displaystyle \frac{-1}{2\tan\frac{y}{x}} = \ln x + c$

$\displaystyle \displaystyle \frac{-1}{\ln x+ c} = 2\tan\frac{y}{x}$

$\displaystyle \displaystyle \frac{-1}{2\ln x+ c} = \tan\frac{y}{x}$

$\displaystyle \displaystyle \tan^{-1}\left(\frac{-1}{2\ln x+ c}\right) = \frac{y}{x}$

$\displaystyle \displaystyle x\tan^{-1}\left(\frac{-1}{2\ln x+ c}\right) = y$ - Feb 21st 2011, 04:46 PMmathcore
thanks, a lot

should the constant be written as lnc so ln(x + c)? - Feb 21st 2011, 05:02 PMskeeter
- Feb 21st 2011, 06:16 PMmathcore
too right bro. it is, i forgot my log rules but still, i ask the question, is it better to leave the constant as c or stick it in with the ln (x)? i think putting it as ln(cx) seems neater than ln(x) + c? what is convention?

- Feb 21st 2011, 06:55 PMpickslides
Either way is fine, in general I notice $\displaystyle \displaystyle \ln x + c = \ln x + \ln c = \ln (cx) $ when solving D.E.s

It really depends on the situation and what is required. - Feb 21st 2011, 06:56 PMmathcore
i think it is neater

- Feb 22nd 2011, 02:06 AMAckbeet
Different people learn this method different ways. I learned it this way:

$\displaystyle \displaystyle x\,\frac{dy}{dx} = y + 2x\sin^{2}\!\left(\dfrac{y}{x}\right)$

$\displaystyle \displaystyle x\,dy-\left(y+2x\sin^{2}\!\left(\dfrac{y}{x}\right)\righ t)dx=0.$

If we follow your substitution of $\displaystyle z=y/x,$ then $\displaystyle y=zx,$ and $\displaystyle dy=z\,dx+x\,dz.$ (This is how I "find" $\displaystyle dy/dx$. If you wish, you can write $\displaystyle dy/dx=z+x(dz/dx)$.) Plugging into the DE yields

$\displaystyle x(z\,dx+x\,dz)-(zx+2x\sin^{2}(z))\,dx=0$

$\displaystyle x^{2}\,dz-2x\sin^{2}(z)\,dx=0$

$\displaystyle x\,dz-2\sin^{2}(z)\,dx=0.$ Separating out yields

$\displaystyle \csc^{2}(z)\,dz-\dfrac{2\,dx}{x}=0$

$\displaystyle -\cot(z)-2\ln|x|=C$

$\displaystyle \cot(z)+2\ln|x|=C$ (absorbing the minus sign into the constant).

$\displaystyle \cot\left(\dfrac{y}{x}\right)=-2\ln|x|+C.$

At this point, as with all solutions to any differential equation, you should verify that this implicitly defined function satisfies the original DE. The reason to differentiate now is that if you do, the constant will go away, which is what you want when you're verifying the solution to a DE. The solution I've got here is, incidentally, the same as yours, I believe. So far, so good. If you do want to isolate $\displaystyle y,$ then take the $\displaystyle \cot^{-1}$ of both sides, and then multiply the resulting equation by $\displaystyle x$ to obtain

$\displaystyle y=x\cot^{-1}\left(-2\ln|x|+C\right).$

On what interval(s) is this solution valid?