Indeterminate Coefficients
Indeterminate Coefficients
Considerthegeneralnon-homogeneouslinearequationofn-thorderwithcoefficients
constants.
(2) y =
c y + yp
where andc,thecomplementaryfunctionisthegeneralsolutionoftheassociatedhomogeneousequation
(1)
yy,pitisasimpleparticularsolutionof(1)
The method of undetermined coefficients is a direct way to find andpwhen f(x) at (1) is
simple enough for us to make a well-founded assumption about the shape
generalofandpThe method of undetermined coefficients applies whenever the external function,
f(x)isalinearcombinationof(finite)productsoffunctionsofthetypesa)apolynomialin
x, b) an exponential function, exp(rx), or c) cos(kx), sin(kx), and also ypdoes not satisfy (3) —
as in the case of example 4—.
Substitutingintothedifferentialequation:
yp= ¾x - 1/16⌫
Example2.-Findaparticularsolutionofy''-4y=2e3x
Solution.- Given that f(x)= 2e3xitisreasonabletoassumeandp= Ae3x, where are you from?p= 3Ae3x,yp=
9Ae3x;
Substitutingintothedifferentialequation:
Substitutingintothedifferentialequation:
Substitutingintothedifferentialequation:
yp= ½e2x ⌫
Example5.-Findaparticularsolutionofy''+4y=3x3
Substitutingintothedifferentialequation
Example6.-Solvetheinitialvalueproblem
Solution.-Wewillfirstsolvethecomplementaryfunction,thatis,theproblem
homogeneous.
y'' - 3y' + 2y = 0
m2- 3m + 2 = 0
(m-1)(m-2) = 0
m1=1, m2=2
yc = C1ex+ C2e2x
to be determined the values C1andC2solving now the forced problem, given that f(x)=3e-x
-10cos3x, we will assume (by linearity)
substitutinginthedifferentialequation:
Thegeneralsolutionofthedifferentialequationisgivenbyy=y+yp c
deriving
substitutingtheinitialconditionsinthetwopreviousexpressions
1
1 = C1+ C2+ 27/26
y'(0) = 2
2 = C1+ 2C2+ 41/26
Not all equations with variable coefficients can be solved analytically; for certain
forsufficientlysimpletypesofdifferentialequationsitispossibletoobtaintheirsolution;inthecase
Of second-order equations with one known solution, it is possible to acquire a second solution.
linearlyindependentthroughthemethodoforderreduction.
Themethodallows,givenasolutionofalinearordinarydifferentialequation
homogeneousofthe2ndorder,[Link]
canonicalform:
andasolution
y1(x)
y2(x)=u(x)y1(x)
Deriving:
y2='uy'1+yu’
1
y2=uy+2y11u+y1u”
Substitutingintothedifferentialequation
uy+
1 2y1u+y1[u]+p(x)[uy1'+yu'
1 ]+q(x)[u(x)y1(x)]=0
Reorganizing terms
u(x)[y1+p(x)y1' + q(x)y1]+u"y+
1 2u’y1' + p(x)u'y1= 0
fall
u" y +1 2u'y1’+ p(x)u’y1= 0
whatislinearinw,incanonicalform
applyingittotheequationinw:
Itispossibletoidentifytheleftsideasd[wr]:
d[w r] = 0
integrating
wr=C
wy12expòp(x)dx = C
solving for w
w = (C/y12) exp[-òp(x)dx] = u’
Integratingagain
u = Cò{exp[-òp(x)dx]/y12}dx + K
u = ò{exp[-òp(x)dx]}/y12
andfinaly
y2=u(x)y1
is given by
2
y2=yò{exp[-òp(x)dx]/y
1 1 }dx
It can be demonstrated that the Wronskian, W(y1an,d2)¹0 and therefore and1y and y are linearly
2
independentsothegeneralsolutionofthedifferentialequationy''+p(x)y'+q(x)y=0
it would be
Example.-Considerthelinearhomogeneousordinarydifferentialequationwithvariablecoefficients:
x2y" - 5xy' + 9y = 0
Noting that the degree of the coefficients corresponds with the order of the derivative (form
equidimensional or Euler-Cauchy), it is possible that its solution is of the form
y1= x r
Deriving
r-1
y'1= rx
r-2
y1= r(r-1)x
SubstitutingintotheDifferentialEquation
r(r-1)x r - 5rx r+ 9x r= 0
As x¹0"rÎr Â
r(r-1) - 5r + 9 = 0
r2- 6r + 9 = 0
(r-3)2= 0
y1=x3
3 6
y2=xò{exp[-ò(5/x)dx]/x }dx = x3òdx/x = x3lnx
Thegeneralsolutionis:
TheequidimensionalorgeneralformoftheEuler-Cauchydifferentialequationofordernis
i (i)
S iaixy = 0 for i = 0, 1, .., n
r
It is possible to prove that the substitution y = x only produces terms of the same degree (degree r).
r
Consider y = x and its successive derivatives, if they exist:
y = xr
y' = rx r-1
y" = r(r-1)x r-2
y(3) = r(r-1)(r-2)x r-3
:
y(n-1)= r(r-1)(r-2)...(r-n+2)x r-n+1
y(n) = r(r-1)(r-2)...(r-n+1)x r-n
SubstitutingintothedifferentialequationofE/C:
anxn[r(r-1)(r-2)...(r-n+1)x r-n
] + a n-1
n-1x r(r-1)(r-2)...(r-n+2)x
r-n+1
]+
2 r-2 r-1 r
... + a2x [r(r-1)x ] + a1x[rx] + a0x = 0
r
xnxr-n =xn-1xr-n+1 = ... = x2xr-2 =xxr-1 Invalid input
falls f(r) = 0
a2x2y+a1xy' + a0y = 0
Writingincanonicalform
x2y”+Poxy' + Qoy = 0
r
Assumingthatthesubstitutiony=xanditsderivatives satisfytheequation,substituting
y = xr
r-1
y' = rx
r-2
y'' = r(r-1)x
fall
r
dividing by x¹0"rÎ Â
o
f(r) = r2+ (Po - 1)r + Qo= 0
with roots
r1,2= ½(-(Po-1)±[(Po-1)2-4Qo] ½)
Therearethreecasesdependingonwhetherthevalueofthediscriminantargumentisgreaterthan,equalto,orlessthan.
zero.
ï
If (Po-1) -4Qoi = 0, Repeated real roots and = c1x r+ c2x rl n x
2
ï
Complex conjugate roots
y = c1xacos(blnx) + c2xasen(blnx)
Case I (distinct roots) is obtained directly from the substitution we started with. Let's see.
in more detail cases II and III.
r
Ifthevalue(Po-1)2-4Qo= 0®r1= r2= r = -½(P0-1)®y1=c1x
We will use 'order reduction' to calculate a 2nd solution from this. First, let's remember
that the formula of the order reduction method
2
y2=yò[exp(-òp(x)dx)/y
1 1 ]dx
we derive it from the normalized form y” + p(x)y’+ q(x)y = 0; before applying it we must
identify p(x); based on the canonical form we have been working with
x2y”+Poxy' + Qoy = 0
whichisnormalizedto
r 2r r 2r 2r r -Po
y2=xòexp(-òPo/xdx)/x dx = xòexp(-Poln(x)/x dx = x^o x / x dx
r -Po2[-½(Po-1)] r
y2=xòx /x dx = xòx-Po+Po-1 dx = xòdx/x =r xlnx r
[Link]
a
y = ealnx[C1cos(blnx)+C2sen(blnx)] = x [C1cos(blnx)+C2sen(blnx)]
2
Example 1.- Find the general solution of 2x y'' + xy' - 15y = 0
2r(r-1) + r - 15 = 0
2r2- r - 15 = 0
(2r + 5)(r - 3) = 0
r1-5/2, r2= 3
r(r-1) + 7r + 13 = 0
r^2 + 6r + 13 = 0
r=-3±2i
3
y(x) = [C1cos(2lnx) + C2sen(2lnx)]/x⌫
r(r-1)(r-2) + 6r(r-1) + 7r + 1 = 0
r3+ 3r2+ 3r + 1 = 0
(r+1)3= 0
Arootofmultiplicity3requiresasecond-degreepolynomial.