Академический Документы
Профессиональный Документы
Культура Документы
1
a) un+1 = un + 1, u0 = 1
2
b) un+ 2 − 3un+1 + 2un = − 1, u0 = 1, u1 = 2
11 1
c) un+1 − un + un−1 − un−2 = 0, u0 = 0, u1 = 1, u2 = 2
6 6
1 1 1
d ) 6un+ 4 − 5un+ 2 + un = 0 , u0 = 0, u1 = , u2 = , u3 =
2 2 2 2
SOLUTIONS
We will use the following notations: un - general solution, vn - general solution of the
homogeneous equation, v * - particular solution of the non-homogeneous equation.
1
un +1 − un = 1 .
2
1
Its corresponding homogeneous equation is: un+1 − un = 0 . Firstly we solve this homogeneous
2
1 1
equation. We write down its characteristic equation: z − = 0 . Obviously it has a root z = . Then
2 2
n
⎛1⎞
the general solution of the homogeneous equation has the form vn = C1 ⎜ ⎟ .
⎝2⎠
Then we need to find at least one particular solution of the given non-homogeneous
equation. As its right hand side is a constant, we are looking for a particular solution in the form:
1
v* = d , where d is a constant. We have d − d = 1 , from where d = 2 , i.e. one particular solution
2
is v = 2 . By properties 3 and 4 the general solution of the equation is a sum of the solutions of the
* 0 0
homogeneous equation plus a particular solution, or the general solution of our equation is:
n
⎛1⎞
un = C1 ⎜ ⎟ + 2 .
⎝2⎠
For n = 0 from the given initial condition u0 = 1 , by substituting it in the general solution we obtain
C1 = −1 . The particular solution of the problem for the assigned initial condition that we were
n
⎛1⎞
looking for is: un = 2 − ⎜ ⎟ , which is the answer to the given problem.
⎝2⎠
b) The equation is linearly non-homogeneous of the second order. As in the previous example,
firstly we are looking for the general solution of the homogeneous equation.
un = C1 + C2 2n + n .
By substitution under the assigned initial conditions we obtain the following system for C1 , C 2 :
C1 + C2 = 1
.
C1 + 2C2 = 1
c) The equation is linearly homogeneous of the third order. Its characteristic equation is
11 1
z3 − z 2 + z − = 0 .
6 6
By using Horner’s method, by expansion, through the Mathematica system or in another way we
1 1
find its roots z1 = 1, z2 = , z3 = , which are simple. Therefore the general solution of the given
2 3
equation has the form:
n n
⎛1⎞ ⎛1⎞
vn = C1 + C2 ⎜ ⎟ + C3 ⎜ ⎟ .
⎝2⎠ ⎝3⎠
By substitution of the assigned initial conditions for n = 0,1, 2 we get the following system for
determining the constants C1, C 2 , C3 :
C1 + C2 + C3 = 0
1 1
C1 + C2 + C3 = 1 .
2 3
1 1
C1 + C2 + C3 = 2
4 9
7 9
Its solution is: C1 = , C2 = − 8, C3 = .
2 2
n n
⎛1⎞ 9 ⎛1⎞ 7
Answer: un = −8 ⎜ ⎟ + ⎜ ⎟ + .
⎝2⎠ 2 ⎝ 3⎠ 2
::c1 → , c2 → − 8, c3 → >>
7 9
2 2
n n n n
⎛ 1 ⎞ ⎛ 1 ⎞ ⎛ 1 ⎞ ⎛ 1 ⎞
un = C1 ⎜ ⎟ + C2 ⎜ − ⎟ + C3 ⎜ ⎟ + C4 ⎜− ⎟ .
⎝ 2⎠ ⎝ 2⎠ ⎝ 3⎠ ⎝ 3⎠
Hence for n = 0,1, 2, 3 and from the given initial conditions we obtain the system with respect of the
constants C1, C2 , C3 , C4 :
C1 + C2 + C3 + C4 = 0
1 1 1 1 1
C1 − C2 + C3 − C4 =
2 2 3 3 2
1 1 1 1 1 .
C1 + C2 + C3 + C4 =
2 2 3 3 2
1 1 1 1 1
C1 − C2 + C3 − C4 = .
2 2 2 2 3 3 3 3 2 2
3 3
Its solutions are: C1 = 2, C2 = 1, C3 = − , C4 = − .
2 2
n n n n
⎛ 1 ⎞ ⎛ 1 ⎞ 3⎛ 1 ⎞ 3 ⎛ 1 ⎞
Answer: un = 2 ⎜ ⎟ +⎜− ⎟ − ⎜ ⎟ − ⎜− ⎟ .
⎝ 2⎠ ⎝ 2⎠ 2 ⎝ 3⎠ 2 ⎝ 3⎠
Note. We submit the corresponding calculations for solving the system by means of Mathematica:
::c1 → 2, c2 → 1, c3 → − , c4 → − >>
3 3
2 2