Y'' - y' = e^x [2nd order nonhomogenous diff Eq]

  • Context: Graduate 
  • Thread starter Thread starter JeffNYC
  • Start date Start date
  • Tags Tags
    Diff eq E^x
Click For Summary
SUMMARY

The discussion focuses on solving the second-order nonhomogeneous differential equation y'' - y' = e^x using the method of undetermined coefficients. The auxiliary equation r² - r = 0 yields two real roots, R1 = 0 and R2 = 1, leading to the complementary solution yc(x) = C1 + C2e^x. The particular solution yp(x) is determined to be yp(x) = xe^x due to the presence of e^x in the complementary solution. Alternative methods for finding particular solutions are also discussed, including the use of the differential operator D and the characteristic polynomial.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of differential operators and characteristic polynomials
  • Basic integration techniques
NEXT STEPS
  • Study the method of undetermined coefficients in greater depth
  • Learn about differential operators and their applications in solving differential equations
  • Explore the use of characteristic polynomials in higher-order differential equations
  • Investigate alternative methods for solving nonhomogeneous differential equations, such as variation of parameters
USEFUL FOR

Mathematics students, educators, and professionals working in fields that require solving differential equations, particularly those focusing on engineering or physics applications.

JeffNYC
Messages
26
Reaction score
0
I have an equation I need to solve by using undetermined coefficients:

y'' - y' = ex

The auxiliary equation is:

r2- r = 0 , so 2 real roots (R1=0, R2 = 1)

So, yc(x) = C1 + C2ex

Now for the particular solution:

I can try Aex but this is already present in the complementary solution. Do I use:

yp(x) = xAex

Is this the right move at this point in the problem?
 
Physics news on Phys.org
Yes, since r=1 is a root of the auxiliary equation, your PI should be Axex
 
You could also note that you have a first order ODE in disguise: set v = y' and you have

v' - v = e^x

If you multiply by e^(-x) you get

e^(-x)v' - e^(-x)v = (e^(-x)v)' = 1

Which means e^(-x)v = x + C => y' = xe^(x) + Ce^(x); integrate once more to get y.
 
Hi there!

there's also another way of finding the particular solution, but it works, iff the inhomogeneous part is of the form e^(ax) where a is any complex number (i.e. it can be also real or pure imaginary)

so, here's the general formula:
y''+py'+qy=be^{\alpha x}

using the differential operator D=\frac{d}{dx}, we obtain:

(D^2+pD+q)y=be^{\alpha x}

considering D^2+pD+q as the characteristic polynomial and rewriting it as p(D):

p(D)y=be^{\alpha x}

so far so good: Now every particular solution has the following form:

y_p=\frac{be^{\alpha x}}{p(\alpha)}

! IF it turns out that p(\alpha)=0, we take:

y_p=\frac{bxe^{\alpha x}}{p'(\alpha)}

! NOW, if also p'(\alpha)=0, we take:

y_p=\frac{bx^2e^{\alpha x}}{p''(\alpha)}
 
In this example:

y''-y'=e^x
using the differential operator D=\frac{d}{dx}, we obtain:
(D^2-D)y=e^x

Now, consider D^2-D as the characteristic polynomial and write p(D) instead:

p(D)y=e^x

we try the particular solution:

y_p=\frac{be^{\alpha x}}{p(\alpha)}=\frac{e^x}{p(1)}

but 1 is a root of the char. polynomial(i.e. p(1)=0), so we take:

y_p=\frac{bxe^{\alpha x}}{p'(\alpha)}=\frac{xe^x}{p'(1)}

p'(1)=2(1)-1=1 and we obtain for our y_p:

y_p=xe^x

*** Note that trig functions sinx and cosx could be represented as imaginary or real part of the complex exponential - then this formula would also provide us with the correct y_p :)

Marin
 
Great answers all - I didn't realize there were several ways to attack this type of problem.

Jeff
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
549
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K