I am having a go at solving the following simple problem:
\begin{equation} \begin{array}{rllc} \dfrac{\partial^{2}T}{\partial x^{2}}+\dfrac{\partial^{2}T}{\partial y^{2}} & =0 & \text{in }[0,1]^{2} & {\rm \text{(i)}}\\ T & =0 & \text{on }y=0, & \text{(ii)}\\ T & =f(x) & \text{on }y=1, & \text{(iii)}\\ \dfrac{\partial T}{\partial x} & =0 & \text{on }x=0, & \text{(iv)}\\ -\dfrac{\partial T}{\partial x} & =\dfrac{\partial^{2}T}{\partial x^{2}} & \text{on }x=1. & \text{(v)} \end{array}\label{eq:thinWall-approx-heatProblemFluid-effectiveBCs} \end{equation}
Using separation of variables, such that $T(x,y)={\cal X}(x){\cal Y}(y)$, one can use boundary condition (v) to show that the eigenfunctions are $${\cal X}(x)=\cos \lambda_n x$$ where the eigenvalues $\lambda_n$ satisfy $$\tan \lambda_n = \lambda_n$$
I am aware that, starting with Laplace's equation, one can get $\cal{X}''(x)/\cal{X}(x) = -\lambda^2$, which is expressible in Sturm-Liouville form as
$$(p(x)\cal{X}'(x))'+(q(x)+\mu r(x))\cal{X}(x) = 0$$ where $p(x) = 1$, $q(x)$ = 0, $\mu = \lambda_n ^2$ and $r(x) = 1$, and that the weight function in the orthogonality of eigenfunctions is given by $r(x)$. The set of values $\{\lambda_n\}$ satisfying $\tan\lambda = \lambda$ is increasing, countably infinite, and $\lambda_n \sim \left(n+\tfrac{1}{2} \right)\pi$ as $n\to\infty$. Furthermore $\lim_{n\to\infty}\lambda_n = \infty$, so as far as I can tell this is a standard Sturm-Liouville problem for which orthogonality of the eigenfunctions should hold on the interval $[0,1]$ (with respect to the weight function $r(x) \equiv 1.$)
I am therefore confused about why I am getting something different to $\text{constant}\times\delta_{mn}$ for the integral $$\int_{0}^{1}\cos \lambda_m x \cos \lambda_n x {\rm d}x=\begin{cases} \dfrac{\lambda_{m}\sin\lambda_{m}\cos\lambda_{n}-\lambda_{n}\cos\lambda_{m}\sin\lambda_{n}}{\left(\lambda_{m}-\lambda_{n}\right)\left(\lambda_{m}+\lambda_{n}\right)}, & m\neq n,\\ \dfrac{2\lambda_{n}+\sin2\lambda_{n}}{4\lambda_{n}}, & m=n. \end{cases}$$ Obviously this does give $\delta_{mn}/2$ in the case where $\lambda_n = \left(n+\tfrac{1}{2} \right)\pi$, since $\cos\left(n+\tfrac{1}{2} \right)\pi = 0$ for all $n\in\mathbb {Z}$, and I can make headway by using $\tan \lambda_n = \lambda_n$ to show that
$$\frac{\lambda_{m}\sin\lambda_{m}\cos\lambda_{n}-\lambda_{n}\cos\lambda_{m}\sin\lambda_{n}}{\left(\lambda_{m}-\lambda_{n}\right)\left(\lambda_{m}+\lambda_{n}\right)} = \cos\lambda_{n}\cos\lambda_{m}. $$
but if I make a small perturbation around these roots, say, $\varepsilon_n = \lambda_n - \left(n+\tfrac{1}{2} \right)\pi$, I can show that
$$ \int_{0}^{1}\cos\lambda_{n}x\cos\lambda_{m}x{\rm d} x=\begin{cases} \dfrac{1}{2}(-1)^{m+n}\varepsilon_{m}\varepsilon_{n}+{\cal O}(\varepsilon_{m}\varepsilon_{n}^{2}), & m\neq n,\\ \dfrac{1}{2}+\dfrac{\varepsilon_{n}^{2}}{2}+{\cal O}(\varepsilon_{n}^{4}) & m=n. \end{cases}.$$
I can clearly see that the result will converge to $\delta_{mn}/2$ as $m,n\to\infty$ so that $\varepsilon_m,\varepsilon_n \to 0$, but I am still confused as to why the integral is not giving exactly $\delta_{mn}/2$ given that it seems to resemble a standard Sturm-Liouville problem. I am therefore in a situation where I cannot uniquely determine the coefficients in the usual series expansion.
My questions are as follows:
- Does the fact that my inner product does not equal $\delta_{mn}/2$ exactly mean that I have used the wrong weight function? If so, how can I find a suitable one to use?
- Is there another subtlety in this problem that I have missed?
Rewriting that boundary condition as you suggest has no effect on the series solution for $T(x,y)$, but it still doesn't circumvent the issue I have with the orthogonality. Do correct me if I am wrong.
– epsilonD3LT4 Aug 11 '21 at 21:08