Non Homogeneous Recurrence Relation In Discrete Mathematics Pdf
3n , n
0. Solution Let f(n)=un+vn , with un being the general solution of the homogeneous problem and vn a particular solution.
- (a)
- Find un : The associated characteristic equation
2 -6
+ 9 =0 has a repeated root
=3 with multiplicity 2. Hence the general solution of the homogeneous problem
un+2-6un+1+9un=0 , n
is un = (A+Bn)3n .
0 - (b)
- Find vn : Since the r.h.s. of the recurrence relation, the nonhomogeneous part, is 5
3n and 3 is a root of multiplicity 2 of the characteristic equation (i.e.
=3, k=0, M=2), we try due to (***) vn =B0
n
nM
Cn23n : we just need to observe that C3n is of the form 5
3n and that the extra factor n2 is due to
=3 being a double root of the characteristic equation. Thus
Hence C=5/18 and vn =(5/18)n23n . Therefore our general solution reads5
3n = vn+2-6vn+1+9vn = C(n+2)23n+2-6C(n+1)23n+1+9Cn23n = 18C3n .
an+4-5an+3+9an+2-7an+1 +2an=3 , n
0
Solution We first find the general solution un for the homogeneous problem. We then find a particular solution vn for the nonhomogeneous problem without considering the initial conditions. Then an=un+vn would be the general solution of the nonhomogeneous problem. We finally make use of the initial conditions to determine the arbitrary constants in the general solution so as to arrive at our required particular solution.
- (a)
- Find un : Since the associated characteristic equation
has the sum of all the coefficients being zero, i.e. 1-5+9-7+2=0, it must have a root
=1. After factorising out (
-1) via
4-5
3+9
2-7
+ 2 = (
-1)(
3-4
2+5
-2), the rest of the roots will come from
3-4
2+5
-2 =0. Notice that
3-4
2+5
-2=0 can again be factorised by a factor (
-1) because 1-4+5-2=0. This way we can derive in the end that the roots are
Thus the general solutions for the homogeneous problem is
or simply un=A+Bn+Cn2+D2n because 1n
1. - (b)
- Find vn : Notice that the nonhomogeneous part is a constant 3 which can be written as 3
1n when cast into the form of (**), and that 1 is in fact a root of multiplicity 3. In other words, we have in (***)
=1, k=0 and M=3. Hence we try a particular solution vn=En3
1n =En3 . The substitution of vn into the nonhomogeneous recurrence equations then gives, using a formula in the subsection Binomial Expansions in the Preliminary Mathematics at the beginning of these notes,
i.e. E= -1/2. Hence vn= -n3/2.3 = vn+4-5vn+3+9vn+2-7vn+1+2vn = E(n+4)3-5E(n+3)3+9E(n+2)3-7E(n+1)3+2En3 = E(n3 + 3n2
4+3n
42+43) -5E(n3 + 3n2
3+3n
32+33) + 9E(n3 + 3n2
2+3n
22+23) -7E(n3 + 3n2
1+3n
12+13) + 2En3 = -6E , Note Should you find it very tedious to perform the expansions in the above, you could just substitute, say, n=0 into
3 = E(n+4)3-5E(n+3)3+9E(n+2)3-7E(n+1)3+2En3
to obtain readily 3=E43-5E33+9E23-7E=-6E. Incidentally you don't have to substitute n=0; you can in fact substitute any value for n because the equation is valid for all n. Obviously this alternative technique also applys even if there are more than 1 unknowns in the equation; we just need to substitute sufficiently many distinct values for n to collect enough equations to determine the unknowns. The drawback of this technique is that you have to make sure that the form you have proposed for vn is absolutely correct through the use of the proper theory, otherwise an error in the form for vn will go undetected in this alternative approach. - (c)
- The general solution of the nonhomogenous problem thus read
an = un + vn = A + Bn + Cn2 + D2n - n3/2.
- (d)
- We now ask the solution in (c) to comply with the initial conditions.
Initial Conditions Induced Equations Solutions a0 = 2 a1 = -1/2 a2 = -5 a3 = -31/2 A+D = 2 A+B+C+2D = 0 A+2B+4C+4D = -1 A+3B+9C+8D = -2 A = 3 B = -2 C = 1 D = -1
an = 3 - 2n + n2 - n3/2 - 2n, n
0 .
0. Solution
- (a)
- The general solution for homogeneous problem is un=A because the only root of the characteristic equation is
1=1. - (b)
- Since n2n+1 = 2n
n +1n is of the form
1 n(b1n+b0)+
n 2 c0 and
2=1 is a simple root of the characteristic equation, we try the similar form vn = 2n(B+Cn) + Dn for a particular solution. Substiting vn into the recurrence relation, we have
i.e.n2n+1 = vn+1-vn = 2n+1(B+C(n+1)) + D(n+1) - 2n(B+Cn) - Dn = 2n(Cn+B+2C) + D ,
2n ( (C-1)n + (B+2C) ) + (D-1) = 0 .
In order the above equation be identically 0 for all n
0, we require all its coefficients to be 0, i.e.
C-1=0 , B+2C=0 , D-1=0 .
Hence B=-2, C=1 and D=1 and the particular solution vn =2n(n-2)+n. - (c)
- The general solution is un+vn and thus reads
an = 2n(n-2)+n+A , n
0 .
and S(n)=
im for n
. Convert the problem of finding S(n) to a problem of solving a recurrence relation. Solution We first observe
S(n+1)= (n+1)m +
im = S(n) + (n+1)m .
Non Homogeneous Recurrence Relation In Discrete Mathematics Pdf
Source: https://staff.cdms.westernsydney.edu.au/cgi-bin/cgiwrap/zhuhan/dmath/dm_readall.cgi?page=24
Posted by: wrightcoma1941.blogspot.com

0 Response to "Non Homogeneous Recurrence Relation In Discrete Mathematics Pdf"
Post a Comment