plzzzz need help ODEs \(\frac{dy}{dx}=\frac{xy^2-cos x sin x}{y(1-x^22)}\) \(y(0)=2\)
check if his is correct \(y dy -x^2dy = xy^2dx -cos x sinx dx\)
\(\frac{1}{2}y^2 -x^2y=\frac {1}{2}x^2 y^2-\int\cos x \sin x \dx \)
?? i dont know if im on the right direction
nope, y is a function of x u cannot integrate \(\large \int xy^2 dx\)
\(\large \frac{dy}{dx}=\frac{xy^2-cos x sin x}{y(1-x^2)}\)
like this right ?
yep
\(\large y' =\frac{xy^2-cos x sin x}{y(1-x^2)}\) multiply both sides by \(y\) \(\large yy' =\frac{xy^2-cos x sin x}{1-x^2}\)
isnt y'=dx/dy ?
sorry im not really good :'(
substitute \(\large v = y^2\) that gives, \(\large v' = 2yy'\)
the equation becomes : \(\large \frac{v'}{2} =\frac{xv-cos x sin x}{1-x^2}\) \(\large v' =\frac{2xv-\sin (2x)}{1-x^2}\)
fine so far ?
yes
good, knw how to solve a "linear equation" using IF method ?
no
show mw if pspl ill understand quick
this is a bernouli equation
after substitution it changes to a linear equation
you should know how solve "linear equations" and the Intgeration Factor method, before starting bernouli
well , im sure i learned them but my basecs are rusty ( been long time ) so if u show me i might remember
\(\large y' =\frac{xy^2-cos x sin x}{y(1-x^2)}\) multiply both sides by \(y\) \(\large yy' =\frac{xy^2-cos x sin x}{1-x^2}\) substitute \(\large v = y^2\) \(\large v' = 2yy'\) the equation becomes : \(\large \frac{v'}{2} =\frac{xv-cos x sin x}{1-x^2} \) \(\large v' =\frac{2xv-\sin (2x)}{1-x^2} \) \(\large v' + \frac{2x}{1-x^2}v = \frac{\sin(2x)}{x^2-1} \)
thats what we have so far^
i with u so far
\(\large y' =\frac{xy^2-cos x sin x}{y(1-x^2)}\) multiply both sides by \(y\) \(\large yy' =\frac{xy^2-cos x sin x}{1-x^2}\) substitute \(\large v = y^2\) \(\large v' = 2yy'\) the equation becomes : \(\large \frac{v'}{2} =\frac{xv-cos x sin x}{1-x^2} \) \(\large v' =\frac{2xv-\sin (2x)}{1-x^2} \) \(\large v' + \frac{2x}{x^2-1}v = \frac{\sin(2x)}{x^2-1} \)
im*
just corrected a typo in the last line
Multiply the IF \((x^2-1)\) through out the equaiton
the equation becomes : \(\large (x^2-1)v' + 2xv = \sin(2x) \)
Using product rule, left hand side can be compressed to : \(\large ((x^2-1)v)' \)
\(\large (x^2-1)v' + 2xv = \sin(2x) \) becomes : \(\large ((x^2-1)v)' = \sin(2x) \)
Now is the good time to integrate both sides
how ?
integrate both sides
\(\large \int ((x^2-1)v)'~ dx = \int \sin(2x)~dx \)
By FTC, \(\large \int f' dx = f\), so left hand sides gives u back \((x^2-1)v\)
\(\large \int ((x^2-1)v)'~ dx = \int \sin(2x)~dx \) \(\large (x^2-1)v = \int \sin(2x)~dx \)
you can integrate the right hand side
the only thing that i can do by myself :P thank you for your time I really appreciate it :D
np :) dont forget substituting the v's back to y^2
okeyy i wont
\(y=\sqrt {\frac{cos 2x}{2 x^2-2 }}+c\) \(y(0)=\sqrt {\frac{cos 0}{ -2 }}+c=2\rightarrow c=2-\sqrt{\frac{1}{2}}\)
\(\large \large (x^2-1)v = \int \sin(2x)~dx\) \(\large \large (x^2-1)y^2 = -\frac{\cos (2x)}{2} + C\)
plugin (0, 2) : \(\large C = \frac{-7}{2}\)
\(\large \large (x^2-1)y^2 = -\frac{\cos (2x)}{2} - \frac{7}{2}\)
im really stink xD thanks again
you can solve y if u want
Join our real-time social learning platform and learn together with your friends!