Find the function \(u(x,y)\) that is harmonic in the vertical strip \(a \le \mathrm{Re}(z) \le b\) and takes on the boundary values
\begin{equation*}
u(a,y) =U_1 \text{ and } u(b,y)=U_2
\end{equation*}
along the vertical lines \(x=a\) and \(x=b\text{,}\) respectively.
Solution.
Intuition suggests that we should seek a solution that takes on constant values along the vertical lines of the form \(x=x_0\) and that \(u(x,y)\) be a function of \(x\) alone; that is,
\begin{equation*}
u(x,y) =P(x), \text{ for } a \le x \le b, \text{ and } \text{ for all } y
\end{equation*}
Laplace’s equation, \(u_{xx}(x,y) +u_{yy}(x,y) = 0\text{,}\) implies that \(P,''(x)=0\text{,}\) which implies \(P(x)=mx+c\text{,}\) where \(m\) and \(c\) are constants. The stated boundary conditions \(u(a,y)=P(a)=U_1\) and \(u(b,y)=P(b)=U_2\) lead to the solution
\begin{equation*}
u(x,y) =U_1+\frac{U_2-U_1}{b-a}(x-a)
\end{equation*}
The level curves \(u(x,y) =\) constant are vertical lines as indicated in Figure 10.1.2.