2.7 HW 7

  2.7.1 Problem 4.3.24
  2.7.2 Problem 4.3.25
  2.7.3 Problem 4.3.33
  2.7.4 Problem 4.3.38
  2.7.5 Problem 4.3.42
  2.7.6 Problem 4.3.46
  2.7.7 Problem 4.4.4
  2.7.8 Problem 4.4.11
  2.7.9 Problem 4.4.16
  2.7.10 Key solution for HW 7
PDF (letter size)
PDF (legal size)

2.7.1 Problem 4.3.24

   2.7.1.1 Part (a)

Use the method in Exercise 4.3.23 to solve an Euler equation whose characteristic equation has a double root \(r_{1}=r_{2}=r\)

Solution

2.7.1.1 Part (a)

Euler ODE is \[ ax^{2}u^{\prime \prime }\left ( x\right ) +bxu^{\prime }\left ( x\right ) +cu\left ( x\right ) =0 \] By assuming \(u=x^{r}\) then \(u^{\prime }=rx^{r-1},u^{\prime \prime }=r\left ( r-1\right ) x^{r-2}\). Substituting back into the above ODE gives\begin{align*} ax^{2}r\left ( r-1\right ) x^{r-2}+bxrx^{r-1}+cx^{r} & =0\\ ar\left ( r-1\right ) +br+c & =0\\ ar^{2}-ar+br+c & =0\\ ar^{2}+r\left ( b-a\right ) +c & =0 \end{align*}

Solving for \(r\) gives the roots\begin{equation} r_{1,2}=-\frac{b-a}{2a}\pm \frac{1}{2a}\sqrt{\left ( b-a\right ) ^{2}-4ac} \tag{1} \end{equation} Double root means that \(r=r_{1}=r_{2}=-\frac{b-a}{2a}\). Hence the first solution of the ODE is \[ u_{1}=x^{r_{1}}\] And now we need to find the second solution. Using reduction of order method, we assume the second solution is \begin{equation} u_{2}\left ( x\right ) =v\left ( x\right ) u_{1}\left ( x\right ) \tag{2} \end{equation} And we need to determine the function \(v\left ( x\right ) \). Therefore\begin{align*} u_{2}^{\prime } & =v^{\prime }u_{1}+vu_{1}^{\prime }\\ u_{2}^{\prime \prime } & =v^{\prime \prime }u_{1}+v^{\prime }u_{1}^{\prime }+v^{\prime }u_{1}^{\prime }+vu_{1}^{\prime \prime }\\ & =v^{\prime \prime }u_{1}+2v^{\prime }u_{1}^{\prime }+vu_{1}^{\prime \prime } \end{align*}

Substituting the above into the ODE gives\begin{align*} ax^{2}\left ( v^{\prime \prime }u_{1}+2v^{\prime }u_{1}^{\prime }+vu_{1}^{\prime \prime }\right ) +bx\left ( v^{\prime }u_{1}+vu_{1}^{\prime }\right ) +cvu_{1} & =0\\ v^{\prime \prime }\left ( ax^{2}u_{1}\right ) +v^{\prime }\left ( 2ax^{2}u_{1}^{\prime }+bxu_{1}\right ) +v\left ( ax^{2}u_{1}^{\prime \prime }+bxu_{1}^{\prime }+cu_{1}\right ) & =0 \end{align*}

But \(ax^{2}u_{1}^{\prime \prime }+bxu_{1}^{\prime }+cu_{1}=0\) since \(u_{1}\) is a solution. The above now simplifies to\[ v^{\prime \prime }\left ( ax^{2}u_{1}\right ) +v^{\prime }\left ( 2ax^{2}u_{1}^{\prime }+bxu_{1}\right ) =0 \] But \(u_{1}=x^{r}\), hence \(u_{1}^{\prime }=rx^{r-1}\) and the above becomes\begin{align*} v^{\prime \prime }\left ( ax^{2}x^{r}\right ) +v^{\prime }\left ( 2arx^{2}x^{r-1}+bxx^{r}\right ) & =0\\ av^{\prime \prime }x^{r+2}+v^{\prime }\left ( 2arx^{r+1}+bx^{r+1}\right ) & =0\\ av^{\prime \prime }x^{r+2}+v^{\prime }\left ( 2ar+b\right ) x^{r+1} & =0\\ \left ( av^{\prime \prime }x+v^{\prime }\left ( 2ar+b\right ) \right ) x^{r+1} & =0\\ av^{\prime \prime }x+v^{\prime }\left ( 2ar+b\right ) & =0 \end{align*}

But \(r=r_{1}=-\frac{b-a}{2a}\) from (1) since double root. The above simplifies to \begin{align*} av^{\prime \prime }x+v^{\prime }\left ( 2a\left ( -\frac{b-a}{2a}\right ) +b\right ) & =0\\ av^{\prime \prime }x+v^{\prime }\left ( \left ( -b+a\right ) +b\right ) & =0\\ av^{\prime \prime }x+av^{\prime } & =0\\ v^{\prime \prime }x+v^{\prime } & =0 \end{align*}

Therefore\begin{align*} \frac{d}{dx}\left ( xv^{\prime }\right ) & =0\\ xv^{\prime } & =C_{1}\\ v^{\prime } & =\frac{C_{1}}{x}\\ v & =C_{1}\ln x+C_{2} \end{align*}

Now that we found \(v\left ( x\right ) \), then using (2) we find the second solution to the ODE as\begin{align*} u_{2} & =vu_{1}\\ & =\left ( C_{1}\ln x+C_{2}\right ) x^{2} \end{align*}

