Which of the following best describes the shape of the graph of potential energy U versus displacement x for a particle executing simple harmonic motion?
(a) A straight line passing through the origin
(b) A parabola opening upward with its vertex at x=0
(c) A horizontal line at U=21kA2
(d) A parabola opening downward with its vertex at x=0