Second Order Linear Equations (Variable Coefficients) - Basic Difference Calculus - Discrete Fractional Calculus

Discrete Fractional Calculus (2015)

1. Basic Difference Calculus

1.8. Second Order Linear Equations (Variable Coefficients)

In this section we will show how we can solve some second order linear equations (with possibly variable coefficients) by the method of factoring. As a special case of our factoring method we will solve Euler–Cauchy difference equations. We start with the following example to illustrate the method of factoring.

Example 1.71.

Solve the difference equation

 $$\displaystyle{ \Delta ^{2}y(t) - (t + 2)\Delta y(t) + 2ty(t) = 0,\quad t \in \mathbb{N}_{ 0}. }$$

(1.31)

The method we use to solve this equation is called the method of factoring. We first write our difference equation in the form

 $$\displaystyle{\Delta [\Delta y(t) - 2y(t)] - t[\Delta y(t) - 2y(t)] = 0}$$

which also can be written in the factored form (using I as the identity operator)

 $$\displaystyle{(\Delta - tI)(\Delta - 2I)y(t) = 0.}$$

Note that from Exercise 1.60 the operators  $$\Delta - tI$$ and  $$\Delta - 2I$$ do not commute, so one has to be careful when one uses this method of factoring. Letting y(t) be a solution of our given difference equation and setting  $$v(t) = (\Delta - 2I)y(t)$$ , we get that

 $$\displaystyle{(\Delta - tI)v(t) = 0}$$

which gives us the equation

 $$\displaystyle{\Delta v(t) = tv(t).}$$

By Theorem 1.14,

 $$\displaystyle{v(t) = c_{2}e_{t}(t,0) = c_{2}\prod _{s=0}^{t-1}(1 + s) = c_{ 2}t!.}$$

Since  $$v(t) = (\Delta - 2I)y(t)$$ we have that

 $$\displaystyle{\Delta y(t) = 2y(t) + c_{2}t!.}$$

Using the variation of constants formula in Theorem 1.68, we get that

 $$\displaystyle\begin{array}{rcl} y(t)& =& c_{1}e_{2}(t,0) +\int _{ 0}^{t}e_{ 2}(t,\sigma (s))c_{2}s!\Delta s {}\\ & =& c_{1}3^{t} + c_{ 2}\int _{0}^{t}3^{t-s-1}s!\Delta s {}\\ & =& c_{1}3^{t} + c_{ 2}3^{t-1}\int _{ 0}^{t}\left ( \frac{s!} {3^{s}}\right )\Delta s {}\\ & =& c_{1}3^{t} + c_{ 2}3^{t-1}\sum _{ s=0}^{t-1} \frac{s!} {3^{s}}. {}\\ \end{array}$$

Hence

 $$\displaystyle{y(t) =\alpha 3^{t} +\beta 3^{t}\sum _{ k=0}^{t-1} \frac{k!} {3^{k}}}$$

is a general solution of the difference equation (1.31).

We next show how we can use this method of factoring to solve the Euler–Cauchy difference equation

 $$\displaystyle{ t\sigma (t)\Delta ^{2}y(t) + ct\Delta y(t) + dy(t) = 0,\quad t \in \mathbb{N}_{ a}, }$$

(1.32)

where c and d are real constants. We assume that

 $$\displaystyle{ 1 + \frac{d} {t\sigma (t)} - \frac{c} {\sigma (t)}\neq 0,\quad t \in \mathbb{N}_{a}. }$$

(1.33)

Since (1.33) holds, we have from Theorem 1.29 that solutions of IVPs for (1.32) are unique and solutions exist on  $$\mathbb{N}_{a}$$ . Also by Remark 1.30 we have that if y 1(t) and y 2(t) are linearly independent solutions of (1.32) on  $$\mathbb{N}_{a}$$ , then

 $$\displaystyle{y(t) = c_{1}y_{1}(t) + c_{2}y_{2}(t),\quad t \in \mathbb{N}_{a}}$$

is a general solution of (1.32). We call the equation

 $$\displaystyle{ r(r - 1) + cr + d = 0 }$$

(1.34)

or equivalently

 $$\displaystyle{ r^{2} + (c - 1)r + d = 0 }$$

(1.35)

the characteristic equation of the Euler–Cauchy difference equation (1.32) and the solutions of (1.34) and (1.35) the characteristic values (roots). Let α, β be the characteristic values, then the characteristic equation is given by

 $$\displaystyle{(r-\alpha )(r-\beta ) = r^{2} - (\alpha +\beta )r+\alpha \beta = 0.}$$

Hence

 $$\displaystyle{c - 1 = -(\alpha +\beta ),\quad d =\alpha \beta.}$$

