Discrete Heat Equation Model with Shift Values

Abstract

We investigate the generalized partial difference operator and propose a model of it in discrete heat equation in this paper. The diffusion of heat is studied by the application of Newton’s law of cooling in dimensions up to three and several solutions are postulated for the same. Through numerical simulations using MATLAB, solutions are validated and applications are derived.

Share and Cite:

Xavier, G. , Borg, S. and Meganathan, M. (2017) Discrete Heat Equation Model with Shift Values. Applied Mathematics, 8, 1343-1350. doi: 10.4236/am.2017.89099.

1. Introduction

In 1984, Jerzy Popenda [1] introduced the difference operator Δ α defined on u ( k ) as Δ α u ( k ) = u ( k + 1 ) α u ( k ) . In 1989, Miller and Rose [2] introduced the discrete analogue of the Riemann-Liouville fractional derivative and proved some properties of the inverse fractional difference operator Δ l 1 ( [3] [4] ). Several formula on higher order partial sums on arithmetic, geometric progressions and products of n-consecutive terms of arithmetic progression have been derived in [5] .

In 2011, M. Maria Susai Manuel, et al. [6] [7] , extended the definition of Δ α to Δ α ( l ) defined as Δ α ( l ) v ( k ) = v ( k + l ) α v ( k ) for the real valued function v(k), l > 0 . In 2014, the authors in [6] , have applied q-difference operator defined as Δ q v ( k ) = v ( q k ) v ( k ) and obtained finite series formula for logarithmic

function. The difference operator Δ k ( l ) with variable coefficients defined as equation Δ k ( l ) v ( k ) = v ( k + l ) k v ( k ) equation is established in [6] . Here, we extend the operator Δ l to a partial difference operator.

Partial difference and differential equations [8] play a vital role in heat equations. The generalized difference operator with n-shift values l = ( l 1 , l 2 , l 3 , , l n ) 0 on a real valued function v ( k ) : n is defined as,

Δ ( l ) v ( k ) = v ( k 1 + l 1 , k 2 + l 2 , , k n + l n ) v ( k 1 , k 2 , , k n ) (1)

This operator Δ ( l ) becomes generalized partial difference operator if some l i = 0 . The equation involving Δ ( l ) with at least one l i = 0 is called generalized

partial difference equation. A linear generalized partial difference equation is of the form Δ ( l ) v ( k ) = u ( k ) , then the inverse of generalized partial difference equation is

v ( k ) = Δ 1 ( l ) u ( k ) (2)

where Δ ( l ) is as given in (1), l i = 0 for some i and u ( k ) : n is given function.

A function v ( k ) : n satisfying (2) is called a solution of Equation (2). Equation (2) has a numerical solution of the form,

v ( k ) v ( k m l ) = r = 1 m u ( k r l ) , (3)

where k r l = ( k 1 r l 1 , k 2 r l 2 , , k n r l n ) , m is any positive integer. Relation

(3) is the basic inverse principle with respect to Δ ( l ) [6] . Here we form partial

difference equation for the heat flow transmission in rod, plate and system and obtain its solution.

2. Solution of Heat Equation of Rod

Consider temperature distribution of a very long rod. Assume that the rod is so long that it can be laid on top of the set of real numbers. Let v ( k 1 , k 2 ) be the temperature at the real position k 1 and real time k 2 of the rod. Assume that diffusion rate γ is constant throughout the rod shift value l > 0 . By Fourier law of Cooling, the discrete heat equation of the rod is,

Δ ( 0 , l 2 ) v ( k 1 , k 2 ) = γ Δ ( ± l 1 , 0 ) v ( k 1 , k 2 ) , (4)

where Δ ( ± l 1 , 0 ) = Δ ( l 1 , 0 ) + Δ ( l 1 , 0 ) . Here, we derive the temperature formula for v ( k 1 , k 2 ) at the general position ( k 1 , k 2 ) .

Theorem 2.1. Assume that there exists a positive integer m, and a real number l 2 > 0 such that v ( k 1 , k 2 m l 2 ) and Δ ( ± l 1 , 0 ) v ( k 1 , k 2 ) = u ± l 1 ( k 1 , k 2 ) are known then the heat Equation (4) has a solution v ( k 1 , k 2 ) of the form

v ( k 1 , k 2 ) = v ( k 1 , k 2 m l 2 ) + γ r = 1 m u ± l 1 ( k 1 , k 2 r l 2 ) . (5)