Therefore the complete solution is\[ u=C_{0}x^{r}+\left ( C_{1}\ln x+C_{2}\right ) x^{r}\]

By combining constants, the above simplifies to

\[ u\left ( x\right ) =Ax^{r}+Bx^{r}\ln x \]

2.7.2 Problem 4.3.25

   2.7.2.1 Part c
   2.7.2.2 Part d

Solve the following boundary value problems (c) \(\nabla ^{2}u=0,x^{2}+y^{2}<4,u=x^{4},x^{2}+y^{2}=4\) (d) \(\nabla ^{2}u=0,x^{2}+y^{2}<1,\frac{\partial u}{\partial n}=x,x^{2}+y^{2}=1\)

Solution

2.7.2.1 Part c

In polar coordinates, where \(x=r\cos \theta ,y=r\sin \theta \), we need to solve for \(u\left ( r,\theta \right ) \) inside disk of radius \(r_{0}=4\). The Laplace PDE in polar coordinates is\begin{align*} u_{rr}+\frac{1}{r}u_{r}+\frac{1}{r^{2}}u_{\theta \theta } & =0\qquad 0<r<r_{0},-\pi <\theta <\pi \\ u\left ( r_{0},\theta \right ) & =f\left ( \theta \right ) =\left ( r_{0}\cos \theta \right ) ^{4}\\ u\left ( -\pi \right ) & =u\left ( \pi \right ) \\ u_{\theta }\left ( -\pi \right ) & =u_{\theta }\left ( \pi \right ) \end{align*}

The solution to Laplace PDE of radius \(r_{0}\) can be found using separation of variables and derived in the textbook  (full derivation is also given in this HW in problem 4.3.33 below). The Fourier series solution is\[ u\left ( r,\theta \right ) =\frac{a_{0}}{2}+\sum a_{n}\left ( \frac{r}{r_{0}}\right ) ^{n}\cos \left ( n\theta \right ) +b_{n}\left ( \frac{r}{r_{0}}\right ) ^{n}\sin \left ( n\theta \right ) \] Since \(r_{0}=4\) the above becomes\begin{equation} u\left ( r,\theta \right ) =\frac{a_{0}}{2}+\sum _{n=1}^{\infty }a_{n}\left ( \frac{r}{4}\right ) ^{n}\cos \left ( n\theta \right ) +b_{n}\left ( \frac{r}{4}\right ) ^{n}\sin \left ( n\theta \right ) \tag{1A} \end{equation} Where \(a_{n}=\frac{1}{\pi }\int _{-\pi }^{\pi }f\left ( \theta \right ) \cos n\theta d\theta ,b_{n}=\frac{1}{\pi }\int _{-\pi }^{\pi }f\left ( \theta \right ) \sin n\theta d\theta \). \begin{align*} a_{0} & =\frac{1}{\pi }\int _{-\pi }^{\pi }256\cos ^{4}\theta d\theta \\ & =\frac{256}{\pi }\int _{-\pi }^{\pi }\cos ^{4}\theta d\theta \\ & =\frac{256}{\pi }\left ( \frac{3\theta }{8}+\frac{1}{4}\sin \left ( 2\theta \right ) +\frac{1}{32}\sin \left ( 4\theta \right ) \right ) _{-\pi }^{\pi }\\ & =\frac{256}{\pi }\left ( \frac{3\pi }{8}+\frac{3\pi }{8}\right ) \\ & =\frac{256}{\pi }\left ( \frac{3\pi }{4}\right ) \\ & =192 \end{align*}

And\begin{align*} a_{n} & =\frac{1}{\pi }\int _{-\pi }^{\pi }256\cos ^{4}\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \\ & =\frac{256}{\pi }\int _{-\pi }^{\pi }\cos ^{4}\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \end{align*}

To evaluate the above integral, we will start by using the identity \[ \cos ^{4}\left ( \theta \right ) =\frac{3}{8}+\frac{1}{8}\cos \left ( 4\theta \right ) +\frac{1}{2}\cos \left ( 2\theta \right ) \] Therefore the integral now becomes\begin{align} a_{n} & =\frac{256}{\pi }\int _{-\pi }^{\pi }\left ( \frac{3}{8}+\frac{1}{8}\cos \left ( 4\theta \right ) +\frac{1}{2}\cos \left ( 2\theta \right ) \right ) \cos \left ( n\theta \right ) d\theta \nonumber \\ & =\frac{256}{\pi }\left [ \frac{3}{8}\int _{-\pi }^{\pi }\cos \left ( n\theta \right ) d\theta +\frac{1}{8}\int _{-\pi }^{\pi }\cos \left ( 4\theta \right ) \cos \left ( n\theta \right ) d\theta +\frac{1}{2}\int _{-\pi }^{\pi }\cos \left ( 2\theta \right ) \cos \left ( n\theta \right ) d\theta \right ] \tag{1} \end{align}

But \(\int _{-\pi }^{\pi }\cos \left ( n\theta \right ) d\theta =0\) and \(\int _{-\pi }^{\pi }\cos \left ( 4\theta \right ) \cos \left ( n\theta \right ) d\theta \) is not zero, only for \(n=4\) by orthogonality of cosine functions. Hence \begin{align*} \int _{-\pi }^{\pi }\cos \left ( 4\theta \right ) \cos \left ( n\theta \right ) d\theta & =\int _{-\pi }^{\pi }\cos ^{2}\left ( 4\theta \right ) d\theta \\ & =\pi \end{align*}