Note that

 $$\displaystyle\begin{array}{rcl} 1 + \frac{d} {t\sigma (t)} - \frac{c} {\sigma (t)}& =& 1 + \frac{\alpha \beta } {t\sigma (t)} -\frac{1 -\alpha -\beta } {\sigma (t)} {}\\ & =& \frac{t\sigma (t) - (1 -\alpha -\beta )t+\alpha \beta } {t\sigma (t)} {}\\ & =& \frac{t^{2} + (\alpha +\beta )t+\alpha \beta } {t\sigma (t)} {}\\ & =& \frac{(t+\alpha )(t+\beta )} {t\sigma (t)} {}\\ & =& \frac{t\left (1 + \frac{\alpha } {t}\right )\left (1 + \frac{\beta } {t}\right )} {\sigma (t)}. {}\\ \end{array}$$

Hence we see that (1.33) holds if and only if

 $$\displaystyle{ \frac{\alpha } {t} \in \mathcal{R},\quad \frac{\beta } {t} \in \mathcal{R}.}$$

We now show how to factor the left-hand side of equation (1.32) assuming that (1.33) holds. Let  $$y: \mathbb{N}_{a} \rightarrow \mathbb{C}.$$ Then, for  $$t \in \mathbb{N}_{a}$$ ,

 $$\displaystyle\begin{array}{rcl} & & t\sigma (t)\Delta ^{2}y(t) + ct\Delta y(t) + dy(t) {}\\ & & \quad = t\sigma (t)\Delta ^{2}y(t) + (1 -\alpha -\beta )t\Delta y(t) +\alpha \beta \; y(t) {}\\ & & \quad =\{ [t\sigma (t)\Delta ^{2}y(t) + t\Delta y(t)] -\beta t\Delta y(t)\} -\alpha [t\Delta y(t) -\beta y(t)] {}\\ & & \quad = t\Delta [t\Delta y(t) -\beta y(t)] -\alpha [t\Delta y(t) -\beta y(t)] {}\\ & & \quad = \left (t\Delta -\alpha I\right )\left (t\Delta -\beta I\right )y(t), {}\\ \end{array}$$

where I is the identity operator on the space of functions defined on  $$\mathbb{N}_{a}$$ . We call the difference equation

 $$\displaystyle{ \left (t\Delta -\alpha I\right )\left (t\Delta -\beta I\right )y(t) = 0 }$$

(1.36)

the factored form of the Euler–Cauchy equation.

We will show that to solve the Euler–Cauchy equation we just need to find the characteristic values of (1.32). Next we solve the Euler–Cauchy equation by solving the factored form of the Euler–Cauchy equation (1.36).

Theorem 1.72 (Distinct Roots).

Assume α ≠ β are the characteristic values of the Euler–Cauchy difference equation (1.32) and  $$\frac{\alpha }{t}, \frac{\beta } {t} \in \mathcal{R}$$ . Then a general solution of the Euler–Cauchy equation (1.32) is given by

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a) + c_{2}e_{ \frac{\beta }{ t} }(t,a),}$$

for  $$t \in \mathbb{N}_{a}.$$

Proof.

Note from the factored form of the Euler–Cauchy equation, if

 $$\displaystyle{\left (t\Delta -\beta I\right )y(t) = 0,}$$

then y(t) is a solution of the Euler–Cauchy equation (1.32). Since  $$y_{2}(t) = e_{ \frac{\beta }{ t} }(t,a)$$ is a solution of

 $$\displaystyle{\Delta y(t) = \frac{\beta } {t}y(t)}$$

we have that  $$y_{2}(t) = e_{ \frac{\beta }{ t} }(t,a)$$ is also a solution of (1.32). Now by Exercise 1.61, we can write the factored equation in the form

 $$\displaystyle{\left (t\Delta -\beta I\right )\left (t\Delta -\alpha I\right )y(t) = 0.}$$

Hence, by the above argument  $$y_{1}(t) = e_{ \frac{\alpha }{ t} }(t,a)$$ is a solution of (1.32). Since αβ the solutions y 1(t), y 2(t) are linearly independent solutions on  $$\mathbb{N}_{a}$$ . Hence a general solution of the Euler–Cauchy equation (1.32) is given by

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a) + c_{2}e_{ \frac{\beta }{ t} }(t,a),}$$

for  $$t \in \mathbb{N}_{a}.$$  □ 

Example 1.73 (Distinct Real Roots).

Solve the Euler–Cauchy difference equation

 $$\displaystyle{ t\sigma (t)\Delta ^{2}y(t) - 5t\Delta y(t) + 8y(t) = 0,\quad t \in \mathbb{N}_{ 1}. }$$

(1.37)

The characteristic equation is

 $$\displaystyle{r^{2} - 6r + 8 = (r - 2)(r - 4) = 0}$$