Proof. Taking Δ ( ± l 1 , 0 ) v ( k 1 , k 2 ) = u ± l 1 ( k 1 , k 2 ) in (4) gives

v ( k 1 , k 2 ) = γ Δ 1 ( 0 , l 2 ) u ± l 1 ( k 1 , k 2 ) . (6)

The proof of (5) follows by applying the inverse principle (3) in (6). ,

Example 2.2. From (2) we get, Δ 1 ( 0 , l 2 ) e i ( k 1 + k 2 ) = e i ( k 1 + k 2 l 2 ) e i ( k 1 + k 2 ) 2 ( 1 cos l 2 ) ,

whose imaginary parts yield

Δ 1 ( 0 , l 2 ) sin ( k 1 + k 2 ) = sin ( k 1 + k 2 l 2 ) sin ( k 1 + k 2 ) 2 ( 1 cos l 2 ) . (7)

Taking u ± l 1 ( k 1 , k 2 ) = s i n ( k 1 + k 2 + l 1 ) s i n ( k 1 + k 2 l 1 ) in (6), using (7) and (5),

u ± l 1 ( k 1 , k 2 l 2 ) u ± l 1 ( k 1 , k 2 ) 2 ( 1 cos l 2 ) = u ± l 1 ( k 1 , k 2 ( m + 1 ) l 2 ) u ± l 1 ( k 1 , k 2 m l 2 ) 2 ( 1 cos l 2 ) + r = 1 m u ± l 1 ( k 1 , k 2 r l 2 ) (8)

The matlab coding for verification of (8) for m = 50 , k 1 = 2 , l 1 = 3 , k 2 = 4 , l 2 = 5 as follows, ( sin ( 4 ) sin ( 9 ) + sin ( 2 ) sin ( 3 ) ) / ( 2 × ( 1 cos ( 5 ) ) ) = ( sin ( 246 ) sin ( 241 ) + sin ( 252 ) sin ( 247 ) ) / ( 2 ( 1 cos ( 5 ) ) ) + symsum ( sin ( 9 5 r ) + sin ( 3 5 r ) , r , 1 , 50 ) .

Theorem 2.3. Consider (4) and denote v ( k 1 ± l 1 , ) = v ( k 1 + l 1 , ) + v ( k 1 l 1 , ) and v ( , k 2 ± l 2 ) = v ( , k 2 + l 2 ) + v ( , k 2 l 2 ) . Then, the following four types solutions of the Equation (4) are equivalent:

(a) v ( k 1 , k 2 ) = ( 1 2 γ ) m v ( k 1 , k 2 m l 2 ) + r = 0 m 1 γ ( 1 2 γ ) r [ v ( k 1 ± l 1 , k 2 ( r + 1 ) l 2 ) ] (9)

(b) v ( k 1 , k 2 ) = 1 ( 1 2 γ ) m v ( k 1 , k 2 + m l 2 ) r = 1 m γ ( 1 2 γ ) r v ( k 1 ± l 1 , k 2 + ( r 1 ) l 2 ) (10)

(c)

v ( k 1 , k 2 ) = 1 γ m v ( k 1 m l 1 , k 2 + m l 2 ) r = 1 m 1 2 γ γ r v ( k 1 r l 1 , k 2 + ( r 1 ) l 2 ) s = 0 m 1 1 γ s v ( k 1 ( s + 2 ) l 1 , k 2 + s l 2 ) (11)

(d)

v ( k 1 , k 2 ) = 1 γ m v ( k 1 + m l 1 , k 2 + m l 2 ) r = 1 m 1 2 γ γ r v ( k 1 + r l 1 , k 2 + ( r 1 ) l 2 ) s = 0 m 1 1 γ s v ( k 1 + ( s + 2 ) l 1 , k 2 + s l 2 ) (12)

Proof. (a). From (4), we arrive the relation

v ( k 1 , k 2 ) = ( 1 2 γ ) v ( k 1 , k 2 l 2 ) + γ v ( k 1 ± l 1 , k 2 l 2 ) . (13)

By replacing k 2 by k 2 r l 2 in (13) gives expressions for v ( k 1 , k 2 r l 2 ) and v ( k 1 ± l 1 , k 2 r l 2 ) . Now proof of (a) follows by applying all these values in (13).

(b). The heat Equation (4) directly derives the relation

v ( k 1 , k 2 ) = 1 ( 1 2 γ ) v ( k 1 , k 2 + l 2 ) γ ( 1 2 γ ) v ( k 1 ± l 1 , k 2 ) . (14)

