US exams AP (Advanced Placement) AP Physics C: Mechanics

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

Potential Energy and Equilibrium: Worked Example. Captions are available in the player.
Work, Energy and Power: Practice Problems Solved. Captions are available in the player.

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.

Work done by a variable forceA force against position graph for F equals 3.0 x squared newtons from 0 to 2.0 meters. The shaded area under the curve is the work done by the force, which is 8.0 joules.x (m)F (N)2.012 Nshaded area = work = ∫F dx= x³ from 0 to 2.0 = 8.0 JF = 3.0x² on a block moved from x = 0 to x = 2.0 m. The work done by a variableforce is the area under the force-position graph. Not to scale.
The work done by a variable force is the area under the force-position graph.

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.

A compressed spring launching a blockA spring with a constant of 200 newtons per meter is compressed 0.10 meters against a 0.50 kilogram block on a frictionless surface. When released it launches the block.0.50 kgcompressed 0.10 mv = ?Spring constant k = 200 N/m. The surface is frictionless.The spring does work ½kx² on the block. Not to scale.
The work done by the compressed spring, ½kx², becomes the kinetic energy of the block.

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.

A potential energy curve with an unstable and a stable equilibriumA graph of potential energy against position for U equals 2.0 x cubed minus 9.0 x squared. The curve has a maximum at x equals 0, an unstable equilibrium, and a minimum at x equals 3.0 meters where U is minus 27 joules, a stable equilibrium.x (m)U (J)x = 0: maximum of Uunstable equilibriumx = 3.0 m: minimum, U = −27 Jstable equilibriumU = 2.0x³ − 9.0x² (J). The force F = −dU/dx is zero where the slope of U is zero:maxima are unstable equilibria and minima are stable equilibria. Not to scale.
The slope of U gives the force. A minimum of U is a stable equilibrium and a maximum is unstable.
A ball oscillating in a potential wellAn animation of a ball rolling back and forth in a smooth potential well. It moves fastest at the bottom and stops momentarily at the two turning points, trading kinetic energy for potential energy while the total stays constant. The motion is switched off if your device is set to reduce motion.x = 0: lowest U, fastestAnimation (slowed down): the ball trades potential energy for kinetic energy.It is fastest at the bottom of the well and stops at the turning points.The total energy K + U stays constant.
Animation: a ball in a potential well trades potential energy for kinetic energy. It is fastest at the bottom and stops at the turning points.

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.

Speed of a car accelerating with constant powerA speed against time graph for a car accelerating from rest with a constant power of 60 kilowatts. The speed is proportional to the square root of time, reaching 31.6 meters per second at 10 seconds.t (s)v (m/s)31.6 m/s at 10 sA 1200 kg car with a constant power P = 60 kW: P = Fv = mv dv/dt givesv = √(2Pt ÷ m). The speed rises steeply at first, then more slowly. Not to scale.
A car with constant power reaches speed v = √(2Pt/m), which rises quickly at first and then more slowly.

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.

A potential energy curve with an unstable and a stable equilibriumA graph of potential energy against position for U equals 2.0 x cubed minus 9.0 x squared. The curve has a maximum at x equals 0, an unstable equilibrium, and a minimum at x equals 3.0 meters where U is minus 27 joules, a stable equilibrium.x (m)U (J)x = 0: maximum of Uunstable equilibriumx = 3.0 m: minimum, U = −27 Jstable equilibriumU = 2.0x³ − 9.0x² (J). The force F = −dU/dx is zero where the slope of U is zero:maxima are unstable equilibria and minima are stable equilibria. Not to scale.
Worked example 3: the maximum of U at x = 0 is unstable and the minimum at x = 3.0 m is stable.

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.

A force that decreases with positionA force against position graph for F equal to 12 minus 4.0 x newtons. The force is 12 newtons at x equals 0, falls to zero at 3.0 meters and becomes negative beyond that. The diagram is not to scale.x (m)F (N)123.06.0A 2.0 kg block starts from rest at x = 0 on a frictionless surface andfeels F = 12 − 4.0x (N). Not to scale.
Problem 1: the area above the axis is positive work and the area below it is negative work. The diagram is not to scale.

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.

A double-peaked potential energy curveA graph of potential energy against position for U equal to 4.0 x squared minus x to the fourth. There is a minimum at x equals 0 and a maximum on each side of it. The diagram is not to scale.x (m)U (J)U = 4.0x² − x⁴ (J). A 1.0 kg particle moves along the x axis.Find F(x), the equilibrium points and their stability. Not to scale.
Problem 2: the force is minus the slope of U. The diagram is not to scale.

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.

A car at constant speed against quadratic dragA car moving at a constant speed of 30 meters per second against a drag force equal to 0.50 times the square of the speed. The diagram is not to scale.carv = 30 m/sdragThe drag force is F = bv², with b = 0.50 kg/m. The car moves at a constant speed.Find the engine power at 30 m/s and at 60 m/s. Not to scale.
Problem 3: at constant speed the engine force equals the drag force. The diagram is not to scale.

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.

All AP Physics C: Mechanics lessons

Upload Documents for Study Materials

We'll generate notes, flashcards and quizzes from your document.

Drop your document here

PDF, Word (.docx), or Text files

Processing your document...

Generating study materials

Process YouTube Video

Paste a link to a revision video.

How it works

We'll extract the transcript from the YouTube video and generate study notes, flashcards, and quizzes.

Processing YouTube video...

Extracting transcript and generating study materials

Add New Badge

Create a badge to mark an achievement.

Are you sure?