And similarly, \(\int _{-\pi }^{\pi }\cos \left ( 2\theta \right ) \cos \left ( n\theta \right ) d\theta \) is not zero, only for \(n=2\) by orthogonality of cosine functions. Hence\begin{align*} \int _{-\pi }^{\pi }\cos \left ( 2\theta \right ) \cos \left ( n\theta \right ) d\theta & =\int _{-\pi }^{\pi }\cos ^{2}\left ( 2\theta \right ) d\theta \\ & =\pi \end{align*}

Using these results in (1) gives, for \(n=2\)\begin{align*} a_{2} & =\frac{256}{\pi }\left [ \frac{1}{2}\int _{-\pi }^{\pi }\cos ^{2}\left ( 2\theta \right ) d\theta \right ] \\ & =\frac{256}{\pi }\left ( \frac{\pi }{2}\right ) \\ & =128 \end{align*}

And for \(n=4\)\begin{align*} a_{4} & =\frac{256}{\pi }\left [ \frac{1}{8}\int _{-\pi }^{\pi }\cos ^{2}\left ( 4\theta \right ) d\theta \right ] \\ & =\frac{256}{\pi }\left ( \frac{\pi }{8}\right ) \\ & =32 \end{align*}

And all other \(a_{n}\) are zero. Now that we found all \(a_{n}\), and since \(b_{n}=0\) for all \(n\) (because \(f\left ( \theta \right ) \) is even function) then the solution (1A) becomes\begin{align*} u\left ( r,\theta \right ) & =\frac{192}{2}+a_{2}\left ( \frac{r}{4}\right ) ^{2}\cos \left ( 2\theta \right ) +a_{4}\left ( \frac{r}{4}\right ) ^{4}\cos \left ( 4\theta \right ) \\ & =96+128\left ( \frac{r^{2}}{16}\right ) \cos \left ( 2\theta \right ) +32\frac{r^{4}}{256}\cos \left ( 4\theta \right ) \end{align*}

Therefore\[ \fbox{$u\left ( r,\theta \right ) =96+8r^2\cos \left ( 2\theta \right ) +\frac{1}{8}r^4\cos \left ( 4\theta \right ) $}\] Here is plot of the above solution.

pict
Figure 2.46:Solution plot to the above problem with code used

It is also possible to use, as shown in textbook, the closed form sum as given in theorem 4.6 as\[ u\left ( r,\theta \right ) =\frac{1}{2\pi }\int _{-\pi }^{\pi }f\left ( \phi \right ) \frac{1-r^{2}}{1+r^{2}-2r\cos \left ( \theta -\phi \right ) }d\phi \] Notice that theorem 4.6 is for a unit disk. Since the disk here has radius \(4\) then \(r\) is changed to \(\frac{r}{4}\) in 4.126 as given in book. Here \(f\left ( \theta \right ) =\left ( 4\cos \theta \right ) ^{4}\). Hence the above becomes\begin{align*} u\left ( r,\theta \right ) & =\frac{1}{2\pi }\int _{-\pi }^{\pi }256\cos ^{4}\left ( \phi \right ) \frac{1-\left ( \frac{r}{4}\right ) ^{2}}{1+\left ( \frac{r}{4}\right ) ^{2}-2\left ( \frac{r}{4}\right ) \cos \left ( \theta -\phi \right ) }d\phi \\ & =\frac{128}{\pi }\int _{-\pi }^{\pi }\cos ^{4}\left ( \phi \right ) \frac{1-\frac{r^{2}}{16}}{1+\frac{r^{2}}{16}-\frac{r}{2}\cos \left ( \theta -\phi \right ) }d\phi \\ & =\frac{128}{\pi }\int _{-\pi }^{\pi }\cos ^{4}\left ( \phi \right ) \frac{16-r^{2}}{16+r^{2}-8r\cos \left ( \theta -\phi \right ) }d\phi \end{align*}

But evaluating the above integral was hard to do by hand. It should of course give the same solution as found above using Fourier series.

2.7.2.2 Part d

In polar coordinates, where \(x=r\cos \theta ,y=r\sin \theta \), we need to solve for \(u\left ( r,\theta \right ) \) inside disk of radius \(r_{0}=1\). The Laplace PDE in polar coordinates is\begin{align*} u_{rr}+\frac{1}{r}u_{r}+\frac{1}{r^{2}}u_{\theta \theta } & =0\qquad 0<r<1,-\pi <\theta <\pi \\ u_{r}\left ( 1,\theta \right ) & =f\left ( \theta \right ) =\cos \theta \\ u\left ( -\pi \right ) & =u\left ( \pi \right ) \\ u_{\theta }\left ( -\pi \right ) & =u_{\theta }\left ( \pi \right ) \end{align*}

Using separation of variables, let \(u\left ( r,\theta \right ) =R\left ( r\right ) \Theta \left ( \theta \right ) \) the solution is given by\begin{equation} u\left ( r,\theta \right ) =\frac{a_{0}}{2}+\sum _{n=1}^{\infty }a_{n}r^{n}\cos \left ( n\theta \right ) +b_{n}r^{n}\sin \left ( n\theta \right ) \tag{1} \end{equation} At \(r=r_{0}=1\) we have that \(\frac{\partial u\left ( r,\theta \right ) }{\partial r}=\cos \theta \) (since \(x=r\cos \theta \) but \(r=1\) at boundary). The above becomes\[ \cos \theta =\sum _{n=1}^{\infty }na_{n}r^{n-1}\cos \left ( n\theta \right ) +nb_{n}r^{n-1}\sin \left ( n\theta \right ) \] Therefore \(n=1\) is only term that survives in the sum. Hence \(a_{1}=1\) and all others are zero. The solution (1) becomes\[ u\left ( r,\theta \right ) =\frac{a_{0}}{2}+r\cos \left ( \theta \right ) \] The solution is not unique as there is \(a_{0}\) arbitrary constant.

