Solving Non-homogeneous ODE's: Method of Undetermined Coefficients Part 2steemCreated with Sketch.

in #undefined5 years ago (edited)

In the last post, we went through the process of finding the solution to a 2nd order nonhomogeneous differential equation with the non-zero term r(x) as a polynomial. In this post we'll work through an example with r(x) as an exponential function.

u56.png
Figure 1. The particular solution to equation (8) depicted by the green curve

Let's go straight to Example 2...

Example 2

Let's find the solution to equation (8)

u40.png

with initial conditions...

u41.png

Again, the first step is to find the solution to the homogeneous equation...

u42.png

The characteristic equation of (9) is...

u43.png

And its roots are...

u44.png

Having complex conjugate roots, by equation (11) of Post #3, the solution to the homogeneous equation (9) is...

u45.png

For a particular solution to the non-homogeneous equation, let's try a solution of the form...

u46.png

...thus...

u47.png

...and...

u48.png

Now substitute the above into equation (8) ...

u49.png

Therefore, the particular solution to the non-homogeneous equation is...

u50.png

Now by combining (adding) the two solutions, we have the general solution...

u51.png

Finally, we apply the initial conditions to equation (10) to find the particular solution to the differential equation (8)...

u52.png

The first derivative of the general solution is...

u53.png

...and substituting the second initial condition into the above yields...

u54.png

So therefore, the particular solution to equation (8) is...

u55.png

As you can see, the solution is composed of an under-damped oscillating part, and an exponential part. In Figure 2 below, we have a plot of the two separate components in maroon and blue respectively.

u57.png
Figure 2. Components of the particular solution

When these are added together as shown in Figure 1 above in green, we can see that when x < 0, the particular solution is dominated by the under-damped part, and when x > 0, the solution is dominated by the exponential part.

We will go through more examples of the method of undetermined coefficients in upcoming posts.


Credits:

All equations in this tutorial were created with QuickLatex


First Order Differential Equations

  1. Introduction to Differential Equations - Part 1
  2. Differential Equations: Order and Linearity
  3. First-Order Differential Equations with Separable Variables - Example 1
  4. Separable Differential Equations - Example 2
  5. Modelling Exponential Growth of Bacteria with dy/dx = ky
  6. Modelling the Decay of Nuclear Medicine with dy/dx = -ky
  7. Exponential Decay: The mathematics behind your Camping Torch with dy/dx = -ky
  8. Mixing Salt & Water with Separable Differential Equations
  9. How Newton's Law of Cooling cools your Champagne
  10. The Logistic Model for Population Growth
  11. Predicting World Population Growth with the Logistic Model - Part 1
  12. Predicting World Population Growth with the Logistic Model - Part 2
  13. What's faster? Going up or Coming Down?

First order Non-linear Differential Equations

  1. There's a hole in my bucket! Let's turn it into a cool Math problem!
  2. The Calculus of Hot Chocolate Pouring!
  3. Foxes hunting Bunnies: Population Modelling with the Predator-Prey Equations

Second Order Differential Equations

  1. Introduction to Second Order Differential Equations
  2. Finding a Basis for solutions of Second Order ODE's
  3. Roots of Homogeneous Second Order ODE's and the Nature their Solutions
  4. Modelling with Second Order ODE's: Undamped Free Oscillations
  5. Modelling Car Suspension with ODE's: Damped Free Oscillations Part 1
  6. Modelling Car Suspension with ODE's: Damped Free Oscillations Part 2
  7. Modelling Car Suspension with ODE's: Damped Free Oscillations Part 3
  8. Non-homogeneous Differential Equations
  9. Solving Non-homogeneous ODE's: Method of Undetermined Coefficients Part 1
  10. Solving Non-homogeneous ODE's: Method of Undetermined Coefficients Part 2

Please give me an Upvote and Resteem if you have found this tutorial helpful.

Feel free to ask me any math question by commenting below and I will try to help you in future posts.

Tip me some DogeCoin: A4f3URZSWDoJCkWhVttbR3RjGHRSuLpaP3

Tip me at PayPal: https://paypal.me/MasterWu

Sort:  




This post has been voted on by the SteemSTEM curation team and voting trail in collaboration with @curie.

If you appreciate the work we are doing then consider voting both projects for witness by selecting stem.witness and curie!

For additional information please join us on the SteemSTEM discord and to get to know the rest of the community!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 64111.27
ETH 3065.56
USDT 1.00
SBD 4.00