Show me, then.

Okay. Here's how it works.

Imagine that we make some small change to the correct wavefunction [delta][psi](x).

How will the energy change? Here's our equation for the energy:
E = [Integral sign] dx [psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)

Notice we've factored out a [psi](x) on the right-hand side of the integrand, just for clarity in what follows.

Now we make the substitution [psi] -> [psi] + [delta][psi] in this equation. We expand all the terms, and keep only those proportional to [delta][psi]. Why? Because we are assuming [delta][psi] is small, so ([delta][psi])2, ([delta][psi])3, etc. are real small, and can be neglected.

This is what we get:
E + dE = [Integral sign] dx [psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)
+ [delta][psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)
+ [psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[delta][psi](x)

The first term is just the original energy E itself. Also, the third term is equal to the second. (You can prove this by integrating by parts. You will need to realize that the wavefunction [psi](x) must go to zero at the limits of integration, because the wavefunction has to end somewhere, that is, the particle can't have a nonzero probability of being everywhere in the universe.)

Thus we can write the change in energy dE with respect to a change in the wavefunction [delta][psi](x) as:
dE =  2 [Integral sign] dx [delta][psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)          [1]

[sketch] Now here comes the important conceptual step: Remember we said that the correct wavefunction [psi](x) is that which minimizes the energy E. This implies that if we drew a sketch of how E depends on ``trial'' forms of [psi](x) in the neighborhood of the actual, correct form, our sketch would look something like the sketch at right.

The key mathematical point about this sketch is that the curve of E versus trial [psi](x) is flat near the correct [psi](x).

Another way of saying this is that any small variation [delta][psi](x) you make in the correct wavefunction must produce zero change in E. (This fact is closely related to the fact in conventional calculus that the minimum of a function is where the first derivative is zero. The only complication here is that E is a function of a function, or what is called a functional. But the theorem still holds, in the sense that the minimum value of a functional is where the first variation -- the equivalent of a first derivative -- is zero.)

So to ensure that the correct [psi](x) minimizes E we must ensure that every conceivable small variation [delta][psi](x) in the correct [psi](x) produces dE = 0 when inserted into Equation [1] above.

How can this be done? Well, one possibility is to require
[
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x) = 0

That would certainly work. But this turns out not to be the only possible trick. To see why, we need to say something about the allowable variations in [psi](x).

Now we can't just make any old change we like to [psi](x), because we need to make sure that the new wavefunction [psi] + [delta][psi] stays normalized, that is, that the probability of finding the particle summed up (integrated) over all space is 1. Mathematically we must require:
[Integral sign] dx [ [psi](x) + [delta][psi](x) ] [ [psi](x) + [delta][psi](x) ] = 1

If we expand this and keep only terms first order in in [delta][psi](x)we have:
[Integral sign] dx [psi](x) [psi](x) + 2 [psi](x) [delta][psi](x) = 1

Of course the actual correct [psi](x) must be correctly normalized, that is, we must have:
[Integral sign] dx [psi](x) [psi](x) = 1          [2]

which means that we must require of our variations that:
[Integral sign] dx [delta][psi](x) [psi](x) = 0          [3]

OK, let's get back to Equation [1] for dE, which is:
dE =  2 [Integral sign] dx [delta][psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)          [1]

Suppose we now require:
[
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x) = (constant) × [psi](x)          [3]

That would turn Equation [1] into:
dE =  (constant) × 2 [Integral sign] dx [delta][psi](x) [psi](x)

And Equation [3] now tells us that the integral on the right-hand side will always equal zero.

Marvelous! We've now shown that requiring Equation [3] to hold for the correct [psi](x) ensures that dE = 0 for all conceivable small variations [delta][psi] in it, which in turn means that this wavefunction will be the one that minimizes the energy E.

One question remains -- what is this ``constant'' thingy? Looking back at the equation for E itself, which is:
E = [Integral sign] dx [psi](x) [
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x)

If we use our marvelous new Equation [3] in this equation we find:
E = (constant) [Integral sign] dx [psi](x) [psi](x)

And using the fact of the normalization of [psi](x) (Equation [2] above), we know the integral on the right-hand side must be equal to just 1. That means the constant must be equal to the energy E itself.

Thus we proved that in order for the correct wavefunction [psi](x) to minimize the energy E, it must satisfy this equation:
[
[
[
1
---
2
d2
----
dx2
+ V(x) ]
]
]
[psi](x) = E [psi](x)

which is the Schrödinger equation.


Back to the Particle in a Box Explanation