Replacing k 2 by k 2 + r l 2 and substituting corresponding v-values in (14) yields (b).

(c). The proof of (c) follows by replacing k 1 by k 1 r l 1 and k 2 by k 2 + r l 2 and

v ( k 1 , k 2 ) = 1 γ v ( k 1 l 1 , k 2 + l 2 ) 1 2 γ γ v ( k 1 l 1 , k 2 ) v ( k 1 2 l 1 , k 2 ) .

(d). The proof of (d) follows by replacing k 1 by k 1 + r l 1 and k 2 by k 2 + r l 2 and v ( k 1 , k 2 ) = 1 γ v ( k 1 + l 1 , k 2 + l 2 ) 1 2 γ γ v ( k 1 + l 1 , k 2 ) v ( k 1 + 2 l 1 , k 2 ) . ,

Example 2.4. The following example shows that the diffusion rate of rod can be identified if the solution v ( k 1 , k 2 ) of (4) is known and vice versa. Suppose that v ( k 1 , k 2 ) = a k 1 + k 2 is a closed form solution of (4), then we have the relation

Δ ( 0 , l 2 ) a k 1 + k 2 = γ [ Δ ( l 1 , 0 ) a k 1 + k 2 + Δ ( l 1 , 0 ) a k 1 + k 2 ] , which yields a k 1 + k 2 + l 2 a k 1 + k 2 = γ [ a k 1 + k 2 + l 1 + a k 1 + k 2 l 1 2 a k 1 + k 2 ] . Cancelling a k 1 + k 2 on both sides derives γ = a l 2 1 a l 1 + a l 1 2 .

Theorem 2.5. Assume that the heat difference Δ ( l 1 , 0 ) v ( k 1 , k 2 ) is proportional to Δ ( l 1 , 0 ) v ( k 1 , k 2 ) i.e., Δ ( l 1 , 0 ) v ( k 1 , k 2 ) = δ Δ ( l 1 , 0 ) u ( k 1 , k 2 ) . In this case the heat Equation (4) has a solution c o s ( k 1 + k 2 ) if and only if either c o s ( k 1 + k 2 ) = 0 or sin l 1 = 0 .

Proof. From the heat Equation (4), and the given condition, we derive

Δ ( 0 , l 2 ) v ( k 1 , k 2 ) = γ ( 1 + δ ) Δ ( l 1 , 0 ) v ( k 1 , k 2 ) . (15)

If, cos ( k 1 + k 2 ) = e i ( k 1 + k 2 ) + e i ( k 1 + k 2 ) 2 = v ( k 1 , k 2 ) , then (15) becomes, Δ ( 0 , l 2 ) [ e i ( k 1 + k 2 ) + e i ( k 1 + k 2 ) ] = γ ( 1 + δ ) Δ ( l 1 , 0 ) [ e i ( k 1 + k 2 ) + e i ( k 1 + k 2 ) ] which yields, e i ( k 1 + k 2 + l 2 ) + e i ( k 1 + k 2 + l 2 ) e i ( k 1 + k 2 ) e i ( k 1 + k 2 ) = γ ( 1 + δ ) e i ( k 1 + k 2 + l 1 ) + e i ( k 1 + k 2 + l 1 ) e i ( k 1 + k 2 ) e i ( k 1 + k 2 )

By rearranging the terms, we get

e i ( k 1 + k 2 ) [ e i l 2 1 γ ( 1 + δ ) e i l 1 1 ] = e i ( k 1 + k 2 ) [ e i l 2 1 γ ( 1 + δ ) e i l 1 1 ]

which yields either e i ( k 1 + k 2 ) + e i ( k 1 + k 2 ) = 0 or e i l 1 = e i l 2 and hence cos ( k 1 + k 2 ) = 0 or sin l 1 = 0 . Retracing the steps gives converse. ,

3. Heat Equation for Thin Plate and Medium

In the case of thin plate, let v ( k 1 , k 2 , k 3 ) be the temperature of the plate at position v ( k 1 , k 2 ) and time k 3 . The heat equation for the plate is

Δ ( 0,0, l 3 ) v ( k ) = γ Δ ± l ( 1 , 2 ) v ( k ) , (16)

where Δ ( ± l ( 1 , 2 ) ) = Δ ( l 1 , 0 , 0 ) + Δ ( l 1 , 0 , 0 ) + Δ ( 0 , l 2 , 0 ) + Δ ( 0 , l 2 , 0 )

