Non homogeneous
-
What does this mean
-
when the right hand side (the equal sign) is not equal to zero
- y′′+p(t)y′+q(t)y=g(t)
-
how do we solve
-
We just solve it like a homogeneous equation and we just ignore the right hand side, then we add a Yp(t) (particular solution)
-
this is called the “method of undetermined coefficients” (MoUC) for example y′′+y′−2y=e3t
-
Step 1: find the general solution of
- y′′+y′+2y=0
-
This is called the complementary solution
-
Step 2: find the particular solution Yp by “guessing”, this is the right hand side in this case it is e3t so we would
- guess Yp(t)=Ae3t,Yp′(t)=3Ae3t,Yp′′(t)=9Ae3t, plugging this into the ode
- 9Ae3t+3Ae3t−2Ae3t=e3t⟹A=101
-
Step 3 combine the solutions like y(t)=Yc(t)+Yp(t)
- y(t)=(c1e−2t+c2e2)+101e3t
-
General RHS Yp guys for A,B
-
Polynomial:
-
Yp(t)=ts(Antn)+An−1tn−1…A0t0
- S is the number of 3.4 Repeated Roots in the r function solution that specificly includes r=0, SO ITS HOW MANY TIMES r=0 SHOWS UP
-
Polynomial times exponential eαt(antn…)
- Yp(t)=tseαt(Antn…)
- S is the number of the root r=α that shows up
-
Polynomial times exponential times sin/cos eαtcosβt(antn…)
- Yp(t)=tseαtcosβt(Antn…)+tseαtsinβt(Bntn…)
- s is the number of r=α+iβ shows up!