2.7.3 Problem 4.3.33

Write out the series solution to the boundary value problem \(u\left ( 1,\theta \right ) =0,u\left ( 2,\theta \right ) =h\left ( \theta \right ) \) for the Laplace equation on an annulus \(1<r<2\).

Solution

Using \(a\) for the inner radius and \(b\) for the outer radius to keep the solution more general. At the end these are replaced with \(a=1,b=2\).

pict
Figure 2.47:PDE to solve using polar coordinates

The Laplace PDE in polar coordinates is  \begin{equation} r^{2}\frac{\partial ^{2}u}{\partial r^{2}}+r\frac{\partial u}{\partial r}+\frac{\partial ^{2}u}{\partial \theta ^{2}}=0 \tag{A} \end{equation} With\begin{align} u\left ( a,\theta \right ) & =0\nonumber \\ u\left ( b,\theta \right ) & =h\left ( \theta \right ) \tag{B} \end{align}

Let the solution be\[ u\left ( r,\theta \right ) =R\left ( r\right ) \Theta \left ( \theta \right ) \] Substituting this assumed solution back into the (A) gives\[ r^{2}R^{\prime \prime }\Theta +rR^{\prime }\Theta +R\Theta ^{\prime \prime }=0 \] Dividing the above by \(R\Theta \) gives\begin{align*} r^{2}\frac{R^{\prime \prime }}{R}+r\frac{R^{\prime }}{R}+\frac{\Theta ^{\prime \prime }}{\Theta } & =0\\ r^{2}\frac{R^{\prime \prime }}{R}+r\frac{R^{\prime }}{R} & =-\frac{\Theta ^{\prime \prime }}{\Theta } \end{align*}

Since each side depends on different independent variable and they are equal, they must be equal to the same constant. say \(\lambda \). \[ r^{2}\frac{R^{\prime \prime }}{R}+r\frac{R^{\prime }}{R}=-\frac{\Theta ^{\prime \prime }}{\Theta }=\lambda \] This results in the following two ODE’s. The boundaries conditions in (B) are also transferred to each ODE. Hence\begin{align} \Theta ^{\prime \prime }+\lambda \Theta & =0\tag{1}\\ \Theta \left ( -\pi \right ) & =\Theta \left ( \pi \right ) \nonumber \\ \Theta ^{\prime }\left ( -\pi \right ) & =\Theta ^{\prime }\left ( \pi \right ) \nonumber \end{align}

And\begin{align} r^{2}R^{\prime \prime }+rR^{\prime }-\lambda R & =0\tag{2}\\ R\left ( a\right ) & =0\nonumber \end{align}

Starting with ODE (1) with periodic boundary conditions.

Case \(\lambda <0\) The solution is\[ \Theta \left ( \theta \right ) =A\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\theta \right ) +B\sinh \left ( \sqrt{\left \vert \lambda \right \vert }\theta \right ) \] First B.C. gives\begin{align*} \Theta \left ( -\pi \right ) & =\Theta \left ( \pi \right ) \\ A\cosh \left ( -\sqrt{\left \vert \lambda \right \vert }\pi \right ) +B\sinh \left ( -\sqrt{\left \vert \lambda \right \vert }\pi \right ) & =A\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) +B\sinh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) \\ A\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) -B\sinh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) & =A\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) +B\sinh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) \\ 2B\sinh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) & =0 \end{align*}

But \(\sinh =0\) only at zero and \(\lambda \neq 0\), hence \(B=0\) and the solution becomes\begin{align*} \Theta \left ( \theta \right ) & =A\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\theta \right ) \\ \Theta ^{\prime }\left ( \theta \right ) & =A\sqrt{\lambda }\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\theta \right ) \end{align*}

Applying the second B.C. gives\begin{align*} \Theta ^{\prime }\left ( -\pi \right ) & =\Theta ^{\prime }\left ( \pi \right ) \\ A\sqrt{\left \vert \lambda \right \vert }\cosh \left ( -\sqrt{\left \vert \lambda \right \vert }\pi \right ) & =A\sqrt{\left \vert \lambda \right \vert }\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) \\ A\sqrt{\left \vert \lambda \right \vert }\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) & =A\sqrt{\left \vert \lambda \right \vert }\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) \\ 2A\sqrt{\left \vert \lambda \right \vert }\cosh \left ( \sqrt{\left \vert \lambda \right \vert }\pi \right ) & =0 \end{align*}

But \(\cosh \) is never zero, hence \(A=0\). Therefore trivial solution and \(\lambda <0\) is not an eigenvalue.

Case \(\lambda =0\) The solution is \(\Theta =A\theta +B\). Applying the first B.C. gives\begin{align*} \Theta \left ( -\pi \right ) & =\Theta \left ( \pi \right ) \\ -A\pi +B & =\pi A+B\\ 2\pi A & =0\\ A & =0 \end{align*}

And the solution becomes \(\Theta =B_{0}\). A constant. Hence \(\lambda =0\) is an eigenvalue.

Case \(\lambda >0\)

The solution becomes\begin{align*} \Theta & =A\cos \left ( \sqrt{\lambda }\theta \right ) +B\sin \left ( \sqrt{\lambda }\theta \right ) \\ \Theta ^{\prime } & =-A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\theta \right ) +B\sqrt{\lambda }\cos \left ( \sqrt{\lambda }\theta \right ) \end{align*}

