Next Article in Journal
An Agile Adaptive Biased-Randomized Discrete-Event Heuristic for the Resource-Constrained Project Scheduling Problem
Previous Article in Journal
Synthetic Optimization of Trafficability and Roll Stability for Off-Road Vehicles Based on Wheel-Hub Drive Motors and Semi-Active Suspension
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Resolution of Differential Equations Using the Finite Difference Method in the Real and Complex Domain

by
Ana Laura Mendonça Almeida Magalhães
1,
Pedro Paiva Brito
1,
Geraldo Pedro da Silva Lamon
1,
Pedro Américo Almeida Magalhães Júnior
1,*,
Cristina Almeida Magalhães
2,
Pedro Henrique Mendonça Almeida Magalhães
3 and
Pedro Américo Almeida Magalhães
1
1
Programa de Pós-graduação em Engenharia Mecânica Pontifícia Universidade Católica de Minas Gerais (PUCMINAS), Av. Dom José Gaspar, 500 Prédio 10 Coração Eucarístico, Belo Horizonte 30535-901, MG, Brazil
2
Departamento de Engenharia Mecânica, Centro Federal de Educação Tecnológica de Minas Gerais (Cefet-MG), Av. Amazonas 7675, Nova Gameleira, Belo Horizonte 30510-000, MG, Brazil
3
Departamento de Engenharia Elétrica, Universidade Federal de Minas Gerais (UFMG), Av. Pres. Antônio Carlos, 6627 Pampulha, Belo Horizonte 31270-901, MG, Brazil
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(12), 1870; https://doi.org/10.3390/math12121870
Submission received: 26 May 2024 / Revised: 7 June 2024 / Accepted: 12 June 2024 / Published: 15 June 2024

Abstract

:
The paper expands the finite difference method to the complex plane, and thus obtains an improvement in the resolution of differential equations with an increase in numerical precision and a generalization in the mathematical modeling of problems. The article begins with a selection of the best techniques for obtaining finite difference coefficients for approximating derivatives in the real domain. Then, the calculation is expanded to the complex domain. The research expands forward, backward, and central difference approximations of the real case by a quadrant approximation in the complex plane, which facilitates the use in boundary conditions of differential equations. The article shows many real and complex finite difference equations with their respective order of error, intended to serve as a basis and reference, which have been tested in practical examples of solving differential equations used in engineering. Finally, a comparison is made between the real and complex techniques of finite difference methods applied in the Theory of Elasticity. As a surprising result, the article shows that the finite difference method has great advantages in numerical precision, diversity of formulas, and modeling generalities in the complex domain when compared to the real domain.

1. Introduction

The finite difference method can be employed to solve boundary value or initial value problems involving ordinary or partial differential equations. Thus, this method can be applied to solve the equations of models using concentrated or distributed parameters [1,2,3]. The technique consists of replacing each derivative or differential of the differential equations by approximation of finite differences or finite addition of the variables, as shown in Equation (1) below:
d x x ,   d y y ,   d u u d y d x y x y x δ y δ x μ δ y μ δ x ,   d 2 y d x 2 2 y x 2 2 y x 2 δ 2 y δ x 2 ,   d 3 y d x 3 3 y x 3 3 y x 3 μ δ 3 y δ x 3   μ δ 3 y μ δ x 3   u x u x u x δ u δ x μ δ u μ δ x ,   2 u x 2 2 u x 2 ,   3 u x 3 3 u x 3 ,   2 u x y 2 u x y ,   3 u x y 3 u x 2 y  
The error is the difference in the absolute value of the exact value and of the approximate value (Error = |Valueexact—Valueapprox|). In principle, shortening the calculation step reduces the number of errors. The ratio of step to error decrease is the order of error (n), indicated by O(hn), where h = Δx = xi+1xi is the constant step of the independent variables [1,4]. Thus, if a numerical method is of error order O(h4), it means that if you shorten the step by half, the error decreases (1/2)4 = 1/16; that is, the error decreases approximately 16 times. If you reduce the step by 10 times, the error drops 104 = 10,000 times. Therefore, the higher the error order of a method is, the more accurate the method. Most numerical methods contain errors; that is, they are approximate methods. The interesting question is to be able to reduce these errors to a level that meets the demand of the problem under investigation. Thus, this approach makes the method as accurate as one wishes [5].
The idea of replacing differentials with finite additions is derived from the origin of differential and integral calculus, where at the time of its creation, the idea of limit was not very developed. Thus, mathematicians approximated the differentials by very small positive values near zero. Therefore, the finite difference method is very simple and intuitive mathematics.
In recent years, the finite difference method has been losing ground to other numerical methods, such as the finite element method and the boundary element method. It is believed that one of the reasons for this trend is the difficulty of obtaining approximations of the derivatives by finite difference equations, especially for high-order derivatives with several variables, and finite difference formulas that have a high order of error. The present work attempts to correct this gap and starts with a review of numerical finite difference operators.

2. Review of Numerical Finite Difference Operators

The operator is a symbol that represents, in short, a set of operations to be performed on a variable [1]. The domain or field of definition of an operator is the set, to which the operator can be applied [6]. Numeric operators have as an operand or domain the images of a discrete (or tabulated) function, because numerical methods work mainly with tables of points rather than algebraic or analytic functions [4]. A discrete function (tabulated function) will be represented by the set of points {(x1, y1), (x2, y2), , (xn, yn)} or {[x1, u(x1)], [x2, u(x2)], , [xn, u(xn)]}, where yn= u(xn), and h = Δx = xi+1-xi is a constant step of the independent variables (h = Δx = x2x1 = x3x2 = x4x3 = xi+1 − xi = = xn − xn−1). Table 1 defines the main numeric operators.
In addition, the differential operator is usually denoted by D (the differential operator (D) is not a numeric operator), where D f x = d d x f x = f x   o r   D 2 f x = d 2 d x 2 f x = f ´ ´ x   o r   D 3 f x = d 3 d x 3 f x = f ´ ´ ´ x   o r   D 4 f x = d 4 d x 4 f x = f ( 4 ) x   o r o r   D n f x = d n d x n f x = f ( n ) x . Additionally, as the spacing of the variable x is constant, h = Δx = x = δx = μδ x.
The numerical operators can be successively applied, which is referred to as the potence of operators, analogous to the operation of algebraic potentiation. Table 2 shows the successive application of the numeric operators, where n is any number.

3. Review of Finite Difference Equations for Derivative Approximations of a Single Variable

Finite difference equations are used to approximate derivatives of any order at any point, as long as there is a sufficient number of points [2,7,8,9,10]. To calculate the numerical value of a derivative, finite differences use nearby points and their locations. The locations of these sampled points receive the name of finite difference stencil.
To determine the coefficients for a difference equation:
d 4 u d x 4 A u x 2 h + B u x h + C u x + D u x + h + E u ( x + 2 h )
The formula for Taylor expansion is:
u b = u a + u ´ a 1 ! b a + u ´ ´ a 2 ! ( b a ) 2 + + u n a n ! b a n +
By expanding the first term, A of u(x − 2h), with b = x − 2h and a = x, we obtain:
A u x + A u ´ x 2 h + A 1 2 u ´ ´ x 2 h 2 + A 1 6 u ´ ´ ´ x 2 h 3 + A 1 24 u ´ ´ ´ ´ x 2 h 4 + A 1 120 u ´ ´ ´ ´ ´ x 2 h 5 +
We then did the same for all the other terms in the numerator:
+ B u x + B u ´ x h + B 1 2 u ´ ´ x h 2 + B 1 6 u ´ ´ ´ x h 3 + B 1 24 u ´ ´ ´ ´ x h 4 + B 1 120 u ´ ´ ´ ´ ´ x h 5 + + C u x + D u x + D u ´ x h + D 1 2 u ´ ´ x h 2 + D 1 6 u ´ ´ ´ x h 3 + D 1 24 u ´ ´ ´ ´ x h 4 + D 1 120 u ´ ´ ´ ´ ´ x h 5 + + E u x + E u ´ x 2 h + E 1 2 u ´ ´ x 2 h 2 + E 1 6 u ´ ´ ´ x 2 h 3 + E 1 24 u ´ ´ ´ ´ x 2 h 4 + E 1 120 u ´ ´ ´ ´ ´ x 2 h 5 +
Now, to choose A, B, C, D, and E such that the summation of all of these terms results in the cancellation of all u(x), u′(x), u″(x), and u‴(x) terms and in the u’’’’(x) coefficients summing to one, it is necessary to solve the linear system below:
A + B + C + D + E = 0 2 A B + D + 2 E = 0 4 A + B + D + 4 E = 0 8 A B + D + 8 E = 0 16 A + B + D + 16 E = 24 h 4
These can be rewritten in general form as w i t h   φ 0 = 1   a n d   n   |   n 0 ,   φ n = 0 :
( 2 ) n A + ( 1 ) n B + C φ n + ( 1 ) n D + ( 2 ) n E = 4 ! h 4 φ n 4   f o r   0 n 4
Or in matrix form as:
1 1 1 1 1 2 1 0 1 2 4 1 0 1 4 8 1 0 1 8 16 1 0 1 16 A B C D E = 1 h 4 0 0 0 0 24
Now, this matrix is invertible, and the solution is:
A B C D E = 1 h 4 1 1 1 1 1 2 1 0 1 2 4 1 0 1 4 8 1 0 1 8 16 1 0 1 16 1 0 0 0 0 24 = 1 h 4 1 4 6 4 1
Substituting these values into the original equation, we arrive at the finite difference equation:
d 4 u d x 4 u x 2 h 4 u x h + 6 u x 4 u x + h + u ( x + 2 h ) h 4
It is noticed that this equation can be generalized to obtain the finite difference equation from any finite difference stencil considering the desired derivative. With a stencil, s, of length, N, and derivative order d < N, the coefficients, c’s, are obtained by the finite difference coefficients equation w i t h   φ 0 = 1   a n d   φ a n y   o t h e r   v a l u e = 0 :
s 1 n c 1 + s 2 n c 2 + + s N n c N = d ! h d φ n d   f o r  0 n N 1
The solution to this equation can be written in matrix form as:
c 1 c N = 1 h d s 1 0 s N 0 s 1 N 1 s N N 1 0 d ! 0
The error order of finite difference equations is provided by the order of the Taylor expansion.
Using Equation (12) to find the coefficients of the approximations of the derivatives by finite differences is very practical and quick. Furthermore, solving the linear system in (12) generates very general finite difference formulas, with any discrete input points. The Taylor series-based approximations are in closed forms. It was shown that a finite difference approximation of a derivative of a function u(x) at a reference mesh point x = x1 can be represented as:
d d x 1 u ( x 1 ) 1 x 1 k c k u i 1 + k
where the coefficients ck and the iterator k are defined based on the order and the type of the approximations. In the following discussion, we will denote ck as ckF, ckB, and ckC for forward, backward, and central difference approximations, respectively [11,12,13,14]. Working algebraically with the determinants of the linear system (12), explicit equations can be deduced for calculating the coefficients of the finite difference formulas. For a forward approximation, 0 ≤ k ≤ N, where N is order of the approximation, and:
c k F = j = 1 N 1 / j ,   k = 0 , ( 1 ) k + 1 N ! k N k ! k ! ,   1 k N
For backward approximations, −N ≤ k ≤ 0, and ckB = −ckF, i.e., the coefficients are additive inverse of those for forward approximations. For central approximations, −N ≤ k ≤ N, and:
c k C = 0 , k = 0 , 1 k + 1 ( N ! ) 2 k N k ! ( N + k ) ! , N k N , k 0
These formulas in Equations (14) and (15) can be used to find the finite difference approximations of any type and order. Explicit formulas for the coefficients of finite difference approximations of first-degree derivatives have been derived mathematically from Taylor series [15]. Although it is very simple to use Equations (14) and (15) for finite difference coefficients, the linear system in (12) is also easy to use and is even more general, as it is possible to choose which discrete points will be used in the finite difference formulas. The use of the linear system in (12) will also allow the expansion of finite difference coefficients for the complex field.
Table A1, Table A2 and Table A3 in Appendix A show some finite difference formulas obtained for the first derivatives in forward, backward, and centered forms for various orders of error. To use a more general notation and for several variables, we chose to exchange y for u as the independent variable and x for x1 or x2 or x3 or… for the dependent variable, as well as the index i by i1 or i2 or i3 or… for the indices of each dependent variable. Forward finite difference formulas have terms with an index greater than or equal to zero. Backward finite difference formulas have indices less than or equal to zero. Centered finite difference formulas have terms with indices equally on the positive and negative sides.
The proposed method for finding finite difference coefficients consists of using Taylor expansion for derivatives of a single variable with any sequence of points, and numerical operators to generalize finite difference formulas for partial derivatives and higher-order derivatives. The objective is to expand the approximations of derivatives by finite differences involving several different sequences of points and increasing the options of formulas with a high order of error that can be used. Thus, generalizing the finite difference equations that can be applied to solve differential equations.
It is observed that in Table A3 in Appendix A, there is an approximation with order 30, which is an order much higher than any order of error obtained, for example, for the Runge–Kutta method, which currently only has knowledge up to order 14 and is still very difficult to obtain (Terry Feagin’s order 14 Runge–Kutta scheme) [16].

4. Finite Difference Equations for Derivative Approximations with Numeric Operators

First-derivative finite difference formulas can now be applied to develop other finite difference approximations for higher-order derivatives and partial derivatives of more than one independent variable with the same error order as the original formulas. Here, a structure of the operational calculation is employed.
For example, for the second-order centered derivative (16), one has:
d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 d u x 1 d x 1 = E 1 + E 2 x 1 u i 1 d 2 u x 1 d x 1 2 = E 1 + E 2 x 1 2 u i 1 = E 2 2 + E 2 4 x 1 2 u i 1 = E 2 u i 1 2 u i 1 + E 2 u i 1 4 x 1 2 = u i 1 2 2 u i 1 + u i 1 + 2 4 x 1 2 , O x 1 2
Alternatively, for a second-order centered third derivative (17), one has:
d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 d u x 1 d x 1 = E 1 + E 2 x 1 u i 1 d 3 u x 1 d x 1 3 = E 1 + E 2 x 1 3 u i 1 = E 3 + 3 E 1 3 E + E 3 8 x 1 3 u i 1 = E 3 u i 1 + 3 E 1 u i 1 3 E u i 1 + E 3 u i 1 8 x 1 3 = u i 1 3 + 3 u i 1 1 3 u i 1 + 1 + u i 1 + 3 8 x 1 3 , O x 1 2
In another example, for a second-order centered partial derivative with second-order error (18), one has:
d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 d u x 1 d x 1 = E x 1 1 + E x 1 2 x 1 u i 1 2 u x 1 , x 2 x 1 x 2 = E x 1 1 + E x 1 2 x 1 E x 2 1 + E x 2 2 x 2 u i 1 , i 2 = E x 1 1 E x 2 1 E x 1 1 E x 2 E x 1 E x 2 1 + E x 1 E x 2 4 x 1 x 2 u i 1 , i 2 = E x 1 1 E x 2 1 u i 1 , i 2 E x 1 1 E x 2 u i 1 , i 2 E x 1 E x 2 1 u i 1 , i 2 + E x 1 E x 2 u i 1 , i 2 4 x 1 x 2 = u i 1 1 , i 2 1 u i 1 1 , i 2 + 1 u i 1 + 1 , i 2 1 + u i 1 + 1 , i 2 + 1 4 x 1 x 2 , O x 1 2 x 2 2
This same procedure could be performed without using the Shift E operator. The successive application of various operators is equivalent to plugging one formula into another, and for partial derivatives the operators act independently on different variables. In other words, a successive application of the operational calculation as the derivative operator, as follows:
d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 2 u x 1 , x 2 x 1 x 2 = u x 1 , x 2 x 1 x 2 = u i 1 1 , i 2 + u i 1 + 1 , i 2 2 x 1 x 2 = u i 1 1 , i 2 1 + u i 1 + 1 , i 2 1 2 x 1 + u i 1 1 , i 2 + 1 + u i 1 + 1 , i 2 + 1 2 x 1 2 x 2 = u i 1 1 , i 2 1 u i 1 1 , i 2 + 1 u i 1 + 1 , i 2 1 + u i 1 + 1 , i 2 + 1 4 x 1 x 2 , O x 1 2 x 2 2
These are simple and straightforward manipulations, and the operator approach merely reproduces them using indices. There is nothing wrong with this procedure, but it is believed that for larger expressions and to facilitate understanding, as with automation, the use of numerical operators is much simpler and easier because it transforms the determination of derivative approximations with finite differences into quick algebraic manipulations of polynomials with the variable E (numeric operator). In other words, the development of finite difference formulas has become simpler than solving linear systems or evaluating formulas with sums and producers. The objective of this research is to provide alternatives of how to obtain the coefficients of approximations of derivatives by finite differences in a simple, quick, easy, and accurate way.
For another example, of a third-order centered derivative with two independent variables (19), one has:
                      d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 d u x 1 d x 1 = E x 1 1 + E x 1 2 x 1 u i 1 3 u ( x 1 , x 2 ) x 1 2 x 2 = E x 1 1 + E x 1 2 x 1 2 E x 2 1 + E x 2 2 x 2 u i 1 , i 2 = E x 1 2 E x 2 1 + E x 1 2 E x 2 + 2 E x 2 1 2 E x 2 E x 1 2 E x 2 1 + E x 1 2 E x 2 8 x 1 2 x 2 u i 1 , i 2 = E x 1 2 E x 2 1 u i 1 , i 2 + E x 1 2 E x 2 u i 1 , i 2 + 2 E x 2 1 u i 1 , i 2 2 E x 2 u i 1 , i 2 E x 1 2 E x 2 1 u i 1 , i 2 + E x 1 2 E x 2 u i 1 , i 2 8 x 1 2 x 2 = u i 1 2 , i 2 1 + u i 1 2 , i 2 + 1 + 2 u i 1 , i 2 1 2 u i 1 , i 2 + 1 u i 1 + 2 , i 2 1 + u i 1 + 2 , i 2 + 1 8 x 1 2 x 2 , O x 1 2 x 2 2
