Section 2.1 Duhamel's Principle
Straight to the point....
Duhamel's Principle gives us a particular solution \(Y(t)\) to a nonhomogeneous ODE \(p(t) y'' + q(t) y' + r(t) y = g(t)\text{.}\)
Given a function \(S(t;s)\) (variable \(t\) and parameter \(s\)) that satisfies
a particular solution to \(p(t) y'' + q(t) y' + r(t) y = g(t)\) is
One thing to note here is that \(Y(t_0) = Y'(t_0) = 0\text{.}\)
Duhamel's Principle also gives us a particular solution to a nonhomogeneous ODE of the form \(p(t) y'' + q(t) y' + r(t) y = g(t)\text{.}\) However, it's often a lot easier to obtain this particular solution through Duhamel's principle than it is to obtain it using Variation of Parameters.
Formally, say that we have a function \(S(t ; s)\) (variable \(t\) and parameter \(s\)) that solves the following system:
Question 2.1.1. What does \(S(t;s)\) or \(S'(t;s)\) mean?
The notation \(S(t ; s)\) means that we treat \(S\) not as a two-variable function, but as a one-variable function in \(t\) with a parameter \(s\text{.}\)
Following this, we use \(S'(t;s)\) as shorthand for
For example, we might set \(S(t ; s) = t^s\text{,}\) for some constant \(s\text{.}\) Then, \(S'(t;s) = st^{s-1}\) and \(S''(t;s) = s(s-1)t^{s-2}\text{.}\)
Then, the particular solution of \(p(t)y'' + q(t)y' + r(t)y = g(t)\) that Duhamel's principle gives us is
This is all a lot to absorb. The first thing to notice is that \(S(t;s)\) is a solution of the homogeneous system \(p(t) y'' + q(t)y' + r(t)y = 0\text{.}\)
Let's take \(\{y_1,y_2\}\) to be a set of fundamental solutions of the homogeneous ODE. Then, since \(S(t;s)\) is a solution of the homogeneous ODE,
This was the info extracted from \(p(t) S''(t ; s) + q(t) S'(t; s) + r(t) S(t ; s) = 0\text{.}\)
Looking now at the other conditions, \(S(s;s) = 0\) and \(S'(s;s) = 1\text{,}\) notice that these two give us the following two equations.
Here, \(y_1(s)\) and \(y_2(s)\) are both knowns and the only unknowns in the above are \(c_1,c_2\text{.}\) This is just begging us to write the system above with a matrix. Let's do that:
Solving this isn't too bad:
A lot of things look pretty familiar here. The fraction above has a denominator equal to \(y_1(s)y_2'(s) - y_1'(s)y_2(s)\text{,}\) which is exactly the Wronskian \(W[y_1,y_2](s)\text{.}\)
Another thing to note is that, from the solution of \(c_1,c_2\) above, it's clear that both of these depend on \(s\text{.}\) So, let's write \(c_1 = c_1(s)\) and \(c_2 = c_2(s)\text{.}\) This way, we now have
where
The familiarity of the above should become much more pronounced when we plug this into \(Y(t) = \int_{t_0}^t S(t;s) g(s)/p(s) \ ds\text{.}\)
Hey! This is Variation of Parameters exactly. So, Duhamel's principle is like a “re-skin” of Variation of Parameters. However, as we'll soon see with some examples, it can be a lot easier to work with than variation of parameters.