I' m struggling with the following problem. We have the eigenvalue problem: $$u'' + \lambda u = 0$$ with associated boundary condition: $$u' + 3u = 0$$ Now by using the Rayleigh quotient for $0 \leq r \leq 2$and the trial function: $$\psi_0(r)= \alpha - r $$ where $\alpha$ is chosen so that $\psi_0(r)$ satisfies the boundary condition at $r=2$. Find the lowest eigenvalue $\lambda_1$
Own work: I started finding the correct $\alpha$ that suites the BC, hence: $$ -1 + 3 (\alpha -2) = 0$$ Hence $\alpha = \frac{7}{3}$
An upper bound to $\lambda_1$ is given by the Rayleigh quotient, $$J[\psi_0] = \frac {D[\psi_0]}{H[\psi_0]}$$ where
$$D[\psi_0] = \int_{\Omega}|\bigtriangledown \psi_0|^2 dx + \int_{\partial \Omega} \psi_{0}(2)^2 dx \quad H[\psi_0] = \int_\Omega \psi_0^2 dx$$ (in polar form) $$\bigtriangledown = \frac{\partial}{\partial r} + \frac {1}{r} \frac{\partial}{\partial \theta}$$ Thus $|\bigtriangledown \psi_0| = |\psi'_0(r)|=-1 $ and $$\int_\Omega f(r)dx = \int_0^2 2\pi r f(r)dr$$ so that:$$J[\psi_0] = \frac {\int_0^2 (r + \frac{1}{9}r)dr}{\int_0^2 r(\alpha -r)^2dr}$$
(Already cancelled the $2\pi$ out and left in $\alpha$)
These integrals can be evaluated as: $$\int_0^2 \frac{10}{9}r dr = \big[\frac {10}{18} r^2 \big]_{0}^{2} = \frac {20}{9}$$ and $$\int_0^2 r(\alpha -r)^2dr = \big[\frac{1}{2} r^2 \alpha^2 - \frac{2}{3} \alpha r^3+ \frac{1}{4} r^4 \big]_{0}^{2} = 2\alpha^2 - \frac{16 \alpha}{3}+4 = \frac {22}{9}$$
Which would give $$J[\psi_0]= \frac{10}{11}$$
Which is not correct $\big(\lambda_1 \leq \frac {12}{11} \big)$
Perhaps someone can help me, I think I go wrong by defining $D[\psi_0]$