and so the characteristic values are r 1 = 2, r 2 = 4. It follows from Theorem 1.72 that a general solution of (1.37) is given by

 $$\displaystyle\begin{array}{rcl} y(t)& =& c_{1}e_{\frac{2} {t} }(t,1) + c_{2}e_{\frac{4} {t} }(t,1) {}\\ & =& c_{1}\prod _{s=1}^{t-1}\left (1 + \frac{2} {s}\right ) + c_{2}\prod _{s=1}^{t-1}\left (1 + \frac{4} {s}\right ) {}\\ & =& c_{1}\prod _{s=1}^{t-1}\left (\frac{s + 2} {s} \right ) + c_{2}\prod _{s=1}^{t-1}\left (\frac{s + 4} {s} \right ) {}\\ & =& c_{1}\frac{(t + 1)^{\underline{2}}} {2!} + c_{2}\frac{(t + 3)^{\underline{4}}} {4!} {}\\ & =& a_{1}(t + 1)^{\underline{2}} + a_{ 2}(t + 3)^{\underline{4}} {}\\ \end{array}$$

for  $$t \in \mathbb{N}_{1}.$$

Theorem 1.74 (Double Root).

Assume α is a double root of the characteristic equation for the Euler–Cauchy difference equation (1.32) and  $$\frac{\alpha }{t} \in \mathcal{R}$$ . Then a general solution of the Euler–Cauchy difference equation (1.32) is given by

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a) + c_{2}e_{ \frac{\alpha }{ t} }(t,a)\sum _{s=a}^{t-1} \frac{1} {s+\alpha },}$$

for  $$t \in \mathbb{N}_{a}$$ .

Proof.

In this case the factored Euler–Cauchy equation is given by

 $$\displaystyle{(t\Delta -\alpha I)(t\Delta -\alpha I)y(t) = 0.}$$

It follows that  $$y_{1}(t) = e_{ \frac{\alpha }{ t} }(t,a)$$ is a solution of this equation. To get a second solution note that by considering the factored equation we get that if y(t) satisfies the difference equation

 $$\displaystyle{(t\Delta -\alpha I)y(t) = e_{ \frac{\alpha }{ t} }(t,a),}$$

then y is a solution. In particular, let y 2 be the solution of the IVP

 $$\displaystyle{\Delta y(t) = \frac{\alpha } {t}y(t) + \frac{1} {t}e_{ \frac{\alpha }{ t} }(t,a),\quad y(a) = 0.}$$

