We start by changing the Laplacian operator in the 2-D heat equation from rectangular to cylindrical coordinates by the following definition:

By changing the coordinate system, we arrive at the following nonhomogeneous PDE for the heat equation:
![{\displaystyle u_{t}=k\left[{\frac {1}{r}}\left(u_{r}+ru_{rr}\right)+{\frac {1}{r^{2}}}u_{\theta \theta }\right]+h(r,\theta ,t),{\text{ where }}(r,\theta )\in D,t\in (0,\infty )~.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ea9714f124e86f7a661c2737c0288b59a3ac2580)
We choose for the example the Robin boundary conditions and initial conditions as follows:

![{\displaystyle \Rightarrow R\Theta T'=k\left[{\frac {1}{r}}(R'\Theta T+rR''\Theta T)+{\frac {1}{r^{2}}}R\Theta ''T\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5658baa9522d6d5ce6c0a53a8f63c14a3f872509)

This means that a separation constant can be found that both sides will equal. Let's define it to be
This yields:

and multiplying the other side by
yields:

After defining another separation constant
, it yields:

Multiplying the other side by R yields:

We now have separate differential equations for each variable.




The SLP for
is a singular Bessel type, whose eigenvalues
depends on
and are non-negative solutions to the following equation:

and the eigenfunction is:

where
is the Bessel function of the first kind of order
.


Let's define the solution as an infinite sum:

With the initial condition:

where 
The weight function in the inner product
in integrals involving the Bessel functions. The Bessel functions
are orthogonal relative to the "weighted" scalar product
Solving the non-homogeneous equation involves defining the following functions:


Substitute the new definitions into the non-homogeneous equations:
![{\displaystyle {\begin{aligned}\sum T_{mn}'(t)R_{mn}(r)\Theta _{m}(\theta )=&k\left[{\frac {1}{r}}\left(\sum T_{mn}(t)R_{mn}'(r)\Theta _{m}(\theta )+r\sum T_{mn}(t)R_{mn}''(r)\Theta _{m}(\theta )\right)+{\frac {1}{r^{2}}}\sum T_{mn}(t)R_{mn}(r)\Theta _{m}''(\theta )\right]\\&+\sum H_{mn}(t)R_{mn}(r)\Theta _{m}(\theta )\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/476b1eb56deeca4f5d57393146c42bf2f9506f66)
We will use the following substitutions in our equation above:

We can eliminate the derivatives by substituting:
![{\displaystyle {\begin{aligned}\sum T_{mn}'(t)R_{mn}(r)\Theta _{m}(\theta )&=\sum \left\{T_{mn}(t)k\left[{\frac {1}{r}}\underbrace {\left(R_{mn}'(r)+rR_{mn}''(r)\right)} _{{\frac {1}{r}}\left(\mu _{m}^{2}-\lambda _{mn}^{2}r^{2}\right)R_{mn}(r)}\Theta _{m}(\theta )+{\frac {1}{r^{2}}}R_{mn}(r)\underbrace {\Theta _{m}''(\theta )} _{-\mu _{m}^{2}\Theta _{m}(\theta )}\right]\right\}+\sum H_{mn}(t)R_{mn}(r)\Theta _{m}(\theta )\\&=\sum \left\{T_{mn}(t)k\left[{\frac {1}{r^{2}}}\left(\mu _{m}^{2}-\lambda _{mn}^{2}r^{2}\right)-{\frac {1}{r^{2}}}\mu _{m}^{2}\right]\right\}R_{mn}(r)\Theta _{m}(\theta )+\sum H_{mn}(t)R_{mn}(r)\Theta _{m}(\theta )\\&=\sum \left[\left(-k\lambda _{mn}^{2}\right)T_{mn}(t)+H_{mn}(t)\right]R_{mn}(r)\Theta _{m}(\theta )\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/71fe15a33d6f86bc343d5d9da36d2617f7ed9735)
From the linear independence of
, it follows that:

This first-order ODE can be solved with the following integration factor:

Thus, the equation becomes:
![{\displaystyle \left[e^{k\lambda _{mn}^{2}t}T_{mn}(t)\right]'=e^{k\lambda _{mn}^{2}t}H_{mn}(t)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/08d52c71da7648a3469f8609e1781dc4747d4d98)

We satisfy the initial condition:
