Work–energy theorem for a variable force
Push a shopping trolley across a flat floor with a steady shove and the work-energy bookkeeping is a one-line multiplication: force times distance equals the gain in kinetic energy. But stretch a bow, compress a spring-loaded toy gun, or launch a rocket that loses mass and feels changing air drag, and the force refuses to sit still — it grows, shrinks, or reverses as the object moves. Does the tidy rule survive when the force itself is a moving target? It does — and proving that it does, cleanly, using nothing beyond the calculus you already have from the variable-force work topic, is the entire point of this article. The trick is a single, elegant substitution: instead of chasing force as a function of time, Newton's second law is rewritten so that velocity is treated as a function of position. That one move turns a hard problem — force changing continuously along a path — into an ordinary integral that any Class 11 student can evaluate, and it lands, remarkably, on exactly the same equation you already trust for constant forces. This matters far beyond the exam hall. Every spring, every bow, every rubber band, and even the thrust of a rocket burning fuel all deliver variable forces. If the work-energy theorem broke down every time a force changed with position, it would be almost useless — physics would need a different tool for every different kind of push. Instead, one theorem, proved once and for all in this article, quietly handles constant forces, spring forces, drag that grows with speed, and any force you can write down as a function of . You will derive it from scratch, apply it to a spring-launched block, and then push the idea further with a two-force competitive-level problem that mixes a variable spring force with constant friction — exactly the kind of combination that shows up in JEE and NEET mechanics.
- The work-energy theorem is not limited to constant forces — it holds for any force that depends on position, .
- The proof rewrites Newton's second law using (the chain rule), turning into .
- Evaluating that integral from to gives — identical in form to the constant-force result.
- To use the theorem for a variable force, first find (or the area under the – graph) for every force acting, then set the total equal to .
- Spring problems are the classic application: feeds directly into to give launch speeds.
- When more than one force acts — say a spring and friction — add the works algebraically (with correct signs) before equating the sum to ; this is where most marks are lost.
- Key idea: because , the work integral collapses to for any position-dependent force, so is a universal statement, not a constant-force special case.
Substituting into Newton's second law turns the work integral into , proving that holds for any force that varies with position, not just constant ones.
Where it fits in the syllabus
This article sits inside the CBSE Class 11 unit Work, Energy and Power, directly after the topic of computing work done by a variable force via and after the basic (constant-force) work-energy theorem. It generalises that constant-force result to any position-dependent force using only elementary integration — no vector calculus, no vector cross products, nothing beyond the algebra and single-variable integration already used for variable-force work. The syllabus expects you to follow the derivation, recognise it as a genuine extension (not a different theorem), and apply it to problems such as spring launches — including problems, like the competitive example below, that combine a variable force with a constant one such as friction.
The physical picture
Newton's second law connects force to acceleration at every instant: . When is constant, is constant too, and the constant-acceleration kinematics equations do all the work. But once varies with position — a spring pushing harder the more it is compressed, for instance — acceleration also varies with position, and stops being valid. The way out is a change of variable: instead of treating velocity as a function of time, treat it as a function of position, and let the chain rule connect the two.
where: is instantaneous acceleration, is instantaneous speed, is position along the line of motion, and is how quickly speed changes with position (not with time). Physically, this equation says nothing new about the motion — it is the same acceleration, just re-expressed in terms of how fast velocity is changing per metre travelled rather than per second elapsed. That re-expression is the whole trick: it lets force, which is naturally a function of position for springs and similar systems, sit next to a term that can be integrated directly. Substituting into gives , and multiplying both sides by turns the force-versus-position relationship into something you can integrate term by term as the particle moves from to , with matching speeds and :
where: the left-hand integral is the familiar area-under-the-–-graph definition of work; the right-hand integral is now purely in terms of speed, with the position variable having cancelled out entirely. This is the pivotal step — a hard geometric problem (area under a curved, changing force graph) has been converted into an easy algebraic one (integrating ).
Carrying out the right-hand integral term by term:
where: and are the initial and final kinetic energies. Since the left-hand side, , was defined as the work done by the net force, the result is exactly:
This is the same equation used for a constant force — the theorem's form never changed. What changed is only the recipe for computing : for a constant force it was ; for a variable force it is (an area, not a simple product). The physical content of the theorem — that the total work done on a particle by every force acting on it equals the change in its kinetic energy — is completely general, and it makes no reference at all to whether the force is constant or variable. That generality is exactly why the theorem is one of the most useful tools in mechanics: a single equation covers gravity, springs, friction, and any other force you can express as a function of position.
The goal of this derivation is to show, starting only from Newton's second law and the definition of work as an integral, that the relation holds exactly for a particle moving under any force that depends on position alone — not merely for the special case of a constant force — using nothing beyond the chain rule and a single elementary integral, so that the same theorem already trusted for constant-force problems can be applied without modification to springs, variable drag, and any other position-dependent push or pull.
Step 1. Start from Newton's second law for a particle of mass moving along the x-axis under a net force that may depend on position: , where is the instantaneous acceleration.
Step 2. Rewrite the acceleration using the chain rule so that it is expressed in terms of position instead of time: , since is simply the velocity . This substitution is valid at every instant of the motion and introduces no approximation.
Step 3. Substitute this expression for into Newton's second law to get , a relation that ties the force directly to how velocity changes with position — exactly the form needed to combine with the definition of work as .
Step 4. Write the work done by this force as the particle moves from position (with speed ) to position (with speed ): .
Step 5. Cancel the against the inside , changing the variable of integration from position to speed: . Position has disappeared from the integral entirely — the work now depends only on the initial and final speeds, whatever twisting path took to produce them.
Step 6. Evaluate this elementary integral: .
Step 7. Recognise the two terms as kinetic energies, and , so that . Since no assumption was made anywhere about being constant — only that it could be written as some function — this result, , holds for any position-dependent force, completing the generalisation of the work-energy theorem.
Worked examples
Board level - variable force
A particle of mass moves along the x-axis under a force , with measured in metres. It starts at with speed . Find its speed at .
Step 1. Compute the work done using the integral definition: .
Step 2. Apply the (variable-force) work-energy theorem just derived: .
Step 3. Compute the initial kinetic energy: .
Step 4. Solve for the final kinetic energy, then the final speed: , so .
Competitive level - spring launch followed by a frictional floor
A spring with force constant is compressed by and released, pushing a block that starts at rest against it. The spring section of the floor is frictionless, but beyond the spring's natural length the floor has friction with coefficient . Find (a) the block's speed as it leaves the spring, and (b) how far it slides before stopping.
Step 1. Find the work done by the spring as it expands from compression to its natural length, using (the area under the spring's – graph): .
Step 2. Apply the work-energy theorem for this stage, with (block starts at rest) and no friction yet acting: .
Step 3. Solve for the launch speed: , answering part (a).
Step 4. For part (b), treat the frictional stretch as a second stage where the only force doing work is friction, which is constant in magnitude but always opposes motion: , so for a sliding distance .
Step 5. Apply the work-energy theorem to this second stage, starting from the kinetic energy found in Step 3 and ending at rest: .
Step 6. Solve for the sliding distance: , answering part (b). Notice how the same theorem handled the variable spring force in Steps 1-3 and the constant friction force in Steps 4-6, simply by recomputing with the method appropriate to each force and applying separately at each stage. Timing note: budget about 3-4 minutes for the launch-speed part alone in a board exam; a full two-stage problem like this, worth 4-5 marks in JEE Main-style tests, should take no more than 5-6 minutes if you keep the two stages clearly separated on paper rather than trying to merge them into one energy equation.
Common traps
- Believing the work-energy theorem is a "constant-force-only" formula — the derivation above proves it explicitly for any ; only the method of computing changes, never the theorem itself.
- Reaching for or other constant-acceleration kinematics when the force (and hence acceleration) varies with position — those equations are simply invalid here; only the work-energy theorem or a fresh integration of Newton's law will work cleanly.
- Sign errors in before integrating, especially forgetting the minus sign in a restoring force like — this silently flips the sign of the computed work.
- Treating a multi-force, multi-stage problem (like the competitive example) as a single energy equation instead of tracking each stage's net work separately — mixing a spring stage and a friction stage into one line is the single most common way marks are lost on this topic.
- Forgetting that "net" work means the sum of the work done by every force acting, not just the one force that happens to be varying — a constant force like gravity or friction alongside a variable one must still be added in.
You should be able to…
- Derive for a position-dependent force starting from and the chain-rule substitution .
- Explain why the integral collapses to and why position drops out of the final result.
- Compute the work done by a stated variable force using , and apply the theorem to find an unknown speed or position.
- Recognise that has exactly the same form for constant and variable forces — only the recipe for differs.
- Handle multi-stage problems where a variable force (like a spring) and a constant force (like friction) act in sequence, applying the theorem stage by stage.
- Spot and avoid the classic sign error that comes from mishandling a restoring force such as .
Ask the tutor: Want to see the chain-rule substitution worked through slowly with a diagram, or try a fresh variable-force problem of your own to check you can apply the three-step recipe?
If the theorem works for any force, why do textbooks even bother deriving the constant-force version separately?
Mostly for pedagogical order — the constant-force proof uses only algebra ( combined with ), which is introduced before integration, so it is taught first as a warm-up. Once you have integration, the variable-force derivation in this article supersedes it: setting equal to a constant in the general proof reproduces the earlier constant-force result exactly. There are not two theorems, only one theorem proved at two different levels of mathematical tool.
Does this theorem tell me the direction of motion or just the speed?
Just the speed (or, equivalently, the magnitude of kinetic energy change) — kinetic energy is , which depends on and therefore cannot distinguish a particle moving in the direction from one moving in the direction with the same speed. If a question asks for velocity as a vector (direction included), you need extra information from the problem, such as which way the particle was pushed, not the work-energy theorem alone.
Can I use this theorem when friction is also acting, since friction is not really "position-dependent" in the same way as a spring?
Yes — friction's magnitude is usually constant while it acts (as in the competitive example above), which makes it a special, simple case of a force that could still be written as a function of (a constant function). The general theorem never required to actually vary; it only required that a work integral could be written down. Add the work done by friction (, since friction always opposes displacement) to the work done by any other forces present, and set that total equal to .
Is there a shortcut so I don't have to redo the full derivation every time in an exam?
For applying the theorem to a problem, no — you just quote the two-step recipe: compute (or add up the areas under each force's – graph) for every force acting, then set the sum equal to . The full chain-rule derivation shown above is worth memorising step-by-step only because CBSE board papers sometimes ask you to "derive the work-energy theorem for a variable force" as a standalone 3-5 mark question, separate from any numerical problem.