By the variation of constants formula in Theorem 1.68,

 $$\displaystyle\begin{array}{rcl} y_{2}(t)& =& \int _{a}^{t}e_{ \frac{\alpha } {t} }(t,\sigma (s))\frac{1} {s}e_{ \frac{\alpha }{ t} }(s,a)\Delta s {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\int _{a}^{t}\frac{1} {s}e_{ \frac{\alpha }{ t} }(a,\sigma (s))e_{ \frac{\alpha }{ t} }(s,a)\Delta s {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\int _{a}^{t}\frac{1} {s}e_{\ominus \frac{\alpha }{ t} }(\sigma (s),a)e_{ \frac{\alpha }{ t} }(s,a)\Delta s {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\int _{a}^{t}\left ( \frac{1} {s+\alpha }\right )e_{\ominus \frac{\alpha }{ t} }(s,a)e_{ \frac{\alpha }{ t} }(s,a)\Delta s {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\int _{a}^{t}\left ( \frac{1} {s+\alpha }\right )\Delta s {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\sum _{s=a}^{t-1}\left ( \frac{1} {s+\alpha }\right ). {}\\ \end{array}$$

Since y 1(t), y 2(t) are linearly independent solutions of the given Euler–Cauchy equation we have that a general solution is given by

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a) + c_{2}e_{ \frac{\alpha }{ t} }(t,a)\sum _{s=a}^{t-1} \frac{1} {s+\alpha },}$$

for  $$t \in \mathbb{N}_{a}.$$  □ 

Example 1.75 (Double Root).

Solve the Euler–Cauchy difference equation

 $$\displaystyle{ t\sigma (t)\Delta ^{2}y(t) - 3t\Delta y(t) + 4y(t) = 0,\quad t \in \mathbb{N}_{ a}, }$$

(1.38)

where a > 0. The characteristic equation is given by

 $$\displaystyle{r^{2} - 4r + 4 = (r - 2)^{2} = 0,}$$

so 2 is a double root of the characteristic equation. By Theorem 1.74 we have that a general solution of (1.38) is given by

 $$\displaystyle{y(t) = c_{1}e_{\frac{2} {t} }(t,a) + c_{2}e_{\frac{2} {t} }(t,a)\sum _{s=a}^{t-1} \frac{1} {s + 2},}$$

for  $$t \in \mathbb{N}_{a}.$$

Theorem 1.76 (Complex Roots).

Assume r 1 = α + iβ, r 2 = α − iβ are the characteristic values of the Euler–Cauchy difference equation (1.32) and  $$\frac{\alpha }{t} \in \mathcal{R}$$ . Then a general solution of (1.32) is given by

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a)\cos _{ \frac{\beta }{ t+\alpha } }(t,a) + c_{2}e_{ \frac{\alpha }{ t} }(t,a)\sin _{ \frac{\beta }{ t+\alpha } }(t,a),}$$

for  $$t \in \mathbb{N}_{a}.$$

Proof.

By the proof of Theorem 1.72, we have that  $$y(t) = e_{\frac{\alpha +i\beta } {t} }(t,a)$$ is a (complex-valued) solution of the Euler–Cauchy difference equation (1.32). Since  $$\frac{\alpha } {t} \in \mathcal{R}$$ it follows that  $$-\alpha \notin \mathbb{N}_{a}$$ and hence  $$\frac{\beta }{t+\alpha }$$ is well defined on  $$\mathbb{N}_{a}$$ . Now consider

 $$\displaystyle\begin{array}{rcl} \frac{\alpha } {t} \oplus \frac{i\beta } {t+\alpha }& =& \frac{\alpha } {t} + \frac{i\beta } {t+\alpha } + \frac{\alpha } {t} \frac{i\beta } {t+\alpha } {}\\ & =& \frac{\alpha } {t} + i \frac{\beta } {t}. {}\\ \end{array}$$

Using Euler’s formula (see Theorem 1.28, (vii) or Exercise 1.27), we have that

 $$\displaystyle\begin{array}{rcl} y(t)& =& e_{\frac{\alpha +i\beta } {t} }(t,a) {}\\ & =& e_{ \frac{\alpha }{ t}+i \frac{\beta }{ t} }(t,a) {}\\ & =& e_{ \frac{\alpha }{ t}\oplus \frac{i\beta } {t+\alpha } }(t,a) {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)e_{ \frac{i\beta } {t+\alpha } }(t,a) {}\\ & =& e_{ \frac{\alpha }{ t} }(t,a)\cos _{ \frac{\beta }{ t+\alpha } }(t,a) + ie_{ \frac{\alpha }{ t} }(t,a)\sin _{ \frac{\beta }{ t+\alpha } }(t,a). {}\\ \end{array}$$

Since we are assuming the constants c, d in the Euler–Cauchy difference equation (1.32) are real, we have that

 $$\displaystyle{e_{ \frac{\alpha }{ t} }\cos _{ \frac{\beta } {t+\alpha } }(t,a),\quad \sin _{ \frac{\beta }{ t+\alpha } }(t,a)}$$

are real-valued solutions of the Euler–Cauchy difference equation (1.32). Since they are linearly independent on  $$\mathbb{N}_{a}$$ ,

 $$\displaystyle{y(t) = c_{1}e_{ \frac{\alpha }{ t} }(t,a)\cos _{ \frac{\beta }{ t+\alpha } }(t,a) + c_{2}e_{ \frac{\alpha }{ t} }(t,a)\sin _{ \frac{\beta }{ t+\alpha } }(t,a)}$$

is a general solution of the Euler–Cauchy difference equation (1.32). □ 

Example 1.77 (Complex Roots).

Solve the Euler–Cauchy difference equation

 $$\displaystyle{t\sigma (t)\Delta ^{2}y(t) - 5t\Delta y(t) + 13y(t) = 0,\quad t \in \mathbb{N}_{ a}.}$$

The characteristic equation is

 $$\displaystyle{r^{2} - 6r + 13 = 0,}$$

and hence the characteristic values are r = 3 ± 2i. From Theorem 1.76, we get that

 $$\displaystyle{y(t) = c_{1}e_{\frac{3} {t} }(t,a)\cos _{ \frac{2} {t+3} }(t,a) + c_{2}e_{\frac{3} {t} }(t,a)\sin _{ \frac{2} {t+3} }(t,a)}$$

is a general solution.

For n ≥ 3 M. Bohner and E. Akin (see [63, Chapter 2]) defined the Euler–Cauchy difference equation of arbitrary order by

 $$\displaystyle{ \left (t\Delta -\alpha _{1}\right )\left (t\Delta -\alpha _{2}\right )\left (t\Delta -\alpha _{n}\right ) = 0, }$$

(1.39)

where we assume  $$\frac{\alpha _{i}} {t} \in \mathcal{R}$$ , 1 ≤ i ≤ n. For the reader interested in Euler–Cauchy difference equations of order n ≥ 3 see Exercise 1.67.