Finding the general solution of the given D.E.

Click For Summary

Discussion Overview

The discussion revolves around finding the general solution of the differential equation $y'' + 2y' + y = 2e^{-t}$. Participants explore methods for solving this equation, including the method of undetermined coefficients and integration techniques, while expressing confusion about the assumptions made in selecting particular solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses confusion about how to derive the particular solution $y = At^2e^{-t}$ and questions the reasoning behind this assumption.
  • Another participant suggests that the characteristic roots could be complex, indicating a different general solution, and proposes a method involving multiplying the equation by $e^{t}$ to simplify the problem.
  • Several participants agree on the validity of the method involving multiplying by $e^{t}$, noting that it leads to a straightforward solution.
  • One participant mentions that the book's method requires tedious steps to verify the solution, contrasting it with the more efficient method discussed.
  • There is a discussion about the method of undetermined coefficients, with one participant explaining that the choice of particular solution must not overlap with the homogeneous solution.
  • A question is raised about the flexibility in choosing the form of the particular solution, specifically whether a higher power like $At^3e^{-t}$ could also be valid.
  • Another participant encourages experimentation with different forms of the particular solution, suggesting that the choice of $s$ in $At^se^{-t}$ should be the smallest integer that avoids overlap with the homogeneous solution.

Areas of Agreement / Disagreement

Participants generally agree on the methods discussed for solving the differential equation, but there is no consensus on the best approach or the reasoning behind the choice of particular solutions. Confusion remains regarding the assumptions made in selecting these forms.

Contextual Notes

Participants note that the choice of particular solution is dependent on the characteristic roots and the need to avoid solutions that are part of the homogeneous equation. There is uncertainty about the implications of choosing a higher power for the particular solution.

Who May Find This Useful

This discussion may be useful for students and practitioners dealing with differential equations, particularly those interested in methods of solving linear ordinary differential equations and the nuances of selecting particular solutions.

shamieh
Messages
538
Reaction score
0
Find the general solution of the given differential equation.

$y'' + 2y' + y = 2e^{-t}$

I understand how to do everything in the problem- but I do not understand how we are obtaining $y = At^2e^{-t}$? Is this just some formula I should memorize or how exactly am I supposed to guess or figure out what $y$ is? I solved the characteristic equation and got $c_1e^{-t} + c_2te^{-t}$ (repeated root eqn)..The book then implies that since we know the characteristic eqn is $c_1e^{-t} + c_2te^{-t}$ then we must assume $y = At^2e^{-t}$.. How in the world are they assuming that? What is the formula that would drive them to knowing that? I'm really confused.
 
Last edited:
Physics news on Phys.org
Your characteristic roots would be complex, so the general solution would be different. Is it possible the given ODE is:

$$y''+2y'+y=2e^{-t}$$

If this is in fact the case, let's first look at multiplying through by $$e^{t}$$:

$$e^{t}y''+2e^{t}y'+e^{t}y=2$$

Notice now we can write:

$$\frac{d^2}{dt^2}\left(e^{t}y\right)=2$$

Integrating with respect to $t$, we obtain:

$$\frac{d}{dt}\left(e^{t}y\right)=2t+c_1$$

Integrating again with respect to $t$, we obtain:

$$e^{t}y=t^2+c_1t+c_2$$

Hence, the general solution is:

$$y(t)=t^2e^{-t}+c_1te^{-t}+c_2e^{-t}=e^{-t}\left(t^2+c_1t+c_2\right)$$
 
MarkFL said:
Your characteristic roots would be complex, so the general solution would be different. Is it possible the given ODE is:

$$y''+2y'+y=2e^{-t}$$

If this is in fact the case, let's first look at multiplying through by $$e^{t}$$:

$$e^{t}y''+2e^{t}y'+e^{t}y=2$$

Notice now we can write:

$$\frac{d^2}{dt^2}\left(e^{t}y\right)=2$$

Integrating with respect to $t$, we obtain:

$$\frac{d}{dt}\left(e^{t}y\right)=2t+c_1$$

Integrating again with respect to $t$, we obtain:

$$e^{t}y=t^2+c_1t+c_2$$

Hence, the general solution is:

$$y(t)=t^2e^{-t}+c_1te^{-t}+c_2e^{-t}=e^{-t}\left(t^2+c_1t+c_2\right)$$

You are correct Mark, forgot to type 2 in unfortunately. Reading your remarks currently to make sure I understand.
 
Wow, I see what you did. Your method definitely works.. I got the same answer, but for some reason the book wanted me to take derivatives after I found what $y$ was and then plug it back into my eqn and solve for $A$ which I got to be $1$. Long story short, multiply by $e^t$ (i.e. your method) is like 2 steps versus this god awful book which made me plug that mess back into the equation using tedious steps. Thank!
 
shamieh said:
Wow, I see what you did. Your method definitely works.. I got the same answer, but for some reason the book wanted me to take derivatives after I found what $y$ was and then plug it back into my eqn and solve for $A$ which I got to be $1$. Long story short, multiply by $e^t$ (i.e. your method) is like 2 steps versus this god awful book which made me plug that mess back into the equation using tedious steps. Thank!

Yes, your book likely wanted you to use the method of undetermined coefficients, just as I was taught as a student. The method I used above I have since learned from another user on the forums. :D

What your book wanted you to do is observe you have the characteristic root $r=-1$ of multiplicity 2, hence the homogeneous solution is:

$$y_h(t)=c_1e^{-t}+c_2te^{-t}$$

Then, we need a particular solution such that no term in the particular solution is a solution to the corresponding homogenous equation, thus we must assume a particular solution of the form:

$$y_p(t)=At^2e^{-t}$$

Hence:

$$y_p'(t)=A\left(2t-t^2\right)e^{-t}$$

$$y_p''(t)=A\left(t^2-4t+2\right)e^{-t}$$

Now, plugging the particular solution into the original ODE, we obtain:

$$A\left(t^2-4t+2\right)e^{-t}+2A\left(2t-t^2\right)e^{-t}+At^2e^{-t}=2e^{-t}$$

Multiply through by $e^{t}$ and arrange as:

$$2A=2\implies A=1$$

Thus

$$y_p(t)=t^2e^{-t}$$

And finally by the principle of superposition, we may write:

$$y(t)=y_h(t)+y_p(t)=c_1e^{-t}+c_2te^{-t}+t^2e^{-t}$$

This is equivalent to the solution obtained above. The method I used above is far less general than using undetermined coefficients, and just happened to work nicely for this problem. :D
 
Hey Mark when we are picking a particular solution that doesn't relate to the homogeneous does it mean I can essentially choose anything? For Example you Let $y_p = At^2e^{-t}$ But could I let $y_p = At^3e^{-t}$ and still get a correct solution?
 
shamieh said:
Hey Mark when we are picking a particular solution that doesn't relate to the homogeneous does it mean I can essentially choose anything? For Example you Let $y_p = At^2e^{-t}$ But could I let $y_p = At^3e^{-t}$ and still get a correct solution?

Try it and see what happens. :D

I was taught to assume a particular solution of the form (for this problem type)

$$y_p(t)=At^se^{-t}$$

where $s$ is the smallest non-negative integer such that $y_p$ has no terms that are a solution to the corresponding homogeneous equation. For this problem, we find $s=2$. To be perfectly honest, I don't recall what happens if we choose $s$ to be larger than necessary. But, explore it and see what you get...(Yes)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K