Generally, a non-homogeneous, 2nd order, linear, ordinary differential equation can be written in the form...
Equation (1) is deemed to be non-homogeneous because the term on the right-hand side of the equation is non-zero. That is...
When
On any given open interval, let the solution of (2), the homogeneous solution be
So, the general solution is the superposition of 2 solutions. How?
Well, to prove this, suppose we have 2 solutions of equation (1) and we name them
...and let's substitute this result into (2)...
Therefore, we can conclude that the difference of 2 solutions to the non-homogeneous equation is the solution to the homogeneous equation. That is...
And rearranging a little, we have...
Now suppose that
...and
As a final check, we substitute (3) into (1)...
Now, the general solution includes all solutions. From post #1, homogeneous solution is a combination of 2 linearly independent solutions...
Substituting this into (3), and the general solution is...
...where A and B are arbitrary constants of the homogeneous solution to be determined by the initial conditions.
So finally, the process in finding solutions to 2nd order, non-homogeneous ODE's is...
- Find the general solution of the homogeneous equation
- Find a particular solution to the non-homogeneous equation
Get it? I know, it sounds like a dog chasing its tail in that to find a solution to the non-homogeneous equation, we need to find a solution to the non-homogeneous equation.
But we'll make sense of this and go the steps to finding such solutions in the next post.
Credits:
All equations in this tutorial were created with QuickLatex
First Order Differential Equations
- Introduction to Differential Equations - Part 1
- Differential Equations: Order and Linearity
- First-Order Differential Equations with Separable Variables - Example 1
- Separable Differential Equations - Example 2
- Modelling Exponential Growth of Bacteria with dy/dx = ky
- Modelling the Decay of Nuclear Medicine with dy/dx = -ky
- Exponential Decay: The mathematics behind your Camping Torch with dy/dx = -ky
- Mixing Salt & Water with Separable Differential Equations
- How Newton's Law of Cooling cools your Champagne
- The Logistic Model for Population Growth
- Predicting World Population Growth with the Logistic Model - Part 1
- Predicting World Population Growth with the Logistic Model - Part 2
- What's faster? Going up or Coming Down?
First order Non-linear Differential Equations
- There's a hole in my bucket! Let's turn it into a cool Math problem!
- The Calculus of Hot Chocolate Pouring!
- Foxes hunting Bunnies: Population Modelling with the Predator-Prey Equations
Second Order Differential Equations
- Introduction to Second Order Differential Equations
- Finding a Basis for solutions of Second Order ODE's
- Roots of Homogeneous Second Order ODE's and the Nature their Solutions
- Modelling with Second Order ODE's: Undamped Free Oscillations
- Modelling Car Suspension with ODE's: Damped Free Oscillations Part 1
- Modelling Car Suspension with ODE's: Damped Free Oscillations Part 2
- Modelling Car Suspension with ODE's: Damped Free Oscillations Part 3
- Non-homogeneous Differential Equations
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