Solve DE: y' + 2ty = 5t Homework

  • Thread starter luitzen
  • Start date
In summary, the conversation involves solving a differential equation and finding the particular solution. The equation can be rewritten as y' = t(5-2y) which is separable. If the equation is not separable, other methods such as multiplying by an integrating factor can be used. In this case, the integral e^t^2 is not necessary as it can be simplified to (ye^t^2)' = 5te^t^2. The conversation also touches on the use of integration by parts and finding the particular solution using u-substitution.
  • #1
luitzen
49
0

Homework Statement


Solve DE:y' + 2ty = 5t

The Attempt at a Solution


For yh: y' + 2ty = 0
y' = -2ty
Thus int(y-1,y) = int(-2t,t)
ln(y) = -t2 + C1
y = e-t2 + C1 = eC1e-t2 = Ce-t2

To find yp there are two ways to do it. With an integrating factor exp(-A(t)) where A'(t) = 2t or by saying yp = v(t)yh(t). Both ways will result in int(e-t2,t) which is unsolvable.

So I checked up the answer which read 5/2 + Cet2, so yp(t)=5/2. So I checked it by entering 5/2 in the DE and of course it was right.

Now my question is, how would you arrive at that answer? When would you make the assumption yp' = 0 and check if it is right? Isn't that too trivial? And when you would find an answer for yp' = 0, would you stop searching for another answer?
 
Last edited:
Physics news on Phys.org
  • #2
Hi luitzen! :smile:

Can't you just argue that

[tex]y^\prime+2ty=5t[/tex]

is equivalent with

[tex]y^\prime=t(5-2y)[/tex]

and thus

[tex]\frac{y^\prime}{5-2y}=t[/tex]
 
  • #3
Yes, of course. The question was: Check if the following equations are separable equations and if yes, give the solution.

So, if you have a separable equation, you don't need to find yh and yp, am I right?

If that's not the case, you try to find yh and after that yp, right?

Thank you very much:)
 
  • #4
luitzen said:
Yes, of course. The question was: Check if the following equations are separable equations and if yes, give the solution.

So, if you have a separable equation, you don't need to find yh and yp, am I right?

Right! Seperable equations are easy!

If that's not the case, you try to find yh and after that yp, right?

Indeed, if the equation is not seperable, then you'll need to do other tricks. For example, working with yh and yp...
 
  • #5
In my opinion, the best way to have worked that problem is to observe that it is a linear first order so you can multiply by [itex]e^{t^2}[/itex] making an exact derivative.
 
  • #6
How would you integrate et2?
 
  • #7
You shouldn't have to. How are you coming up with that integral?
 
  • #8
luitzen said:
How would you integrate et2?

You wouldn't:
[tex]e^{t^2}y'+2te^{t^2}y=5te^{t^2}[/tex]
[tex](ye^{t^2})' =5te^{t^2}[/tex]
 
  • #9
Ok this is what I did:
[itex]2ty-5t+y'=0[/itex]

[itex]e^{t^{2}}\left(2ty-5t\right)+e^{t^{2}}y'=0[/itex]

[itex]\dfrac{\partial F\left(y,t\right)}{\partial t}=e^{t^{2}}\left(2ty-5t\right)[/itex]

[itex]\dfrac{\partial F\left(y,t\right)}{\partial y}=e^{t^{2}}[/itex]
 
  • #10
LCKurtz said:
You wouldn't:
[tex]e^{t^2}y'+2te^{t^2}y=5te^{t^2}[/tex]
[tex](ye^{t^2})' =5te^{t^2}[/tex]
If I follow that route, I'll get this:

[itex]\left(ye^{t^{2}}\right)'=5te^{t^{2}}[/itex]

[itex]ye^{t^{2}}=\int5te^{t^{2}}dt[/itex]

[itex]\int5te^{t^{2}}dt=5t\int e^{t^{2}}dt-5\int\int e^{t^{2}}dtdt[/itex]

[itex]y=5e^{t^{-2}}\left(t\int e^{t^{2}}dt-\int\int e^{t^{2}}dtdt\right)[/itex]
 
  • #11
No, no, no!

Let [itex]u= t^2[/itex]. Then du= 2t dt, tdt= du/2.
 
  • #12
lol, I think I use integration by parts too quickly.

It's not too hard, but I still don't get it why it's easier though.
 

FAQ: Solve DE: y' + 2ty = 5t Homework

What is a differential equation (DE)?

A differential equation is a mathematical equation that relates a function to its derivatives. It describes how a quantity changes over time or space, and is used to model many physical and natural phenomena.

What is the general solution to a differential equation?

The general solution to a differential equation is the most general form of the equation that satisfies all possible initial conditions. It contains one or more arbitrary constants and can be used to find specific solutions for different sets of initial conditions.

How do I solve a first-order linear differential equation?

To solve a first-order linear differential equation, you can use the method of integrating factors. This involves multiplying both sides of the equation by a suitable integrating factor, which can then be used to simplify the equation and solve for the unknown function.

What is the importance of solving differential equations in science?

Differential equations are used in many scientific fields to model and predict the behavior of systems, such as in physics, biology, economics, and engineering. Solving these equations allows us to understand and make predictions about the natural world and to develop new technologies.

What are some real-life applications of differential equations?

Some common applications of differential equations include modeling population growth, predicting the spread of diseases, analyzing chemical reactions, and understanding the behavior of electrical circuits. They are also used in fields such as fluid mechanics, celestial mechanics, and signal processing.

Similar threads

Replies
3
Views
1K
Replies
3
Views
2K
Replies
9
Views
2K
Replies
6
Views
6K
Replies
3
Views
950
Replies
4
Views
6K
Back
Top