Theorem 3.1. Consider the heat Equation (16). Assume that there exists a positive integer m, and a real number l 3 > 0 such that v ( k 1 , k 2 , k 3 m l 3 ) and

the partial differences Δ ( ± l ( 1 , 2 ) ) v ( k 1 , k 2 , k 3 ) = u ( ± l ( 1 , 2 ) ) ( k 1 , k 2 , k 3 ) are known functions then the heat Equation (16) has a solution v ( k 1 , k 2 , k 3 ) as,

v ( k ) = v ( k 1 , k 2 , k 3 m l 3 ) + γ r = 1 m u ± l ( 1 , 2 ) ( k 1 , k 2 , k 3 r l 3 ) . (17)

Proof. Taking Δ ± l ( 1 , 2 ) v ( k ) = u ± l ( 1 , 2 ) ( k ) in (16), we arrive

v ( k ) = γ Δ 1 0 , 0 , l 3 u ± l ( 1 , 2 ) ( k ) . (18)

The proof follows by applying inverse principle of Δ l 3 1 in (18).

Consider the notations in the following theorem: v ( k ( 1 , 2 ) ± l ( 1 , 2 ) , ) = v ( k 1 ± l 1 , k 2 , ) + v ( k 1 , k 2 ± l 2 , ) also v ( k ( 2 , 3 ) ± l ( 2 , 3 ) , ) = v ( , k 2 ± l 2 , k 3 ) + v ( , k 2 , k 3 ± l 3 ) .

Theorem 3.2. Assume that v ( k 1 , k 2 , k 3 ) is a solution of Equation (16), v ( k 1 ± r l 1 , k 2 ± r l 2 ) exist and denote v ( k 1 ± l 1 , , ) = v ( k 1 + l 1 , , ) + v ( k 1 l 1 , , ) , v ( , , k 3 ± l 3 ) = v ( , , k 3 + l 3 ) + v ( , , k 3 l 3 ) . Then the following are equivalent:

(a)

v ( k 1 , k 2 , k 3 ) = ( 1 4 γ ) m v ( k 1 , k 2 , k 3 m l 3 ) + r = 0 m 1 γ ( 1 4 γ ) r × [ v ( k 1 ± l 1 , k 2 , k 3 ( r + 1 ) l 3 ) + v ( k 1 , k 2 ± l 2 , k 3 ( r + 1 ) l 3 ) ] (19)

(b)

v ( k 1 , k 2 , k 3 ) = 1 ( 1 4 γ ) m v ( k 1 , k 2 , k 3 + m l 3 ) r = 1 m γ ( 1 4 γ ) r [ v ( k ( 1 , 2 ) ± l ( 1 , 2 ) , k 3 + ( r 1 ) l 3 ) ] (20)

(c)

v ( k ) = 1 γ m v ( k 1 m l 1 , k 2 , k 3 + m l 3 ) r = 1 m 1 4 γ γ r v ( k 1 r l 1 , k 2 , k 3 + ( r 1 ) l 3 ) r = 0 m 1 1 γ r v ( k 1 ( r + 2 ) l 1 , k 2 , k 3 + r l 3 ) r = 0 m 1 1 γ r v ( k 1 ( r + 1 ) l 1 , k 2 ± l 2 , k 3 + r l 3 ) (21)

(d)

v ( k ) = 1 γ m v ( k 1 + m l 1 , k 2 , k 3 + m l 3 ) r = 1 m 1 4 γ γ r v ( k 1 + r l 1 , k 2 , k 3 + ( r 1 ) l 3 ) r = 0 m 1 1 γ r v ( k 1 + ( r + 2 ) l 1 , k 2 , k 3 + r l 3 ) r = 0 m 1 1 γ r v ( k 1 + ( r + 1 ) l 1 , k 2 ± l 2 , k 3 + r l 3 ) (22)

Proof. The proof of this theorem is easy and similar to the proof of the Theorem (2.3). From (16) and (1), we arrive

(i) v ( k ) = ( 1 4 γ ) v ( k 1 , k 2 , k 3 l 3 ) + γ [ v ( k 1 ± l 1 , k 2 , k 3 l 3 ) + v ( k 1 , k 2 ± l 2 , k 3 l 3 ) ]

(ii) v ( k ) = 1 1 4 γ v ( k 1 , k 2 , k 3 + l 3 ) γ 1 4 γ [ v ( k 1 ± l 1 , k 2 , k 3 ) + v ( k 1 , k 2 ± l 2 , k 3 ) ] .

