MHB Second order inhomogeneous differential equation

Click For Summary
The discussion centers on solving the second-order inhomogeneous differential equation y'' + y' = x². The user initially finds the homogeneous solution to be y_H = c₁ + c₂e^(-x) but struggles with the particular solution, mistakenly applying reduction of order instead of the method of undetermined coefficients. The correct approach involves assuming a particular solution of the form y_p(x) = x(Ax² + Bx + C) to avoid overlap with the homogeneous solution. An alternative method suggested is substituting v = y' to convert the equation into a linear first-order ODE. The conversation emphasizes the importance of selecting the right method for finding particular solutions in differential equations.
Vishak95
Messages
19
Reaction score
0
Hi MHB. I'm having yet another doubt regarding differential equations. Can someone please help me out? Thanks.

Consider the following differential equation:

$${y}''+{y}'= x^{2}$$

I have found the homogeneous solution to be:

$$y_{H}=c_{1} + c_{2}e^{-x}$$

But when finding the particular solution, using reduction of order, I end up getting:

$$y_{P}=\frac{x^{3}}{3} + \frac{cx^{2}}{2} + dx + e$$

By substituting the results for $${y}''$$ and $${y}'$$ back into the original equation, I am able to obtain $$c = -2$$ and $$d = 2$$. But what do I do about $$e$$?
 
Physics news on Phys.org
Vishak said:
Hi MHB. I'm having yet another doubt regarding differential equations. Can someone please help me out? Thanks.

Consider the following differential equation:

$${y}''+{y}'= x^{2}$$

I have found the homogeneous solution to be:

$$y_{H}=c_{1} + c_{2}e^{-x}$$

But when finding the particular solution, using reduction of order, I end up getting:

$$y_{P}=\frac{x^{3}}{3} + \frac{cx^{2}}{2} + dx + e$$

By substituting the results for $${y}''$$ and $${y}'$$ back into the original equation, I am able to obtain $$c = -2$$ and $$d = 2$$. But what do I do about $$e$$?

You are actually using the method of undetermined coefficients, not reduction of order, to find the particular solution. Because the right had side is quadratic, you want to assume the following form for your particular solution:

$$y_p(x)=Ax^2+Bx+C$$

But...since you already have a constant in your homogeneous solution, you need to multiply by a natural number power of $x$ so that no term in your particular solution is a solution to the homogeneous equation, hence you want:

$$y_p(x)=x\left(Ax^2+Bx+C \right)=Ax^3+Bx^2+Cx$$

As an alternate approach to solving this ODE, you could consider the substitution:

$$v=y'$$

and you would obtain a linear first order ODE in $v$.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
939
  • · Replies 1 ·
Replies
1
Views
333
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K