Partial differential equations/Separation of variables method

From testwiki
Jump to navigation Jump to search

Template:Lecture

Introduction

We often consider partial differential equations such as

2ψ=1c22ψt2 ,

which is recognisable as the wave equation in three dimensions, with 2 being the Laplacian operator, ψ being some function of three spacial dimensions and time, and c being the speed of the wave.

These are often found by considering the physical connotations of a system, but how can we find a form of ψ such that the equation is true?

Finding General Solutions

One way of doing this is to make the assumption that ψ itself is a product of several other functions, each of which is itself a function of only one variable. In the case of the wave equation shown above, we make the assumption that

ψ(x,y,z,t)=X(x)×Y(y)×Z(z)×T(t)

(NB Remember that the upper case characters are functions of the variables denoted by their lower case counterparts, not the variables themselves)

By substituting this form of ψ into the original wave equation and using the three dimensional cartesian form of the Laplacian operator, we find that

YZTd2Xdx2+XZTd2Ydy2+XYTd2Zdz2=1c2XZYd2Tdt2

We can then divide this equation through by ψ to produce the following equation:

1Xd2Xdx2+1Yd2Ydy2+1Zd2Zdz2=1c21Td2Tdt2

Both sides of this equation must be equal for all values of x, y, z and t. This can only be true if both sides are equal to a constant, which can be chosen for convenience, and in this case is -(k2).

The time-dependent part of this equation now becomes an ordinary differential equation of form

d2Tdt2=c2k2T

This is easily soluble, with general solution

T(t)=Acos(ckt)+Bsin(ckt)

with A and B being arbitrary constants, which are defined by the specific boundary conditions of the physical system. Note that the key to finding the time-dependent part of the original function was to find an ODE in terms of time. This general process of finding ODEs from PDEs is the essence of this method.