## Evaluating the Partial Derivatives of Four Types of Two-Variables Functions

Department of Management and Information, Nan Jeon University of Science and Technology, Tainan City, Taiwan### Abstract

This article uses the mathematical software Maple for the auxiliary tool to study the partial differential problems of four types of two-variables functions. We can obtain the infinite series forms of any order partial derivatives of these two-variables functions by using differentiation term by term theorem, and hence greatly reduce the difficulty of calculating their higher order partial derivative values. In addition, we provide some examples to do calculation practically. The research methods adopted in this study involved finding solutions through manual calculations and verifying our answers by using Maple.

**Keywords:** partial derivatives, infinite series forms, differentiation term by term theorem, Maple

*Automatic Control and Information Sciences*, 2014 2 (1),
pp 1-6.

DOI: 10.12691/acis-2-1-1

Received November 25, 2013; Revised January 13, 2014; Accepted January 20, 2014

**Copyright**© 2013 Science and Education Publishing. All Rights Reserved.

### Cite this article:

- Yu, Chii-Huei. "Evaluating the Partial Derivatives of Four Types of Two-Variables Functions."
*Automatic Control and Information Sciences*2.1 (2014): 1-6.

- Yu, C. (2014). Evaluating the Partial Derivatives of Four Types of Two-Variables Functions.
*Automatic Control and Information Sciences*,*2*(1), 1-6.

- Yu, Chii-Huei. "Evaluating the Partial Derivatives of Four Types of Two-Variables Functions."
*Automatic Control and Information Sciences*2, no. 1 (2014): 1-6.

Import into BibTeX | Import into EndNote | Import into RefMan | Import into RefWorks |

### 1. Introduction

The computer algebra system (CAS) has been widely employed in mathematical and scientific studies. The rapid computations and the visually appealing graphical interface of the program render creative research possible. Maple possesses significance among mathematical calculation systems and can be considered a leading tool in the CAS field. The superiority of Maple lies in its simple instructions and ease of use, which enable beginners to learn the operating techniques in a short period. In addition, through the numerical and symbolic computations performed by Maple, the logic of thinking can be converted into a series of instructions. The computation results of Maple can be used to modify our previous thinking directions, thereby forming direct and constructive feedback that can aid in improving understanding of problems and cultivating research interests.

In calculus and engineering mathematics curricula, the evaluation and numerical calculation of the partial derivatives of multivariable functions are important. For example, Laplace equation, wave equation, as well as other important physical equations are involved the partial derivatives. On the other hand, calculating the *q*-th order partial derivative value of a multivariable function at some point, in general, needs to go through two procedures: firstly determining the *q*-th order partial derivative of this function, and then taking the point into the *q*-th order partial derivative. These two procedures will make us be faced with increasingly complex calculations when calculating higher order partial derivative values ( i.e. *q* is large), and hence to obtain the answers by manual calculations is not easy. In this paper, we study the partial differential problem of the following four types of two-variables functions

(1) |

(2) |

(3) |

(4) |

where *a*, *b* are real numbers, *a* ≠ 0, and *p* is an integer. We can obtain the infinite series forms of any order partial derivatives of these four types of two-variables functions using differentiation term by term theorem; these are the major results of this study (i.e., Theorems 1-4), and hence greatly reduce the difficulty of calculating their higher order partial derivative values. The study of related partial differential problems can refer to [1-13]^{[1]}. In addition, we provide some examples to do calculation practically. The research methods adopted in this paper involved finding solutions through manual calculations and verifying these solutions by using Maple. This type of research method not only allows the discovery of calculation errors, but also helps modify the original directions of thinking from manual and Maple calculations. Therefore, Maple provides insights and guidance regarding problem-solving methods.

### 2. Main Results

Firstly, we introduce some notations and formulas used in this paper.

**2.1. Notations**

**2.1.1.** Let be a complex number, where , are real numbers. We denote *a* the real part of *z* by , and *b* the imaginary part of *z* by .

**2.1.2. **Suppose are non-negative integers. For the two-variables function , its *n*-times partial derivative with respect to *x*, and *m*-times partial derivative with respect to *y*, forms a -th order partial derivative, and denoted by .

**2.1.3. **Suppose *r* is any real number, *m* is any positive integer. Define , and .

**2.2. Formulas**

**2.2.1. Euler’s Formula**

, where is any real number.

**2.2.2. DeMoivre’s Formula**

, where *p* is any integer, and is any real number.

**2.2.3. ([14])**

, where *u*, *v* are real numbers.

**2.2.4. ([14])**

, where *u*, *v* are real numbers.

**2.2.5. Taylor Series Expression of Complex Sine Function**

, where *z* is any complex number.

**2.2.6. Taylor Series Expression of Complex Cosine Function**

, where *z* is any complex number.

Next, we introduce an important theorem used in this study.

**2.3. Differentiation Term by Term Theorem ([15])**