Applying first B.C. gives\begin{align} \Theta \left ( -\pi \right ) & =\Theta \left ( \pi \right ) \nonumber \\ A\cos \left ( -\sqrt{\lambda }\pi \right ) +B\sin \left ( -\sqrt{\lambda }\pi \right ) & =A\cos \left ( \sqrt{\lambda }\pi \right ) +B\sin \left ( \sqrt{\lambda }\pi \right ) \nonumber \\ A\cos \left ( \sqrt{\lambda }\pi \right ) -B\sin \left ( \sqrt{\lambda }\pi \right ) & =A\cos \left ( \sqrt{\lambda }\pi \right ) +B\sin \left ( \sqrt{\lambda }\pi \right ) \nonumber \\ 2B\sin \left ( \sqrt{\lambda }\pi \right ) & =0 \tag{3} \end{align}

Applying second B.C. gives\begin{align} \Theta ^{\prime }\left ( -\pi \right ) & =\Theta ^{\prime }\left ( \pi \right ) \nonumber \\ -A\sqrt{\lambda }\sin \left ( -\sqrt{\lambda }\pi \right ) +B\sqrt{\lambda }\cos \left ( -\sqrt{\lambda }\pi \right ) & =-A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\pi \right ) +B\sqrt{\lambda }\cos \left ( \sqrt{\lambda }\pi \right ) \nonumber \\ A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\pi \right ) +B\sqrt{\lambda }\cos \left ( \sqrt{\lambda }\pi \right ) & =-A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\pi \right ) +B\sqrt{\lambda }\cos \left ( \sqrt{\lambda }\pi \right ) \nonumber \\ A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\pi \right ) & =-A\sqrt{\lambda }\sin \left ( \sqrt{\lambda }\pi \right ) \nonumber \\ 2A\sin \left ( \sqrt{\lambda }\pi \right ) & =0 \tag{4} \end{align}

Equations (3,4) can be both zero only if \(A=B=0\) which gives trivial solution, or when \(\sin \left ( \sqrt{\lambda }\pi \right ) =0\). Therefore taking \(\sin \left ( \sqrt{\lambda }\pi \right ) =0\) gives a non-trivial solution. Hence\begin{align*} \sqrt{\lambda }\pi & =n\pi \qquad n=1,2,3,\cdots \\ \lambda _{n} & =n^{2}\qquad n=1,2,3,\cdots \end{align*}

Hence the eigenfunctions are \begin{equation} \{1,\cos \left ( n\theta \right ) ,\sin \left ( n\theta \right ) \}\qquad n=1,2,3,\cdots \tag{5} \end{equation} Now the \(R\) equation is solved

The case for \(\lambda =0\) gives from (2)\begin{align*} r^{2}R^{\prime \prime }+rR^{\prime } & =0\\ R^{\prime \prime }+\frac{1}{r}R^{\prime } & =0\qquad r\neq 0 \end{align*}

As was done in last problem, the solution to this is\[ R_{0}\left ( r\right ) =A\ln r+C \] Applying the B.C. \(R\left ( a\right ) =0\) gives\begin{align*} 0 & =A\ln a+C\\ C & =-A\ln a \end{align*}

Hence the solution becomes \begin{align*} R_{0}\left ( r\right ) & =A\ln r-A\ln a\\ & =A\ln \frac{r}{a} \end{align*}

Case \(\lambda >0\) The ODE (2) becomes\[ r^{2}R^{\prime \prime }+rR^{\prime }-n^{2}R=0\qquad n=1,2,3,\cdots \] Let \(R=r^{p}\), the above becomes\begin{align*} r^{2}p\left ( p-1\right ) r^{p-2}+rpr^{p-1}-n^{2}r^{p} & =0\\ p\left ( p-1\right ) r^{p}+pr^{p}-n^{2}r^{p} & =0\\ p\left ( p-1\right ) +p-n^{2} & =0\\ p^{2} & =n^{2}\\ p & =\pm n \end{align*}

Hence the solution is\[ R_{n}\left ( r\right ) =Cr^{n}+D\frac{1}{r^{n}}\qquad n=1,2,3,\cdots \] Applying the boundary condition \(R\left ( a\right ) =0\) gives\begin{align*} 0 & =Ca^{n}+D\frac{1}{a^{n}}\\ -Ca^{n} & =D\frac{1}{a^{n}}\\ D & =-Ca^{2n} \end{align*}

The solution becomes\begin{align*} R_{n}\left ( r\right ) & =Cr^{n}-Ca^{2n}\frac{1}{r^{n}}\qquad n=1,2,3,\cdots \\ & =C_{n}\left ( r^{n}-\frac{a^{2n}}{r^{n}}\right ) \end{align*}

Hence the complete solution for \(R\left ( r\right ) \) is\begin{equation} R\left ( r\right ) =A\ln \frac{r}{a}+\sum _{n=1}^{\infty }C_{n}\left ( r^{n}-\frac{a^{2n}}{r^{n}}\right ) \tag{6} \end{equation} Using (5),(6)  gives\begin{align*} u_{n}\left ( r,\theta \right ) & =R_{n}\Theta _{n}\\ u\left ( r,\theta \right ) & =\left ( A\ln \frac{r}{a}+\sum _{n=1}^{\infty }C_{n}\left ( r^{n}-\frac{a^{2n}}{r^{n}}\right ) \right ) \left ( A_{0}+\sum _{n=1}^{\infty }A_{n}\cos \left ( n\theta \right ) +B_{n}\sin \left ( n\theta \right ) \right ) \end{align*}

