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

Discussion Overview

The discussion revolves around solving the second-order nonhomogeneous differential equation y'' - y' = e^x using various methods, including undetermined coefficients and differential operators. Participants explore different approaches to find the particular solution and clarify the implications of the auxiliary equation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant suggests using undetermined coefficients and proposes yp(x) = xAex for the particular solution due to the presence of e^x in the complementary solution.
  • Another participant agrees and states that the particular integral should be Axex since r=1 is a root of the auxiliary equation.
  • A different approach is introduced by a participant who notes that the equation can be transformed into a first-order ODE by setting v = y', leading to a new method of solving the equation.
  • Another participant presents a general formula for finding the particular solution when the inhomogeneous part is of the form e^(ax), detailing the use of the differential operator and characteristic polynomial.
  • A further elaboration on the same method is provided, emphasizing the need to adjust the particular solution if the roots of the characteristic polynomial coincide with the inhomogeneous term.
  • One participant expresses appreciation for the variety of methods discussed, highlighting the richness of approaches to the problem.

Areas of Agreement / Disagreement

Participants generally agree on the validity of multiple approaches to solving the differential equation, but no consensus is reached on a single method as the best or most appropriate. Various methods are presented without resolving which is superior.

Contextual Notes

Some methods rely on specific conditions related to the roots of the characteristic polynomial, which may not be universally applicable. The discussion includes assumptions about the forms of particular solutions and the nature of the inhomogeneous term.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in differential equations, particularly those exploring methods for solving second-order nonhomogeneous equations.

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:
[tex]y''+py'+qy=be^{\alpha x}[/tex]

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

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

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

[tex]p(D)y=be^{\alpha x}[/tex]

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

[tex]y_p=\frac{be^{\alpha x}}{p(\alpha)}[/tex]

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

[tex]y_p=\frac{bxe^{\alpha x}}{p'(\alpha)}[/tex]

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

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

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

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

[tex]p(D)y=e^x[/tex]

we try the particular solution:

[tex]y_p=\frac{be^{\alpha x}}{p(\alpha)}=\frac{e^x}{p(1)}[/tex]

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

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

[tex]p'(1)=2(1)-1=1[/tex] and we obtain for our y_p:

[tex]y_p=xe^x[/tex]

*** 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
945
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K