Article 5JZYF Justifying separation of variables

Justifying separation of variables

by
John
from John D. Cook on (#5JZYF)

The separation of variables technique for solving partial differential equations looks like a magic trick the first time you see it. The lecturer, or author if you're more self-taught, makes an audacious assumption, like pulling a rabbit out of a hat, and it works.

For example, you might first see the heat equation

ut = c^2 uxx.

The professor asks you to assume the solution has the form

u(x, t) = X(x) T(t).

i.e. the solution can be separated into the product of a function of x alone and a function of t alone.

Following that you might see Laplace's equation on a rectangle

uxx + uyy = 0

with the analogous assumption that

u(x, y) = X(x) Y(y),

i.e. the product of a function of x alone and a function of y alone.

There are several possible responses to this assumption.

  1. Whatever you say, doc.
  2. How can you assume that?
  3. How do you know you're not missing any possibilities?
  4. What made someone think to try this?

As with many things, separation of variables causes the most consternation for the moderately sophisticated students. The least sophisticated students are untroubled, and the most sophisticated student can supply their own justification (at least after the fact).

One response to question (2) is Bear with me. I'll show that this works."

Another response would be OK, how about assuming the solution is a sum of such functions. That's a much larger space to look in. And besides, we are going to take sums of such solutions in a few minutes." One could argue from functional analysis or approximation theory that the sums of separable functions are dense in reasonable space of functions [1].

This is a solid explanation, but it's kind of anachronistic: most students see separation of variables long before they see functional analysis or approximation theory. But it would be a satisfying response for someone who is seeing all this for the second time. Maybe they were exposed to separation of variables as an undergraduate and now they're taking a graduate course in PDEs. In an undergraduate class a professor could do a little foreshadowing, giving the students a taste of approximation theory.

Existence of solutions is easier to prove than uniqueness in this case because you can concretely construct a solution. This goes back to the it works" justification. This argument deserves more respect than a sophomoric student might give it. Mathematics research is not nearly as deductive and mathematics education. You often have to make inspired guesses and then show that they work.

Addressing question (3) requires saying something about uniqueness. A professor could simply assert that there are uniqueness theorems that allow you to go from I've found something that works" to and so it must be the only thing that works." Or one could sketch a uniqueness theorem. For example, you might apply a maximum principle to show that the difference between any two solutions is zero.

Question (4) is in some sense the most interesting question. It's not a mathematical question per se but a question about how people do mathematics. I don't know what was going through the mind of the first person to try separation of variables, or even who this person was. But a plausible line of thinking is that ordinary differential equations are easier than partial differential equations. How might you reduce a PDE to an ODE? Well, if the solution could be factored into functions of one variable, ...

The next post will illustrate using separation of variables by solving the wave equation on a disk.

Related posts

[1] Also, there's the mind-blowing Kolmogorov-Arnol'd theorem. This theorem says any continuous function of several variables can be written as a sum of continuous separable functions. It doesn't say you can make the functions in your sum smooth, but it suggests that sums of separable functions are more expressive than you might have imagined.

The post Justifying separation of variables first appeared on John D. Cook.KApIfU7duxo
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments