---
title: Potential energy and energy diagrams
heading: Reading motion from an energy landscape
eyebrow: B1 · Lesson 16 · Potential energy
xp: 40
---

::: hook
A latch, the one-bit memory inside every flip-flop, has two stable states and an unstable balance point between them. A ball in a landscape with two valleys and a hill does exactly the same thing. Drawing the potential energy as a landscape lets you read the motion without solving any equations: where the object speeds up, where it turns around, where it can rest, and how much energy it needs to get over a hill. The same picture returns for electrons in an electric potential (B3) and in semiconductors.
:::

::: play
- The curve is a potential energy $U(x) = (x^2 - 1)^2$ J with two valleys and a hill. The flat line is the total energy $E$ of a particle moving in it.
- The particle can only be where $E \ge U$: it turns around where the line meets the curve. Lower $E$ below 1 J and it's trapped in one valley.
- At $E = 1$ J exactly, it can just reach the hilltop, the unstable balance point, where it could sit forever or roll either way.
:::
:::

```sim plot
view: graph
x: x = -1.8..1.8 m
y: U = 0..3 J
slider: E = 0.05..2.5 step 0.05 = 0.6 J
plot: (x^2 - 1)^2 | label: U(x)
plot: E + 0*x | label: total energy | color: ch2
readout: outer turning point, m = sqrt(1 + sqrt(E)) | digits: 3
readout: inner turning point (if trapped), m = sqrt(abs(1 - sqrt(E))) | digits: 3
readout: kinetic energy at the valley floor, J = E | digits: 3
```

::: predict
## A roller coaster car starts from rest at the top of a 20 m drop. Ignoring friction, how fast is it at the bottom?

- [ ] 10 m/s
- [x] About 20 m/s
- [ ] About 40 m/s
- [ ] It depends on the shape of the track

::: reveal
About 20 m/s: $\frac12mv^2 = mgh$ gives $v = \sqrt{2 \times 9.8 \times 20} = 19.8$ m/s. The shape of the track doesn't matter, because gravity is a conservative force: the energy it gives back depends only on the height dropped, not the path.
:::
:::

::: nameit
## Conservative forces and potential energy

A force is **conservative** if the work it does moving an object between two points doesn't depend on the path: gravity, springs and electric forces are; friction is not. For such a force, define the **potential energy** $U$ so that the work done by the force is $W = -\Delta U$. Then, in one dimension,

$$F(x) = -\frac{dU}{dx}$$

The force points downhill on the energy landscape, and is strongest where the landscape is steepest.

| Force | Potential energy |
|---|---|
| gravity near Earth | $U = mgh$ |
| spring | $U = \frac12kx^2$ |
| gravity in general | $U = -\frac{GMm}{r}$ (lesson 38) |

## Energy conservation

With only conservative forces, $K + U = E$ stays constant. On an energy diagram:

- the particle can only be where $U(x) \le E$;
- its kinetic energy is the gap $E - U(x)$;
- it turns around at **turning points** where $U = E$.

Friction and drag remove energy as heat, so with them $E$ falls over time.

## Equilibrium

Where $\frac{dU}{dx} = 0$ the force is zero:

- a minimum ($U'' > 0$) is **stable**: a small push gives a restoring force, and the particle oscillates with $\omega = \sqrt{U''/m}$, just like a spring with $k = U''$;
- a maximum ($U'' < 0$) is **unstable**: any push grows. A latch caught there is **metastable**, and may take an unpredictable time to fall into one state or the other, which is why fast digital inputs pass through synchronizers.
:::

::: example
## A particle of mass 0.5 kg moves in $U(x) = (x^2 - 1)^2$ J. Find the equilibria, the oscillation frequency in a valley, and the energy needed to cross between valleys.

::: solution
1. **Equilibria.**
   $$\begin{aligned} U' &= 4x^3 - 4x \\ &= 4x(x^2 - 1) \end{aligned}$$
   zero at $x = 0$ and $x = \pm 1$.
