The Method of Separation of Variables
Guess that the answer is a fixed shape times something that changes in time, . That one guess splits the PDE into two ODEs you already know how to solve, the boundary conditions pick out which shapes are allowed, and adding up those simple solutions lets you match any starting condition.
What the symbols mean
- Spatial part
Depends only on x.
- Time part
Depends only on t.
- Separation constant
The two sides depend on different variables, so both must equal one constant.
What the symbols mean
- Eigenvalues
The only constants that allow a nonzero solution with these boundary conditions.
- Eigenfunctions
The shapes (modes) that fit the boundary conditions.
Explanation
Separation of variables is simply a guess that the solution is a fixed shape that just gets turned up or down over time. The name says what it does: it pulls the part and the part apart into separate functions, each depending on one variable only. It's the standard first tool for heat, vibration and quantum problems, because it turns one hard PDE into two ODEs you already know how to solve, and then we add up lots of those simple solutions to build the real one. looks fancy, but it's two pieces: (the shape along the rod) and (a dial that sets how big that shape is at each moment). There are a few steps after that, but each one is familiar, so bear with it.
When it works: the PDE and the boundary conditions must be linear and homogeneous. Linearity is what lets us add solutions together at the end, and zero boundary values are what let each piece satisfy them on its own. (The next lessons show how to handle nonzero boundaries.)
The steps, for with :
- Substitute : .
- Separate: . A function of equals a function of only if both are a constant, .
- Solve the eigenvalue problem , : nonzero solutions exist only for , with .
- Solve : .
- Superpose: , and choose so that : a Fourier sine series.
Why step 2 gives a constant. The left side only knows about , and the right side only knows about . Hold fixed and slide around: the left side can't change, so the right side can't either. Hold fixed and the same argument works the other way. So both sides equal one number, which we call (the minus sign just makes the interesting values come out positive).
Where the boundary conditions come in. Notice that is the same equation as an undamped spring from ODEs. On its own it has solutions for every , but we also need to be zero at both ends, and that's a much stronger demand. A sine fits only if a whole number of half-waves spans the rod, which is exactly . The last step is then the Fourier sine series from the previous unit.
A common mistake. It's tempting to think any will do, since can be solved for every . It can, but almost none of those solutions are zero at both ends. For the solutions are straight lines or exponentials, and the only one with is . For , only the special values work. That's why they get a name: eigenvalues ("eigen" is German for "own," so these are the problem's own special values).
See it
Worked examples
Find the eigenvalues and eigenfunctions of , .
- 1
Only can give a nonzero solution here, so write . Then , and forces .
Practice
Type your answer and check it. Solve them all to complete the lesson.
For , , find the third eigenvalue .
For , , find .
For , the time equation is . Find with when .
Why must and both equal a constant?
For on with zero ends, write the product solution for (with ).
An electron trapped in a tiny "box" (a quantum dot) has energy levels proportional to the eigenvalues of , . How many times the ground-state energy is the third level ?
Find the first eigenvalue of with and : one end held at zero, the other insulated.
The hardest one here. Get it, and you've got this lesson.
Find the first three eigenvalues of with and (both ends insulated). Enter all three.
Where it's used
Separation of variables is the standard first attack on heat flow, vibration, electrostatics and quantum mechanics (the time-independent Schrödinger equation comes from exactly this split).