Now, for a third-order centered partial derivative with second-order error and three independent variables (20), we have:
d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 d u x 1 d x 1 = E x 1 1 + E x 1 2 x 1 u i 1 3 u x 1 , x 2 , x 3 x 1 x 2 x 3 = E x 1 1 + E x 1 2 x 1 E x 2 1 + E x 2 2 x 2 E x 3 1 + E x 3 2 x 3 u i 1 , i 2 , i 3 = E x 1 1 E x 2 1 E x 3 1 + E x 1 1 E x 2 1 E x 3 + E x 1 1 E x 2 E x 3 1 E x 1 1 E x 2 E x 3 + E x 1 E x 2 1 E x 3 1 E x 1 E x 2 1 E x 3 E x 1 E x 2 E x 3 1 + E x 1 E x 2 E x 3 8 x 1 x 2 x 3 u i 1 , i 2 , i 3 = u i 1 1 , i 2 1 , i 3 1 + u i 1 1 , i 2 1 , i 3 + 1 + u i 1 1 , i 2 + 1 , i 3 1 u i 1 1 , i 2 + 1 , i 3 + 1 + u i 1 + 1 , i 2 1 , i 3 1 u i 1 + 1 , i 2 1 , i 3 + 1 u i 1 + 1 , i 2 + 1 , i 3 1 + u i 1 + 1 , i 2 + 1 , i 3 + 1 8 x 1 x 2 x 3 , O x 1 2 x 2 2 x 3 2
Thus, having finite difference formulas for the first derivatives of a given error order, one can obtain approximations for successive derivatives and for partial derivatives of several variables with that same error order. For this, it is enough to use u i p + n = E i p n and make algebraic manipulations with a remarkable product of multiplication and potentiation of the operator E; at the end of the analytic expansions, the inverse transformation of E x 1 n 1 E x 2 n 2 E x 3 n 3 E x p n p u i = u i 1 + n 1 , i 2 + n 2 , i 3 + n 3 , , i p + n p . Using computer algebra software (Maple 2023 Academic Edition®) makes it even easier to obtain finite difference approximations of successive derivatives of any order and of any number of independent variables.
With the use of finite difference formulas for first derivative approximations, obtaining finite difference formulas for approximation of higher-order derivatives of a variable or of several variables becomes a work of the relation between two operators and purely algebraic manipulation of polynomials, which can be automatically performed by mathematical algebra software for any error order.
There is also the possibility of mixing approximations with different error orders for each independent variable; thus, we used a formula with order error two for x1 and with order error three for x2. One can also mix the types of formulas by merging forward approximations of one variable with centered and backward approximations of another variable. The most common approach is to use finite difference approximations with the same type (forward, backward, and central) and with the same order of error.

5. Finite Difference Coefficients for Complex Variables

Analytic functions form a very important special case of functions defined over a 2D complex plane. A function u(x1) with u and x1 are complex variables and said to be analytic if d u d x 1 = lim x 1 0 u x 1 + x 1 u ( x 1 ) x 1 is uniquely defined, no matter from which direction in the complex plane Δx1 approaches zero [17,18]. Any function u(x) that possesses a Taylor expansion at some x-location can be extended to an analytic function, with a vast range of further consequences [17,18,19,20].
Now, instead of having forward, backward, and central difference approximations on the real line, we have first quadrant (Q1), second quadrant (Q2), third quadrant (Q3), fourth quadrant (Q4), and central (C) on the complex plane. Furthermore, the spacings form square matrices in the complex plane, with the number of points being squared powers (4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, etc.). Thus, there are spacings, as shown in Figure 1, Figure 2 and Figure 3, where h = Δx and I = 1 .
Following the same scheme for the real case, the linear system generated by the Taylor series for the complex domain is solved. In the complex case, the spacing points of the complex plane are used to generate the linear system, as shown in item 3. Table A4, Table A5, Table A6, Table A7 and Table A8 in Appendix A show the formulas obtained for the first derivative and a single variable. It should be noted that the Cauchy–Riemann equations were not used in the limit of defining the complex derivative, no matter from which direction the complex plane approaches zero. The only different thing used was that the operations of addition, subtraction, multiplication, and division were now in the complex domain.
This simple transition from the real domain to the complex domain in obtaining the approximations of the derivatives through finite differences is very important because it shows that the finite difference method can possibly also be easily expanded to the domain of variables.
Furthermore, with the resolution of complex linear systems, it is possible to obtain finite difference formulas for higher-order derivatives since these derivatives appear in the Taylor expansion. The problem is that there is a reduction in the order of the error as the order of the derivative increases, but with the advantage of having few points in the formulas, as shown in Table A9 and Table A10 in Appendix A.
A generalization for calculating finite difference coefficients via only linear systems, as described in item 3 of this article, would be to exchange Equation (3) for the Taylor series in several variables. It is also noted that the variables are now in the complex domain [2,3,4,10]. The linear systems generated are larger, but it is now possible to calculate finite difference approximations for partial derivatives and high-order derivatives:
u b 1 , b 2 , , b d = n 1 = 0 n d = 0 b 1 a 1 n 1 b d a d n d n 1 ! n 2 ! n d ! n 1 + n 2 + n d u x 1 n 1 x 2 n 2 x d n d a 1 , a 2 , a d                                                               = u a 1 , a 2 , , a d + j = 1 d u a 1 , a 2 , , a d x j b j a j + 1 2 ! j = 1 d k = 1 d 2 u a 1 , a 2 , , a d x j x k b j a j b k a k + 1 3 ! j = 1 d k = 1 d l = 1 d 3 u a 1 , a 2 , , a d x j x k x l b j a j b k a k b l a l +
In contrast, this research advocates using the Taylor series and the resolution of linear systems only for calculating finite difference coefficients only for first derivatives and with a single variable. To calculate the coefficients of finite difference approximations of the partial derivatives of several variables and derivatives of higher order than the first, it is always proposed to use the numerical operator Shift E and multiplication of polynomials. The reason for this is to reduce the number of mathematical operations necessary to calculate the finite difference coefficients, and to guarantee the order of the error in the approximations of derivatives by finite differences.

6. Second- and Higher-Order Derivatives and Derivatives with Several Variables

Again, with the complex finite difference approximations to the first-order derivatives, one can easily calculate the higher-order derivatives and the derivatives of several variables using the numerical operator Shift E and multiplication of polynomials. The use of operational calculation is perhaps the safest way to calculate other approximations of derivatives by finite differences, guaranteeing the order of the error. In practical engineering applications, the option is usually to maintain the quadrant and order of the error in finite difference approximations.
A difference in the complex case is that complex potentiation will be used in the operators. For example, E n u x i = u x i + n can be generalized to u x i + n + m I x = u x i + n + m I = E n + m I u x i ; then, for example, E 1 + I u x i = u x i + 1 + I x and E 2 3 I u x i = u x i + 2 3 I x . Here, a structure of the operational calculation is employed.
For example, for the second-order quadrant 1 derivative (22), one has:
d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 u i 1 + 1 2 x 1 , O x 1 3                                                                                                     d u x 1 d x 1 = 2 E I + 1 I E 1 + I + 3 + 3 I 2 E 2 x 1 u i 1                                                                                                     d 2 u x 1 d x 1 2 = 2 E I + 1 I E 1 + I + 3 + 3 I 2 E 2 x 1 2 u i 1 d 2 d x 1 2 u x 1 = 1 2 x 1 2 ( 2 u i 1 + 2 I + 2 2 I u i 1 + 1 + 2 I I u i 1 + 2 + 2 I + 6 + 6 I u i 1 + I + 2 I u i 1 + 1 + I 2 + 2 I u i 1 + 2 + I 9 I u i 1 + 6 + 6 I u i 1 + 1 2 u i 1 + 2 ) ,   O   x 1 3  
Alternatively, for a second-order quadrant 1 derivative with two variables (23), one has:
d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 u i 1 + 1 2 x 1 , O x 1 3                                                                                                     d u x 1 d x 1 = 2 E I + 1 I E 1 + I + 3 + 3 I 2 E 2 x 1 u i 1 2 u x 1 , x 2 x 1 x 2 = 2 E x 1 I + 1 I E x 1 1 + I + 3 + 3 I 2 E x 1 2 x 1 2 E x 2 I + 1 I E x 2 1 + I + 3 + 3 I 2 E x 2 2 x 2 u i 1 , i 2                                                             2 x 1 x 2 u x 1 , x 2 = 1 2 x 1 x 2 ( 2 u i 1 + I , i 2 + I + 1 I u i 1 + I , i 2 + 1 + I                                                                                                                     + 3 + 3 I u i 1 + I , i 2 2 I u i 1 + I , i 2 + 1                                                                                                                     + 1 I u i 1 + 1 + I , i 2 + I I u i 1 + 1 + I , i 2 + 1 + I                                                                                                                     + 3 I u i 1 + 1 + I , i 2 1 + I u i 1 + 1 + I , i 2 + 1                                                                                                                     + 3 + 3 I u i 1 , i 2 + I + 3 I u i 1 , i 2 + 1 + I 9 I u i 1 , i 2                                                                                                                     + 3 + 3 I u i 1 , i 2 + 1 2 I u i 1 + 1 , i 2 + I                                                                                                                     1 + I u i 1 + 1 , i 2 + 1 + I + 3 + 3 I u i 1 + 1 , i 2                                                                                                                     2 u i 1 + 1 , i 2 + 1 ) ,   O   x 1 3   x 2 3  
For another example, of a third-order quadrant 1 derivative with two independent variables (24), one has:
d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 u i 1 + 1 2 x 1 , O x 1 3        d u x 1 d x 1 = 2 E I + 1 I E 1 + I + 3 + 3 I 2 E 2 x 1 u i 1 3 u x 1 , x 2 x 1 2 x 2 = 2 E x 1 I + 1 I E x 1 1 + I + 3 + 3 I 2 E x 1 2 x 1 2 2 E x 2 I + 1 I E x 2 1 + I + 3 + 3 I 2 E x 2 2 x 2 u i 1 , i 2 3 x 1 2 x 2 = 1 4 x 1 2 x 2 ( 4 u i 1 + 2 I , i 2 + I + 2 2 I u i 1 + 2 I , i 2 + 1 + I + 6 + 6 I u i 1 + 2 I , i 2                          4 I u i 1 + 2 I , i 2 + 1 + 4 4 I u i 1 + 1 + 2 I , i 2 + I 4 I u i 1 + 1 + 2 I , i 2 + 1 + I                          + 12 I u i 1 + 1 + 2 I , i 2 4 + 4 I u i 1 + 1 + 2 I , i 2 + 1 2 I u i 1 + 2 + 2 I , i 2 + I                          1 + I u i 1 + 2 + 2 I , i 2 + 1 + I + 3 + 3 I u i 1 + 2 + 2 I , i 2 2 u i 1 + 2 + 2 I , i 2 + 1                          + 12 + 12 I u i 1 + I , i 2 + I + 12 I u i 1 + I , i 2 + 1 + I 36 I u i 1 + I , i 2                          + 12 + 12 I u i 1 + I , i 2 + 1 + 4 I u i 1 + 1 + I , i 2 + I + 2 + 2 I u i 1 + 1 + I , i 2 + 1 + I                          6 + 6 I u i 1 + 1 + I , i 2 + 4 u i 1 + 1 + I , i 2 + 1 4 + 4 I u i 1 + 2 + 2 I , i 2 + I                          4 u i 1 + 2 + I , i 2 + 1 + I + 12 u i 1 + 2 + I , i 2 + 4 + 4 I u i 1 + 2 + I , i 2 + 1 18 u i 1 , i 2 + I                          9 + 9 I u i 1 , i 2 + 1 + I + 27 + 27 I u i 1 , i 2 18 u i 1 , i 2 + 1                          + 12 + 12 I u i 1 + 1 , i 2 + I + 12 u i 1 + 1 , i 2 + 1 + I 36 u i 1 + 1 , i 2                          + 12 12 I u i 1 + 1 , i 2 + 1 4 u i 1 + 2 , i 2 + I + 2 + 2 I u i 1 + 2 , i 2 + 1 + I                          + 6 6 I u i 1 + 2 , i 2 + 4 I u i 1 + 2 , i 2 + 1 ) ,   O   x 1 3   x 2 3
Now, for a third-order quadrant 1 partial derivative with three independent variables (25), we have:
d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 u i 1 + 1 2 x 1 , O x 1 3            d u x 1 d x 1 = 2 E I + 1 I E 1 + I + 3 + 3 I 2 E 2 x 1 u i 1 3 u x 1 , x 2 , x 3 x 1 x 2 x 3 = 2 E x 1 I + 1 I E x 1 1 + I + 3 + 3 I 2 E x 1 2 x 1 2 E x 2 I + 1 I E x 2 1 + I + 3 + 3 I 2 E x 2 2 x 2             2 E x 3 I + 1 I E x 3 1 + I + 3 + 3 I 2 E x 3 2 x 3 u i 1 , i 2 , i 3 3 x 1 x 2 x 3 = 1 4 x 1 x 2 x 3 ( 4 u i 1 + I , i 2 + I , i 3 + I + 2 2 I u i 1 + I , i 2 + I , i 3 + 1 + I                         + 6 + 6 I u i 1 + I , i 2 + I , i 3 4 u i 1 + I , i 2 + I , i 3 + 1 + 2 2 I u i 1 + I , i 2 + 1 + I , i 3 + I                         2 I u i 1 + I , i 2 + 1 + I , i 3 + 1 + I + 6 I u i 1 + I , i 2 + 1 + I , i 3 2 + 2 I u i 1 + I , i 2 + 1 + I , i 3 + 1                         + 6 + 6 I u i 1 + I , i 2 , i 3 + I + 6 I u i 1 + I , i 2 , i 3 + 1 + I 18 I u i 1 + I , i 2 , i 3                         + 6 + 6 I u i 1 + I , i 2 , i 3 + 1 4 I u i 1 + I , i 2 + 1 , i 3 + I 2 + 2 I u i 1 + I , i 2 + 1 , i 3 + 1 + I                         + 6 + 6 I u i 1 + I , i 2 + 1 , i 3 4 u i 1 + I , i 2 + 1 , i 3 + 1 + 2 2 I u i 1 + 1 + I , i 2 + I , i 3 + I                         2 I u i 1 + 1 + I , i 2 + I , i 3 + 1 + I + 6 I u i 1 + 1 + I , i 2 + I , i 3 2 + 2 I u i 1 + 1 + I , i 2 + I , i 3 + 1                         2 I u i 1 + 1 + I , i 2 + 1 + I , i 3 + I 1 + I u i 1 + 1 + I , i 2 + 1 + I , i 3 + 1 + I                         + 3 + 3 I u i 1 + 1 + I , i 2 + 1 + I , i 3 2 u i 1 + 1 + I , i 2 + 1 + I , i 3 + 1 + 6 I u i 1 + 1 + I , i 2 , i 3 + I                         + 3 + 3 I u i 1 + 1 + I , i 2 , i 3 + 1 + I 9 + 9 I u i 1 + 1 + I , i 2 , i 3 + 6 u i 1 + 1 + I , i 2 , i 3 + 1                         2 + 2 I u i 1 + 1 + I , i 2 + 1 , i 3 + I 2 u i 1 + 1 + I , i 2 + 1 , i 3 + 1 + I + 6 u i 1 + 1 + I , i 2 + 1 , i 3                         + 2 + 2 I u i 1 + 1 + I , i 2 + 1 , i 3 + 1 + 6 + 6 I u i 1 , i 2 + I , i 3 + I + 6 I u i 1 , i 2 + I , i 3 + 1 + I                         18 I u i 1 , i 2 + I , i 3 + 6 + 6 I u i 1 , i 2 + I , i 3 + 1 + 6 I u i 1 , i 2 + 1 + I , i 3 + I                         + 3 + 3 I u i 1 , i 2 + 1 + I , i 3 + 1 + I 9 + 9 I u i 1 , i 2 + 1 + I , i 3 + 6 u i 1 , i 2 + 1 + I , i 3 + 1                         18 I u i 1 , i 2 , i 3 + I 9 + 9 I u i 1 , i 2 , i 3 + 1 + I + 27 + 27 I u i 1 , i 2 , i 3                         18 u i 1 , i 2 , i 3 + 1 + 6 + 6 I u i 1 , i 2 + 1 , i 3 + I + 6 u i 1 , i 2 + 1 , i 3 + 1 + I 18 u i 1 , i 2 + 1 , i 3                         + 6 6 I u i 1 , i 2 + 1 , i 3 + 1 4 I u i 1 + 1 , i 2 + I , i 3 + I                         2 + 2 I u i 1 + 1 , i 2 + I , i 3 + 1 + I 6 + 6 I u i 1 + 1 , i 2 + I , i 3 4 u i 1 + 1 , i 2 + I , i 3 + 1                         2 + 2 I u i 1 + 1 , i 2 + 1 + I , i 3 + I 2 u i 1 + 1 , i 2 + 1 + I , i 3 + 1 + I + 6 u i 1 + 1 , i 2 + 1 + I , i 3                         + 2 + 2 I u i 1 + 1 , i 2 + 1 + I , i 3 + 1 + 6 + 6 I u i 1 + 1 , i 2 , i 3 + I + 6 u i 1 + 1 , i 2 , i 3 + 1 + I                         18 u i 1 + 1 , i 2 , i 3 + 6 6 I u i 1 + 1 , i 2 , i 3 + 1 4 u i 1 + 1 , i 2 + 1 , i 3 + I                         + 2 + 2 I u i 1 + 1 , i 2 + 1 , i 3 + 1 + I + 6 6 I u i 1 + 1 , i 2 + 1 , i 3                         + 4 I u i 1 + 1 , i 2 + 1 , i 3 + 1 ) ,   O   x 1 3   x 2 3   x 3 3  
In this way, obtaining a finite difference formula becomes a simple multiplication of polynomials that can be automated with the use of computational tools.

7. Testing the Finite Difference Formulas Obtained and Checking the Error Order

