User Tools

Site Tools


math121a-f23:october_25_wednesday

Oct 25: Wednesday

Today we considered solving homogenous constant coefficient differential equation.

In general, the equation you meet looks like (d/dx)nf(x)+cn1(d/dx)n1f(x)++c1(d/dx)f(x)+c0f(x)=0. (d/dx)^n f(x) + c_{n-1} (d/dx)^{n-1} f(x) + \cdots + c_1 (d/dx) f(x) + c_0 f(x) = 0. If we call D=d/dxD = d/dx and factor out f(x)f(x) on the right, we can write the above equation as (Dn+cn1Dn1++c0)f(x)=0. (D^n + c_{n-1} D^{n-1} + \cdots + c_0 ) f(x) = 0. We sometimes use P(D)=Dn+cn1Dn1++c0P(D) = D^n + c_{n-1} D^{n-1} + \cdots + c_0, P(D)P(D) is a degree nn polynomial in DD.

the solution space

Let VV denote the set of solutions for the equation. Because the equation is homogeneous in ff (meaning, each term in the equation has one and only one factor of ff), the solution space is a vector space, meaning you can add two solutions together and still get a solution.

If P(D)P(D) is a degree nn operator, then the solution space is nn dimensional.

general solutions: P(x)P(x) has distinct roots

Here we try to find general solution for the equation P(D)f(x)=0P(D) f(x) = 0.

As long as you can find nn linearly independent solutions, call them f1(x),,fn(x)f_1(x), \cdots, f_n(x), then you win. Since they will form a basis of the solution space.

We factorize P(D)P(D) into linear factors P(D)=(Dλ1)(Dλn) P(D) = (D - \lambda_1) \cdots (D - \lambda_n) we can always do this by the 'fundamental theorem of algebra', which says any polynomials admits such factorization.

Suppose all λi\lambda_i are distinct, then the following is a list of nn linearly independent solutions eλ1x,,eλnx e^{\lambda_1 x}, \cdots, e^{\lambda_n x}

It is important to note that, DD does not 'commute' with xx D(xf(x))xDf(x). D (x f(x)) \neq x D f(x). but DD commute with itself, (Da)(Db)f(x)=(Db)(Da)f(x). (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. D^k f(x) = 0. then you know you can have a basis of solution like 1,x,,xk11, x, \cdots, x^{k-1}.

What about (Dλ)kf(x)=0? (D-\lambda)^k f(x) = 0 ?

We introduced a trick D(eaxf(x))=(aeaxf(x)+eaxDf(x))=eax(D+a)f(x). D (e^{ax} f(x)) = (a e^{ax} f(x) + e^{ax} D f(x)) = e^{ax} (D+a) f(x). hence (Da)(eaxf(x))=eaxDf(x). (D-a) (e^{ax} f(x)) = e^{ax} D f(x). or a variant eaxD(eaxf(x))=(D+a)f(x). e^{-ax} D (e^{ax} f(x)) = (D+a) f(x).

We can write f(x)=eλxg(x)f(x) = e^{\lambda x} g(x), then we have (Dλ)kf(x)=(Dλ)k[eλxg(x)]=(Dλ)k1[eλxDg(x)]=(Dλ)k2[eλxD2g(x)]=eλxDkg(x) (D-\lambda)^k f(x) = (D-\lambda)^k [e^{\lambda x} g(x)] = (D-\lambda)^{k-1} [e^{\lambda x} D g(x)] = (D-\lambda)^{k-2} [e^{\lambda x} D^2 g(x)] = e^{\lambda x} D^k g(x) now, we know the equation for g(x)g(x) is Dkg(x)=0D^k g(x) = 0, and we know the general solution for g(x)g(x) is g(x)=c0+c1x++ck1xk1. g(x) = c_0 + c_1 x + \cdots + c_{k-1} x^{k-1}. hence general solution for f(x)f(x) is f(x)=eλx(c0+c1x++ck1xk1) f(x) = e^{\lambda x} (c_0 + c_1 x + \cdots + c_{k-1} x^{k-1})

'formula'

In general, we can write P(D)=(Dλ1)m1(Dλr)mr P(D) = (D - \lambda_1)^{m_1} \cdots (D - \lambda_r)^{m_r} where λi\lambda_i are distinct, and the multiplicity m1,,mrm_1, \cdots, m_r add up to nn. Then we have the following general solutions f(x)=i=1rj=0mi1ci,jxjeλix. f(x) = \sum_{i=1}^r \sum_{j=0}^{m_i-1} c_{i,j} x^j e^{\lambda_i x}.

math121a-f23/october_25_wednesday.txt · Last modified: 2023/10/26 21:58 by pzhou