Separation of Variables Method

Circular Cylinder Coordinates

M.M. Yovanovich

SEPVARCYLIND1.MWS

Separation of variables method applied to two-dimensional Laplace equation in circular cylinder coordinates. The partial differential equation is [Maple Math] . The partial differential equation can be separated into three sets of independent second-order differential equations by the substitution [Maple Math] where [Maple Math] and [Maple Math] are independent functions.

> restart:

Laplace equation in circular cylinder (polar) coordinates.

> PDE:= diff(U(r,z),r,r) + diff(U(r,z),r)/r + diff(U(r,z),z,z) = 0;

[Maple Math]

> U(r,z):= R(r)*Z(z);

[Maple Math]

> PDE2:= PDE;

[Maple Math]

> ODE:= expand(PDE2/U(r,z));

[Maple Math]

We observed that the first two terms are functions of [Maple Math] only and the third term is a function of [Maple Math] only. This identity must hold for all values of the space coordinates [Maple Math] and [Maple Math] . This can be achieved by setting the first two terms and the third term to i) zero, or two constants with different signs such as ii) [Maple Math] or iii) [Maple Math] . We will examine the three options.

Option 1: ODEs and their solutions.

> ode11:= expand(R(r)*(op(1,op(1,ODE)) + op(2,op(1,ODE)))) = 0;

[Maple Math]

> ode12:= Z(z)*op(3, op(1,ODE)) = 0;

[Maple Math]

> sol11:= subs(_C1 = A, _C2 = B, dsolve(ode11, R(r)));

[Maple Math]

> sol12:= subs(_C1 = C, _C2 = D, dsolve(ode12, Z(z)));

[Maple Math]

One Solution of the Laplace Equation.

> sol1Laplace:= rhs(sol11)*rhs(sol12);

[Maple Math]

We observe that the solution is logarithmic in [Maple Math] and linear in [Maple Math] .

Option 2: ODEs and their Solutions.

> ode21:= expand(R(r)*(op(1,op(1,ODE)) + op(2,op(1,ODE)) + lambda^2)) = 0;

[Maple Math]

> ode22:= expand(Z(z)*(op(3, op(1,ODE)) - lambda^2)) = 0;

[Maple Math]

> sol21:= subs(_C1 = A, _C2 = B, dsolve(ode21, R(r)));

[Maple Math]

> sol22:= subs(_C1 = C, _C2 = D, dsolve(ode22, Z(z)));

[Maple Math]

A Second Solution of the Laplace Equation.

> sol2Laplace:= rhs(sol21)*rhs(sol22);

[Maple Math]

The solution consists of Bessel functions of the first kind of order zero, and exponential functions in [Maple Math] . The Bessel functions [Maple Math] and [Maple Math] are periodic functions.

Option 3: ODEs and their Solutions.

> ode31:= expand(R(r)*(op(1,op(1,ODE)) + op(2,op(1,ODE)) - lambda^2)) = 0;

[Maple Math]

> ode32:= expand(Z(z)*(op(3, op(1,ODE)) + lambda^2)) = 0;

[Maple Math]

> sol31:= subs(_C1 = A, _C2 = B, dsolve(ode31, R(r)));

[Maple Math]

> sol32:= subs(_C1 = C, _C2 = D, dsolve(ode32, Z(z)));

[Maple Math]

A Third Solution of the Laplace Equation.

> sol3Laplace:= rhs(sol31)*rhs(sol32);

[Maple Math]

The solution consists of modified Bessel functions of the first kind of order zero, and trigonometric functions in [Maple Math] . The modified Bessel functions [Maple Math] and [Maple Math] are non-periodic functions.

Summary of the three independent solutions of the two-dimensional Laplace equation.

> sol_Laplace1:= sol1Laplace;

[Maple Math]

> sol_Laplace2:= sol2Laplace;

[Maple Math]

> sol_Laplace3:= sol3Laplace;

[Maple Math]

The constants of integration [Maple Math] and [Maple Math] will be determined by the homogeneous boundary conditions of the first, second or third kind.