It was observed that all real and complex finite difference formulas obtained could be numerically verified and tested, and even the order of the error could be numerically validated by simply choosing an easily derived function with an exponential and where the Ithprime function returns the ith prime number, where the first prime number is Ithprime(1) = 2, the second prime number is Ithprime(2) = 3, and the third prime number is Ithprime(3) = 5, for example:
u = e 1000 1000 + I t h p r i m e ( 1 ) x 1   e 1000 1000 + I t h p r i m e ( 2 ) x 2   e 1000 1000 + I t h p r i m e ( 3 ) x 3
We chose a value for x1, x2, x3,…; for example, where each x1, x2, x3, … is a different, randomly generated real or complex value (for complex finite difference formulas), and then chose a small value for the step or increment of Δx1 or Δx2 or Δx3…; for example, where each Δx1, Δx2, Δx3, … is a different randomly generated real or complex value (for complex finite difference formulas), with absolute value in the range of 0.1 and 0.01. We then compared the analytically obtained derivative using derivation rules, which is the exact value, with the values of the derivatives obtained using the finite difference formulas, which is the approximate value. We could then calculate the error, which is the absolute value of the difference between the exact value and the approximate value. Then, a smaller step value was selected, for example, do Δx1 = Δx1/10 or Δx2 = Δx2/10 or Δx3 = Δx3/10 or…, ten times smaller. The value of the derivative was recalculated using the finite difference formulas and the new error was obtained. With the values of the two errors with different steps, we could obtain the error order of the approximation by finite differences, making the logarithm of the ratio of errors on the basis of the ratio of the steps and rounding the result of the logarithm to the nearest integer [21]. Thus, we obtained:
S t e p 1 = 0.01 E r r o r 1 = u e x a c t u a p r o x 1 S t e p 2 = 0.001 E r r o r 2 = u e x a c t u a p r o x 2 E r r o r O r d e r = l = r o u n d l o g S t e p 1 S t e p 2 E r r o r 1 E r r o r 2 = r o u n d l n E r r o r 1   E r r o r 2 l n S t e p 1 S t e p 2 O ( x l )
Special care must be taken so that Error1 and Error2 are nonzero so as not to produce an error in the expression (26) above. This test checks not only whether the finite difference formula approximates the real value of the derivatives but also the order of their error. It is, therefore, an important test for the verification of the finite difference equations obtained [22]. In this analytical test, the finite difference derivative approximations in the complex domain showed exceptional performance, with a small absolute error and high precision and accuracy. Passing this test, it was suggested to verify whether the approximation formulas of the calculus of derivatives by finite differences are useful in practical problems of engineering and physics [23,24].

8. Approximations of Derivatives Using Complex Finite Differences for Non-Rectangular Grids

An interesting feature that appears in the complex domain is the use of non-rectangular or square grids. The use of this type of grid is important for problems with heterogeneous materials, complex geometries, or with different initial and boundary conditions.
Figure A1, Figure A2, Figure A3, Figure A4, Figure A5, Figure A6, Figure A7 and Figure A8 in Appendix B show examples of finite difference formulas for non-rectangular grids. These equations were deduced in a similar way to the others using complex linear systems obtained from the Taylor series for the grid points, Equations (3)–(5) and (12). Only the first-order derivatives were calculated. Higher-order derivatives and several variables could be obtained using polynomial multiplication with the Shift (E) operator. When using non-rectangular or square grids, care must be taken when applying the finite difference method with successive use in numbering the formula indices. Therefore, symmetric and regular grids are computationally easier to use.

9. Comparison of the Real Solution with the Complex One by Finite Differences in the Theory of Disk Elasticity in Compression

As the main subject of this work, the finite difference formulas obtained were used to solve elasticity theory problems, with fourth-order derivatives, of a ring in compression by a constant force, as shown in Figure 4, where the radius of the inner disk (R1) was 0.02 m, the radius of the outer disk (R2) was 0.04 m, and the constant force (P) was 100 N, with an angle α of 10 degrees and disc thickness of 0.0025 m. This is an interesting problem because in addition to the Dirichlet or a Neumann boundary condition, it presents a boundary condition using second derivatives for the normal and shear stresses [23,25].
In the real case, the problem can be mathematically modeled by Airy’s stress function (ϕ) as:
4 ϕ x 4 + 2 4 ϕ x 2 y 2 + 4 ϕ y 4 = 0
In polar coordinates (r2 = x2 + y2, θ = arctan(y/x)):
2 r 2 + 1 r r + 1 r 2 2 θ 2 2 ϕ r 2 + 1 r ϕ r + 1 r 2 2 ϕ θ 2 = 0
We assumed that the two-dimensional Cartesian normal (σx and σy) and shear (τxy) stress components could be represented by a stress function, ϕ, such that:
σ x = 2 ϕ y 2 σ y = 2 ϕ x 2 τ x y = 2 ϕ x y
In polar coordinates, with radial stress, σr, circumferential stress, σθ, and polar shear stress, τ:
σ r = 1 r ϕ r + 1 r 2 2 ϕ θ 2 σ θ = 2 ϕ r 2 τ r θ = 1 r 2 ϕ θ 1 r 2 ϕ r θ
The principal stresses yielded:
σ 1 = σ x + σ y 2 + σ x σ y 2 2 + τ x y 2 σ 2 = σ x + σ y 2 σ x σ y 2 2 + τ x y 2
The maximum shear stresses:
τ m a x = σ 1 σ 2 2 , σ 1 σ 2 0 σ 1 2 , σ 1 > 0   a n d   σ 2 > 0 σ 2 2 σ 1 < 0   a n d   σ 2 < 0
Expressions could be obtained that related the polar stress components to the Cartesian stress components, as follows [26]:
σ r = σ x c o s 2 θ + σ y s i n 2 θ + τ x y s i n 2 θ σ θ = σ y c o s 2 θ + σ x s i n 2 θ τ x y s i n 2 θ τ r θ = ( σ y σ x ) s i n θ c o s θ + τ x y c o s 2 θ   or   σ x = σ r c o s 2 θ + σ θ s i n 2 θ τ r θ s i n 2 θ σ y = σ r s i n 2 θ + σ θ c o s 2 θ + τ r θ s i n 2 θ τ x y = ( σ r σ θ ) s i n θ c o s θ + τ r θ c o s 2 θ
The in-plane total stress was determined by the following formula:
σ = σ r + σ θ
The equivalent tensile stress or equivalent von Mises stress was defined as follows [26]:
v o n = σ 1 σ 2 2 + σ 1 2 + σ 2 2 2
The principal angle could be computed according to Formula (35):
β = 1 2 a r c t a n 2 σ r σ s i n 2 θ + 2 τ r θ c o s 2 θ 2 σ r σ c o s 2 θ 2 τ r θ s i n 2 θ
The disk was subjected to in-plane uniform pressure that was distributed on the two diametrically opposite regions of the external circular surface (boundary conditions) [26]:
σ r R 2 , θ = P , θ π 2 α , π 2 + α 3 π 2 α , 3 π 2 + α 0 , i n  o t h e r  c a s e s o t h e r w i s e , σ r R 1 , θ = 0 , τ r θ R 1 , θ = 0 , τ r θ R 2 , θ = 0 , θ ( 0 , π 2 ]
One point that may go unnoticed is that because the step (Δx) was constant, we could change the values of the indices in the finite difference formulas. To use the finite difference method in all potentialities, in addition to having a bank of finite difference approximations, it is also necessary to manipulate the indices in the finite difference formulas, where one can:
(a)
add or subtract the indices of the equations by any value, shifting the indices, which is useful at the border of the geometric domain of the mesh,
(b)
use the formulas obtained for total and partial derivatives,
(c)
swap the variable with respect to the derivative,
(d)
change the orders of the variables of the partial derivatives, changing the indices of equations,
(e)
obtain the backward equations based on the forward equations, and vice versa,
(f)
with symmetry in the finite difference coefficients of different quadrants, considering the formula of quadrant 1, one can obtain that of quadrants 2, 3, and 4,
(g)
observe the symmetry of the numerator coefficients of centered equations.
These characteristics of finite difference formulas are just a few examples that show the versatility and potential of their use in solving differential equation problems. Mainly in implicit formulations of the finite difference method, we arrived at linear systems that can be revolved most of the time by iterative methods or by successive and cyclic application of the equations. Table A11 in Appendix A shows the finite difference formulas utilized in solving the problem [27,28,29].
In the complex case, the problem can be mathematically modeled by Westergaard’s stress function (Z). Westergaard introduced a complex stress function, Z(z), that is related to Airy’s stress function, ϕ, by the equation:
= R e   Z ¯ + y   I m   Z ¯
Since Z is a complex function, it is clear that:
Z z = R e   Z +   I m   Z
where z is defined as:
z = x +   y = r   e   θ
Note that Z was analytic over the region of interest, and the Cauchy–Riemann conditions led to:
2   R e   Z = 2   I m   Z = 0
This result shows that the Westergaard stress function automatically satisfied Equation (27). The bars over the stress function Z in Equation (37) indicate integration [22,30]. Thus,
d Z ¯ ¯ d z = Z ¯   o r   Z ¯ ¯ = Z ¯ d z d Z ¯ d z = Z   o r   Z ¯ = Z d z d Z d z = Z   o r   Z = Z d z
where the bar and the prime represent integration and differentiation, respectively. Substituting Equation (37) into Equation (28) yielded the Cartesian components of stress in terms of real and imaginary parts of the Westergaard stress function, as:
σ x x = R e   Z y   I m   Z   σ y y = R e   Z + y   I m   Z   τ x y = y   R e   Z
Equation (42) will yield stresses for functions Z(z) that are analytic; however, the stress function must satisfy boundary conditions corresponding to the problem being investigated. The Westergaard stress function, Z, can be used in fracture mechanics to model, for example, the stress field in regions adjacent to the crack tip, and Airy’s stress function, ϕ, cannot model this.
To find the complex approximations of the derivatives by finite differences, the following algorithm was used:
(1)
Define the error order of the approximation and thus the number of formula intervals (Figure 1, Figure 2 and Figure 3).
(2)
Define whether to use equations from the first, second, third, or fourth quadrants or central equations, thus having the discrete points of the finite difference formulas (depending on the need in the problem mesh).
(3)
Assemble the complex linear system using Taylor series (Equations (3)–(6)).
(4)
Solve the complex linear system and obtain approximations for the first derivative (Equations (11) and (12)).
(5)
Write the first derivative approximations obtained in terms of the Shift operator E, with complex powers (Section 6).
(6)
Define the derivative that must be calculated with the number of independent complex and real variables and the order of the derivative of each variable (depending on the differential equation to be solved).
(7)
Perform polynomial multiplication in terms of the Shift operator E to obtain the desired finite difference approximation (Section 4 and Section 6).
(8)
Perform an algebraic test of the formula obtained (Section 7).
(9)
Use the finite difference formula obtained in the practical example.
(10)
Apply the finite difference approximation with increasingly smaller increment steps until obtaining the desired precision and accuracy.
Table A12 and Table A13 in Appendix A show the complex finite difference formulas utilized in solving the problem.
The implicit method was used to solve the problem by finite differences, making Δr = 0.001 m and Δθ = 0.01 rad, and then comparing with Δr = 0.0001 m and Δθ = 0.001 rad using 8 decimal places. Although the edges were circular, as the steps were very small and, consequently, the elements as well, the Control–Volume Approach or Volume–Integral Approach (a technique used for an irregularly shaped boundary, where weighting coefficients are applied to account for the nonuniform spacing in the vicinity of the nonrectangular boundary) were not used [1,2,3].
The computational solution of the problem was performed, and the linear system was solved by an iterative method. Figure 5 graphically shows the results, which were compared with the analytical solutions and were successful up to the eighth decimal place of precision (ξ ≤ 10−8). To gain computational efficiency, only the nodes where x2 + y2 were between the internal radius R12 (0.022) and the external radius R22 (0.042) were activated for the calculation. Each node is a real value of the incognita (ϕ) Airy’s stress function or a complex value of the incognita (Z) Westergaard’s stress function, but it is also a finite difference equation. At the edge of the boundary of the inner radius and outer radius, an increase in the grid of eight radial lines was provided for the stress boundary conditions. Thus, the number of unknowns (nodes) was equal to the number of equations in a large linear system that can be solved by Gauss–Seidel-type iterative techniques [2,31]. For this example of compression rings, the exact value of the analytical solution of the differential equation at each position, x and y, was also calculated. Thus, the error of using the finite difference method was obtained in the real case and in the complex case.
The results obtained by finite differences were compared with the analytical solution up to an error of less than eight decimal places. This example demonstrated the effectiveness of the finite difference method in accurately solving an engineering application involving fourth-order differential equations and circular geometry [26].
Both in the real model with the Airy function and in the complex model with the Westergaard function, the finite difference method was successful in obtaining the stress diagrams. No significant visual differences were observed between the real solution and the complex solution. Table 3 shows a comparison of the errors of the real solution in relation to the errors of the complex solution [23]. It should be noted that the complex solution obtained fewer errors, being considered much better than the real solution.
To date, we do not have a full understanding of why the complex solution is more accurate than the real solution. However, it is believed that the order of error in complex finite difference formulas is greater than that used in real finite difference formulas. Another reason comes from the modulus of the coefficients of the terms in complex finite difference equations being smaller than the real coefficients, reducing rounding errors in mathematical operations.
Finite difference formulas in the complex plane are in general more accurate than finite difference formulas in the real domain [17,18,19,20]. The reasons for this are that complex derivatives depend equally on data from all directions around the point, i.e., stencils must not extend very far, only along a line, and the Cauchy–Riemann equations impose restrictions on the range of functions that need to be considered. Even as stencil sizes and orders of accuracy increase, complex planar finite difference stencils continue to extract their key information from a very small neighborhood of the point of interest. By using standard finite difference approximations along the real axis and increasing the stencil width and precision order to a fixed derivative, the weights converge to a limit, known as the pseudospectral method. This contrasts with traditional pseudospectral methods which, with their slow algebraic decay of weights, rely on distant data, even when approximating local operators as derivatives. It seems that the derivative at a point cannot depend on the direction of approach in the complex plane, resulting in greater stability for the finite difference method. Holding a stencil size fixed and increasing the order p of the derivative d p / d z p (as far as the stencil size permits) will typically make the weights (following the leading factor 1 / h p ) increase rapidly. The Cauchy–Riemann equations also seemed to smooth the variations of finite differences in the complex domain, which improved the numerical precision and accuracy of numerical solutions of differential equations. The Euler–Maclaurin approximations benefited from a compensatory decrease in the magnitude of the coefficients for successive terms. If a very high-order derivative is to be approximated, algorithms based on Cauchy integrals may be preferable to finite difference approximations. Another option could be to find sets of finite difference weights where some orders of precision have been traded off against reductions in the magnitude of the weights. This has been used successfully in contexts such as numerical quadrature and in cases of Gregory-type and Newton–Cotes-type formulas, respectively.
Another issue that helps in the use of complex finite difference approximations is the square increase in the points used per interval. Thus, a spacing interval uses two points in the real case and four points in the complex case, two intervals uses three points in the real case and nine points in the complex case, three intervals uses four points in the real case and sixteen points in the complex case, and so on. This increases the precision and error order of the finite difference approximation and decreases the absolute value of the coefficient values of the finite difference approximations.
Table 4 shows a comparison between the various finite difference formulas used in numerically solving the stress problem. Note that only the main finite difference approximations for the fourth-order derivatives have been changed, as the initial and boundary conditions that use Dirichlet, Neumann, or second- and third-order derivatives are the same finite difference equations.
Comparing finite difference approximations in the complex field, it was noted that the central equations and more points had advantages, as well as equations that have geometric symmetry between the four quadrants of the complex plane and that try to get closer to circles centered at the origin. In other words, the symmetrical and regular distribution of the stencils helps to obtain more precise and accurate finite difference approximations.
Many other applications and tests of finite difference derivative approximations are provided in the literature [21,32,33,34,35,36,37,38,39,40,41].

10. Conclusions

