Work, Energy and Power: Variable Forces, Potential Energy and Power
Learn AP Physics C work and energy with calculus: variable forces, springs, potential energy curves, equilibrium and power, with worked examples.
Reviewed by Independent AI model review on 2026-11-17
Watch the worked example
When a force changes as an object moves, you can no longer use W = Fd. Calculus gives the general answer: work is the integral of force over distance. This lesson shows how to find work from a variable force, how a potential energy function gives the force, how to find equilibrium points and decide whether they are stable, and how to treat power when the force or velocity changes.
Key ideas
- Work done by a force along a path is W = ∫F dx. For a constant force this reduces to W = Fd. It equals the area under a force-position graph.
- The work-energy theorem: the net work done on an object equals its change in kinetic energy, W_net = ΔK = ½mv² − ½mv₀².
- Spring force: F = −kx, where x is the displacement from the relaxed position. The elastic potential energy is U = ½kx², and the work done by the spring in returning to x = 0 is ½kx².
- For a conservative force, there is a potential energy U(x) with F = −dU/dx. The total mechanical energy K + U is constant.
- Equilibrium occurs where F = 0, which is where dU/dx = 0. It is stable if d²U/dx² > 0 (a minimum of U) and unstable if d²U/dx² < 0 (a maximum).
- Power is the rate of doing work, P = dW/dt. For a force acting on a moving object, P = F·v.
- A turning point is where K = 0, so U = E. The particle cannot go where U > E.
Work from a variable force
For a force that depends on position, integrate: W = ∫F dx. If F(x) is plotted, the work is the area between the curve and the axis. Areas below the axis count as negative work.
Springs and kinetic energy
The force from a spring is F = −kx, so the work done by the spring as it returns to equilibrium from a displacement x is ∫₀ˣ kx dx = ½kx². This becomes the kinetic energy of an object it launches.
Potential energy curves
If you know U(x), you can find the force: F = −dU/dx, which is the negative of the slope of the graph. Where the slope is zero, the force is zero. A minimum of U is a stable equilibrium, because on either side the force pushes the particle back. A maximum is unstable, because the force pushes the particle away.
Power
The instantaneous power is P = dW/dt = F·v. For a constant power P, Newton's second law gives P = Fv = m v dv/dt, so v dv = (P/m) dt and v = √(2Pt ÷ m) from rest. The speed rises quickly at first, then more slowly, because the force P/v falls as the speed grows.
Worked example 1: a variable force
A 2.0 kg block on a frictionless surface starts from rest. A horizontal force F = 3.0x² (N) acts on it as it moves from x = 0 to x = 2.0 m. Find (a) the work done and (b) the speed of the block at x = 2.0 m.
(a) W = ∫₀² 3.0x² dx = x³ evaluated from 0 to 2.0 = 8.0 J.
(b) By the work-energy theorem, W = ½mv², so v = √(2W ÷ m) = √(2 × 8.0 ÷ 2.0) = 2.8 m/s.
Worked example 2: a spring launcher
A spring with k = 200 N/m is compressed 0.10 m against a 0.50 kg block on a frictionless surface. Find the speed of the block when it leaves the spring.
The work done by the spring is ½kx² = ½(200)(0.10)² = 1.0 J, and this becomes the kinetic energy. So ½mv² = 1.0, and v = √(2 × 1.0 ÷ 0.50) = 2.0 m/s.
Worked example 3: finding the force and the equilibrium points
A particle has potential energy U(x) = 2.0x³ − 9.0x² (J), with x in meters. Find (a) the force on it as a function of x, (b) the equilibrium positions and (c) whether each is stable or unstable.
(a) F = −dU/dx = −6.0x² + 18x = 6.0x(3.0 − x) (in newtons).
(b) F = 0 when x = 0 or x = 3.0 m. These are the equilibrium positions.
(c) d²U/dx² = 12x − 18. At x = 0 this is −18, which is negative, so U is a maximum and the equilibrium is unstable. At x = 3.0 m it is +18, which is positive, so U is a minimum and the equilibrium is stable. The potential energy at the stable point is U(3.0) = 54 − 81 = −27 J.
Worked example 4: constant power
A 1200 kg car accelerates from rest with a constant engine power of 60 kW. Ignore friction and drag. Find (a) its speed as a function of time, (b) its speed and acceleration at t = 10 s and (c) the distance it travels in 10 s.
(a) P = Fv = mv dv/dt, so v dv = (P ÷ m) dt. Integrating from rest gives ½v² = (P ÷ m)t, so v = √(2Pt ÷ m) = √(100t) = 10√t (m/s).
(b) At t = 10 s, v = 10√10 = 32 m/s. The acceleration is a = P ÷ (mv) = 60 000 ÷ (1200 × 31.6) = 1.6 m/s².
(c) x = ∫v dt = ∫10t^(1/2) dt = (20 ÷ 3)t^(3/2). At t = 10 s, x = 6.67 × 31.6 = 2.1 × 10² m.
More worked problems
These three exam-style problems are worked out step by step in the video "Work, Energy and Power: Practice Problems Solved" at the top of this page. Each solution is written out below, after the three problems. You can try new problems in "Try it yourself" afterward.
Problem 1: a force that changes sign. A 2.0 kg block starts from rest at x = 0 on a frictionless surface and feels a force F = 12 − 4.0x (N). Find (a) the work done from x = 0 to x = 3.0 m, (b) the speed at x = 3.0 m and (c) the position where the block comes to rest.
Problem 2: a potential energy curve. A 1.0 kg particle has potential energy U = 4.0x² − x⁴ (J). Find (a) the force F(x), (b) the equilibrium positions and whether each is stable, and (c) the minimum speed at x = 0 that lets the particle get past the maximum of U.
Problem 3: power against drag. A car moves at a constant speed against a drag force F = bv², where b = 0.50 kg/m. Find (a) the engine power at 30 m/s, (b) the power at 60 m/s and (c) the energy the engine supplies in 1.0 km at 30 m/s.
Solutions to the worked problems
Problem 1.
(a) W = ∫₀³ (12 − 4.0x) dx = 12x − 2.0x² from 0 to 3.0 = 36 − 18 = 18 J.
(b) ½mv² = 18, so v = √(2 × 18 ÷ 2.0) = √18 = 4.2 m/s. This is the maximum speed, because the force is zero at x = 3.0 m and the block slows down afterward.
(c) The block stops when the total work is zero: 12x − 2.0x² = 0, so x = 6.0 m. It is at rest at x = 6.0 m. (The area above the axis from 0 to 3.0 m is canceled by the negative area from 3.0 m to 6.0 m.)
Problem 2.
(a) F = −dU/dx = −8.0x + 4.0x³ = 4.0x(x² − 2.0).
(b) F = 0 at x = 0 and x = ±√2.0 = ±1.4 m. d²U/dx² = 8.0 − 12x². At x = 0 this is +8.0, so x = 0 is stable. At x = ±1.4 m it is 8.0 − 24 = −16, so x = ±1.4 m are unstable.
(c) U at x = ±√2 is 8.0 − 4.0 = 4.0 J. At x = 0, U = 0, so the particle needs at least 4.0 J of kinetic energy: ½(1.0)v² = 4.0, so v = √8.0 = 2.8 m/s.
Problem 3.
(a) At constant speed the engine force equals the drag: F = bv² = 0.50 × 30² = 450 N. P = Fv = 450 × 30 = 13.5 kW.
(b) At 60 m/s, F = 0.50 × 60² = 1800 N and P = 1800 × 60 = 108 kW. Doubling the speed multiplies the power by eight, because P = bv³.
(c) W = Fd = 450 × 1000 = 4.5 × 10⁵ J.
Try it yourself
These problems are not worked out in the videos.
Problem A. A force F = 2.0x + 3.0x² (N) acts on an object as it moves from x = 0 to x = 2.0 m. Find the work done.
Problem B. A spring with k = 400 N/m is stretched 0.20 m. A 0.20 kg mass attached to it is released from rest. Find the elastic energy stored and the speed of the mass as it passes the relaxed position, ignoring friction.
Problem C. An engine delivers a constant power of 40 kW to a 1000 kg car starting from rest. Ignore friction and drag. Find the speed of the car after 5.0 s.
Check your answers. A: 12 J. B: 8.0 J and 8.9 m/s. C: 20 m/s.
Common mistakes
- Using W = Fd with a variable force. Integrate F over the distance instead.
- Forgetting that F = −dU/dx has a minus sign. The force points toward lower potential energy.
- Mixing up stable and unstable. A minimum of U is stable and a maximum is unstable.
- Using the wrong integration limits. The work depends on where the motion starts and ends, not on the total length of an unrelated path.
- Confusing power with energy. Power is the rate, P = dW/dt = Fv, and is in watts.
Exam approach
AP Physics C free-response questions often give you F(x) or U(x) and ask you to find work, speed, equilibrium and stability. Show the integral or derivative, include the limits and units, and use the work-energy theorem to connect work to speed. Check the College Board course page for the current exam format and the equation sheet.
Practice questions
Choose an answer to see whether you are right and why.
1. A force F = 4.0x (N) acts on an object as it moves from x = 0 to x = 3.0 m. How much work does the force do?
2. A spring has k = 100 N/m. How much potential energy does it store when it is stretched 0.20 m?
3. The potential energy of a particle is U = 3.0x² (J). What is the force on it at x = 2.0 m?
4. At which kind of point on a U(x) graph is there a stable equilibrium?
5. A force of 200 N moves an object at a steady 15 m/s in the direction of the force. What is the power delivered?
6. The speed of a 2.0 kg object increases from 3.0 m/s to 5.0 m/s. What is the net work done on it?
Make your own study set
Upload your class notes, a PDF or a revision video and CampusBadge builds notes, flashcards and quizzes for you to practise with.
This lesson is a study guide, not the syllabus. Check what is examined in the official AP Physics C: Mechanics syllabus for your exam year.