(iii) v ( k ) = 1 γ v ( k 1 l 1 , k 2 , k 3 + l 3 ) 1 4 γ γ v ( k 1 l 1 , k 2 , k 3 ) v ( k 1 2 l 1 , k 2 , k 3 ) v ( k 1 l 1 , k 2 ± l 2 , k 3 ) .

(iv) v ( k ) = 1 γ v ( k 1 + l 1 , k 2 , k 3 + l 3 ) 1 4 γ γ v ( k 1 + l 1 , k 2 , k 3 ) v ( k 1 + 2 l 1 , k 2 , k 3 ) v ( k 1 + l 1 , k 2 ± l 2 , k 3 ) .

Now the proof of (a), (b), (c), (d) follows by replacing

k 3 by k 3 l 3 , k 3 2 l 3 , , k m m l 3 , k 3 by k 3 + l 3 , k 3 + 2 l 3 , , k m + m l 3 , k 1 and k 3 by k 1 l 1 , k 1 2 l 1 , , k m m l 1 , k 3 + l 3 , k 3 + 2 l 3 , , k m + m l 3 , k 1 and k 3 by k 1 + l 1 , k 1 + 2 l 1 , , k m + m l 1 , k 3 + l 3 , k 3 + 2 l 3 , , k m + m l 3 in (i), (ii), (iii), (iv) respectively. ,

The following diagrams (generated by MATLAB) are obtained by using 13, γ = 0.5 and taking l 1 = 1 50 , l 2 = 1 2500 ,

(i) sine function; boundary values(BV) are v ( k 1 , 1 ) = sin π l 1 , v ( 1 , k 2 ) = 0 , v ( 51 , k 2 ) = 0 ,

(ii) cosine function; BV are v ( k 1 , 1 ) = cos π l 1 , v ( 1, k 2 ) = 1 , v ( 51 , k 2 ) = 1 ,

(iii) sum of sine and cosine function; BV are v ( k 1 ,1 ) = s i n π l 1 + c o s π l 1 , v ( 1 , k 2 ) = 1 , v ( 51 , k 2 ) = 1 respectively.

From the above diagrams, when the transmission of heat is known at the boundary points then the diffusion within the material under study can be easily determined.

4. Conclusion

The study of partial difference operator has wide applications in discrete fields and heat equation is one such. The core theorems (2.1), (2.3) and (3.2) provide the possibility of predicting the temperature either for the past or the future after getting the know the temperature at few finite points at present time. The above study helps us in making a wise choice of material(g) for better propagation of heat. In the converse, it also shows the nature of transmission of heat for the material under study. Thus in conclusion, we can say that the above research helps us in reducing any wastage of heat and also enables us in making a optimal choice of material (g).

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Popenda, J. and Szmanda, B. (1984) On the Oscillation of Solutions of Certain Difference Equations. Demonstratio Mathematica, XVII, 153-164.
[2] Miller, K.S and Ross, B. (1989) Fractional Difference Calculus in Univalent Functions. Horwood, Chichester, 139-152.
[3] Bastos, N.R.O., Ferreira, R.A.C. and Torres, D.F.M. (2011) Discrete-Time Fractional Variational Problems. Signal Processing, 91, 513-524. https://doi.org/10.1016/j.sigpro.2010.05.001
[4] Ferreira, R.A.C. and Torres, D.F.M. (2011) Fractional h-Difference Equations Arising from the Calculus of Variations. Applicable Analysis and Discrete Mathematics, 5, 110-121.
https://doi.org/10.2298/AADM110131002F
[5] Susai Manuel, M., Britto Antony Xavier, G., Chandrasekar, V. and Pugalarasu, R. (2012) Theory and application of the Generalized Difference Operator of the nth kind (Part I). Demonstratio Mathematica, 45, 95-106. https://doi.org/10.1515/dema-2013-0347
[6] Britto Antony Xavier, G., Gerly, T.G. and Nasira Begum, H. (2014) Finite Series of Polynomials and Polynomial Factorials arising from Generalized q-Difference Operator. Far East Journal of Mathematical Sciences, 94, 47-63.
[7] Maria Susai Manuel, M., Chandrasekar, V. and Britto Antony Xavier, G. (2011) Solutions and Applications of Certain Class of α-Difference Equations. International Journal of Applied Mathematics, 24, 943-954.
[8] Ablowitz, M.J. and Ladik, J.F. (1977) On the Solution of a Class of Nonlinear Partial Difference Equations. Studies in Applied Mathematics, 57, 1-12. https://doi.org/10.1002/sapm19775711

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.