The Density in a One-Dimensional Potential