The finite difference method is an important numerical method for solving both differential equations and computer simulations. For the same order of error, approximations of derivatives by finite differences were obtained with a smaller absolute value of the coefficients in the complex domain than in the real domain, which reduced the propagation of the rounding error. Finite difference formulas in the complex plane are in general more precise and accurate than finite difference formulas in the real domain. Furthermore, a much greater diversity of finite difference equations was obtained in the complex field than in the real domain, in all orders of errors and for the most varied boundary and initial conditions. The work is innovative, with a complex potentiation of numerical operators.
It was possible in the complex domain to obtain finite difference approximations of a high order of error or precision with few points of the function, even reaching equations with an error order of O(hn) and with only n points of the function. The reduced number of points in the finite difference approximation was important, especially in the boundary and initial conditions. Obtaining approximations of derivatives with a high order of error improved the precision of the numerical resolution of differential equations and reduced the computational effort in the finite difference method. The research was successful in obtaining approximations of derivatives by finite differences in the complex domain with a high order of error and with few points in the equations, which increased the applicability of the finite difference method and reduced restrictions on its use.
Due to the complex boundary and initial conditions that appear in structural engineering and solid mechanics problems, a large number of finite difference derivative approximations are necessary to solve the problems with accuracy. This work showed that, with modern microcomputers and a database with several finite difference equations for derivative approximations, many structural analysis problems can be solved with high numerical precision by applying the finite difference method.
This paper showed that although it is outdated, the finite difference method is still very important and cannot be abandoned. It is believed that it is best to use the finite difference method in conjunction with other numerical methods of solving differential equations, such as the finite element method and the boundary element method. The finite differences method presents high stability and easy application in many practical cases of problems involving differential equations, mainly problems involving long time series or sequences and derived from high orders or problems with part of the geometry having a simpler rectangular shape and large areas and volumes with homogeneous media. In these cases, the finite difference method has great advantages.
This article showed how structural mechanics problems can be solved using the finite difference method in the complex domain. Furthermore, it showed how advantageous it is to use complex mathematical models in relation to models in the real domain. Westergaard stress functions are more general and comprehensive than Airy’s stress function, and the finite difference method, which is a numerical method widely used in computer simulations, seemed to work better in the complex plane.
This paper showed how to obtain, in a simple and practical way, finite difference equations that perform approximations of the calculation of derivatives with high orders of error. Correctly using these finite difference equations, we obtained precise and exact solutions of differential equations in practical science and engineering problems. Thus, the finite difference method remains a powerful and robust numerical method for solving differential equation problems that efficiently utilizes recent computational advances in hardware and software.
Since finite differences formulas in the complex plane are generally considerably more accurate than traditional ones that use function values only along the real axis, it is concluded that it may be advantageous to solve differential equation problems using the finite difference method with variables in the complex domain instead of the real domain, which can even generalize many mathematical models of physical and engineering phenomena. The application of the finite difference method in the complex plane can be used to determine whether a variable is better modeled as belonging to the real domain or the complex domain in the study or analysis of a certain phenomenon.
As Supplementary Material of the paper, many of the approximations of derivatives by complex finite differences are presented in a PDF (https://zenodo.org/records/10901007, accessed on 3 April 2024).

Supplementary Materials

The supporting information can be downloaded at: https://zenodo.org/records/10901007, accessed on 3 April 2024.

Author Contributions

All authors reviewed the manuscript. All authors wrote the main manuscript text. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data is contained within the article or Supplementary Material.

Acknowledgments

The authors thank Pontifícia Universidade Católica de Minas Gerais-PUC Minas “Pontifical Catholic University of Minas Gerais” for the support. The authors thank the financial support of the Conselho Nacional de Desenvolvimento Científico e Tecnológico-CNPq “National Counsel of technological and scientific Development” and the Fundação de Amparo à Pesquisa de Minas Gerais-FAPEMIG “Foundation for Research Support of Minas Gerais”. This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior—Brasil (CAPES)—Finance Code 001.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Tables of Approximations of Derivatives by Finite Difference Equations

Table A1. Finite difference formulas with error orders from O(h) through O(h6).
Table A1. Finite difference formulas with error orders from O(h) through O(h6).
(a) d u x 1 d x 1 = u i 1 + u i 1 + 1 x 1 , O ( x 1 ) , F o r w a r d
(b) d u x 1 d x 1 = u i 1 1 + u i 1 x 1 , O ( x 1 ) , B a c k w a r d
( c )   d u x 1 d x 1 = 3 u i 1 + 4 u i 1 + 1 u i 1 + 2 2 x 1 , O x 1 2 , F o r w a r d
( d )   d u x 1 d x 1 = u i 1 2 4 u i 1 1 + 3 u i 1 2 x 1 , O x 1 2 , B a c k w a r d
(e) d u x 1 d x 1 = u i 1 1 + u i 1 + 1 2 x 1 , O x 1 2 , C e n t e r e d
( f )   d u x 1 d x 1 = 11 u i 1 + 18 u i 1 + 1 9 u i 1 + 2 + 2 u i 1 + 3 6 x 1 , O x 1 3 , F o r w a r d
( g )   d u x 1 d x 1 = 2 u i 1 3 + 9 u i 1 2 18 u i 1 1 + 11 u i 1 6 x 1 , O x 1 3 , B a c k w a r d
(h) d u x 1 d x 1 = 25 u i 1 + 48 u i 1 + 1 36 u i 1 + 2 + 16 u i 1 + 3 3 u i 1 + 4 12 x 1 , O x 1 4 , F o r w a r d
(i) d u x 1 d x 1 = 3 u i 1 4 16 u i 1 3 + 36 u i 1 2 48 u i 1 1 + 25 u i 1 12 x 1 , O x 1 4 , B a c k w a r d
( j )   d u x 1 d x 1 = u i 1 2 8 u i 1 1 + 8 u i 1 + 1 u i 1 + 2 12 x 1 , O x 1 4 , C e n t e r e d
(k) d u x 1 d x 1 = 137 u i 1 + 300 u i 1 + 1 300 u i 1 + 2 + 200 u i 1 + 3 75 u i 1 + 4 + 12 u i 1 + 5 60 x 1 , O x 1 5 , F o r w a r d
(l) d u x 1 d x 1 = 12 u i 1 5 + 75 u i 1 4 200 u i 1 3 + 300 u i 1 2 300 u i 1 1 + 137 u i 1 60 x 1 , O x 1 5 , B a c k w a r d
(m) d u x 1 d x 1 = 147 u i 1 + 360 u i 1 + 1 450 u i 1 + 2 + 400 u i 1 + 3 225 u i 1 + 4 + 72 u i 1 + 5 10 u i 1 + 6 60 x 1 , O x 1 6 , F o r w a r d
(n) d u x 1 d x 1 = 10 u i 1 6 72 u i 1 5 + 225 u i 1 4 400 u i 1 3 + 450 u i 1 2 360 u i 1 1 + 147 u i 1 60 x 1 , O x 1 6 , B a c k w a r d
(o) d u x 1 d x 1 = u i 1 3 + 9 u i 1 2 45 u i 1 1 + 45 u i 1 + 1 9 u i 1 + 2 + u i 1 + 3 60 x 1 , O x 1 6 , C e n t e r e d
Table A2. Finite difference formulas with error orders from O(h7) through O(h10).
Table A2. Finite difference formulas with error orders from O(h7) through O(h10).
(a) d u x 1 d x 1 = 1089 u i 1 + 2940 u i 1 + 1 4410 u i 1 + 2 + 4900 u i 1 + 3 3675 u i 1 + 4 + 1764 u i 1 + 5 490 u i 1 + 6 + 60 u i 1 + 7 420 x 1 , O x 1 7 , F o r w a r d
( b )   d u x 1 d x 1 = 60 u i 1 7 + 490 u i 1 6 1764 u i 1 5 + 3675 u i 1 4 4900 u i 1 3 + 4410 u i 1 2 2940 u i 1 1 + 1089 u i 1 420 x 1 , O x 1 7 , B a c k w a r d
( c )   d u x 1 d x 1 = 2283 u i 1 + 6720 u i 1 + 1 11760 u i 1 + 2 + 15680 u i 1 + 3 14700 u i 1 + 4 + 9408 u i 1 + 5 3920 u i 1 + 6 + 960 u i 1 + 7 105 u i 1 + 8 840 x 1 , O x 1 8 , F o r w a r d
( d )   d u x 1 d x 1 = 105 u i 1 8 960 u i 1 7 + 3920 u i 1 6 9408 u i 1 5 + 14700 u i 1 4 15680 u i 1 3 + 11760 u i 1 2 6720 u i 1 1 + 2283 u i 1 840 x 1 , O x 1 8 , B a c k w a r d
(e) d u x 1 d x 1 = 3 u i 1 4 32 u i 1 3 + 168 u i 1 2 672 u i 1 1 + 672 u i 1 + 1 168 u i 1 + 2 + 32 u i 1 + 3 3 u i 1 + 4 840 x 1 , O x 1 8 , C e n t e r e d
(f) d u x 1 d x 1 = 1 2520 x 1 7129 u i 1 + 22680 u i 1 + 1 45360 u i 1 + 2 + 70560 u i 1 + 3 79380 u i 1 + 4 + 63504 u i 1 + 5 35280 u i 1 + 6 + 12960 u i 1 + 7 2835 u i 1 + 8 + 280 u i 1 + 9 , O x 1 9 , F o r w a r d
( g )   d u x 1 d x 1 = 1 2520 x 1 280 u i 1 9 + 2835 u i 1 8 12960 u i 1 7 + 35280 u i 1 6 63504 u i 1 5 + 79380 u i 1 4 70560 u i 1 3 + 45360 u i 1 2 22680 u i 1 1 + 7129 u i 1 , O x 1 9 , B a c k w a r d
(h) d u x 1 d x 1 = 1 2520 x 1 7381 u i 1 + 25200 u i 1 + 1 56700 u i 1 + 2 + 100800 u i 1 + 3 132300 u i 1 + 4 + 127008 u i 1 + 5 88200 u i 1 + 6 + 43200 u i 1 + 7 14175 u i 1 + 8 + 2800 u i 1 + 9 252 u i 1 + 10 , O x 1 10 , F o r w a r d
(i) d u x 1 d x 1 = 1 2520 x 1 252 u i 1 10 2800 u i 1 9 + 14175 u i 1 8 43200 u i 1 7 + 88200 u i 1 6 127008 u i 1 5 + 132300 u i 1 4 100800 u i 1 3 + 56700 u i 1 2 25200 u i 1 1 + 7381 u i 1 , O x 1 10 , B a c k w a r d
(j) d u x 1 d x 1 = 1 2520 x 1 2 u i 1 5 + 25 u i 1 4 150 u i 1 3 + 600 u i 1 2 2100 u i 1 1 + 2100 u i 1 + 1 600 u i 1 + 2 + 150 u i 1 + 3 25 u i 1 + 4 + 2 u i 1 + 5 , O x 1 10 , C e n t e r e d
Table A3. Finite difference formulas with error orders of O(h30).
Table A3. Finite difference formulas with error orders of O(h30).
( a ) d u x 1 d x 1 = 1 2329089562800 x 1 ( 9304682830147 u i 1 + 69872686884000 u i 1 + 1 506576979909000 u i 1 + 2 + 3152034541656000 u i 1 + 3 15957174867133500 u i 1 + 4 + 66381847447275360 u i 1 + 5 230492525858595000 u i 1 + 6 + 677365790278320000 u i 1 + 7 1703998316168898750 u i 1 + 8 + 3702514859823780000 u i 1 + 9 6997753085066944200 u i 1 + 10 + 11566534024904040000 u i 1 + 11 16787538966701002500 u i 1 + 12 + 21456262821345660000 u i 1 + 13 24193031038354035000 u i 1 + 14 + 24085506455961350400 u i 1 + 15 21168902158559780625 u i 1 + 16 + 16407730392793740000 u i 1 + 17 11191692644467335000 u i 1 + 18 + 6696414435470760000 u i 1 + 19 3498876542533472100 u i 1 + 20 + 1586792082781620000 u i 1 + 21 619635751334145000 u i 1 + 22 + 206154805736880000 u i 1 + 23 57623131464648750 u i 1 + 24 + 13276369489455072 u i 1 + 25 2454949979559000 u i 1 + 26 + 350226060184000 u i 1 + 27 36184069993500 u i 1 + 28 + 2409402996000 u i 1 + 29 77636318760 u i 1 + 30 ) , O x 1 30 , F o r w a r d
( b ) d u x 1 d x 1 = 1 2329089562800 x 1 ( 77636318760 u i 1 30 2409402996000 u i 1 29 + 36184069993500 u i 1 28 350226060184000 u i 1 27 + 2454949979559000 u i 1 26 13276369489455072 u i 1 25 + 57623131464648750 u i 1 24 206154805736880000 u i 1 23 + 619635751334145000 u i 1 22 1586792082781620000 u i 1 21 + 3498876542533472100 u i 1 20 6696414435470760000 u i 1 19 + 11191692644467335000 u i 1 18 16407730392793740000 u i 1 17 + 21168902158559780625 u i 1 16 24085506455961350400 u i 1 15 + 24193031038354035000 u i 1 14 21456262821345660000 u i 1 13 + 16787538966701002500 u i 1 12 11566534024904040000 u i 1 11 + 6997753085066944200 u i 1 10 3702514859823780000 u i 1 9 + 1703998316168898750 u i 1 8 677365790278320000 u i 1 7 + 230492525858595000 u i 1 6 66381847447275360 u i 1 5 + 15957174867133500 u i 1 4 3152034541656000 u i 1 3 + 506576979909000 u i 1 2 69872686884000 u i 1 1 + 9304682830147 u i 1 ) , O x 1 30 , B a c k w a r d
( c ) d u x 1 d x 1 = 1 2329089562800 x 1 ( 1001 u i 1 15 + 32175 u i 1 14 502425 u i 1 13 + 5080075 u i 1 12 37407825 u i 1 11 + 213972759 u i 1 10 990614625 u i 1 9 + 3820942125 u i 1 8 12554524125 u i 1 7 + 35803642875 u i 1 6 90225180045 u i 1 5 + 205057227375 u i 1 4 432898591125 u i 1 3 + 899097073875 u i 1 2 2183521465125 u i 1 1 + 2183521465125 u i 1 + 1 899097073875 u i 1 + 2 + 432898591125 u i 1 + 3 205057227375 u i 1 + 4 + 90225180045 u i 1 + 5 35803642875 u i 1 + 6 + 12554524125 u i 1 + 7 3820942125 u i 1 + 8 + 990614625 u i 1 + 9 213972759 u i 1 + 10 + 37407825 u i 1 + 11 5080075 u i 1 + 12 + 502425 u i 1 + 13 32175 u i 1 + 14 + 1001 u i 1 + 15 ) , O x 1 30 , C e n t e r e d
Table A4. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 01.
Table A4. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 01.
(a) xi + I 1 + I 0 1 .h         c = 1 1 2 I 2 3 2 + 3 I 2 I
                                                             d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 I u i 1 + 1 2 x 1 , O x 1 3
(b) xi + 2 I 1 + 2 I 2 + 2 I I 1 + I 2 + I 0 1 2 .h         c = I 2 4 5 + 8 I 5 1 4 + I 4 4 I 10 10 I 8 5 + 4 I 5 57 20 + 57 I 20 4 1 2
d u x 1 d x 1 = 10 I u i 1 + 2 I + 16 + 32 I u i 1 + 1 + 2 I + 5 + 5 I u i 1 + 2 + 2 I + 80 I u i 1 + I + 200 200 I u i 1 + 1 + I + 32 + 16 I u i 1 + 2 + I + 57 + 57 I u i 1 80 u i 1 + 1 10 u i 1 + 2 20 x 1 , O x 1 8
(c) xi + 3 I 1 + 3 I 2 I 1 + 2 I 2 + 3 I 3 + 3 I 2 + 2 I 3 + 2 I I 1 + I 0 1 2 + I 3 + I 2 3 .h      c = 1 3 9 10 + 9 I 2 9 10 36 I 5 702 5 351 I 5 198 65 171 I 65 1 6 I 6 351 4 + 351 I 4 171 65 + 198 I 65 72 5 + 9 I 5 351 2 351 I 2 215 52 + 215 I 52 9 5 + 72 I 5 351 5 + 702 I 5 9 2 + 9 I 10 36 5 9 I 10 I 3
d u x 1 d x 1 = 1 780 x 1 ( 260 u i 1 + 3 I + ( 702 + 3510 I ) u i 1 + 1 + 3 I ( 2376 + 2052 I ) u i 1 + 2 + 3 I + ( 130 130 I ) u i 1 + 3 + 3 I + ( 702 5616 I ) u i 1 + 2 I ( 109512 + 54756 I ) u i 1 + 1 + 2 I + ( 68445 + 68445 I ) u i 1 + 2 + 2 I + ( 2052 + 2376 I ) u i 1 + 3 + 2 I + ( 11232 + 1404 I ) u i 1 + I + ( 136890 136890 I ) u i 1 + 1 + I + ( 54756 + 109512 I ) u i 1 + 2 + I + ( 3510 + 702 I ) u i 1 + 3 + I + ( 3225 + 3225 I ) u i 1 + ( 1404 + 11232 I ) u i 1 + 1 + ( 5616 702 I ) u i 1 + 2 260 I u i 1 + 3 ) , O x 1 15
( d )   d u x 1 d x 1 = 1 132600 x 1 ( 33150 I u i 1 + 4 I ( 124800 + 1622400 I ) u i 1 + 1 + 4 I + ( 2386800 + 4773600 I ) u i 1 + 2 + 4 I + ( 1103232 763776 I ) u i 1 + 3 + 4 I + ( 16575 + 16575 I ) u i 1 + 4 + 4 I + ( 707200 2121600 I ) u i 1 + 3 I + ( 72134400 216403200 I ) u i 1 + 1 + 3 I + ( 499392000 749088000 I ) u i 1 + 2 + 3 I + ( 120224000 120224000 I ) u i 1 + 3 + 3 I + ( 763776 1103232 I ) u i 1 + 4 + 3 I + 11934000 I u i 1 + 2 I + ( 649209600 1298419200 I ) u i 1 + 1 + 2 I + ( 3956121000 + 3956121000 I ) u i 1 + 2 + 2 I + ( 749088000 499392000 I ) u i 1 + 3 + 2 I + ( 4773600 + 2386800 I ) u i 1 + 4 + 2 I ( 2121600 + 6364800 I ) u i 1 + I + ( 360672000 360672000 I ) u i 1 + 1 + I + ( 1298419200 649209600 I ) u i 1 + 2 + I + ( 216403200 72134400 I ) u i 1 + 3 + I + ( 1622400 + 124800 I ) u i 1 + 4 + I + ( 713883 + 713883 I ) u i 1 + ( 6364800 + 2121600 I ) u i 1 + 1 11934000 u i 1 + 2 + ( 2121600 707200 I ) u i 1 + 3 33150 u i 1 + 4 ) , O x 1 24
Table A5. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 02.
Table A5. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 02.
(a) xi + 1 + I I 1 0 .h         c = 1 2 I 2 1 I 3 2 + 3 I 2
                                                             d u x 1 d x 1 = 1 + I u i 1 1 + I 2 u i 1 + I 2 I u i 1 1 + 3 + 3 I u i 1 2 x 1 , O x 1 3
(b) xi + 2 + 2 I 1 + 2 I 2 I 2 + I 1 + I I 2 1 0 .h         c = 1 4 + I 4 4 5 + 8 I 5 I 2 8 5 + 4 I 5 10 10 I 4 I 1 2 4 57 20 + 57 I 20
                          d u x 1 d x 1 = 5 + 5 I u i 1 2 + 2 I + 16 + 32 I u i 1 1 + 2 I + 10 I u i 1 + 2 I + 32 + 16 I u i 1 2 + I 200 + 200 I u i 1 1 + I + 80 I u i 1 + I + 10 u i 1 2 + 80 u i 1 1 + 57 + 57 I u i 1 20 x 1 , O x 1 8
(c) xi + 3 + 3 I 2 + 3 I 1 + 3 I 3 I 3 + 2 I 2 + 2 I 1 + 2 I 2 I 3 + I 2 + I 1 + I I 3 2 1 0 .h         c = 1 6 I 6 198 65 171 I 65 9 10 + 9 I 2 1 3 171 65 + 198 I 65 351 4 + 351 I 4 702 5 351 I 2 9 10 36 I 5 9 2 + 9 I 10 351 5 + 702 I 5 351 2 351 I 2 72 5 + 9 I 5 I 3 36 5 9 I 10 9 5 + 72 I 5 215 52 + 215 I 52
d u x 1 d x 1 = 1 780 x 1 ( ( 130 + 130 I ) u i 1 3 + 3 I + ( 2376 2052 I ) u i 1 2 + 3 I + ( 702 + 3510 I ) u i 1 1 + 3 I 260 u i 1 + 3 I + ( 2052 + 2376 I ) u i 1 3 + 2 I + ( 68445 + 68445 I ) u i 1 2 + 2 I + ( 109512 54756 I ) u i 1 1 + 2 I ( 702 + 5616 I ) u i 1 + 2 I + ( 3510 + 702 I ) u i 1 3 + I + ( 54756 + 109512 I ) u i 1 2 + I ( 136890 + 136890 I ) u i 1 1 + I + ( 11232 + 1404 I ) u i 1 + I 260 I u i 1 3 ( 5616 + 702 I ) u i 1 2 + ( 1404 + 11232 I ) u i 1 1 + ( 3225 + 3225 I ) u i 1 ) , O x 1 15
( d ) d u x 1 d x 1 = 1 132600 x 1 ( ( 16575 + 16575 I ) u i 1 4 + 4 I ( 1103232 + 763776 I ) u i 1 3 + 4 I + ( 2386800 + 4773600 I ) u i 1 2 + 4 I + ( 124800 1622400 I ) u i 1 1 + 4 I + 33150 I u i 1 + 4 I ( 763776 + 1103232 I ) u i 1 4 + 3 I ( 120224000 + 120224000 I ) u i 1 3 + 3 I ( 499392000 + 749088000 I ) u i 1 2 + 3 I ( 72134400 + 216403200 I ) u i 1 1 + 3 I ( 707200 + 2121600 I ) u i 1 + 3 I + ( 4773600 + 2386800 I ) u i 1 4 + 2 I ( 749088000 + 499392000 I ) u i 1 3 + 2 I + ( 3956121000 + 3956121000 I ) u i 1 2 + 2 I ( 649209600 + 1298419200 I ) u i 1 1 + 2 I + 11934000 I ) u i 1 + 2 I + ( 1622400 + 124800 I ) u i 1 4 + I ( 216403200 + 72134400 I ) u i 1 3 + I ( 1298419200 + 649209600 I ) u i 1 2 + I ( 360672000 + 360672000 I ) u i 1 1 + I + ( 2121600 6364800 I ) u i 1 + I + 33150 u i 1 4 ( 2121600 + 707200 I ) u i 1 3 + 11934000 u i 1 2 + ( 6364800 + 2121600 I ) u i 1 1 + ( 713883 + 713883 I ) u i 1 ) , O x 1 24
Table A6. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 03.
Table A6. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 03.
(a) xi + 1 0 1 I I .h         c = I 3 2 3 I 2 1 2 + I 2 1
                                                             d u x 1 d x 1 = 2 I u i 1 1 + 3 3 I u i 1 + 1 + I u i 1 1 I 2 u i 1 I 2 x 1 , O x 1 3