Combining constants to simplify things gives\[ u\left ( r,\theta \right ) =A\ln \frac{r}{a}+\sum _{n=1}^{\infty }\left ( r^{n}-\frac{a^{2n}}{r^{n}}\right ) \left ( A_{n}\cos \left ( n\theta \right ) +B_{n}\sin \left ( n\theta \right ) \right ) \]

But \(a=1\), then above simplifies to

\begin{equation} u\left ( r,\theta \right ) =A\ln r+\sum _{n=1}^{\infty }\left ( r^{n}-\frac{1}{r^{n}}\right ) \left ( A_{n}\cos \left ( n\theta \right ) +B_{n}\sin \left ( n\theta \right ) \right ) \tag{7} \end{equation}

At \(r=b\) we use \(u\left ( b,\theta \right ) =h\left ( \theta \right ) \) to find \(A_{0},A_{n},B_{n}\). \begin{align*} u\left ( b,\theta \right ) & =h\left ( \theta \right ) \\ h\left ( \theta \right ) & =A_{0}\ln b+\sum _{n=1}^{\infty }\left ( b^{n}+\frac{1}{b^{n}}\right ) \left ( A_{n}\cos \left ( n\theta \right ) +B_{n}\sin \left ( n\theta \right ) \right ) \end{align*}

Hence\begin{align*} A_{0}\ln b & =\frac{2}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) d\theta \\ A_{n}\left ( b^{n}+\frac{1}{b^{n}}\right ) & =\frac{1}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \\ B_{n}\left ( b^{n}+\frac{1}{b^{n}}\right ) & =\frac{1}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) \sin \left ( n\theta \right ) d\theta \end{align*}

