Oct 25: Wednesday
Today we considered solving homogenous constant coefficient differential equation.
In general, the equation you meet looks like
(d/dx)nf(x)+cn−1(d/dx)n−1f(x)+⋯+c1(d/dx)f(x)+c0f(x)=0.
If we call D=d/dx and factor out f(x) on the right, we can write the above equation as
(Dn+cn−1Dn−1+⋯+c0)f(x)=0.
We sometimes use P(D)=Dn+cn−1Dn−1+⋯+c0, P(D) is a degree n polynomial in D.
the solution space
Let V denote the set of solutions for the equation. Because the equation is homogeneous in f (meaning, each term in the equation has one and only one factor of f), the solution space is a vector space, meaning you can add two solutions together and still get a solution.
If P(D) is a degree n operator, then the solution space is n dimensional.
general solutions: P(x) has distinct roots
Here we try to find general solution for the equation P(D)f(x)=0.
As long as you can find n linearly independent solutions, call them f1(x),⋯,fn(x), then you win. Since they will form a basis of the solution space.
We factorize P(D) into linear factors
P(D)=(D−λ1)⋯(D−λn)
we can always do this by the 'fundamental theorem of algebra', which says any polynomials admits such factorization.
Suppose all λi are distinct, then the following is a list of n linearly independent solutions
eλ1x,⋯,eλnx
It is important to note that, D does not 'commute' with x
D(xf(x))=xDf(x).
but D commute with itself,
(D−a)(D−b)f(x)=(D−b)(D−a)f(x).
case with repeated roots
What if we had repeated roots?
See Monday's example.
If you face an equation like this
Dkf(x)=0.
then you know you can have a basis of solution like 1,x,⋯,xk−1.
What about
(D−λ)kf(x)=0?
We introduced a trick
D(eaxf(x))=(aeaxf(x)+eaxDf(x))=eax(D+a)f(x).
hence
(D−a)(eaxf(x))=eaxDf(x).
or a variant
e−axD(eaxf(x))=(D+a)f(x).
We can write f(x)=eλxg(x), then we have
(D−λ)kf(x)=(D−λ)k[eλxg(x)]=(D−λ)k−1[eλxDg(x)]=(D−λ)k−2[eλxD2g(x)]=eλxDkg(x)
now, we know the equation for g(x) is Dkg(x)=0, and we know the general solution for g(x) is
g(x)=c0+c1x+⋯+ck−1xk−1.
hence general solution for f(x) is
f(x)=eλx(c0+c1x+⋯+ck−1xk−1)
In general, we can write
P(D)=(D−λ1)m1⋯(D−λr)mr
where λi are distinct, and the multiplicity m1,⋯,mr add up to n.
Then we have the following general solutions
f(x)=i=1∑rj=0∑mi−1ci,jxjeλix.