Skip to main content

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).

Given a function S(t;s) (variable t and parameter s) that satisfies

p(t)Sβ€³(t;s)+q(t)Sβ€²(t;s)+r(t)S(t;s)=0,S(s;s)=0,Sβ€²(s;s)=1,

a particular solution to p(t)yβ€³+q(t)yβ€²+r(t)y=g(t) is

Y(t)=∫t0tS(t;s)g(s)p(s) ds.

One thing to note here is that Y(t0)=Yβ€²(t0)=0.

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). 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:

p(t)Sβ€³(t;s)+q(t)Sβ€²(t;s)+r(t)S(t;s)=0,S(s;s)=0,Sβ€²(s;s)=1.

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

\begin{align*} S'(t;s) \amp = \frac{d}{dt} S(t;s). \end{align*}

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

Y(t)=∫t0tS(t;s)g(s)p(s) ds.

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.

Let's take {y1,y2} to be a set of fundamental solutions of the homogeneous ODE. Then, since S(t;s) is a solution of the homogeneous ODE,

S(t;s)=c1y1(t)+c2y2(t).

This was the info extracted from p(t)Sβ€³(t;s)+q(t)Sβ€²(t;s)+r(t)S(t;s)=0.

Looking now at the other conditions, S(s;s)=0 and Sβ€²(s;s)=1, notice that these two give us the following two equations.

c1y1(s)+c2y2(s)=0,c1y1β€²(s)+c2y2β€²(s)=1.

Here, y1(s) and y2(s) are both knowns and the only unknowns in the above are c1,c2. This is just begging us to write the system above with a matrix. Let's do that:

[y1(s)y2(s)y1β€²(s)y2β€²(s)][c1c2]=[01].

Solving this isn't too bad:

[c1c2]=[y1(s)y2(s)y1β€²(s)y2β€²(s)]βˆ’1[01]=1y1(s)y2β€²(s)βˆ’y1β€²(s)y2(s)[y2β€²(s)βˆ’y2(s)βˆ’y1β€²(s)y1(s)][01]=1y1(s)y2β€²(s)βˆ’y1β€²(s)y2(s)[βˆ’y2(s)y1(s)].

A lot of things look pretty familiar here. The fraction above has a denominator equal to y1(s)y2β€²(s)βˆ’y1β€²(s)y2(s), which is exactly the Wronskian W[y1,y2](s).

Another thing to note is that, from the solution of c1,c2 above, it's clear that both of these depend on s. So, let's write c1=c1(s) and c2=c2(s). This way, we now have

S(t;s)=c1(s)y1(t)+c2(s)y2(t),

where

c1(s)=βˆ’y2(s)W[y1,y2](s)andc2(s)=y1(s)W[y1,y2](s).

The familiarity of the above should become much more pronounced when we plug this into Y(t)=∫t0tS(t;s)g(s)/p(s) ds.

Y(t)=∫t0t[c1(s)y1(t)+c2(s)y2(t)]g(s)p(s) ds=∫t0ty1(s)y2(t)βˆ’y1(t)y2(s)W[y1,y2](s)β‹…g(s)p(s) ds.

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.