(b) xi + 2 1 0 2 I 1 I I 2 2 I 1 2 I 2 I .h         c = 1 2 4 57 20 57 I 20 8 5 4 I 5 10 + 10 I 4 I 1 4 I 4 4 5 8 I 5 I 2
          d u x 1 d x 1 = 10 u i 1 2 + 80 u i 1 1 + 57 57 I u i 1 + 32 16 I u i 1 2 I + 200 + 200 I u i 1 1 I 80 I u i 1 I + 5 5 I u i 1 2 2 I + 16 32 I u i 1 1 2 I 10 I u i 1 2 I 20 x 1 , O x 1 8
(c) xi + 3 2 1 0 3 I 2 I 1 I I 3 2 I 2 2 I 1 2 I 2 I 3 3 I 2 3 I 1 3 I 3 I .h         c = I 3 36 5 + 9 I 10 9 5 72 I 5 215 52 215 I 52 9 2 + 9 I 10 351 5 702 I 5 351 2 + 351 I 2 72 5 9 I 5 171 65 198 I 65 351 4 351 I 4 702 5 + 351 I 5 9 10 + 36 I 5 1 6 + I 6 198 65 + 171 I 65 9 10 9 I 2 1 3
d u x 1 d x 1 = 1 780 x 1 ( 260 I u i 1 3 + ( 5616 + 702 I ) u i 1 2 + ( 1404 11232 I ) u i 1 1 + ( 3225 3225 I ) u i 1 + ( 3510 702 I ) u i 1 3 I ( 54756 + 109512 I ) u i 1 2 I + ( 136890 + 136890 I ) u i 1 1 I + ( 11232 1404 I ) u i 1 I ( 2052 + 2376 I ) u i 1 3 2 I + ( 68445 68445 I ) u i 1 2 2 I + ( 109512 + 54756 I ) u i 1 1 2 I + ( 702 + 5616 I ) u i 1 2 I + ( 130 + 130 I ) u i 1 3 3 I + ( 2376 + 2052 I ) u i 1 2 3 I + ( 702 3510 I ) u i 1 1 3 I 260 u i 1 3 I ) , O x 1 15
( d ) d u x 1 d x 1 = 1 132600 x 1 ( 33150 u i 1 4 + ( 2121600 + 707200 I ) u i 1 3 + 11934000 u i 1 2 ( 6364800 + 2121600 I ) u i 1 1 + ( 713883 713883 I ) u i 1 ( 1622400 + 124800 I ) u i 1 4 I + ( 216403200 + 72134400 I ) u i 1 3 I + ( 1298419200 + 649209600 I ) u i 1 2 I + ( 360672000 + 360672000 I ) u i 1 1 I + ( 2121600 + 6364800 I ) u i 1 I + ( 4773600 2386800 I ) u i 1 4 2 I + ( 749088000 + 499392000 I ) u i 1 3 2 I + ( 3956121000 3956121000 I ) u i 1 2 2 I + ( 649209600 + 1298419200 I ) u i 1 1 2 I 11934000 I ) u i 1 2 I + ( 763776 + 1103232 I ) u i 1 4 3 I + ( 120224000 + 120224000 I ) u i 1 3 3 I + ( 499392000 + 749088000 I ) u i 1 2 3 I + ( 72134400 + 216403200 I ) u i 1 1 3 I + ( 707200 + 2121600 I ) u i 1 3 I + ( 16575 16575 I ) u i 1 4 4 I + ( 1103232 + 763776 I ) u i 1 3 4 I + ( 2386800 4773600 I ) u i 1 2 4 I + ( 124800 + 1622400 I ) u i 1 1 4 I 33150 I u i 1 4 I ) , O x 1 24
Table A7. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 04.
Table A7. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 04.
(a) xi + 0 1 I 1 I .h         c = 3 2 3 I 2 I 1 1 2 + I 2
                                                             d u x 1 d x 1 = 3 + 3 I u i 1 + 2 I u i 1 + 1 + 2 u i 1 I + 1 + I u i 1 + 1 I 2 x 1 , O x 1 3
(b) xi + 0 1 2 I 1 I 2 I 2 I 1 2 I 2 2 I .h         c = 57 20 57 I 20 4 1 2 4 I 10 + 10 I 8 5 4 I 5 I 2 4 5 8 I 5 1 4 I 4
          d u x 1 d x 1 = 57 + 57 I u i 1 80 u i 1 + 1 10 u i 1 + 2 80 I u i 1 I + 200 + 200 I u i 1 + 1 I 32 + 16 I u i 1 + 2 I 10 I u i 1 2 I 16 + 32 I u i 1 + 1 2 I 5 + 5 I u i 1 + 2 2 I 20 x 1 , O x 1 8
(c) xi + 0 1 2 3 I 1 I 2 I 3 I 2 I 1 2 I 2 2 I 3 2 I 3 I 1 3 I 2 3 I 3 3 I .h         c = 215 52 215 I 52 9 5 72 I 5 36 5 + 9 I 10 I 3 72 5 9 I 5 351 2 + 351 I 2 351 5 702 I 5 9 2 9 I 10 9 10 + 36 I 5 702 5 + 351 I 5 351 4 351 I 4 171 65 198 I 65 1 3 9 10 9 I 2 198 65 + 171 I 65 1 6 + I 6
d u x 1 d x 1 = 1 780 x 1 ( ( 3225 + 3225 I ) u i 1 ( 1404 + 11232 I ) u i 1 + 1 + ( 5616 + 702 I ) u i 1 + 2 + 260 I u i 1 + 3 ( 11232 + 1404 I ) u i 1 I + ( 136890 + 136890 I ) u i 1 + 1 I + ( 54756 109512 I ) u i 1 + 2 I ( 3510 + 702 I ) u i 1 + 3 I + ( 702 + 5616 I ) u i 1 2 I + ( 109512 + 54756 I ) u i 1 + 1 2 I ( 68445 + 68445 I ) u i 1 + 2 2 I + ( 2052 2376 I ) u i 1 + 3 2 I + 260 u i 1 3 I ( 702 + 3510 I ) u i 1 + 1 3 I + ( 2376 + 2052 I ) u i 1 + 2 3 I + ( 130 + 130 I ) u i 1 + 3 3 I ) , O x 1 15
( d ) d u x 1 d x 1 = 1 132600 x 1 ( ( 713883 + 713883 I ) u i 1 + ( 6364800 2121600 I ) u i 1 + 1 11934000 u i 1 + 2 + ( 2121600 + 707200 I ) u i 1 + 3 33150 u i 1 + 4 + ( 2121600 + 6364800 I ) u i 1 I + ( 360672000 + 360672000 I ) u i 1 + 1 I + ( 1298419200 + 649209600 I ) u i 1 + 2 I + ( 216403200 + 72134400 I ) u i 1 + 3 I + ( 1622400 124800 I ) u i 1 + 4 I 11934000 I u i 1 2 I + ( 649209600 + 1298419200 I ) u i 1 + 1 2 I ( 3956121000 + 3956121000 I ) u i 1 + 2 2 I + ( 749088000 + 499392000 I ) u i 1 + 3 2 I ( 4773600 + 2386800 I ) u i 1 + 4 2 I + ( 707200 + 2121600 I ) u i 1 3 I + ( 72134400 + 216403200 I ) u i 1 + 1 3 I + ( 499392000 + 749088000 I ) u i 1 + 2 3 I + ( 120224000 + 120224000 I ) u i 1 + 3 3 I + ( 763776 + 1103232 I ) u i 1 + 4 3 I 33150 I u i 1 4 I + ( 124800 + 1622400 I ) u i 1 + 1 4 I ( 2386800 + 4773600 I ) u i 1 + 2 4 I + ( 1103232 + 763776 I ) u i 1 + 3 4 I ( 16575 + 16575 I ) u i 1 + 4 4 I ) , O x 1 24
Table A8. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for centered derivatives.
Table A8. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for centered derivatives.
(a) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = 1 40 I 40 I 5 1 40 I 40 1 5 0 1 5 1 40 + I 40 I 5 1 40 + I 40
                                                             d u x 1 d x 1 = 1 + I u i 1 1 + I 8 I u i 1 + I + 1 I u i 1 + 1 + I 8 u i 1 1 + 8 u i 1 + 1 + 1 + I u i 1 1 I + 8 I u i 1 I + 1 + I u i 1 + 1 I 40 x 1 , O x 1 8
( b )   x i + 2 + 2 I 1 + 2 I 2 I 1 + 2 I 2 + 2 I 2 + I 1 + I I 1 + I 2 + I 2 1 0 1 2 2 I 1 I I 1 I 2 I 2 2 I 1 2 I 2 I 1 2 I 2 2 I . h       c = 1 477360 + I 477360 4 29835 4 I 29835 I 1326 4 29835 4 I 29835 1 477360 + I 477360 4 29835 4 I 29835 8 351 8 I 351 8 I 39 8 351 8 I 351 4 29835 4 I 29835 1 1326 8 39 0 8 39 1 1326 4 29835 + 4 I 29835 8 351 + 8 I 351 8 I 39 8 351 + 8 I 351 4 29835 + 4 I 29835 1 477360 I 477360 4 29835 + 4 I 29835 I 1326 4 29835 + 4 I 29835 1 477360 I 477360
d u x 1 d x 1 = 1 477360 x 1 ( ( 1 + I ) u i 1 2 + 2 I ( 64 + 64 I ) u i 1 1 + 2 I + 360 I u i 1 + 2 I + ( 64 64 I ) u i 1 + 1 + 2 I + ( 1 + I ) u i 1 + 2 + 2 I ( 64 + 64 I ) u i 1 2 + I ( 10880 + 10880 I ) u i 1 1 + I 97920 I u i 1 + I + ( 10880 10880 I ) u i 1 + 1 + I + ( 64 64 I ) u i 1 + 2 + I + 360 u i 1 2 97920 u i 1 1 + 97920 u i 1 + 1 360 u i 1 + 2 + ( 64 + 64 I ) u i 1 2 I + ( 10880 + 10880 I ) u i 1 1 I + 97920 I u i 1 I + ( 10880 + 10880 I ) u i 1 + 1 I + ( 64 + 64 I ) u i 1 + 2 I + ( 1 I ) u i 1 2 2 I + ( 64 + 64 I ) u i 1 1 2 I 360 I u i 1 2 I + ( 64 + 64 I ) u i 1 + 1 2 I ( 1 + I ) u i 1 + 2 2 I ) , O x 1 24
(c) xi + 3 + 3 I 2 + 3 I 1 + 3 I 3 I 1 + 3 I 2 + 3 I 3 + 3 I 3 + 2 I 2 + 2 I 1 + 2 I 2 I 1 + 2 I 2 + 2 I 3 + 3 I 3 + I 2 + I 1 + I I 1 + I 2 + I 3 + I 3 2 1 0 1 2 3 3 I 2 I 1 I I 1 I 2 I 3 I 3 2 I 2 2 I 1 2 I 2 I 1 2 I 2 2 I 3 2 I 3 3 I 2 3 I 1 3 I 3 I 1 3 I 2 3 I 3 3 I   .h
c = 13 14890609862400 13 I 14890609862400 57051 68558849574800 8181 I 68558849574800 44577 1383280697600 1053 I 47699334400 13 I 93029100 8181 68558849574800 57051 I 68558849574800 3159 2336622800 + 3159 I 2336622800 249561 2336622800 344331 I 2336622800 351 I 419050 1053 47699334400 44577 I 1383280697600 344331 2336622800 249561 I 2336622800 41067 1849600 41067 I 1849600 351 I 1700 13 93029100 351 419050 351 1700 0 1053 47699334400 + 44577 I 1383280697600 344331 2336622800 + 249561 I 2336622800 41067 1849600 + 41067 I 1849600 351 I 1700 8181 68558849574800 + 57051 I 68558849574800 3159 2336622800 3159 I 2336622800 249561 2336622800 + 344331 I 2336622800 351 I 419050 13 14890609862400 + 13 I 14890609862400 57051 68558849574800 + 8181 I 68558849574800 44577 1383280697600 + 1053 I 47699334400 13 I 93029100
                                                             44577 1383280697600 1053 I 47699334400 57051 68558849574800 8181 I 68558849574800 13 14890609862400 13 I 14890609862400 249561 2336622800 344331 I 2336622800 3159 2336622800 + 3159 I 2336622800 8181 68558849574800 57051 I 68558849574800 41067 1849600 41067 I 1849600 344331 2336622800 249561 I 2336622800 1053 47699334400 44577 I 1383280697600 351 1700 351 419050 13 93029100 41067 1849600 + 41067 I 1849600 344331 2336622800 + 249561 I 2336622800 1053 47699334400 + 44577 I 1383280697600 249561 2336622800 + 344331 I 2336622800 3159 2336622800 3159 I 2336622800 8181 68558849574800 + 57051 I 68558849574800 44577 1383280697600 + 1053 I 47699334400 57051 68558849574800 + 8181 I 68558849574800 13 14890609862400 + 13 I 14890609862400