The solution (7) becomes \[ u\left ( r,\theta \right ) =\left ( \frac{2}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) d\theta \right ) \frac{\ln r}{\ln b}+\sum _{n=1}^{\infty }\frac{\left ( r^{n}-\frac{1}{r^{n}}\right ) }{b^{n}+\frac{1}{b^{n}}}\left ( \left ( \frac{1}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \cos \left ( n\theta \right ) +\left ( \frac{1}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \sin \left ( n\theta \right ) \right ) \] But \(b=2\) and the above becomes\begin{align*} u\left ( r,\theta \right ) & =\left ( \frac{2}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) d\theta \right ) \frac{\ln r}{\ln 2}+\frac{1}{\pi }\sum _{n=1}^{\infty }\frac{\left ( r^{n}-\frac{1}{r^{n}}\right ) }{2^{n}+\frac{1}{2^{n}}}\left ( \left ( \int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \cos \left ( n\theta \right ) +\left ( \int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \sin \left ( n\theta \right ) \right ) \\ & =\left ( \frac{2}{\pi }\int _{-\pi }^{\pi }h\left ( \theta \right ) d\theta \right ) \frac{\ln r}{\ln 2}+\frac{1}{\pi }\sum _{n=1}^{\infty }\frac{2^{n}}{r^{n}}\frac{\left ( r^{2n}-1\right ) }{2^{2n}+1}\left ( \left ( \int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \cos \left ( n\theta \right ) +\left ( \int _{-\pi }^{\pi }h\left ( \theta \right ) \cos \left ( n\theta \right ) d\theta \right ) \sin \left ( n\theta \right ) \right ) \end{align*}

2.7.4 Problem 4.3.38

Suppose \(\int _{-\pi }^{\pi }\left \vert h\left ( \theta \right ) \right \vert d\theta <\infty \). Prove that (4.115) converges uniformly to the solution to the boundary value problem (4.101) on any smaller disk \(D_{r_{\ast }}=\{r\leq r_{\ast }<1\}\varsubsetneq D_{1}\)

Solution

4.115 is solution for \(u\left ( r,\theta \right ) \) inside unit disk \(0<r<1\) and \(u=h\left ( \theta \right ) \) at \(r=1\).\begin{equation} u\left ( r,\theta \right ) =\frac{a_{0}}{2}+\sum _{n=1}^{\infty }r^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \tag{4.115} \end{equation} This problem is asking to show that the Fourier series solution 4.115 converges uniformly to solution of Laplace PDE \(\nabla ^{2}u=0\) inside disk with radius less than unity with above boundary conditions.

Let \(f_{n}=r^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \), then to show uniform convergence, we need to show that for any \(\varepsilon >0\), there exist integer \(N\left ( \varepsilon \right ) \) such that for all \(n>N\) the following is true\[ \left \vert u_{n}-u_{\ast }\right \vert <\varepsilon \] Where \[ u_{\ast }=\left ( \frac{r}{r_{\ast }}\right ) ^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \] Hence we need to show, we can find \(N\) such that for all \(n>N\)\[ \left \vert r^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) -\left ( \frac{r}{r_{\ast }}\right ) ^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \right \vert <\varepsilon \] But \begin{align} \left \vert r^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) -\left ( \frac{r}{r_{\ast }}\right ) ^{n}\left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \right \vert & =\left \vert \left ( r^{n}-\left ( \frac{r}{r_{\ast }}\right ) ^{n}\right ) \left ( a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right ) \right \vert \nonumber \\ & =\left \vert \left ( r^{n}-\left ( \frac{r}{r_{\ast }}\right ) ^{n}\right ) \right \vert \left \vert a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right \vert \tag{1} \end{align}

But \(\left \vert a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right \vert \) can be made as small as we want by increasing \(n\). This is because \[ \left \vert a_{n}\cos \left ( n\theta \right ) +b_{n}\sin \left ( n\theta \right ) \right \vert \leq \left \vert a_{n}\cos \left ( n\theta \right ) \right \vert +\left \vert b_{n}\sin \left ( n\theta \right ) \right \vert \] And since \(\int _{-\pi }^{\pi }\left \vert h\left ( \theta \right ) \right \vert d\theta <\infty \) it implies the Fourier series coefficients \(a_{n},b_{n}\rightarrow 0\) as \(n\rightarrow \infty \) per Lemma 3.40 on page 112. Hence (1) can be made as small as we want for large \(n\) and it will remain smaller as \(n\) increases because \(\left \vert \left ( r^{n}-\left ( \frac{r}{r_{\ast }}\right ) ^{n}\right ) \right \vert <1\).

Therefore there exist such an \(N\left ( \varepsilon \right ) \). Hence \(u\) converges uniformly to \(u_{\ast }\).

2.7.5 Problem 4.3.42

Complete the proof of Theorem 4.9 by showing that \(u\left ( x,y\right ) =M^{\ast }\) for all \(\left ( x,y\right ) \in \Omega \). Hint: Join \(\left ( x_{0},y_{0}\right ) \) to \(\left ( x,y\right ) \) by curve \(C\subset \Omega \) of finite length, and use the preceding part of the proof to inductively deduce the existence of a finite sequence of points \(\left ( x_{i},y_{i}\right ) \in C,i=0,\cdots ,n\) with \(\left ( x_{n},y_{n}\right ) =\left ( x,y\right ) \,\ \)and such that \(u\left ( x_{i},y_{i}\right ) =M^{\ast }\)

Solution

Theorem 4.9 : Let \(u\) be a nonconstant harmonic function defined on a bounded domain \(\Omega \) and continuous on \(\partial \Omega \). Then \(u\) achieves its maximum and minimum values only at boundary points of the domain. In other words, if \(m=\min \{u\left ( x,y\right ) |\left ( x,y\right ) \in \partial \Omega \}\), \(M=\max \{u\left ( x,t\right ) |\left ( x,y\right ) \in \partial \Omega \}\) are respectively, its maximum and minimum values on the boundary, then \(m<u\left ( x,y\right ) <M\) at all interior points \(\left ( x,y\right ) \in \Omega \).

The book gives the proof showing that maximum \(M^{\ast }\) occurs on the boundary \(\partial \Omega \). We are asked here to show that once we determined that given a circle inside \(\Omega \) and assuming the maximum is at it center meaning all points inside this disk are \(u=M^{\ast }\) then this implies that all points inside \(\Omega \) must also be \(u=M^{\ast }\) leading to contradiction of the nonconstant requirement. Hence the starting point is this diagram

pict
Figure 2.48:All points inside \(C\) have same value \(M^*\)

Now, we pick a new point from inside the disk \(C\) near the edge and apply the first part of the proof to show that all points inside the new disk \(C_{2}\) also have \(u=M^{\ast }\) there. So we have this new diagram.

pict
Figure 2.49:All points inside \(C_2\) have same value \(M^*\)

We continue this way connecting points and adding the domain where all points have \(u=M^{\ast }\) values.

pict
Figure 2.50:All points inside \(C_3\) have same value \(M^*\)

Since \(\Omega \) is connected then we can cover the whole region \(\Omega \) this way all the way to the boundary \(\partial \Omega \). This complete the proof given in the book.

2.7.6 Problem 4.3.46

Write down an integral formula for the solution to the Dirichlet boundary value problem on a disk of radius \(R>0\), namely, \(\nabla ^{2}u=0\), \(x^{2}+y^{2}<R^{2},u=h,x^{2}+y^{2}=R^{2}\)

Solution

The closed form sum as given in theorem 4.6 in the book as the Poisson kernel integral formula\[ u\left ( r,\theta \right ) =\frac{1}{2\pi }\int _{-\pi }^{\pi }h\left ( \phi \right ) \frac{1-r^{2}}{1+r^{2}-2r\cos \left ( \theta -\phi \right ) }d\phi \] Theorem 4.6 is for a unit disk. Since the disk here has radius \(R\) then \(r\) is changed to \(\frac{r}{R}\) in the above giving\[ u\left ( r,\theta \right ) =\frac{1}{2\pi }\int _{-\pi }^{\pi }h\left ( \phi \right ) \frac{1-\left ( \frac{r}{R}\right ) ^{2}}{1+\left ( \frac{r}{R}\right ) ^{2}-2\left ( \frac{r}{R}\right ) \cos \left ( \theta -\phi \right ) }d\phi \] Which can be simplified to\[ u\left ( r,\theta \right ) =\frac{1}{2\pi }\int _{-\pi }^{\pi }h\left ( \phi \right ) \frac{R^{2}-r^{2}}{R^{2}+r^{2}-2rR\cos \left ( \theta -\phi \right ) }d\phi \]

2.7.7 Problem 4.4.4

   2.7.7.1 Part a
   2.7.7.2 Part b

Consider the following partial differential equations. At what points of the plane is the equation elliptic? hyperbolic? parabolic? degenerate?

(a) \(x^{2}u_{xx}+xu_{x}+u_{yy}=0\) (c) \(u_{t}=\frac{\partial }{\partial x}\left ( \left ( x+t\right ) u_{x}\right ) \)

Solution

2.7.7.1 Part a

The general form of two variables \(\left ( x,y\right ) \) PDE is\begin{equation} L\left [ u\right ] =Au_{xx}+Bu_{xy}+Cu_{yy}+Du_{x}+Eu_{y}+Fu=G \tag{1} \end{equation} The type of PDE depends on value of the discriminant\[ \Delta =B^{2}-4AC \] Comparing the PDE \(x^{2}u_{xx}+xu_{x}+u_{yy}\) to (1) shows that \(A=x^{2},B=0,C=1\). Hence\[ \Delta =-4x^{2}\] This is always negative (\(x=0\) is not possible, since this would made the PDE not a PDE any more). Therefore using definition 4.12 this means the PDE is elliptic.

2.7.7.2 Part b

\begin{align*} u_{t} & =\frac{\partial }{\partial x}\left ( \left ( x+t\right ) u_{x}\right ) \\ & =\left ( \frac{\partial }{\partial x}\left ( x+t\right ) \right ) u_{x}+\left ( x+t\right ) \frac{\partial }{\partial x}u_{x}\\ & =u_{x}+\left ( x+t\right ) u_{xx} \end{align*}

Hence\begin{equation} u_{x}+\left ( x+t\right ) u_{xx}-u_{t}=0 \tag{2} \end{equation} The general form of two variables \(\left ( t,x\right ) \) PDE is\begin{equation} L\left [ u\right ] =Au_{tt}+Bu_{tx}+Cu_{xx}+Du_{t}+Eu_{x}+Fu=G \tag{3} \end{equation} Comparing (2) to (3) shows that \(C=\left ( x+t\right ) ,A=0,B=0\). Hence \begin{align*} \Delta & =B^{2}-4AC\\ & =0 \end{align*}

Hence PDE is parabolic.

2.7.8 Problem 4.4.11

Prove that the complex change of variables \(x=x,t=iy\), maps the Laplace equation \(u_{xx}+u_{yy}=0\) to the wave equation \(u_{tt}=u_{xx}\). Explain why the type of a partial differential equation is not necessarily preserved under a complex change of variables.

Solution

Given \(u_{xx}+u_{yy}=0\), let \(x=x,t=iy\). Hence we are to go from \(u\left ( x,y\right ) \) to \(v\left ( t,x\right ) \). Therefore\begin{align*} \frac{\partial u\left ( x,y\right ) }{\partial x} & =\overset{0}{\overbrace{\frac{\partial u}{\partial t}\frac{dt}{dx}}}+\frac{\partial u}{\partial x}\frac{dx}{dx}\\ & =\frac{\partial u}{\partial x} \end{align*}

And\begin{align} \frac{\partial ^{2}u}{\partial x^{2}} & =\frac{\partial }{\partial x}\left ( \frac{\partial u}{\partial x}\right ) \nonumber \\ & =\frac{\partial ^{2}u}{\partial x\partial t}\frac{dt}{dx}+\frac{\partial ^{2}u}{\partial x^{2}}\frac{dx}{dx}\nonumber \\ & =\frac{\partial ^{2}u}{\partial x^{2}} \tag{1} \end{align}

And\begin{align*} \frac{\partial u}{\partial y} & =\frac{\partial u}{\partial t}\frac{dt}{dy}+\overset{0}{\overbrace{\frac{\partial u}{\partial x}\frac{dx}{dy}}}\\ & =i\frac{\partial u}{\partial t} \end{align*}

And\begin{align} \frac{\partial ^{2}u}{\partial y^{2}} & =\frac{\partial }{\partial y}\left ( \frac{\partial u}{\partial y}\right ) \nonumber \\ & =i\frac{\partial }{\partial y}\left ( \frac{\partial u}{\partial t}\right ) \nonumber \\ & =i\left ( \frac{\partial ^{2}u}{\partial t^{2}}\frac{dt}{dy}+\overset{0}{\overbrace{\frac{\partial ^{2}u}{\partial t\partial x}\frac{dx}{dy}}}\right ) \nonumber \\ & =i\left ( i\frac{\partial ^{2}u}{\partial t^{2}}\right ) \nonumber \\ & =-\frac{\partial ^{2}u}{\partial t^{2}} \tag{2} \end{align}

Substituting (1,2) into \(u_{xx}+u_{yy}=0\) gives\begin{align*} \frac{\partial ^{2}u}{\partial x^{2}}-\frac{\partial ^{2}u}{\partial t^{2}} & =0\\ u_{tt} & =u_{xx} \end{align*}

Which is the wave equation.

When change of variables contains only real quantities, then no sign change will occur. Only stretching (scaling) can occur, so the type of the PDE do not change. But with complex variables, a sign change can occur as in this example due to multiplying \(i\) with \(i\). And this is what causes the PDE type to change.

2.7.9 Problem 4.4.16

True or false: The characteristic curves of the Helmholtz equation \(u_{xx}+u_{yy}-u=0\) are circles.

Solution

Comparing the above to  \(L\left [ u\right ] =Au_{xx}+Bu_{xy}+Cu_{yy}+Du_{x}+Eu_{y}+Fu=G\) shows that \begin{align*} A & =1\\ B & =0\\ C & =1 \end{align*}

Hence the characteristic curves are given by (4.151) as (where we choose \(y\equiv y\left ( x\right ) \) and hence \(s=x\) here)\begin{align*} A\left ( x,y\right ) \left ( \frac{dy}{dx}\right ) ^{2}-B\left ( x,y\right ) \frac{dy}{dx}+C\left ( x,y\right ) & =0\\ \left ( \frac{dy}{dx}\right ) ^{2}+1 & =0\\ \left ( \frac{dy}{dx}\right ) ^{2} & =-1\\ \frac{dy}{dx} & =\pm i \end{align*}

There are no real characteristic curves. Therefore the answer is false.

2.7.10 Key solution for HW 7

PDF