Separation of variables

In mathematics, separation of variables is any of several methods of solving ordinary and partial differential equations.

Contents

Ordinary differential equations (ODE)

Occasionally an ordinary differential equation allows a separation of variables, which we here exemplify rather than define. The differential equation

<math>\frac{df(x)}{dx}=f(x)(1-f(x))<math>

may be written as

<math>\frac{dy}{dx}=y(1-y).<math>

Pretend that dy and dx are numbers, so that both sides of the equation may be multiplied by dx. Also divide both sides by y(1 − y). We get

<math>\frac{dy}{y(1-y)}=dx.<math>

At this point we have separated the variables x and y from each other, since x appears only on the right side of the equation and y only on the left.

Integrating both sides, we get

<math>\int\frac{dy}{y(1-y)}=\int dx,<math>

which, via partial fractions, becomes

<math>\int\frac{1}{y}+\frac{1}{1-y}\,dy=\int dx,<math>

and then

<math>\log_e y -\log_e (1-y)=x+C.<math>

A bit of algebra gives a solution for y:

<math>y=\frac{1}{1+Be^{-x}}.<math>

One may check that if B is any positive constant, this function satisfies the differential equation.

This process also exemplifies the utility of the Leibniz notation, in which dy and dx are thought of as infinitely small increments of y and x respectively.

Note that once dividing in (1 − y) and (y − 0) one must check if the solutions y(x) = 0 and y(x) = 1 solve the differential equation. See also: singular solutions.

Partial differential equations

Given a partial differential equation of a function

<math> F(x_1,x_2,...,x_n) <math>

of n variables, it is sometimes useful to guess solution of the form

<math> F = F_1(x_1) \cdot F_2(x_2) \cdots F_n(x_n) <math>

or

<math> F = f_1(x_1) + f_2(x_2) + \cdots + f_n(x_n) <math>

which turns the partial differential equation (PDE) into a set of ODEs. Usually, each independent variable creates a separation constant that cannot be determined only from the equation itself.

Example (I)

Suppose F(x,y,z) and the following PDE:

<math> \frac{\partial F}{\partial x} + \frac{\partial F}{\partial y} + \frac{\partial F}{\partial z} = 0 <math> (1)

We shall guess

<math> F(x,y,z) = X(x) + Y(y) + Z(z) <math> (2)

thus making the equation (1) to

<math> \frac{dX}{dx} + \frac{dY}{dy} + \frac{dZ}{dz} = 0 <math>

(since <math>\frac{\partial F}{\partial x} = \frac{dX}{dx} <math>).

Now, since X'(x) is dependent only at x and Y'(y) is dependent only at y (so on for Z'(z)) and that the equation (1) is true for every x,y,z it is clear that each one of the term is constant. More precisely,

<math> \frac{dX}{dx} = c_1 \quad \frac{dY}{dy} = c_2 \quad \frac{dZ}{dz} = c_3 <math> (3)

were the constants c1, c2, c3 satisfy

<math> c_1 + c_2 + c_3 = 0 <math> (4)

Eq (3) is actually a set of three ODEs. In this case they are trivial and can be solved by simple integration, giving:

<math> F(x,y,z) = c_1 x + c_2 y + c_3 z + c_4<math> (5)

where the integration constant c4 is determined by initial conditions.

Example (II)

Consider the differential equation

<math>\nabla^2 v + \lambda v = {\partial^2 v \over \partial x^2} + {\partial^2 v \over \partial y^2} + \lambda v = 0<math>

We suppose the solution is of the form

<math> v = X(x)Y(y)\,<math>

substituting,

<math> {\partial^2\over\partial x^2}(X(x)Y(y))+{\partial^2\over\partial y}(X(x)Y(y))+\lambda X(x)Y(y)= <math>
<math> = X''(x)Y(y)+X(x)Y''(y)+\lambda X(x)Y(y)= 0\,<math>

Divide throughout by X(x)

<math> = {X''(x)Y(y) \over X(x)}+{X(x)Y''(y)\over X(x)}+{\lambda X(x)Y(y)\over X(x)} ={X''(x)Y(y) \over X(x)}+Y''(y)+\lambda Y(y) = 0<math>

and then by Y(y)

<math> ={X''(x)\over X(x)}+{Y''(y)+\lambda Y(y)\over Y(y)} = 0<math>

Now X′′(x)/X(x) is a function of x only, as is (Y′′(y)+λY(y))/Y(y), so there are separation constants so

<math> {X''(x)\over X(x)} = k = {Y''(y)+\lambda Y(y)\over Y(y)}<math>

which splits up into ordinary differential equations

<math>{X''(x)\over X(x)} = k<math>
<math>X''(x) - k X(x)=0\,<math>

and

<math>{Y''(y)+\lambda Y(y)\over Y(y)} =k<math>
<math>Y''(y)+(\lambda-k) Y(y) =0\,<math>

which we can solve accordingly. If the equation as posed originally was a boundary value problem, one would use the given boundary values. See that article for an example which uses boundary values.

External links

Bibliography

  • A. D. Polyanin and V. F. Zaitsev, Handbook of Exact Solutions for Ordinary Differential Equations, Chapman & Hall/CRC Press, Boca Raton, 2003 (2nd edition).
  • A. D. Polyanin, Handbook of Linear Partial Differential Equations for Engineers and Scientists, Chapman & Hall/CRC Press, 2002.
  • A. D. Polyanin and V. F. Zaitsev, Handbook of Nonlinear Partial Differential Equations, Chapman & Hall/CRC Press, 2004.
  • A. D. Polyanin, V. F. Zaitsev, and A. Moussiaux, Handbook of First Order Partial Differential Equations], Taylor & Francis, London, 2002.
Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools