Solve 2ty'+y=1
Here4 is what I got so far: \[2ty'=1-y\\y'=\frac{1-y}{2t}\\\frac{dy}{1-y}=\frac{dt}{2t}\] Can I do that? There is no t doesn't =0 stipulation
where did you get 1-y
sorry , mistyped original fixed now
I mean, I can do it from there, I'm just wondering if the dividing by 2t is legal if t can =0
it's just separation of variables if I can divide by t. So for integrating factor it would beeee....h/o (I'm not so great with them so I need a minute)
would it not just be
yes you can divide by 2t, thats fine
divide by 2
oh, then I'm good doing separation of variables?
-ln|1-y| = 1/2 ln |t| + c
because y' is in terms of t so you have tdy/dt= (1-y)/2
oh yeah i get it my bad
yea, I know, I just wanted to make sure I could divide by t like I need to
can you show me the integrating factor way @perl ? Is the integrating factor \(e^{-t^2}\)?
sure $$\Large\rm { 2ty' + y = 1 \\y' + \frac{1}{2t}y = \frac{1}{2t} \\ integrating ~ factor ~ e^{ \int \frac{1}{2t}} } $$
wait, I thought the integrating factor was on p(t)?
yes p(t) = 1/(2t)
but isn't p(t) the coefficient on the y' term? Then q(t) the coefficient on the y term?
first step is to divide through by the coefficeint of y '
oh, I thought that was only for second order
ohhhkkkk
integrating factor is used on : $$ \Large \frac{dy}{dt} + p(t) y = g(t) $$
...Ohk, now I get it.
Thank you!!
You can stop there, btw my final answer is \(y=1-c_1t^{-1/2}\) do you agree?
ah absolute value on that t
yes thats correct, but you don't need to put a negative in front of c1
ok thanks!!!
not that its wrong, but you could have a plus as well :) since its a constant it will absorb sign
yea, I did that with the e^-c I just didn't mind the - since y(1)=0 and I'd need a negative anyways
thanks again Perl!!!
your welcome
Join our real-time social learning platform and learn together with your friends!