Mastering Variation of Parameters in Differential Equations

In summary, the conversation discusses how to find a 1 parameter family of solutions to a differential equation by making a substitution and reducing it to a Bernoulli equation. The conversation goes through the steps of the substitution and reduction, with some errors and corrections along the way. Eventually, it is suggested to use the method of variation of parameters to solve the equation.
  • #1
Lancelot59
646
1
I need to find a 1 parameter family of solutions to:

[tex]\frac{dy}{dt}=-\frac{1}{t^{2}} - \frac{y}{t}+y^{2}[/tex]

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

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

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

After some reduction I eventually got to:
[tex]\frac{1}{t^{2}}+\frac{du}{dt}=\frac{u+u^{2}t}{t}-1[/tex]
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
  • #2
Lancelot59 said:
I need to find a 1 parameter family of solutions to:

[tex]\frac{dy}{dt}=-\frac{1}{t^{2}} - \frac{y}{t}+y^{2}[/tex]

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

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

The derivative of 1/t is -1/t2. If you are careful with your algebra it should indeed simplify to a Bernoulli equation.
 
  • #3
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:
[tex]u^{2}+\frac{u}{t}+\frac{1}{t^2}-\frac{du}{dt}=1[/tex]
 
  • #4
Lancelot59 said:
I now have:
[tex]u^{2}+\frac{u}{t}+\frac{1}{t^2}-\frac{du}{dt}=1[/tex]

Close, but check your algebra. I got

[tex]u' -\frac 1 t u = u^2[/tex]

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

[tex]\frac{\frac{1}{t}+u}{t}[/tex]
 
  • #6
Lancelot59 said:
The 1 comes from reducing
[tex]\frac{y}{t}[/tex]

[tex]\frac{\frac{1}{t}+u}{t}[/tex]

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.
 
  • #7
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:
  • #8
What part are you at now?

(I solved this along with you)
 
  • #9
LCKurtz said:
[tex]u' -\frac 1 t u = u^2[/tex]

.

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
[tex]\frac{w}{t}-w\frac{du}{dt}=1[/tex]
 
  • #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:
[tex]w=u^{-1}[/tex]
[tex]\frac{dw}{dt}=\frac{1}{u^{2}}\frac{du}{dt}[/tex]
[tex]u^{2}w'=\frac{du}{dt}[/tex]

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

Starting with
[tex]u' -\frac 1 t u = u^2[/tex]
Let [itex]w=u^{-1}[/itex], then [itex]w'=-u^{-2} u'[/itex]. 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 [itex]-u^{-2}[/itex], in doing so we will get w' on the left, which is very desirable.

[tex]-u^{-2}u' + \frac 1 t u^{-1} = -1[/tex]

Now we can make some nice substitutions:

[tex]w' + \frac 1 t w = -1[/tex]

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

Starting with
[tex]u' -\frac 1 t u = u^2[/tex]
Let [itex]w=u^{-1}[/itex], then [itex]w'=-u^{-2} u'[/itex]. 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 [itex]-u^{-2}[/itex], in doing so we will get w' on the left, which is very desirable.

[tex]-u^{-2}u' + \frac 1 t u^{-1} = -1[/tex]

Now we can make some nice substitutions:

[tex]w' + \frac 1 t w = -1[/tex]

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 [itex]u^{-1}=w[/itex].
 
  • #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.
 

FAQ: Mastering Variation of Parameters in Differential Equations

What is substitution in solving a differential equation?

Substitution is a method used in solving a differential equation where the original variables are replaced with new variables in order to simplify the equation.

When should I use substitution to solve a differential equation?

Substitution is typically used when the differential equation is non-linear or when the variables are not easily separable.

How do I know which substitution to use in a particular differential equation?

The substitution used will depend on the form of the differential equation. For example, if the equation is in the form of y' = f(x), then the substitution u = y' can be used.

Can substitution be used to solve all types of differential equations?

No, substitution may not always be applicable or efficient in solving all types of differential equations. It is important to consider other methods as well, such as separation of variables or using an integrating factor.

Are there any tips for successfully solving a differential equation via substitution?

It is important to choose a substitution that will simplify the equation and make it easier to solve. It may also be helpful to check the solution by substituting it back into the original equation to ensure it satisfies the initial conditions.

Back
Top