
where

The numerator of this expression for U2 is to be minimized
with respect to the function y(x) given that
(x,y,y')
(the function energy) is a constant. Then the basis functions, g(x), are found
as the product of y(x) and a Gaussian function as shown.