For all non-negative integers *k*, if the functions satisfy the following three conditions： (i) there exists a point such that is convergent, (ii) all functions are differentiable on open interval , (iii) is uniformly convergent on . Then is uniformly convergent and differentiable on . Moreover, its derivative .

Before deriving the first major result in this study, we need a lemma.

**2.4. Lemma**

Suppose *α**, **β* are real numbers, *α** *> 0, and *p* is an integer. Then

(5) |

(6) |

**Proof **

(where )

(By DeMoivre’s formula)

(By Euler’s formula)

In the following, we determine the infinite series forms of any order partial derivatives of the two-variables function (1).

**2.5. Theorem 1**

Suppose *a*, *b* are real numbers, *a* ≠ 0, *p* is an integer, and *m, n* are non-negative integers. If the domain of the two-variables function

is . Then the *m** *+ *n*-th order partial derivative of *f* (*x*, *y*),

(7) |

**Proof**** **Let , then

(8) |

(By (5) and Formula 2.2.3.)

Therefore,

(By Formula 2.2.5.)

(9) |

Using differentiation term by term theorem, differentiating *n*-times with respect to *x*, and *m*-times with respect to *y*** **on both sides of (9), we have

(Using (6))

Next, we find the infinite series forms of any order partial derivatives of the two-variables function (2).

**2.6. Theorem 2**

If the assumptions are the same as Theorem 1. Suppose the domain of the two-variables function

. Then the *m* + *n*-th order partial derivative of *g* (*x*, *y*),

(10) |

**Proof**

(By (8))

(11) |

Thus, by differentiation term by term theorem, we obtain

In the following, we determine the infinite series forms of any order partial derivatives of the two-variables function (3).

**2.7. Theorem 3**

If the assumptions are the same as Theorem 1. Suppose the domain of the two-variables function

is . Then the *m* + *n*-th order partial derivative of *h* (*x*, *y*),

(12) |

**Proof **Let , then

(13) |

(By (5) and Formula 2.2.4.)

Thus,

(By Formula 2.2.6.)

(14) |

Also, by differentiation term by term theorem, we have

Finally, we obtain the infinite series forms of any order partial derivatives of the two-variables function (4).

**2.8. Theorem 4**

Let the assumptions be the same as Theorem 1. If the domain of the two-variables function

is . Then the *m* + *n*-th order partial derivative of *u* (*x*, *y*),

(15) |

**Proof**

(By (13))

(16) |

Thus, by differentiation term by term theorem,

### 3. Examples

In the following, for the partial differential problem of the four types of two-variables functions in this study, we propose four examples and use Theorems 1-4 to determine the infinite series forms of any order partial derivatives of these functions, and evaluate some of their higher order partial derivative values. In addition, we employ Maple to calculate the approximations of these higher order partial derivative values and their solutions for verifying our answers.

**3.1. Example 1**

Suppose the domain of the two-variables function

(17) |

is . By (7), we obtain any *m* + *n*-th order partial derivative of *f* (*x*, *y*),

(18) |

for all .

Thus, we can evaluate the 12-th order partial derivative value of at ,

(19) |

Next, we use Maple to verify the correctness of (19).

>f:=(x,y)->(sqrt(9*x^2+4*y^2))^3*(cos(3*arctan((2*y)/(3*x)))*sin(3*x)*cosh(2*y)-sin(3*arctan((2*y)/(3*x)))*cos(3*x)*sinh(2*y));

>evalf(D[1$5,2$7](f)(4,-1),22);

>evalf(3^5*2^7*sum((-1)^k*product(2*k+4-j,j=0..11)/(2*k+1)!*(sqrt(148))^(2*k-8)*sin((2*k-8)*arctan(-1/6)),k=0..

infinity),22);

**3.2. Example 2**

If the domain of the two-variables function

(20) |

is . Using (10), we obtain

(21) |

for all .

Thus,

(22) |

>g:=(x,y)->(sqrt(3*x^2+5*y^2))^7*(cos(7*arctan((sqrt(5)*y)/(sqrt(3)*x)))*cos(sqrt(3)*x)*sinh(sqrt(5)*y)+sin(7*arctan((sqrt(5)*y)/ (sqrt(3)*x)))*sin(sqrt(3)*x)*cosh(sqrt(5)*y));

>evalf(D[1$8,2$6](g)(3,7),26);

>evalf(-sqrt(3)^8*sqrt(5)^6*sum((-1)^k*product(2*k+8-j,j=0..13)/(2*k+1)!*(sqrt(272))^(2*k-6)*sin((2*k-6)*arctan(7*sqrt(15)/9)),k=0..infinity),26);

**3.3. Example 3**

Let the domain of the two-variables function

(23) |

be . By (12), we obtain

(24) |

for all .

Hence,

(25) |

>h:=(x,y)->(sqrt(4*x^2+y^2))^9*(cos(9*arctan(y/(2*x)))*cos(2*x)*cosh(y)+sin(9*arctan(y/(2*x)))*sin(2*x)*sinh(y));

>evalf(D[1$6,2$8](h)(2,-5),22);

>evalf(2^6*sum((-1)^k*product(2*k+9-j,j=0..13)/(2*k)!*(sqrt(41))^(2*k-5)*cos((2*k-5)*arctan(-5/4)),k=0..infinity)

,22);

**3.4. Example 4**

If the domain of the two-variables function

(26) |

is . Using (15), we have

(27) |

for all .

Hence,

(28) |

>u:=(x,y)->(sqrt(x^2+9*y^2))^11*(-cos(11*arctan(3*y/x))*sin(x)*sinh(3*y)+sin(11*arctan(3*y/x))*cos(x)*cosh(3*y));

>evalf(D[1$7,2$8](u)(2,9),32);

>evalf(3^8*sum((-1)^k*product(2*k+11-j,j=0..14)/(2*k)!*(sqrt(733))^(2*k-4)*sin((2*k-4)*arctan(27/2)),k=0..

infinity),32);

### 4. Conclusion

In this paper, we provide a new technique to evaluate any order partial derivatives of four types of two-variables functions. We hope this technique can be applied to solve another partial differential problems. On the other hand, the differentiation term by term theorem plays a significant role in the theoretical inferences of this study. In fact, the applications of this theorem are extensive, and can be used to easily solve many difficult problems; we endeavor to conduct further studies on related applications. In addition, Maple also plays a vital assistive role in problem-solving. In the future, we will extend the research topic to other calculus and engineering mathematics problems and solve these problems by using Maple. These results will be used as teaching materials for Maple on education and research to enhance the connotations of calculus and engineering mathematics.

### References

[1] | T-W, Ma, “Higher chain formula proved by combinatorics,” The Electronic Journal of Combinatorics, Vol. 16, #N21, 2009. | ||

In article | |||

[2] | C. H., Bischof, G. Corliss, and A. Griewank, “Structured second and higher-order derivatives through univariate Taylor series,” Optimization Methods and Software, Vol. 2, pp. 211-232, 1993. | ||

In article | CrossRef | ||

[3] | L. E. Fraenkel, “Formulae for high derivatives of composite functions,” Mathematical Proceedings of the Cambridge Philosophical Society, Vol. 83, pp. 159-165, 1978. | ||

In article | CrossRef | ||

[4] | D. N. Richard, “ An efficient method for the numerical evaluation of partial derivatives of arbitrary order,” ACM Transactions on Mathematical Software, Vol. 18, No. 2, pp. 159-173, 1992. | ||

In article | CrossRef | ||

[5] | A. Griewank and A. Walther, Evaluating derivatives: principles and techniques of algorithmic differentiation, 2nd ed., SIAM, Philadelphia, 2008. | ||

In article | CrossRef | ||

[6] | C. -H. Yu, “Using Maple to evaluate the partial derivatives of two-variables functions, ” International Journal of Computer Science and Mobile Computing, Vol. 2, Issue. 6, pp. 225-232, 2013. | ||

In article | |||

[7] | C.-H. Yu, “Using Maple to study the partial differential problems,” Applied Mechanics and Materials, in press. | ||

In article | |||

[8] | C. -H. Yu, “Evaluating partial derivatives of two-variables functions by using Maple,” Proceedings of the 6th IEEE/International Conference on Advanced Infocomm Technology, Taiwan, pp. 23-27, 2013. | ||

In article | |||

[9] | C.-H. Yu, “Application of Maple: taking the partial differential problem of some types of two-variables functions as an example,” Proceedings of the International Conference on e-Learning, Taiwan, pp. 337-345, 2013. | ||

In article | |||

[10] | C.-H. Yu, “Application of Maple on the partial differential problem of four types of two-variables functions,” Proceedings of the International Conference on Advanced Information Technologies, Taiwan, No. 87, 2013. | ||

In article | |||

[11] | C.-H., Yu, “Application of Maple: taking the partial differential problem of two-variables functions as an example,” Proceedings of 2013 Business Innovation and Development Symposium, Taiwan, B20130113001, 2013. | ||

In article | |||

[12] | C. -H. Yu and B. -H. Chen, “The partial differential problem,” Computational Research, Vol. 1, No. 3, pp. 53-60, 2013. | ||

In article | |||

[13] | C. -H. Yu, “Partial derivatives of some types of two-variables functions,” Pure and Applied Mathematics Journal, Vol. 2, No. 2, pp. 56-61, 2013. | ||

In article | CrossRef | ||

[14] | R. V. Churchill and J. W. Brown, Complex variables and applications, 4th ed., McGraw-Hill, New York, p 62, 1984. | ||

In article | |||

[15] | T. M. Apostol, Mathematical analysis, 2nd ed., Addison-Wesley, Boston, p 230, 1975. | ||

In article | |||