d u x 1 d x 1 = 1 3290824779590400 x 1 ( ( 2873 + 2873 I ) u i 1 3 + 3 I ( 2738448 + 392688 I ) u i 1 2 + 3 I ( 106048683 + 72647523 I ) u i 1 1 + 3 I 459863872 I u i 1 + 3 I + ( 106048683 72647523 I ) u i 1 + 1 + 3 I + ( 2738448 392688 I ) u i 1 + 2 + 3 I + ( 2873 2873 I ) u i 1 + 3 + 3 I ( 392688 + 2738448 I ) u i 1 3 + 2 I + ( 4449034512 + 4449034512 I ) u i 1 2 + 2 I ( 351473726448 + 484944761808 I ) u i 1 1 + 2 I + 2756424048768 I u i 1 + 2 I + ( 351473726448 484944761808 I ) u i 1 + 1 + 2 I + ( 4449034512 + 4449034512 I ) u i 1 + 2 + 2 I + ( 392688 2738448 I ) u i 1 + 3 + 2 I ( 72647523 + 106048683 I ) u i 1 3 + I ( 484944761808 + 351473726448 I ) u i 1 2 + I ( 73066771855233 + 73066771855233 I ) u i 1 1 + I 679458528021312 I u i 1 + I + ( 73066771855233 73066771855233 I ) u i 1 + 1 + I + ( 484944761808 351473726448 I ) u i 1 + 2 + I + ( 72647523 106048683 I ) u i 1 + 3 + I 459863872 u i 1 3 + 2756424048768 u i 1 2 679458528021312 u i 1 1 + 679458528021312 u i 1 + 1 2756424048768 u i 1 + 2 + 459863872 u i 1 + 3 + ( 72647523 + 106048683 I ) u i 1 3 I + ( 484944761808 + 351473726448 I ) u i 1 2 I + ( 73066771855233 + 73066771855233 I ) u i 1 1 I + 679458528021312 I ) u i 1 I + ( 73066771855233 + 73066771855233 I ) u i 1 + 1 I + ( 484944761808 + 351473726448 I ) u i 1 + 2 I + ( 72647523 + 106048683 I ) u i 1 + 3 I + ( 392688 + 2738448 I ) u i 1 3 2 I + ( 4449034512 4449034512 I ) u i 1 2 2 I + ( 351473726448 + 484944761808 I ) u i 1 1 2 I 2756424048768 I u i 1 2 I + ( 351473726448 + 484944761808 I ) u i 1 + 1 2 I ( 4449034512 + 4449034512 I ) u i 1 + 2 2 I + ( 392688 + 2738448 I ) u i 1 + 3 2 I + ( 2873 + 2873 I ) u i 1 3 3 I + ( 2738448 + 392688 I ) u i 1 2 3 I + ( 106048683 + 72647523 I ) u i 1 1 3 I + 459863872 I u i 1 3 I + ( 106048683 + 72647523 I ) u i 1 + 1 3 I + ( 2738448 + 392688 I ) u i 1 + 2 3 I + ( 2873 + 2873 I ) u i 1 + 3 3 I ) , O x 1 48
Table A9. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 01 and higher-order derivatives.
Table A9. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for quadrant 01 and higher-order derivatives.
(a) xi + I 1 + I 0 1 .h         c = 3 + I 2 I 4 I 3 + I
                                                             d 2 u x 1 d x 1 2 = 3 + I u i 1 + I + 2 I u i 1 + 1 + I 4 I u i 1 + 3 + I u i 1 + 1 x 1 2 , O ( x 1 2 ) , Q u a d r a n t   1
(b) xi + I 1 + I 0 1 .h         c = 3 3 I 3 3 I 3 + 3 I 3 + 3 I
                                                          d 3 u x 1 d x 1 3 = 3 3 I u i 1 + I 3 + 3 I u i 1 + 1 + I + 3 + 3 I u i 1 + 3 + 3 I u i 1 + 1 x 1 3 , O ( x 1 ) , Q u a d r a n t   1
(c) xi + 2 I 1 + 2 I 2 + 2 I I 1 + I 2 + I 0 1 2 .h         c = 47 20 57 I 20 18 5 62 I 5 13 I 5 74 5 114 I 5 94 I 18 5 62 I 5 153 I 10 74 5 114 I 5 47 20 57 I 20
d 4 u x 1 d x 1 4 = 1 200 x 1 4 ( 520 + 2679 I u i 1 + 4 I + 10752 + 15760 I u i 1 + 1 + 4 I + 31124 + 20300 I u i 1 + 2 + 4 I ( 12896 + 3744 I ) u i 1 + 3 + 4 I 1352 u i 1 + 4 + 4 I + 12080 + 38304 I u i 1 + 3 I + 15384 + 17880 I u i 1 + 1 + 3 I + ( 425008 112416 I ) u i 1 + 2 + 3 I + 31072 u i 1 + 3 + 3 I 12896 + 3744 I u i 1 + 4 + 3 I + 77602 + 149358 I u i 1 + 2 I + ( 741488 529888 I ) u i 1 + 1 + 2 I 2057370 u i 1 + 2 + 2 I + 425008 + 112416 I u i 1 + 3 + 2 I 31124 + 20300 I u i 1 + 4 + 2 I + ( 139536 + 90576 I ) u i 1 + I + 279728 u i 1 + 1 + I + 741488 + 529888 I u i 1 + 2 + I + 15384 17880 I u i 1 + 3 + I 10752 + 15760 I u i 1 + 4 + I 46818 u i 1 ( 139536 + 90576 I ) u i 1 + 1 ( 77602 + 149358 I ) u i 1 + 2 ( 12080 + 38304 I ) u i 1 + 3 ( 520 + 2679 I ) u i 1 + 4 ) , O ( x 1 7 ) , Q u a d r a n t   1
Table A10. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for centered and higher-order derivatives.
Table A10. Matrix of points in the complex plane, matrix of obtained coefficients, and finite difference formula for centered and higher-order derivatives.
(a) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = I 20 2 5 I 20 2 5 0 2 5 I 20 2 5 I 20
                              d 2 u x 1 d x 1 2 = I u i 1 1 + I 8 u i 1 + I I u i 1 + 1 + I + 8 u i 1 1 + 8 u i 1 + 1 I u i 1 1 I 8 u i 1 I + I u i 1 + 1 I 20 x 1 2 , O ( x 1 8 ) , C e n t e r e d
(b) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = 3 40 3 I 40 6 I 5 3 40 3 I 40 6 5 0 6 5 3 40 + 3 I 40 6 I 5 3 40 + 3 I 40
           d 3 u x 1 d x 1 3 = 3 3 I u i 1 1 + I + 48 I u i 1 + I 3 + 3 I u i 1 + 1 + I 48 u i 1 1 + 48 u i 1 + 1 + 3 + 3 I u i 1 1 I 48 I u i 1 I + 3 + 3 I u i 1 + 1 I 40 x 1 3 , O ( x 1 8 ) , C e n t e r e d
(c) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = 3 10 24 5 3 10 24 5 18 24 5 3 10 24 5 3 10
                                d 4 u x 1 d x 1 4 = 3 u i 1 1 + I + 16 u i 1 + I u i 1 + 1 + I + 16 u i 1 1 60 u i 1 + 16 u i 1 + 1 u i 1 1 I + 16 u i 1 I u i 1 + 1 I 10 x 1 4 , O ( x 1 8 ) , C e n t e r e d
(d) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = 3 + 3 I 6 I 3 + 3 I 6 0 6 3 3 I 6 I 3 3 I
                        d 5 u x 1 d x 1 5 = 3 + 3 I u i 1 1 + I 6 I u i 1 + I + 3 + 3 I u i 1 + 1 + I 6 u i 1 1 + 6 u i 1 + 1 + 3 3 I u i 1 1 I + 6 I u i 1 I 3 + 3 I u i 1 + 1 I x 1 5 , O ( x 1 4 ) , C e n t e r e d
(e) xi + 1 + I I 1 + I 1 0 1 1 I I 1 I .h         c = 18 I 36 18 I 36 0 36 18 I 36 18 I
                                          d 6 u x 1 d x 1 6 = 18 I u i 1 1 + I 2 u i 1 + I + I u i 1 + 1 + I + 2 u i 1 1 + 2 u i 1 + 1 + I u i 1 1 I 2 u i 1 I I u i 1 + 1 I x 1 6 , O ( x 1 4 ) , C e n t e r e d