2. **Stability.** The second derivative is $U'' = 12x^2 - 4$. At $x = 0$ it's $-4$ (unstable, a hilltop with $U = 1$ J); at $x = \pm1$ it's 8 (stable valleys with $U = 0$).
3. **Oscillation in a valley.** Small oscillations have
   $$\begin{aligned} \omega &= \sqrt{8/0.5} \\ &= 4\ \text{rad/s} \end{aligned}$$
   a period of 1.57 s.
4. **Crossing.** Getting over the hilltop needs at least 1 J.

**Answer:** the equilibria are at $x = 0$ (unstable) and $x = \pm1$ (stable); a valley oscillation runs at 4 rad/s, and crossing needs at least 1 J.
:::
:::

::: example
## A loop-the-loop has radius $R$. From what height must a car start, from rest and without friction, to stay on the track at the top?

::: solution
1. **Condition at the top.** The track can only push down, so gravity alone must at least supply the centripetal force:
   $$v_\text{top}^2 \ge gR$$
2. **Energy from the start to the top.** From height $h$ to the top at $2R$:
   $$\begin{aligned} mg(h - 2R) &= \frac12mv_\text{top}^2 \\ &\ge \frac12mgR \end{aligned}$$
   so $h \ge 2.5R$.

**Answer:** the car must start at least $2.5R$ high.
:::
:::

::: example
## A 1 m pendulum is released from 60°. How fast is the bob at the bottom, and what is the string's tension there?

::: solution
1. **Drop.**
   $$L(1 - \cos 60°) = 0.5\ \text{m}$$
2. **Speed at the bottom.**
   $$\begin{aligned} v &= \sqrt{2 \times 9.8 \times 0.5} \\ &= 3.13\ \text{m/s} \end{aligned}$$
3. **Tension at the bottom.** The string supplies the weight plus the centripetal force:
   $$\begin{aligned} T &= mg + \frac{mv^2}{L} \\ &= mg + 2mg(1 - \cos 60°) \\ &= 2mg \end{aligned}$$
4. **From 90°.** Released from 90°, it would be 3mg: a reason pendulum strings and swing chains are rated well above the weight they hold.

**Answer:** the bob moves at 3.13 m/s at the bottom, where the tension is twice its weight.
:::
:::

::: check
given: h = 5 | 20 | 45
answer: sqrt(2*9.8*h)
unit: m/s
tolerance: 0.5%

## An object slides without friction down a curved track that drops {h} m. How fast is it at the bottom, starting from rest?

::: right
Right. $\sqrt{2gh}$ = {answer}, whatever the track's shape.
:::

::: misses
- [2*9.8*h] Take the square root: $v^2 = 2gh$.
- [sqrt(9.8*h)] $\frac12mv^2 = mgh$ gives $v^2 = 2gh$.
- [any] Not yet. Potential energy becomes kinetic energy.
:::
:::

::: check
given: k = 200 | 500; x = 0.05 | 0.1; m = 0.02 | 0.05
answer: x*sqrt(k/m)
unit: m/s
tolerance: 0.5%

## A spring with $k$ = {k} N/m is compressed {x} m and launches a {m} kg ball. How fast does the ball leave?

::: right
Right. $\frac12kx^2 = \frac12mv^2$ gives $v = x\sqrt{k/m}$ = {answer}.
:::

::: misses
- [x*k/m] Take the square root of $k/m$.
- [any] Not yet. Spring energy becomes kinetic energy.
:::
:::

::: check
given: a = 2 | 5; x0 = 1 | 1.5
answer: -3*a*x0^2
unit: N
tolerance: 0.5%

## A particle has potential energy $U = \given{a}x^3$ J (x in meters). What is the force on it at $x$ = {x0} m?

::: right
Right. $F = -\frac{dU}{dx} = -3ax^2$ = {answer}.
:::

::: misses
- [3*a*x0^2] The force points downhill: $F = -dU/dx$.
- [-a*x0^3] That's $-U$, not $-dU/dx$.
- [any] Not yet. Differentiate and change the sign.
:::
:::

::: check
given: c = 1 | 3; m = 0.5 | 2
answer: sqrt(8*c/m)
unit: rad/s
tolerance: 0.5%

## A particle of mass {m} kg moves in $U = \given{c}(x^2 - 1)^2$ J. What is its angular frequency for small oscillations in a valley?

::: right
Right. $U'' = 8c$ at $x = \pm 1$, so $\omega = \sqrt{8c/m}$ = {answer}.
:::

::: misses
- [sqrt(4*c/m)] $U'' = 12cx^2 - 4c$, which is $8c$ at $x = 1$.
- [any] Not yet. Find $U''$ at the minimum and use $\omega = \sqrt{U''/m}$.
:::
:::

::: check
given: E = 0.5 | 2; k = 100 | 400
answer: sqrt(2*E/k)
unit: m
tolerance: 0.5%

## A mass on a spring ($k$ = {k} N/m) has total energy {E} J. How far from equilibrium does it swing?

::: right
Right. At the turning point all the energy is in the spring: $x = \sqrt{2E/k}$ = {answer}.
:::

::: misses
- [sqrt(E/k)] $\frac12kx^2 = E$.
- [any] Not yet. Set $U = E$.
:::
:::

::: check
given: R = 2..20 int
answer: 2.5*R
unit: m
tolerance: 0.5%

## A loop has radius {R} m. From what height, at least, must a car start at rest to make it around without friction?

::: right
Right. $2.5R$ = {answer}.
:::

::: misses
- [2*R] Reaching the top isn't enough; it needs speed there to stay on the track.
- [any] Not yet. Need $v_\text{top}^2 \ge gR$ at height $2R$.
:::
:::

::: check
kind: parts
given: L = 0.5 | 2; t = 30 | 60 | 90

## A pendulum {L} m long is released from {t}°.

::: part
answer: sqrt(2*9.8*L*(1 - cos(t*pi/180)))
unit: m/s
tolerance: 0.5%

### How fast is the bob at the bottom?

::: misses
- [any] It drops $L(1 - \cos\theta_0)$.
:::
:::

::: part
answer: 3 - 2*cos(t*pi/180)
tolerance: 0.5%

### What is the tension at the bottom, as a multiple of the weight?

::: misses
- [1] At the bottom the string also supplies the centripetal force.
- [any] $1 + 2(1 - \cos\theta_0)$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.5..4, b = 0.1..2

## A particle moves in $U(x) = ax^2 - bx^4$.

::: step
answer: sqrt(a/(2*b))

### Where is the potential's maximum, for x > 0?
:::

::: step
answer: a^2/(4*b)

### How high is the barrier there, above U(0)?
:::

::: right
Right. A particle at the bottom with less energy than $\frac{a^2}{4b}$ stays trapped.
:::
:::

::: explain
## Why can a particle never be where its potential energy is greater than its total energy?

::: model
Total energy is kinetic plus potential, and kinetic energy, $\frac12mv^2$, can never be negative. So at any place the particle actually visits, $U$ must be no bigger than $E$. Where $U$ rises to meet $E$, the kinetic energy is zero: the particle stops and turns back. That's why a ball with too little energy can't cross a hill, and why the turning points are where the energy line meets the curve.
:::
:::

::: practice

::: check
given: m = 2 | 5; h = 3 | 10
answer: m*9.8*h
unit: J
tolerance: 0.5%

## How much potential energy does a {m} kg mass gain when lifted {h} m?

::: misses
- [any] $mgh$.
:::
:::

::: check
given: k = 50 | 200; x = 0.1 | 0.2
answer: 0.5*k*x^2
unit: J
tolerance: 0.5%

## How much energy does a spring with $k$ = {k} N/m store when stretched {x} m?

::: misses
- [k*x^2] $\frac12kx^2$.
- [any] $\frac12kx^2$.
:::
:::

::: check
given: v = 2..20 int
answer: v^2/(2*9.8)
unit: m
tolerance: 0.5%

## A ball rolls up a frictionless slope at {v} m/s. How high does it get?

::: misses
- [any] $h = v^2/2g$.
:::
:::
:::
