Laplacian in curvilinear coordinates

Remark. sin(x),cos(x) obtained from separation of variables applied to 2u=0 in Cartesian coordinates

Separation of variables procedure:

  1. Assume that u(x,y)=X(x)Y(y) and replace in 2u=0 to obtain

    X''Y+XY''=0X''X=-Y''Y
  2. On the left is a function only of x, f(x)=X''/X. On the right there is a function only of y, g(y)=-Y''/Y. The only way equality could hold for all x,y is for both f and g to be constants

    X''X=-Y''Y=-n2
  3. This leads to ODEs: X''+n2X=0, Y''-n2Y=0 with solutions that are the trigonometric and hyperbolic functions

    Xn(x)=ancos(nx)+bnsin(nx) Yn(y)=cncosh(nx)+dnsinh(nx)
  4. The original PDE is linear hence a general solution is u(x,y)=n=0Xn(x)Yn(y).