MATH529: Mathematical methods for the physical sciences IIMarch 9, 2021

Mid-term Examination

Solve the following problems (4 course points each). Present a brief motivation of your method of solution.

  1. Find the eigenvalues and eigenfunctions of the boundary value problem

    x2y''+xy'+9λy=0,y'(1)=0,y(e)=0.

    Solution. This is a Cauchy-Euler ODE. Trial solution of the form y=xr leads to

    [r(r-1)+r+9λ]xr=0,

    and non-trivial solutions are obtained from roots of quadratic

    r2+9λ=0r1,2=±3iλ,

    leading to the general solution

    y(x)=c1x3iλ+c2x-3iλ,y'(x)=3iλ(c1x3iλ-1-c2x-3iλ-1)

    The boundary condition y'(1)=0 implies c1=c2, and y(e)=0 leads to

    c1(e3iλ+e-3iλ)=2c1cos(3λ)=0.

    Non-null solutions are obtained for cos(3λ)=0, leading to eigenvalues

    3λk=kπ+π2,k=0,1,2,

    with associated eigenfunctions

    yk(x)=x3iλk+x-3iλk=xi(kπ+π2)+x-i(kπ+π2).

    Since xa=ealnx, obtain

    yk(x)=ei(kπ+π2)lnx+e-i(kπ+π2)lnx=2cos[(kπ+π2)lnx].

    Since eigenfunctions are undetermined up to a multiplicative constant, the eigenvalue, eigenfunction pairs are

    λk=19(kπ+π2)2,yk(x)=cos[(kπ+π2)lnx],k.

  2. Use separation of variables to find the solution of

    2ux2+2uy2+2ux+2uy=0.

    Solution. Replacing u(x,y)=X(x)Y(y) leads to

    X''X+2X'X=-(Y''Y+2Y'Y)=λ,

    and the constant-coefficient ODEs

    X''+2X'-λX=0,Y''+2Y'+λY=0,

    with characteristic equations obtained from trial solutions X(x)=erx, Y(y)=esy

    r2+2r-λ=0,s2+2s+λ=0.

    The roots of the characteristic equation are

    r1,2=-1±1+λ,s1,2=-1±1-λ.

    The general solution of the homogeneous PDE is therefore

    u(x,y)=e-x-y[c1ex1+λ+c2e-x1+λ][c3ey1-λ+c4e-y1-λ].

    Further analysis requires specification of boundary conditions.

    .

  3. Solve the boundary-value problem

    2ux2=ut,0<x<π,t>0,
    u(0,t)=0,u(π,t)=0,t>0,
    u(x,0)=sinx,0<x<π.

    Solution. Separation of variables u(x,t)=X(x)T(t) leads to

    X''X=T'T=-k2,

    where the constant -k2 has been chosen negative to avoid non-physical limtT(t)=. Solution of X''+k2X=0 gives

    X(x)=c1cos(kx)+c2sin(kx).

    Left boundary condition u(0,t)=0 implies X(0)=0c1=0. Right boundary condition X(π)=0 leads to

    c2sin(kπ)=0,

    satisfied for eigenvalues k+. The value k=0 is excluded since it implies T(t)=c3, X(x)=c4+c5x, and homogeneous boundary conditions on X(x) would imply c4=c5=0X(x)=0.

    The solution is therefore the series

    u(x,t)=k=1Ake-k2tsin(kx).

    The initial condition

    u(x,0)=sin(x)=k=1Aksin(kx),

    implies A1=1, Ak=0 for k>1, hence the problem solution is

    u(x,t)=e-tsin(x).