Mastering Variation of Parameters in Differential Equations

  • Thread starter Thread starter Lancelot59
  • Start date Start date
  • Tags Tags
    Substitution
Lancelot59
Messages
640
Reaction score
1
I need to find a 1 parameter family of solutions to:

\frac{dy}{dt}=-\frac{1}{t^{2}} - \frac{y}{t}+y^{2}

By making the substitution:
y=\frac{1}{t}+u
and then reducing it to a Bernoulli equation in u.

I first took the derivative of the substitution.
\frac{dy}{dt}=\frac{1}{t^{2}}+\frac{du}{dt}

Then substituted:
\frac{1}{t^{2}}+\frac{du}{dt}=-\frac{1}{t^{2}} - \frac{\frac{1}{t}+u}{t}+(\frac{1}{t}+u)^{2}

After some reduction I eventually got to:
\frac{1}{t^{2}}+\frac{du}{dt}=\frac{u+u^{2}t}{t}-1
I heard we were supposed to get something separable out of this, but that's not what I have here. What do I do next?
 
Physics news on Phys.org
Lancelot59 said:
I need to find a 1 parameter family of solutions to:

\frac{dy}{dt}=-\frac{1}{t^{2}} - \frac{y}{t}+y^{2}

By making the substitution:
y=\frac{1}{t}+u
and then reducing it to a Bernoulli equation in u.

I first took the derivative of the substitution.
\frac{dy}{dt}=\frac{1}{t^{2}}+\frac{du}{dt}

The derivative of 1/t is -1/t2. If you are careful with your algebra it should indeed simplify to a Bernoulli equation.
 
LCKurtz said:
The derivative of 1/t is -1/t2. If you are careful with your algebra it should indeed simplify to a Bernoulli equation.
I now have:
u^{2}+\frac{u}{t}+\frac{1}{t^2}-\frac{du}{dt}=1
 
Lancelot59 said:
I now have:
u^{2}+\frac{u}{t}+\frac{1}{t^2}-\frac{du}{dt}=1

Close, but check your algebra. I got

u' -\frac 1 t u = u^2

Those 1/t2 terms should cancel out. I'm guessing it has something to do with that extra 1 you have too.
 
The 1 comes from reducing
\frac{y}{t}

\frac{\frac{1}{t}+u}{t}
 
Lancelot59 said:
The 1 comes from reducing
\frac{y}{t}

\frac{\frac{1}{t}+u}{t}

Like I said before, the non-cancelled 1/t2 and the extraneous 1 are probably related. If you are now taking differential equations, you should be able to correctly simplify this expression. You don't get a 1.
 
I keep getting it for some reason :(

Nevermind, I'm stupid. Lemme keep working.

So now I have the right form. Now what? I'm reading the book and it isn't making sense to me right now.
 
Last edited:
What part are you at now?

(I solved this along with you)
 
LCKurtz said:
u' -\frac 1 t u = u^2

.

Lancelot59 said:
I keep getting it for some reason :(

So now I have the right form. Now what? I'm reading the book and it isn't making sense to me right now.

If you have the above equation, multiply both sides by u-2 and make the substitution w = u-1.
 
  • #10
LCKurtz said:
If you have the above equation, multiply both sides by u-2 and make the substitution w = u-1.

So I then end up with
\frac{w}{t}-w\frac{du}{dt}=1
 
  • #11
I think you need to check that again. Also, using the substitution, what is w'?
 
  • #13
I entered it backwards, my mistake.
Doing the substitution:
w=u^{-1}
\frac{dw}{dt}=\frac{1}{u^{2}}\frac{du}{dt}
u^{2}w'=\frac{du}{dt}

w'u-\frac{w}{t}=1
I'll start going through those notes now.
 
  • #14
Hmm... still not quite right.

Starting with
u' -\frac 1 t u = u^2
Let w=u^{-1}, then w'=-u^{-2} u'. This serves as the motivation for the next step: we want to get a linear differential equation in terms of w, so only w and w' should be present. To do so, let's multiply both sides of the equation by -u^{-2}, in doing so we will get w' on the left, which is very desirable.

-u^{-2}u' + \frac 1 t u^{-1} = -1

Now we can make some nice substitutions:

w' + \frac 1 t w = -1

You should be able to take it from here.
 
  • #15
process91 said:
Hmm... still not quite right.

Starting with
u' -\frac 1 t u = u^2
Let w=u^{-1}, then w'=-u^{-2} u'. This serves as the motivation for the next step: we want to get a linear differential equation in terms of w, so only w and w' should be present. To do so, let's multiply both sides of the equation by -u^{-2}, in doing so we will get w' on the left, which is very desirable.

-u^{-2}u' + \frac 1 t u^{-1} = -1

Now we can make some nice substitutions:

w' + \frac 1 t w = -1

You should be able to take it from here.
I really should, but I can't. I'm not having the easiest time with this class.
 
  • #16
What is the trouble you're having from the last step? Have you covered how to solve a first-order linear homogeneous differential equation?
 
  • #17
To clarify some possible confusion, at this point you would simply solve for w. This will give you an equation for w in terms of x, and then you can substitute u^{-1}=w.
 
  • #18
We have covered that. I'm trying to figure out variation of parameters, since it isn't seperable. I'll have a chance to talk to my professor tomorrow, and I'll come back if I need more help. Thank you both for all the help you've given me.
 
Back
Top