Linear second order non-homogeneous ODE question

Click For Summary

Homework Help Overview

The discussion revolves around solving a linear second-order non-homogeneous ordinary differential equation (ODE) of the form y'' + 2y' = 1 + xe^(-2x). Participants are exploring methods to find the general solution, which includes both the homogeneous and particular solutions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the method of undetermined coefficients for finding the particular solution and question its applicability. There are attempts to derive the particular solution, with some suggesting the form should include an e^(-2x) term. Others introduce the method of variation of parameters and propose a transformation to a first-order equation.

Discussion Status

There is an ongoing exploration of different methods to solve the ODE, with some participants providing alternative approaches and questioning the assumptions made regarding the particular solution. Guidance has been offered regarding the method of variation of parameters, and some participants express a desire for further clarification on the first-order transformation.

Contextual Notes

Participants note potential issues with the choice of terms in the particular solution due to linear dependence on the homogeneous solution. There is also mention of the need to clarify notation used in the context of the homogeneous solution.

Malby
Messages
15
Reaction score
0
Determine the general solution to the ODE:

y'' + 2y' = 1 + xe-2x

I know the solution will be of the form y = yh + yp. The homogeneous solution is y = c1 + c2e-2x.

For the particular solution, I have been using the method of undetermined coefficients. c3e-2x won't work as it is not linearly independent of the homogeneous solution. So I guess c3xe-2x.

So y' = c3e-2x(c3 - 2c3x)

And y'' = 4c3e-2x(x - 1)

Following on from this I end up with a particular solution:

yp = ((1 + xe-2x)/(-2e-2x))xe-2x

However wolfram disagrees with me. My question is, is the method of undetermined coefficients ok to use for this ODE? Or should I be using the method with the Wronskian (it's name escapes me at the moment)

Cheers
 
Physics news on Phys.org
If you put y(x) = C1(x) + C2(x)*exp(-2x) in the DE, you eventually arrive at a first-order DE in v = dC1/dx + exp(-2x)*dC2/dx.

RGV
 
Ray Vickson said:
If you put y(x) = C1(x) + C2(x)*exp(-2x) in the DE, you eventually arrive at a first-order DE in v = dC1/dx + exp(-2x)*dC2/dx.

RGV

I'm not sure I understand this. Are you able to explain it a little more?

Cheers
 
I'd have to dig out my book or notes to make sure, but I think your particular solution will also need an e-2x term, so it should be of the form Ae-2x + Bxe-2x. I wouldn't use c's for yh since they're already being used as the constants of integration for yh.
 
For the method of variation of the parameters, read http://en.wikipedia.org/wiki/Variation_of_parameters.

This problem can be solved for y' as the y term is missing. Denote z=y' and solve the first-order equation z'+2z=1+xe-2x, then integrate z=y' to get y.

ehild
 
ehild said:
For the method of variation of the parameters, read http://en.wikipedia.org/wiki/Variation_of_parameters.

This problem can be solved for y' as the y term is missing. Denote z=y' and solve the first-order equation z'+2z=1+xe-2x, then integrate z=y' to get y.

ehild

Aha! Of course. It's all so simple once you know what to do... :smile:

Thanks very much!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K