Table A11. Real approximations used in solving the elasticity problem.
Table A11. Real approximations used in solving the elasticity problem.
(a) d u x 1 d x 1 = u i 1 2 8 u i 1 1 + 8 u i 1 + 1 u i 1 + 2 12 x 1 , O ( x 1 4 ) , C e n t e r e d
( b )   d 2 u x 1 d x 1 2 = 625 u i 1 2400 u i 1 + 1 + 4104 u i 1 + 2 4256 u i 1 + 3 + 2982 u i 1 + 4 1440 u i 1 + 5 + 472 u i 1 + 6 96 u i 1 + 7 + 9 u i 1 + 8 144 x 1 2 , O ( x 1 4 ) , F o r w a r d
( c )   d 2 u x 1 d x 1 2 = 9 u i 1 8 96 u i 1 7 + 472 u i 1 6 1440 u i 1 5 + 2982 u i 1 4 4256 u i 1 3 + 4104 u i 1 2 2400 u i 1 1 + 625 u i 1 144 x 1 2 , O ( x 1 4 ) , B a c k w a r d
( d )   d 2 u x 1 d x 1 2 = u i 1 4 16 u i 1 3 + 64 u i 1 2 + 16 u i 1 1 130 u i 1 + 16 u i 1 + 1 + 64 u i 1 + 2 16 u i 1 + 3 + u i 1 + 4 144 x 1 2 , O ( x 1 4 ) , C e n t e r e d
( e ) 2 u x 1 , x 2 x 1 x 2 = 1 144 x 1 x 2 ( u i 1 2 , i 2 2 8 u i 1 2 , i 2 1 + 8 u i 1 2 , i 2 + 1 u i 1 2 , i 2 + 2 8 u i 1 1 , i 2 2 + 64 u i 1 1 , i 2 1 64 u i 1 1 , i 2 + 1 + 8 u i 1 1 , i 2 + 2 + 8 u i 1 + 1 , i 2 2 64 u i 1 + 1 , i 2 1 + 64 u i 1 + 1 , i 2 + 1 8 u i 1 + 1 , i 2 + 2 u i 1 + 2 , i 2 2 + 8 u i 1 + 2 , i 2 1 8 u i 1 + 2 , i 2 + 1 + u i 1 + 2 , i 2 + 2 ) , O ( x 1 4 x 2 4 ) , C e n t e r e d
( f )   d 3 u x 1 d x 1 3 = 1 1728 x 1 3 ( u i 1 6 24 u i 1 5 + 192 u i 1 4 488 u i 1 3 387 u i 1 2 + 1584 u i 1 1 1584 u i 1 + 1 + 387 u i 1 + 2 + 488 u i 1 + 3 192 u i 1 + 4 + 24 u i 1 + 5 u i 1 + 6 ) , O ( x 1 4 ) , C e n t e r e d
( g )   3 u x 1 , x 2 x 1 2 x 2 = 1 1728 x 1 2 x 2 ( u i 1 4 , i 2 2 8 u i 1 4 , i 2 1 + 8 u i 1 4 , i 2 + 1 u i 1 4 , i 2 + 2 16 u i 1 3 , i 2 2 + 128 u i 1 3 , i 2 1 128 u i 1 3 , i 2 + 1 + 16 u i 1 3 , i 2 + 2 + 64 u i 1 2 , i 2 2 512 u i 1 2 , i 2 1 + 512 u i 1 2 , i 2 + 1 64 u i 1 2 , i 2 + 2 + 16 u i 1 1 , i 2 2 128 u i 1 1 , i 2 1 + 128 u i 1 1 , i 2 + 1 16 u i 1 1 , i 2 + 2 130 u i 1 , i 2 2 + 1040 u i 1 , i 2 1 1040 u i 1 , i 2 + 1 + 130 u i 1 , i 2 + 2 + 16 u i 1 + 1 , i 2 2 128 u i 1 + 1 , i 2 1 + 128 u i 1 + 1 , i 2 + 1 16 u i 1 + 1 , i 2 + 2 + 64 u i 1 + 2 , i 2 2 512 u i 1 + 2 , i 2 1 + 512 u i 1 + 2 , i 2 + 1 64 u i 1 + 2 , i 2 + 2 16 u i 1 + 3 , i 2 2 + 128 u i 1 + 3 , i 2 1 128 u i 1 + 3 , i 2 + 1 + 16 u i 1 + 3 , i 2 + 2 + u i 1 + 4 , i 2 2 8 u i 1 + 4 , i 2 1 + 8 u i 1 + 4 , i 2 + 1 u i 1 + 4 , i 2 + 2 ) , O ( x 1 4 x 2 4 ) , C e n t e r e d
( h ) d 4 u x 1 d x 1 4 = 1 20736 x 1 4 ( u i 1 8 32 u i 1 7 + 384 u i 1 6 2016 u i 1 5 + 3324 u i 1 4 + 6240 u i 1 3 16768 u i 1 2 4192 u i 1 1 + 26118 u i 1 4192 u i 1 + 1 16768 u i 1 + 2 + 6240 u i 1 + 3 + 3324 u i 1 + 4 2016 u i 1 + 5 + 384 u i 1 + 6 32 u i 1 + 7 + u i 1 + 8 ) , O ( x 1 4 ) , C e n t e r e d
( i ) 4 u x 1 , x 2 x 1 3 x 2 = 1 20736 x 1 3 x 2 ( u i 1 6 , i 2 2 8 u i 1 6 , i 2 1 + 8 u i 1 6 , i 2 + 1 u i 1 6 , i 2 + 2 24 u i 1 5 , i 2 2 + 192 u i 1 5 , i 2 1 192 u i 1 5 , i 2 + 1 + 24 u i 1 5 , i 2 + 2 + 192 u i 1 4 , i 2 2 1536 u i 1 4 , i 2 1 + 1536 u i 1 4 , i 2 + 1 192 u i 1 4 , i 2 + 2 488 u i 1 3 , i 2 2 + 3904 u i 1 3 , i 2 1 3904 u i 1 3 , i 2 + 1 + 488 u i 1 3 , i 2 + 2 387 u i 1 2 , i 2 2 + 3096 u i 1 2 , i 2 1 3096 u i 1 2 , i 2 + 1 + 387 u i 1 2 , i 2 + 2 + 1584 u i 1 1 , i 2 2 12672 u i 1 1 , i 2 1 + 12672 u i 1 1 , i 2 + 1 1584 u i 1 1 , i 2 + 2 1584 u i 1 + 1 , i 2 2 + 12672 u i 1 + 1 , i 2 1 12672 u i 1 + 1 , i 2 + 1 + 1584 u i 1 + 1 , i 2 + 2 + 387 u i 1 + 2 , i 2 2 3096 u i 1 + 2 , i 2 1 + 3096 u i 1 + 2 , i 2 + 1 387 u i 1 + 2 , i 2 + 2 + 488 u i 1 + 3 , i 2 2 3904 u i 1 + 3 , i 2 1 + 3904 u i 1 + 3 , i 2 + 1 488 u i 1 + 3 , i 2 + 2 192 u i 1 + 4 , i 2 2 + 1536 u i 1 + 4 , i 2 1 1536 u i 1 + 4 , i 2 + 1 + 192 u i 1 + 4 , i 2 + 2 + 24 u i 1 + 5 , i 2 2 192 u i 1 + 5 , i 2 1 + 192 u i 1 + 5 , i 2 + 1 24 u i 1 + 5 , i 2 + 2 u i 1 + 6 , i 2 2 + 8 u i 1 + 6 , i 2 1 8 u i 1 + 6 , i 2 + 1 + u i 1 + 6 , i 2 + 2 ) , O ( x 1 4 x 2 4 ) , C e n t e r e d
( j ) 4 u x 1 , x 2 x 1 2 x 2 2 = 1 20736 x 1 2 x 1 2 ( u i 1 4 , i 2 4 16 u i 1 4 , i 2 3 + 64 u i 1 4 , i 2 2 + 16 u i 1 4 , i 2 1 130 u i 1 4 , i 2 + 16 u i 1 4 , i 2 + 1 + 64 u i 1 4 , i 2 + 2 16 u i 1 4 , i 2 + 3 + u i 1 4 , i 2 + 4 16 u i 1 3 , i 2 4 + 256 u i 1 3 , i 2 3 1024 u i 1 3 , i 2 2 256 u i 1 3 , i 2 1 + 2080 u i 1 3 , i 2 256 u i 1 3 , i 2 + 1 1024 u i 1 3 , i 2 + 2 + 256 u i 1 3 , i 2 + 3 16 u i 1 3 , i 2 + 4 + 64 u i 1 2 , i 2 4 1024 u i 1 2 , i 2 3 + 4096 u i 1 2 , i 2 2 + 1024 u i 1 2 , i 2 1 8320 u i 1 2 , i 2 + 1024 u i 1 2 , i 2 + 1 + 4096 u i 1 2 , i 2 + 2 1024 u i 1 2 , i 2 + 3 + 64 u i 1 2 , i 2 + 4 + 16 u i 1 1 , i 2 4 256 u i 1 1 , i 2 3 + 1024 u i 1 1 , i 2 2 + 256 u i 1 1 , i 2 1 2080 u i 1 1 , i 2 + 256 u i 1 1 , i 2 + 1 + 1024 u i 1 1 , i 2 + 2 256 u i 1 1 , i 2 + 3 + 16 u i 1 1 , i 2 + 4 130 u i 1 , i 2 4 + 2080 u i 1 , i 2 3 8320 u i 1 , i 2 2 2080 u i 1 , i 2 1 + 16900 u i 1 , i 2 2080 u i 1 , i 2 + 1 8320 u i 1 , i 2 + 2 + 2080 u i 1 , i 2 + 3 130 u i 1 , i 2 + 4 + 16 u i 1 + 1 , i 2 4 256 u i 1 + 1 , i 2 3 + 1024 u i 1 + 1 , i 2 2 + 256 u i 1 + 1 , i 2 1 2080 u i 1 + 1 , i 2 + 256 u i 1 + 1 , i 2 + 1 + 1024 u i 1 + 1 , i 2 + 2 256 u i 1 + 1 , i 2 + 3 + 16 u i 1 + 1 , i 2 + 4 + 64 u i 1 + 2 , i 2 4 1024 u i 1 + 2 , i 2 3 + 4096 u i 1 + 2 , i 2 2 + 1024 u i 1 + 2 , i 2 1 8320 u i 1 + 2 , i 2 + 1024 u i 1 + 2 , i 2 + 1 + 4096 u i 1 + 2 , i 2 + 2 1024 u i 1 + 2 , i 2 + 3 + 64 u i 1 + 2 , i 2 + 4 16 u i 1 + 3 , i 2 4 + 256 u i 1 + 3 , i 2 3 1024 u i 1 + 3 , i 2 2 256 u i 1 + 3 , i 2 1 + 2080 u i 1 + 3 , i 2 256 u i 1 + 3 , i 2 + 1 1024 u i 1 + 3 , i 2 + 2 + 256 u i 1 + 3 , i 2 + 3 16 u i 1 + 3 , i 2 + 4 + u i 1 + 4 , i 2 4 16 u i 1 + 4 , i 2 3 + 64 u i 1 + 4 , i 2 2 + 16 u i 1 + 4 , i 2 1 130 u i 1 + 4 , i 2 + 16 u i 1 + 4 , i 2 + 1 + 64 u i 1 + 4 , i 2 + 2 16 u i 1 + 4 , i 2 + 3 + u i 1 + 4 , i 2 + 4 ) , O ( x 1 4 x 2 4 ) , C e n t e r e d
Table A12. Complex approximations used in solving the elasticity problem (part 1).
Table A12. Complex approximations used in solving the elasticity problem (part 1).
(a) d u x 1 d x 1 = 2 u i 1 + I + 1 I u i 1 + 1 + I + 3 + 3 I u i 1 2 I u i 1 + 1 2 x 1 , O ( x 1 3 ) , Q u a d r a n t   1
( b )   d u x 1 d x 1 = 1 + I u i 1 1 + I 2 u i 1 + I 2 I u i 1 1 + 3 + 3 I u i 1 2 x 1 , O ( x 1 3 ) , Q u a d r a n t   2
( c )   d u x 1 d x 1 = 2 I u i 1 1 + 3 3 I u i 1 + 1 + I u i 1 1 I 2 u i 1 I 2 x 1 , O ( x 1 3 ) , Q u a d r a n t   3
( d )   d u x 1 d x 1 = 3 + 3 I u i 1 + 2 I u i 1 + 1 + 2 u i 1 I + 1 + I u i 1 + 1 I 2 x 1 , O ( x 1 3 ) , Q u a d r a n t   4
(e) d u x 1 d x 1 = 1 + I u i 1 1 + I 8 I u i 1 + I + 1 I u i 1 + 1 + I 8 u i 1 1 + 8 u i 1 + 1 + 1 + I u i 1 1 I + 8 I u i 1 I + 1 + I u i 1 + 1 I 40 x 1 , O ( x 1 8 ) , C e n t e r e d
( f )   d 2 u x 1 d x 1 2 = 3 + I u i 1 + I + 2 I u i 1 + 1 + I 4 I u i 1 + 3 + I u i 1 + 1 x 1 2 , O ( x 1 2 ) , Q u a d r a n t   1
( g )   d 2 u x 1 d x 1 2 = 2 I u i 1 1 + I 3 + I u i 1 + I + 3 I u i 1 1 + 4 I u i 1 x 1 2 , O ( x 1 2 ) , Q u a d r a n t   2
(h) d 2 u x 1 d x 1 2 = 3 + I u i 1 1 4 I u i 1 + 2 I u i 1 1 I + 3 + I u i 1 I x 1 2 , O ( x 1 2 ) , Q u a d r a n t   3
(i) d 2 u x 1 d x 1 2 = 4 I u i 1 + 3 I u i 1 + 1 3 + I u i 1 I 2 I u i 1 + 1 I x 1 2 , O ( x 1 2 ) , Q u a d r a n t   4
(j) d 2 u x 1 d x 1 2 = I u i 1 1 + I 8 u i 1 + I I u i 1 + 1 + I + 8 u i 1 1 + 8 u i 1 + 1 I u i 1 1 I 8 u i 1 I + I u i 1 + 1 I 20 x 1 2 , O ( x 1 8 ) , C e n t e r e d
( k ) d 2 u x 1 d x 1 2 = 1 800 x 1 2 ( u i 1 2 + 2 I + ( 8 + 8 I ) u i 1 1 + 2 I 34 u i 1 + 2 I ( 8 + 8 I ) u i 1 + 1 + 2 I I u i 1 + 2 + 2 I + ( 8 + 8 I ) u i 1 2 + I + 64 I u i 1 1 + I 16 u i 1 + I 64 I u i 1 + 1 + I + ( 8 8 I ) u i 1 + 2 + I + 34 u i 1 2 + 16 u i 1 1 + 16 u i 1 + 1 + 34 u i 1 + 2 + ( 8 8 I ) u i 1 2 I 64 I u i 1 1 I 16 u i 1 I + 64 I u i 1 + 1 I + ( 8 + 8 I ) u i 1 + 2 I I u i 1 2 2 I ( 8 + 8 I ) u i 1 1 2 I 34 u i 1 2 I + ( 8 + 8 I ) u i 1 + 1 2 I + I u i 1 + 2 2 I ) , O ( x 1 8 ) , C e n t e r e d
Table A13. Complex approximations used in solving the elasticity problem (part 2).
Table A13. Complex approximations used in solving the elasticity problem (part 2).
( a ) 2 u x 1 , x 2 x 1 x 2 = 1 800 x 1 x 2 ( u i 1 1 + I , i 2 1 + I + ( 4 + 4 I ) u i 1 1 + I , i 2 + I u i 1 1 + I , i 2 + 1 + I + ( 4 + 4 I ) u i 1 1 + I , i 2 1 ( 4 + 4 I ) u i 1 1 + I , i 2 + 1 + u i 1 1 + I , i 2 1 I + ( 4 4 I ) u i 1 1 + I , i 2 I I u i 1 1 + I , i 2 + 1 I + ( 4 + 4 I ) u i 1 + I , i 2 1 + I 32 u i 1 + I , i 2 + I ( 4 + 4 I ) u i 1 + I , i 2 + 1 + I + 32 I u i 1 + I , i 2 1 32 I u i 1 + I , i 2 + 1 + ( 4 + 4 I ) u i 1 + I , i 2 1 I + 32 u i 1 + I , i 2 I + ( 4 4 I ) u i 1 + I , i 2 + 1 I u i 1 + 1 + I , i 2 1 + I ( 4 + 4 I ) u i 1 + 1 + I , i 2 + I I u i 1 + 1 + I , i 2 + 1 + I + ( 4 + 4 I ) u i 1 + 1 + I , i 2 1 + ( 4 4 I ) u i 1 + 1 + I , i 2 + 1 + I u i 1 + 1 + I , i 2 1 I + ( 4 + 4 I ) u i 1 + 1 + I , i 2 I + u i 1 + 1 + I , i 2 + 1 I + ( 4 + 4 I ) u i 1 1 , i 2 1 + I + 32 I u i 1 1 , i 2 + I + ( 4 + 4 I ) u i 1 1 , i 2 + 1 + I + 32 u i 1 1 , i 2 1 32 u i 1 1 , i 2 + 1 + ( 4 4 I ) u i 1 1 , i 2 1 I 32 I u i 1 1 , i 2 I ( 4 + 4 I ) u i 1 1 , i 2 + 1 I ( 4 + 4 I ) u i 1 + 1 , i 2 1 + I 32 I u i 1 + 1 , i 2 + I + ( 4 4 I ) u i 1 + 1 , i 2 + 1 + I 32 u i 1 + 1 , i 2 1 + 32 u i 1 + 1 , i 2 + 1 + ( 4 + 4 I ) u i 1 + 1 , i 2 1 I + 32 I u i 1 + 1 , i 2 I + ( 4 + 4 I ) u i 1 + 1 , i 2 + 1 I + u i 1 1 I , i 2 1 + I + ( 4 + 4 I ) u i 1 1 I , i 2 + I + I u i 1 1 I , i 2 + 1 + I + ( 4 4 I ) u i 1 1 I , i 2 1 + ( 4 + 4 I ) u i 1 1 I , i 2 + 1 I u i 1 1 I , i 2 1 I ( 4 + 4 I ) u i 1 1 I , i 2 I u i 1 1 I , i 2 + 1 I + ( 4 4 I ) u i 1 I , i 2 1 + I + 32 u i 1 I , i 2 + I + ( 4 + 4 I ) u i 1 I , i 2 + 1 + I 32 I u i 1 I , i 2 1 + 32 I u i 1 I , i 2 + 1 ( 4 + 4 I ) u i 1 I , i 2 1 I 32 u i 1 I , i 2 I + ( 4 + 4 I ) u i 1 I , i 2 + 1 I I u i 1 + 1 I , i 2 1 + I + ( 4 4 I ) u i 1 + 1 I , i 2 + I + u i 1 + 1 I , i 2 + 1 + I ( 4 + 4 I ) u i 1 + 1 I , i 2 1 + ( 4 + 4 I ) u i 1 + 1 I , i 2 + 1 u i 1 + 1 I , i 2 1 I + ( 4 + 4 I ) u i 1 + 1 I , i 2 I + I u i 1 + 1 I , i 2 + 1 I ) , O ( x 1 8 x 2 8 ) , C e n t e r e d
( b )   d 3 u x 1 d x 1 3 = 3 3 I u i 1 1 + I + 48 I u i 1 + I 3 + 3 I u i 1 + 1 + I 48 u i 1 1 + 48 u i 1 + 1 + 3 + 3 I u i 1 1 I 48 I u i 1 I + 3 + 3 I u i 1 + 1 I 40 x 1 3 , O ( x 1 8 ) , C e n t e r e d
( c )   d 4 u x 1 d x 1 4 = 3 u i 1 1 + I + 16 u i 1 + I u i 1 + 1 + I + 16 u i 1 1 60 u i 1 + 16 u i 1 + 1 u i 1 1 I + 16 u i 1 I u i 1 + 1 I 10 x 1 4 , O ( x 1 8 ) , C e n t e r e d
( d ) d 4 u x 1 d x 1 4 = 1 400 x 1 4 ( u i 1 2 + 2 I 16 I u i 1 1 + 2 I + 66 u i 1 + 2 I + 16 I u i 1 + 1 + 2 I u i 1 + 2 + 2 I + 16 I u i 1 2 + I 128 u i 1 1 + I 128 u i 1 + 1 + I 16 I u i 1 + 2 + I + 66 u i 1 2 + 252 u i 1 + 66 u i 1 + 2 16 I u i 1 2 I 128 u i 1 1 I 128 u i 1 + 1 I + 16 I u i 1 + 2 I u i 1 2 2 I + 16 I u i 1 1 2 I + 66 u i 1 2 I 16 I u i 1 + 1 2 I u i 1 + 2 2 I ) , O ( x 1 8 ) , C e n t e r e d
( e ) 4 u x 1 , x 2 x 1 2 x 2 2 = 1 400 x 1 2 x 2 2 ( u i 1 1 + I , i 2 1 + I 8 I u i 1 1 + I , i 2 + I + u i 1 1 + I , i 2 + 1 + I + 8 I u i 1 1 + I , i 2 1 + 8 I u i 1 1 + I , i 2 + 1 + u i 1 1 + I , i 2 1 I 8 I u i 1 1 + I , i 2 I u i 1 1 + I , i 2 + 1 I 8 I u i 1 + I , i 2 1 + I + 64 u i 1 + I , i 2 + I + 8 I u i 1 + I , i 2 + 1 + I 64 u i 1 + I , i 2 1 64 u i 1 + I , i 2 + 1 + 8 I u i 1 + I , i 2 1 I + 64 u i 1 + I , i 2 I 8 I u i 1 + I , i 2 + 1 I + u i 1 + 1 + I , i 2 1 + I + 8 I u i 1 + 1 + I , i 2 + I u i 1 + 1 + I , i 2 + 1 + I 8 I u i 1 + 1 + I , i 2 1 8 I u i 1 + 1 + I , i 2 + 1 u i 1 + 1 + I , i 2 1 I + 8 I u i 1 + 1 + I , i 2 I + u i 1 + 1 + I , i 2 + 1 I + 8 I u i 1 1 , i 2 1 + I 64 u i 1 1 , i 2 + I 8 I u i 1 1 , i 2 + 1 + I + 64 u i 1 1 , i 2 1 + 64 u i 1 1 , i 2 + 1 8 I u i 1 1 , i 2 1 I 64 u i 1 1 , i 2 I + 8 I u i 1 1 , i 2 + 1 I + 8 I u i 1 + 1 , i 2 1 + I 64 u i 1 + 1 , i 2 + I 8 I u i 1 + 1 , i 2 + 1 + I + 64 u i 1 + 1 , i 2 1 + 64 u i 1 + 1 , i 2 + 1 8 I u i 1 + 1 , i 2 1 I 64 u i 1 + 1 , i 2 I + 8 I u i 1 + 1 , i 2 + 1 I + u i 1 1 I , i 2 1 + I + 8 I u i 1 1 I , i 2 + I u i 1 1 I , i 2 + 1 + I 8 I u i 1 1 I , i 2 1 8 I u i 1 1 I , i 2 + 1 u i 1 1 I , i 2 1 I + 8 I u i 1 1 I , i 2 I + u i 1 1 I , i 2 + 1 I 8 I u i 1 I , i 2 1 + I + 64 u i 1 I , i 2 + I + 8 I u i 1 I , i 2 + 1 + I 64 u i 1 I , i 2 1 64 u i 1 I , i 2 + 1 + 8 I u i 1 I , i 2 1 I + 64 u i 1 I , i 2 I 8 I u i 1 I , i 2 + 1 I u i 1 + 1 I , i 2 1 + I 8 I u i 1 + 1 I , i 2 + I + u i 1 + 1 I , i 2 + 1 + I + 8 I u i 1 + 1 I , i 2 1 + 8 I u i 1 + 1 I , i 2 + 1 + u i 1 + 1 I , i 2 1 I 8 I u i 1 + 1 I , i 2 I u i 1 + 1 I , i 2 + 1 I ) , O ( x 1 8 x 2 8 ) , C e n t e r e d

Appendix B. Figures with Approximations of Derivatives by Finite Difference Equations

Figure A1. Triangular grids with one spacing.
Figure A1. Triangular grids with one spacing.
Mathematics 12 01870 g0a1
Figure A2. Triangular grids with two spacings (part 1).
Figure A2. Triangular grids with two spacings (part 1).
Mathematics 12 01870 g0a2
Figure A3. Triangular grids with two spacings (part 2).
Figure A3. Triangular grids with two spacings (part 2).
Mathematics 12 01870 g0a3
Figure A4. Central hexagonal grids.
Figure A4. Central hexagonal grids.
Mathematics 12 01870 g0a4
Figure A5. Central octagonal grids.
Figure A5. Central octagonal grids.
Mathematics 12 01870 g0a5
Figure A6. Another central octagonal grid with horizontal and vertical sides.
Figure A6. Another central octagonal grid with horizontal and vertical sides.
Mathematics 12 01870 g0a6
Figure A7. Central dodecagon grids with horizontal and vertical sides.
Figure A7. Central dodecagon grids with horizontal and vertical sides.
Mathematics 12 01870 g0a7
Figure A8. Matrix of central dodecagon grids with horizontal and vertical sides.
Figure A8. Matrix of central dodecagon grids with horizontal and vertical sides.
Mathematics 12 01870 g0a8

