Undergraduate → Differential Equations → Partial Differential Equations ↓
Separation of Variables
The method of separation of variables is a technique used to solve partial differential equations (PDEs). PDEs can describe a variety of phenomena such as heat flow, wave propagation, fluid dynamics, and more. This method simplifies the process by dividing the PDE into smaller, more manageable ordinary differential equations (ODEs).
Introduction
Partial differential equations involve multiple independent variables. The main goal when using the variable separation technique is to rewrite the PDE so that each independent variable appears separately. This allows the PDE to be decomposed into a set of single-variable ODEs. From there, given certain boundary conditions, the solutions to these ODEs can be combined to form the overall solution to the original PDE.
Why use variable separation?
Separation of variables is particularly useful when dealing with linear PDEs with boundary conditions. It allows mathematicians and scientists to handle complex equations through a systematic approach. This method also works well when the PDE and its conditions exhibit sufficient symmetry. For example, in cases of steady-state temperatures or vibrations at edges, this technique can quickly determine solutions, making it a staple in mathematical physics.
Basic steps
- Suppose that the solution to the PDE can be expressed as a product of functions, each of which depends on a single coordinate.
- Substitute this form into the original PDE.
- Divide the resulting equation into parts, each of which depends only on a single coordinate.
- Set each part equal to a constant (called the dissociation constant).
- Solve the resulting ODEs.
- Use limiting conditions to determine unknown constants.
- Construct the complete solution by summing the infinite series of solutions derived from each dissociation constant.
An example with visual representation
Consider the heat equation in one dimension:
∂u/∂t = α² ∂²u/∂x²
Here, ( u(x, t) ) is the temperature at position ( x ) and time ( t ), and ( α ) is a constant related to thermal diffusivity.
For separation of variables assume:
u(x, t) = X(x)T(t)
Substitute this into the heat equation:
X(x) ∂T/∂t = α² T(t) ∂²X/∂x²
Divide both sides by ( α² X(x) T(t) ):
1/T(t) ∂T/∂t = α² / X(x) ∂²X/∂x²
The left side depends only on ( t ) and the right side depends only on ( x ). Set them equal to the dissociation constant, say ( -λ ):
1/T(t) ∂T/∂t = -λ = α² / X(x) ∂²X/∂x²
This results in two ODEs:
- For ( T(t) ) : ( ∂T/∂t = -λT(t) )
- For ( X(x) ) : ( α² ∂²X/∂x² = -λX(x) )
Each of these can be solved, subject to marginal conditions, to produce a complete solution.
Example of limiting condition: If the ends of the rod are held rigidly at zero temperature, then these conditions can be expressed as:
u(0, t) = 0 and u(L, t) = 0 for all t
Applying separation of variables, ( X(0)T(t) = 0 ) implies ( X(0) = 0 ), and so on ( X(L) = 0 ). Solve:
X(x) = C sin(nπx/L)
Here, ( n ) is an integer (1, 2, 3, ...) and ( C ) is a constant. This equation satisfies the limiting conditions.
More in-depth example
Example: wave equation
Consider the wave equation:
∂²u/∂t² = c² ∂²u/∂x²
Assume a solution ( u(x, t) = X(x)T(t) ). Substituting, we get:
X(x) ∂²T/∂t² = c² T(t) ∂²X/∂x²
Divide by ( c² X(x) T(t) ):
1/T(t) ∂²T/∂t² = 1/c² X(x) ∂²X/∂x² = -λ
The isolated ODEs are as follows:
- ( ∂²T/∂t² = -λT(t) )
- ( c² ∂²X/∂x² = -λX(x) )
By handling these ODEs differently and applying boundary conditions, solutions to the original wave equation can be found. This method shows the power of separation of variables to manage complex equations with many variables.
Example: Laplace equation
Consider the Laplace equation, widely used in electromagnetism and fluid dynamics:
∇²u = 0
In two dimensions, it is:
∂²u/∂x² + ∂²u/∂y² = 0
Let ( u(x, y) = X(x)Y(y) ) and substitute:
Y(y) ∂²X/∂x² + X(x) ∂²Y/∂y² = 0
Discrete Variables:
1/X(x) ∂²X/∂x² = -1/Y(y) ∂²Y/∂y² = λ
The resulting ODEs:
- ( ∂²X/∂x² = λX(x) )
- ( ∂²Y/∂y² = -λY(y) )
The solution, given specific boundary conditions for the problem, allows the construction of a complete solution of the Laplace equation for the region of interest.
Closing thoughts
Separation of variables is a powerful and integral method for solving PDEs that is commonly seen in a variety of fields such as mathematics, physics, and engineering. Although this technique has its limitations, particularly requiring simple boundaries and linearity, its effectiveness in decomposing complex problems makes it an essential tool. This method is an example of how breaking down problems into simpler, component parts can lead to effective solutions, just as other disciplines have modular problem-solving strategies.
By understanding and using separation of variables, one can obtain practical solutions to problems that model important physical processes. The main thing is to recognize the patterns and symmetries inherent in such problems that allow effective use of this method.