Solving 2nd Order DEs w/ Undermined Coefficients & e^x, cosx, sinx

  • Thread starter Thread starter jaydnul
  • Start date Start date
  • Tags Tags
    Couple
jaydnul
Messages
558
Reaction score
15
1. For a non-homogeneous, linear, 2nd order DE, using the method of undermined coefficients, what do you use for the particular solution for e^x and cosx or sinx. For example, if it is x^2, you use Ax^2+Bx+C.

2.For y''-2y'+2y=0 i put y(x)=c_1e^{(1+i)x}+c_2e^{(1-i)x} but got it wrong. The right answer was written as y(x)=e^{ix}(c_1cosx+c_2sinx). I always assumed that an answer using e^x was right. How do I know when to use e^x and when to use sinx or cosx?

Thanks a bunch!
 
Physics news on Phys.org
1.
You use the solution that fits with the rest of the DE.

How do you know in advance? By experience. Painful experience. Builds character.
That's why you are given these exercises - to gain the experience.

Have you seen:
http://tutorial.math.lamar.edu/Classes/DE/NonhomogeneousDE.aspx

i.e. if the inhomogeniety is e^x, then try Ae^x as a particular solution.

2.
For y''-2y'+2y = 0, you guess ##y=e^{\lambda x}## - which ends up with your solution right?
- expand the "right" answer in terms of powers of e and see if it matches yours.
 
Last edited:
Thanks Simon. I'm still a little confused. What do you mean by expanding it in terms of powers of e?
 
You can express sine and cosine as a sum of complex exponentials.
Look up Euler's formula.

general solutions of the form ##y=Ae^{\lambda_1x}+Be^{\lambda_2 x}##
and of form ##y=e^{ax}C\sin(x)+D\cos(x)## should be equivalent in this case.
 
Oh ok i see. Thanks
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top