References

  1. Hoffman, J.D.; Hoffman, J.D.; Frankel, S. Numerical Methods for Engineers and Scientists; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar] [CrossRef]
  2. Steven, C.C. Applied Numercial Methods with MATLAB for Engineers and Scientist; McGraw Hill: New York, NY, USA, 2013; Volume 53. [Google Scholar]
  3. Chapra, S.C.; Canale, R.P. Numerical Methods for Engineers, 2nd ed.; New Age International: New Delhi, India, 2006. [Google Scholar]
  4. Nayak, G.C. Applied Numerical Methods, B. Carnahan, H.A. Lither and J. O. Wilkes, Wiley, New York, 1969. No. of Pages: 604. Price: £6·60. Int. J. Numer. Methods Eng. 1972, 4, 599–600. [Google Scholar] [CrossRef]
  5. Seiler, M.C.; Seiler, F.A. Numerical Recipes in C: The Art of Scientific Computing. Risk Anal. 1989, 9, 415–416. [Google Scholar] [CrossRef]
  6. Dukkipati, R.V. Numerical Methods; Courier Corporation: New Delhi, India, 2010. [Google Scholar]
  7. Chapra, S.C. Métodos Numéricos Para Ingenieros; McGraw Hill: New York, NY, USA, 2011. [Google Scholar]
  8. Chen, Q.; Wang, P.; Zhu, D. A Second-Order Finite-Difference Method for Derivative-Free Optimization. J. Math. 2024, 2024, 1947996. [Google Scholar] [CrossRef]
  9. Chelnokov, Y.N. Quaternion Methods and Models of Regular Celestial Mechanics and Astrodynamics. Appl. Math. Mech. 2022, 43, 21–80. [Google Scholar] [CrossRef]
  10. Roberts, J.L. A Method for Calculating Meshless Finite Difference Weights. Int. J. Numer. Methods Eng. 2008, 74. [Google Scholar] [CrossRef]
  11. Khan, I.R.; Ohba, R. Closed-Form Expressions for the Finite Difference Approximations of First and Higher Derivatives Based on Taylor Series. J. Comput. Appl. Math. 1999, 107, 179–193, Corrigendum in J. Comput. Appl. Math. 2001, 130, 385. [Google Scholar] [CrossRef]
  12. Khan, I.R.; Ohba, R.; Hozumi, N. Mathematical Proof of Closed Form Expressions for Finite Difference Approximations Based on Taylor Series. J. Comput. Appl. Math. 2003, 150, 303–309. [Google Scholar] [CrossRef]
  13. Khan, I.R.; Ohba, R. Taylor Series Based Finite Difference Approximations of Higher-Degree Derivatives. J. Comput. Appl. Math. 2003, 154, 115–124. [Google Scholar] [CrossRef]
  14. Khan, I.R.; Ohba, R. New Finite Difference Formulas for Numerical Differentiation. J. Comput. Appl. Math. 2000, 126, 269–276. [Google Scholar] [CrossRef]
  15. Li, J. General Explicit Difference Formulas for Numerical Differentiation. J. Comput. Appl. Math. 2005, 183, 29–52. [Google Scholar] [CrossRef]
  16. Feagin, T. High-Order Explicit Runge-Kutta Methods Using m-Symmetry. Neural Parallel Sci. Comput. 2012, 20, 437–458. [Google Scholar]
  17. Fornberg, B. Infinite-Order Accuracy Limit of Finite Difference Formulas in the Complex Plane. IMA J. Numer. Anal. 2023, 43, 3055–3072. [Google Scholar] [CrossRef]
  18. Fornberg, B.; Piret, C. Computation of Fractional Derivatives of Analytic Functions. J. Sci. Comput. 2023, 96, 79. [Google Scholar] [CrossRef]
  19. Fornberg, B. Finite Difference Formulas in the Complex Plane. Numer. Algorithms 2022, 90, 1305–1326. [Google Scholar] [CrossRef]
  20. Abrahamsen, D.; Fornberg, B. Solving the Korteweg-de Vries Equation with Hermite-Based Finite Differences. Appl. Math. Comput. 2021, 401, 126101. [Google Scholar] [CrossRef]
  21. Li, T.; Wang, Q.W. Structure Preserving Quaternion Full Orthogonalization Method with Applications. Numer. Linear Algebra Appl. 2023, 30, e2495. [Google Scholar] [CrossRef]
  22. SEM. Handbook on Experimental Mechanics. Exp. Tech. 1989, 13, 21. [Google Scholar] [CrossRef]
  23. Tokovyy, Y.V.; Hung, K.M.; Ma, C.C. Determination of Stresses and Displacements in a Thin Annular Disk Subjected to Diametral Compression. J. Math. Sci. 2010, 165, 342–354. [Google Scholar] [CrossRef]
  24. Markides, C.F.; Kourkoulis, S.K. Stresses and Displacements in an Elliptically Perforated Circular Disc under Radial Pressure. Eng. Trans. 2014, 62, 131–169. [Google Scholar]
  25. Vasil’ev, V.V.; Fedorov, L.V. Stress functions in elasticity theory. Mech. Solids 2022, 57, 770–778. [Google Scholar] [CrossRef]
  26. Sadd, M.H. Elasticity: Theory, Applications, and Numerics; Elsevier: Amsterdam, The Netherlands, 2020. [Google Scholar] [CrossRef]
  27. Jiang, Y.; Pu, C. The Problem of I–II Combined Plane Crack Solved with Westergaard Stress Function. Mech. Eng. 2020, 42, 504–507. [Google Scholar] [CrossRef]
  28. Dumont, N.A.; Mamani, E.Y. Generalized Westergaard Stress Functions as Fundamental Solutions. CMES Comput. Model. Eng. Sci. 2011, 78, 109–149. [Google Scholar]
  29. Sun, C.T.; Farris, T.N. On the Completeness of the Westergaard Stress Functions. Int. J. Fract. 1989, 40, 73–77. [Google Scholar] [CrossRef]
  30. Leven, M.M. Discussion: “A New Method to ‘Lock-In’ Elastic Effects for Experimental Stress Analysis” (Dally, J.W., Durelli, A.J., and Riley, W.F., 1958, ASME J. Appl. Mech., 25, Pp. 189–195). J. Appl. Mech. 1959, 26, 152. [Google Scholar] [CrossRef]
  31. Clough, D.E.; Chapra, S.C. Introduction to Engineering and Scientific Computing with Python; Informa UK Limited: London, UK, 2022. [Google Scholar] [CrossRef]
  32. Magalhães, P.A.A. New Equations for Phase Evaluation in Measurements with an Arbitrary but Constant Phase Shift between Captured Intensity Signs. Opt. Eng. 2009, 48, 113602. [Google Scholar] [CrossRef]
  33. Cunha, P.P.S.R.; da Souza, P.M.; Valente, L.C.; Mello, G.M.V.; de Junior, P.A.A.M. Analysis of Induced Drag and Vortex at the Wing Tip of a Blended Wing Body Aircraft. Int. J. Adv. Eng. Res. Sci. 2018, 5, 7–9. [Google Scholar] [CrossRef]
  34. Magalhaes, P.A.A.; Magalhaes, C.A. Higher-Order Newton-Cotes Formulas. J. Math. Stat. 2010, 6, 193–204. [Google Scholar] [CrossRef]
  35. Almeida Magalhaes, C.; Americo Almeida Magalhaes, P. New Numerical Methods for the Photoelastic Technique with High Accuracy. J. Appl. Phys. 2012, 112, 083111. [Google Scholar] [CrossRef]
  36. Lamon, G.P.S.; Magalhães Júnior, P.A.A.; Carneiro, J.R.G. Cole type Pitot tube, discharge factor survey and calibration. Meas. Sens. 2024, 33, 101152. [Google Scholar] [CrossRef]
  37. López-Pérez, A.; Febrero-Bande, M.; González-Manteiga, W. Parametric estimation of diffusion processes: A review and comparative study. Mathematics 2021, 9, 859. [Google Scholar] [CrossRef]
  38. Berdyshev, A.; Baigereyev, D.; Boranbek, K. Numerical Method for Fractional-Order Generalization of the Stochastic Stokes–Darcy Model. Mathematics 2023, 11, 3763. [Google Scholar] [CrossRef]
  39. Pekmen Geridonmez, B.P.; Oztop, H.F. Entropy Generation Due to Magneto-Convection of a Hybrid Nanofluid in the Presence of a Wavy Conducting Wall. Mathematics 2022, 10, 4663. [Google Scholar] [CrossRef]
  40. Sun, J.; Wang, L.; Gong, D. A Joint Optimization Algorithm Based on the Optimal Shape Parameter–Gaussian Radial Basis Function Surrogate Model and Its Application. Mathematics 2023, 11, 3169. [Google Scholar] [CrossRef]
  41. Alahmadi, R.A.; Raza, J.; Mushtaq, T.; Abdelmohsen, S.A.M.; RGorji, M.; Hassan, A.M. Optimization of MHD Flow of Radiative Micropolar Nanofluid in a Channel by RSM: Sensitivity Analysis. Mathematics 2023, 11, 939. [Google Scholar] [CrossRef]
Figure 1. Spacing of the independent variable in the complex plane with intervals 01 and 02.
Figure 1. Spacing of the independent variable in the complex plane with intervals 01 and 02.
Mathematics 12 01870 g001
Figure 2. Spacing of the independent variable in the complex plane with interval 03.
Figure 2. Spacing of the independent variable in the complex plane with interval 03.
Mathematics 12 01870 g002
Figure 3. Spacing of the independent variable in the complex plane with interval 04.
Figure 3. Spacing of the independent variable in the complex plane with interval 04.
Mathematics 12 01870 g003aMathematics 12 01870 g003b
Figure 4. Ring in compression by a constant force with an angle of 2α.
Figure 4. Ring in compression by a constant force with an angle of 2α.
Mathematics 12 01870 g004
Figure 5. Results obtained by finite differences.
Figure 5. Results obtained by finite differences.
Mathematics 12 01870 g005
Table 1. Definition of numeric operators.
Table 1. Definition of numeric operators.
OperatorSymbolDefinition
ShiftEEu(xi) = u(xi+1) or Eyi = yi+1
Forward differenceΔΔu(xi) = u(xi+1) − u(xi) or Δyi = yi+1 − yi or Δ = E − 1
Backward differenceu(xi) = u(xi) − u(xi−1) or yi = yi − yi−1 or = 1 − E−1
Central differenceδδu(xi) = u(xi+½) − u(xi−½) or δyi = yi+½ − yi−½ or δ = E1/2E−1/2
Averageμμu(xi) = (½)[ u(xi+½) + u(xi−½) ] or μyi = (½)(yi+½ + yi−½ ) or μ = (½)(E½ + E−½ )
Average central differenceμδμδu(xi) = (½)[ u(xi+1) − u(xi−1) ] or μδyi = (½)(yi+1 − yi−1) or μδ = (½)(E1E−1)
Table 2. Successive application of numeric operators (potentiation).
Table 2. Successive application of numeric operators (potentiation).
OperatorSymbolSuccessive Application
ShiftEEnu(xi) = u(xi+n) or Enyi = yi+n or En = E(E(E(….E)))
Forward differenceΔΔnu(xi) = Δn−1u(xi+1) − Δn−1u(xi) or Δnyi = Δn−1yi+1Δn−1yi or Δn = Δ(Δ(Δ(….Δ)))
Backward differencenu(xi) = n−1u(xi) − n−1u(xi−1) or nyi = n−1yin−1yi−1 or n = (((….)))
Central differenceδδnu(xi) = δn−1u(xi+½) − δn−1u(xi−½) or δnyi = δn−1yi+½δn−1yi−½ or δ n = δ(δ(δ(….δ)))
δ2u(xi) = δu(xi+½) − δu(xi−½) = [u(xi+½+½) − u(xi+½−½)] − [u(xi−½+½) − u(xi−½−½)] =
[u(xi+1) − u(xi)] − [u(xi) − u(xi−1)] = u(xi+1) − u(xi) − u(xi) + u(xi−1) =
u(xi+1) − 2 u(xi) + u(xi−1)
δ2u(xi) = u(xi+1) − 2 u(xi) + u(xi−1) or δ2yi = yi+1 − 2 yi + yi−1
δ4u(xi) = δ2u(xi+1) − 2 δ2u(xi) + δ2u(xi−1) or δ2yi = δ2yi+1 − 2 δ2yi + δ2yi−1
δnu(xi) = δn−2u(xi+1) − 2δn−2u(xi) + δn−2u(xi−1) or
δnyi = δn−2yi+1 − 2δn−2yi + δn−2yi−1
Average central differenceμδμδnu(xi) = (½) [δn−1u(xi+½) − δn−1u(xi−½)] or μδnyi = (½) (δn−1yi+½δn−1yi−½ ) or
μδn = μδ(δ(δ(….δ)))
μδu(xi) = (½) [u(xi+1) − u(xi−1) ] or μδyi = (½)(yi+1 − yi−1)
μδ3u(xi) = (½) [δ2u(xi+1) − δ2u(xi−1)] or μδ3yi = (½)(δ2yi+1δ2yi−1)
μδnu(xi) = (½) [ δn−1u(xi+1) − δn−1u(xi−1)] or μδnyi = (½)(δn−1yi+1δn−1yi−1)
Table 3. Comparison of the real solution with the complex solution of the Theory of Elasticity problem of circular rings in compression.
Table 3. Comparison of the real solution with the complex solution of the Theory of Elasticity problem of circular rings in compression.
Step or Increment of Cartesian Coordinates x and y—Δx or Δy (m)Step or Increment of Polar Coordinates Radial Distance—Δr (m)Step or Increment of Polar Coordinates Polar Angle—Δθ (rad)Average Stresses Error between the Exact Value and the Real Solution Due to Finite Differences at the Mesh Nodes—σ or τ (Pa)Average Stresses Error between the Exact Value and the Complex Solution Due to Finite Differences at the Mesh Nodes—σ or τ (Pa)
h = 0.10.141420.078540.028050.006871
h = 0.010.0141420.0078542.4463 × 10−65.8212 × 10−11
h = 0.0010.00141420.00078547.7650 × 10−108.5163 × 10−19
h = 10−41.14142 × 10−47.854 × 10−51.5339 × 10−141.2798 × 10−27
h = 10−51.14142 × 10−57.854 × 10−67.4519 × 10−186.7628 × 10−35
h = 10−61.14142 × 10−67.854 × 10−71.7867 × 10−228.6599 × 10−43
Table 4. Comparison of the precision of numerical resolution of differential equations between the different grids in the complex plane.
Table 4. Comparison of the precision of numerical resolution of differential equations between the different grids in the complex plane.
Grid or Set of Points of the Main Stencil Used in the Numerical Resolution of the Stress Calculation Problem:Average Stresses Error between the Exact Value and the Complex Solution Due to Finite Differences at the Mesh Nodes with Step of Cartesian Coordinates x and y Equal to:
h = 0.1h = 0.01h = 0.001h = 10−4h = 10−5
Square with Interval 01—Quadrant 01—Table A4a2.04 × 1026.83 × 10−19.59 × 10−44.50 × 10−79.74 × 10−10
Square with Interval 01—Quadrant 02—Table A5a3.88 × 1028.91 × 10−17.38 × 10−41.75 × 10−82.48 × 10−10
Square with Interval 01—Quadrant 03—Table A6a3.88 × 1023.36 × 10−16.95 × 10−44.28 × 10−71.29 × 10−10
Square with Interval 01—Quadrant 04—Table A7a2.27 × 101.26 × 10−11.40 × 10−44.74 × 10−71.38 × 10−10
Square with Interval 02—Quadrant 01—Table A4b3.81 × 10−33.37 × 10−114.86 × 10−205.67 × 10−277.91 × 10−35
Square with Interval 02—Quadrant 02—Table A5b3.17 × 10−37.21 × 10−116.76 × 10−197.29 × 10−274.08 × 10−35
Square with Interval 02—Quadrant 03—Table A6b8.40 × 10−33.19 × 10−116.46 × 10−195.17 × 10−272.78 × 10−35
Square with Interval 02—Quadrant 04—Table A7b7.78 × 10−36.94 × 10−114.22 × 10−192.95 × 10−277.70 × 10−35
Square with Interval 02—Central—Table A8a3.74 × 10−34.45 × 10−113.00 × 10−193.47 × 10−271.45 × 10−35
Square with Interval 03—Quadrant 01—Table A4c5.93× 10−104.49 × 10−257.82 × 10−404.18 × 10−553.33 × 10−71
Square with Interval 03—Quadrant 02—Table A5c9.28 × 10−104.63 × 10−252.67 × 10−406.06 × 10−558.83 × 10−70
Square with Interval 03—Quadrant 03—Table A6c8.08× 10−104.49 × 10−251.47 × 10−406.56 × 10−573.80 × 10−70
Square with Interval 03—Quadrant 04—Table A7c9.42 × 10−105.81 × 10−252.63 × 10−407.71 × 10−552.56 × 10−70
Square with Interval 04—Quadrant 01—Table A4d2.85 × 10−194.90 × 10−433.28 × 10−673.87 × 10−939.37 × 10−115
Square with Interval 04—Quadrant 02—Table A5d2.55 × 10−192.25 × 10−436.99 × 10−694.82 × 10−917.77 × 10−115
Square with Interval 04—Quadrant 03—Table A6d5.51 × 10−195.93 × 10−432.88 × 10−676.04 × 10−913.07 × 10−115
Square with Interval 04—Quadrant 04—Table A7d4.76 × 10−192.18 × 10−435.04 × 10−679.71 × 10−923.72 × 10−115
Square with Interval 04—Central—Table A8b4.61 × 10−191.73 × 10−432.84 × 10−676.20 × 10−921.63 × 10−116
Square with Interval 06—Central—Table A8c3.24 × 10−438.05 × 10−922.40 × 10−1402.89 × 10−1874.55 × 10−235
Triangle 01—Quadrant 01—Figure A1a2.72 × 1032.49 × 105.95 × 10−14.75 × 10−42.20 × 10−5
Triangle 01—Quadrant 02—Figure A1b5.88 × 1039.82 × 101.92 × 10−17.83 × 10−36.13 × 10−5
Triangle 01—Quadrant 03—Figure A1c5.08 × 1031.60 × 109.20 × 10−15.90 × 10−36.71 × 10−5
Triangle 01—Quadrant 04—Figure A1d8.42 × 1035.53 × 101.41 × 10−16.50 × 10−32.90 × 10−5
Diamond 01—Central—Figure A1e2.56 × 1008.22 × 10−44.12 × 10−72.37 × 10−112.71 × 10−15
Triangle 02—Quadrant 01—Figure A2a9.28 × 1002.52 × 10−59.63 × 10−103.15 × 10−158.28 × 10−20
Triangle 02—Quadrant 02—Figure A2b8.34 × 1001.43 × 10−51.60 × 10−106.00 × 10−158.71 × 10−20
Triangle 02—Quadrant 03—Figure A2c5.20 × 1003.53 × 10052.10 × 10−104.60 × 10−152.78 × 10−21
Triangle 02—Quadrant 04—Figure A3a1.81 × 1006.62 × 10−57.90 × 10−103.78 × 10−151.78 × 10−20
Diamond 02—Central—Figure A3b2.09 × 10−62.57 × 10−173.88 × 10−281.10 × 10−392.79 × 10−50
Hexagon—Central—Figure A42.96 × 10−122.63 × 10−271.18 × 10−431.59 × 10−592.87 × 10−75
Octagon—Central—Figure A52.00 × 10−231.50 × 10−511.59 × 10−792.88 × 10−1073.03 × 10−135
Another Octagon with horizontal and vertical sides—Central—Figure A61.22 × 10−327.50 × 10−681.90 × 10−1032.38 × 10−1398.11 × 10−176
Dodecagon with horizontal and vertical sides—Central—Figure A7 and Figure A81.32 × 10−551.51 × 10−1151.10 × 10−1757.71 × 10−2361.73 × 10−296
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Almeida Magalhães, A.L.M.; Brito, P.P.; Lamon, G.P.d.S.; Júnior, P.A.A.M.; Magalhães, C.A.; Almeida Magalhães, P.H.M.; Magalhães, P.A.A. Numerical Resolution of Differential Equations Using the Finite Difference Method in the Real and Complex Domain. Mathematics 2024, 12, 1870. https://doi.org/10.3390/math12121870

AMA Style

Almeida Magalhães ALM, Brito PP, Lamon GPdS, Júnior PAAM, Magalhães CA, Almeida Magalhães PHM, Magalhães PAA. Numerical Resolution of Differential Equations Using the Finite Difference Method in the Real and Complex Domain. Mathematics. 2024; 12(12):1870. https://doi.org/10.3390/math12121870

Chicago/Turabian Style

Almeida Magalhães, Ana Laura Mendonça, Pedro Paiva Brito, Geraldo Pedro da Silva Lamon, Pedro Américo Almeida Magalhães Júnior, Cristina Almeida Magalhães, Pedro Henrique Mendonça Almeida Magalhães, and Pedro Américo Almeida Magalhães. 2024. "Numerical Resolution of Differential Equations Using the Finite Difference Method in the Real and Complex Domain" Mathematics 12, no. 12: 1870. https://doi.org/10.3390/math12121870

APA Style

Almeida Magalhães, A. L. M., Brito, P. P., Lamon, G. P. d. S., Júnior, P. A. A. M., Magalhães, C. A., Almeida Magalhães, P. H. M., & Magalhães, P. A. A. (2024). Numerical Resolution of Differential Equations Using the Finite Difference Method in the Real and Complex Domain. Mathematics, 12(12), 1870. https://doi.org/10.3390/math12121870

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop