TWO-DIMENSIONAL PARTIAL ELLIPTIC DIFFERENTIAL EQUATIONS IN MAPLE
Alexei V. Tikhonenko
General Physics Department, State Technical University of Nuclear Power Engineering, Obninsk, Russia
futureprint@obninsk.com
This work introduces functional programming method in MAPLE for boundary problem solving of two-dimensional partial elliptic differential equations in polar coordinates.
1. Introduction
1.1. Two-dimensional Laplace's equation in polar coordinates
Solution of boundary-value problem for Laplace's equation
Δu = 0
for circle and ring can be solved by the variable separation method.
For this purpose we will use "VectorCalculus" package
0 < r < ∞, 0 < φ < 2π,
and polar coordinate system:
So programming of Laplace's equation in these coordinates gives:
1.2. Variable separation and general solution
Laplace's equation admits the variable separation and with MAPLE aids we will have separated equations:
After constant replacement
we will solve separated equations.
Angular equation:
Solution for angular function Φ(φ) will satisfy to periodicity condition with integer n.
Radial equation:
a) n ≠ 0:
b) n= 0:
So solutions of angular and radial equations will have forms (with changed constants):
Thus general solution of two-dimensional Laplace's equation in polar coordinates is:
2. The first boundary-value problem for Laplace's equation in circle
2.1. The first boundary-value problem statement (inside of circle)
Consider the first boundary-value problem for Laplace's equation inside of circle (internal Dirichlet problem for circle).
This problem implies that function u satisfies the Laplace's equation:
and boundary condition on the circle boundary S:
u(S) = f,
where f is given function and S is circumference of radius R0.
General solution of two-dimensional Laplace's equation in polar coordinates is (see point 1.2):
and boundary conditions are:
1) boundedness of solution at origin of coordinates:
u < ∞;
2) value of function u on the circle boundary S is:
u(R0,φ) = f(φ).
2.2. Accounting of boundary conditions (inside of circle)
1) Boundedness of solution at origin of coordinates implies:
B20 = 0, B2n = 0,
whence it follows (with redefinition of A1n, A2n and B1n):
So we have:
2) The second boundary condition implies:
Using these relations we will find:
2.3. Calculation of coefficients (inside of circle)
Using of formulas (6.1) - (6.6) (see Appendix 1) - orthonormality conditions - gives:
As a result of calculations we find:
or
And solution of the first boundary-value problem for Laplace's equation inside of circle is:
2.4. Poisson integral (inside of circle)
This solution can be represented by the Poisson integral. For this purpose we will perform the transformation:
and use variables
r = ρ⋅R0,
α = φ - ψ.
and formulas:
After additional transformations we have:
Using denotation (kernel of Poisson integral):
we receive integral form of the solution (Poisson integral):
2.5. The first boundary-value problem statement (outside of circle)
Consider the first boundary-value problem for Laplace's equation outside of circle (external Dirichlet problem for circle).
1) boundedness of solution at infinity:
2.6. Accounting of boundary conditions (outside of circle)
1) Boundedness of solution at infinity implies:
B10 = 0,
B1n = 0,
whence it follows (with redefinition of A1n, A2n and B2n):
2.7. Calculation of coefficients (outside of circle)
And solution of the first boundary-value problem for Laplace's equation outside of circle is:
2.8. Poisson integral (outside of circle)
R0 = ρ⋅r,
2.9. General representation of the solution in expanded form for circle
The solution inside of circle is:
where
Now we redefine coefficients:
and get the formula:
The solution outside of circle is:
Thus we have the solution in expanded form for circle:
2.10. Poisson integral for circle
Poisson integral for circle inside of circle is:
Poisson integral for circle outside of circle is:
So the Poisson integral for circle is:
3. The second boundary-value problem for Laplace's equation in circle
3.1. The second boundary-value problem statement (inside of circle)
Consider the first boundary-value problem for Laplace's equation inside of circle (internal Neumann problem for circle).
= g,
where g is given function and S is circumference of radius R0.
2) value of derivative of function u on the circle boundary S is:
= g(φ).
3.2. Accounting of boundary conditions (inside of circle)
B20 = 0,
B2n = 0,
and
3.3. Calculation of coefficients (inside of circle)
And solution of the second boundary-value problem for Laplace's equation inside of circle is:
3.4. Poisson integral (inside of circle)
Now we have
Consider kernel of Poisson integral:
and relation:
Integration gives:
So we receive integral form of the solution (Poisson integral):
3.5. The second boundary-value problem statement (outside of circle)
Consider the second boundary-value problem for Laplace's equation inside of circle (external Neumann problem for circle).
3.6. Accounting of boundary conditions (inside of circle)
1) Boundedness of solution at origin of coordinates implies::
3.7. Calculation of coefficients (inside of circle)
And solution of the second boundary-value problem for Laplace's equation outside of circle is:
3.8. Poisson integral (outside of circle)
3.9. General representation of the solution in expanded form for circle
where B1 is arbitrary constant and
3.10. General representation of the solution in integral form
Solution for circle inside of circle is:
Solution for circle outside of circle is:
So the the integral form of the solution for circle is:
4. The third boundary-value problem for Laplace's equation in circle
4.1. The third boundary-value problem statement (inside of circle)
Consider the third boundary-value problem for Laplace's equation inside of circle.
= h,
where h is given function and S is circumference of radius R0.
= h(φ).
4.2. Accounting of boundary conditions (inside of circle)
4.3. Calculation of coefficients (inside of circle)
And solution of the third boundary-value problem for Laplace's equation inside of circle is:
4.4. The third boundary-value problem statement (outside of circle)
1) boundedness of solution:
4.5. Accounting of boundary conditions (outside of circle)
4.6. Calculation of coefficients (outside of circle)
And solution of the third boundary-value problem for Laplace's equation outside of circle is:
4.7. General representation of the solution in expanded form
5. The first boundary-value problem for Laplace's equation in ring
5.1. The second boundary-value problem statement in ring
and boundary conditions on the circle boundaries S1 and S2:
u(S1) = f1, u(S2) = f2
where f1 and f2 are given functions and S1 and S2 are circumferences of radiuses R1 and R2 correspondingly.
1) value of function u on the internal boundary S1 is:
u(R1,φ) = f1(φ);
2) value of function u on the external boundary S2 is:
u(R1,φ) = f1(φ).
and find
5.2. Accounting of boundary conditions
Boundary conditions are represented as
so we have
5.3. Calculation of coefficients
?) k = 0:
?) k ≠ 0:
And solution of the first boundary-value problem is:
5.4. Integral representation of the solution
This solution can be represented in integral form. We will use relations:
and get formulas
Using denotation:
we get solution in integral form:
Conclusions
This work demonstrates universal possibilities of MAPLE in solving the partial elliptic differential equations.
Appendix 1
Orthonormality conditions for sin(k ) and cos(k ).
References
1. A.N. Tikhonov, A.A. Samarski. Equations of mathematical physics. Moskow. MSU, 1999.
2. B.N. Budak, A.N. Tikhonov, A.A. Samarski. Problems on mathematical physics. Moskow. Fizmatlit, 2004.
Legal Notice: The copyright for this application is owned by the author(s). Neither Maplesoft nor the author are responsible for any errors contained within and are not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact the author for permission if you wish to use this application in for-profit activities.