Find General Solution for Inhomogeneous 2nd ODE

  • Context: Graduate 
  • Thread starter Thread starter Tzabcan
  • Start date Start date
  • Tags Tags
    ode
Click For Summary

Discussion Overview

The discussion revolves around finding the general solution for an inhomogeneous second-order ordinary differential equation (ODE) of the form 3y" - 2y' - y = 14 + e^(2x) + 8x. Participants explore methods for obtaining particular solutions and the validity of combining solutions for different parts of the inhomogeneous term.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant questions whether it is valid to find particular solutions for the terms e^(2x) and 14 + 8x separately and then combine them.
  • Another participant confirms that it is permissible to combine particular solutions due to the linearity of the ODE.
  • A further elaboration suggests that if solutions y_{p1} and y_{p2} exist for f(x) and g(x), respectively, then their sum y_p = y_{p1} + y_{p2} will also be a solution for the combined function f(x) + g(x).
  • One participant proposes a trial solution of the form y = Ax + B + Ce^(2x) and suggests substituting this into the equation to solve for the constants A, B, and C.

Areas of Agreement / Disagreement

Participants generally agree on the approach of finding particular solutions separately and combining them, although the discussion includes varying levels of detail and exploration of the method's validity.

Contextual Notes

There is an implicit assumption that the ODE is linear, which allows for the superposition of solutions. The discussion does not address potential complications that could arise from non-linear terms.

Tzabcan
Messages
10
Reaction score
0
If i have

3y" - 2y' -y = 14 + e2x+8x

And i want to find the general solution.

Obviously first i obtain the characteristic eqn, yc, by making it into a homogeneous eqn. Then i can get yp

BUT

Am i able to get yp for the e2x and the 14 + 8x separately, then add them together for yp?Thanks
 
Physics news on Phys.org
Tzabcan said:
If i have

3y" - 2y' -y = 14 + e2x+8x

And i want to find the general solution.

Obviously first i obtain the characteristic eqn, yc, by making it into a homogeneous eqn. Then i can get yp

BUT

Am i able to get yp for the e2x and the 14 + 8x separately, then add them together for yp?

Yes, because the ODE is linear.
 
  • Like
Likes   Reactions: Tzabcan
I would like to expand a little on what pasmith said. Suppose that we have ## y'' - 2y' - y = f(x) + g(x) ## where ## f ## and ## g ## are some functions, and further that we have found solutions ## y_{p1} ## and ## y_{p2} ## such that

## y''_{p1} - 2y'_{p1} - y_{p1} = f(x) ## and

## y''_{p2} - 2y'_{p2} - y_{p2} = g(x) ##.

Then, if we define ## y_p = y_{p1} + y_{p2} ##, we will have

## y''_p - 2y'_p - y_p = (y_{p1}+y_{p2})'' - 2(y_{p1}+y_{p2})' - (y_{p1}+y_{p2}) = y''_{p1} + y''_{p2} - 2y'_{p1} - 2y'_{p2} - y_{p1} - y_{p2} = f(x) + g(x) ##.

If we had somewhere in the differential equation a term like, say, ## y^2 ##, the trick above would no longer work (I recommend trying it to see why).
 
An obvious "try" would be [itex]y= Ax+ B+ Ce^{2x}[/itex]. Put that into the equation and solve for A, B, and C.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K