Find General Solution for Inhomogeneous 2nd ODE

  • Thread starter Thread starter Tzabcan
  • Start date Start date
  • Tags Tags
    ode
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 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 y= Ax+ B+ Ce^{2x}. Put that into the equation and solve for A, B, and C.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top