A robot fixture's spring can move another two millimeters without starting from zero force. If it is already preloaded, calculating the added spring energy from only one-half stiffness times the new travel squared omits part of the work.
The missing part comes from the force that existed before the additional movement. Resetting a displacement display to zero at that point changes a coordinate label. It does not unload the spring.
OpenStax's work and potential-energy sections define Hooke's law relative to the unstretched position and give spring-energy differences between two positions. The fixture, forces, and displacements below are original idealized examples, not a measured device or a permissible loading procedure.
Retain two displacement references
Consider a single ideal linear spring with stiffness k = 10 N/mm. Let x be compression from its unstressed length, measured positively in the compression direction. Restrict the example to positive compression and assume reversible behavior, no friction, no damping, and no coil contact or geometric change.
The external quasistatic force needed to balance the spring is F = kx in the compression direction. The spring's own force points oppositely. The stored elastic energy is U = one-half kx², with zero energy chosen at the unstressed length.
Now declare an initial compression x0 = 3 mm. The spring is already carrying F0 = kx0 = 30 N. Define additional travel delta so x = x0 + delta.
Delta is zero at the preloaded position. It is not the same coordinate as x. Every later force or energy expression must retain that distinction.
The local force line has an intercept
Substitution gives F(delta) = k(x0 + delta) = F0 + k delta. The slope of force versus additional travel is still 10 N/mm, while its intercept is 30 N.
For an additional 2 mm, final compression is 5 mm and final force is 50 N. The force increased by 20 N, but it was not a force rising from zero to 20 N throughout the loading step.
Measuring the same incremental stiffness before and after preload therefore does not establish the same absolute force. A derivative describes the slope at a reference; it does not supply a missing intercept.
In this ideal linear example, preload changes the intercept without changing the slope. Real mechanisms can have additional effects, but none is assumed by this calculation.
Integrate the total force over the added travel
For quasistatic motion, external work stored in the spring is the integral of F0 + k delta over the additional displacement. From zero to a final delta, this gives:
Delta U = F0 delta + one-half k delta².
For the 2 mm step, the preload term is 30 × 2 = 60 N·mm. The changing-force term is one-half × 10 × 2² = 20 N·mm. Total added energy is 80 N·mm, or 0.080 J.
The conversion matters: one N·mm is 0.001 J. Keeping millimeters in the stiffness and displacement is convenient, but the final work remains force times distance.
The same result follows from the original energy reference:
Delta U = one-half × 10 × (5² − 3²) = 80 N·mm.
The initial energy was 45 N·mm and the final energy is 125 N·mm. Their difference is the energy added during the step. Reporting the final total as the added energy would make a different accounting error.
A triangle alone answers a different question
Using only one-half k delta² would give 20 N·mm. It is the triangular area under the increment of force, F − F0, rather than the full area under F.
The omitted rectangle, F0 delta, is not an arbitrary energy constant. It changes with travel and contributes 60 N·mm in this example. Adding a constant to the energy zero cannot remove that term from the spring's physical energy difference.
Compare another initial compression of 1 mm, followed by the same 2 mm additional movement. Initial force is now 10 N and final force is 30 N. Added spring energy is 10 × 2 + 20 = 40 N·mm.
Both cases have the same stiffness and added travel. Their different preload forces produce different work. This is why an incremental travel record needs its starting load or absolute spring reference.
Separate spring energy from a larger system's energy
A constant external bias force can make the triangular expression useful for another defined boundary. Suppose an ideal constant-force source supplies 30 N in the compression direction while a separate actuator supplies only the increasing force above that bias.
During the 2 mm step, the constant-force source does 60 N·mm of work. The separate actuator does 20 N·mm. Together they supply the 80 N·mm increase in spring energy.
Equivalently, including the constant-force source's potential gives an effective potential whose change about the balanced position is one-half k delta². That is a property of the combined system, rather than a replacement for the spring energy alone.
The boundary must say which force source is counted. If one actuator supplies the complete 30-to-50 N balancing force, its ideal quasistatic work is the full 80 N·mm instead.
Unloading also preserves the reference
Start again at x0 = 3 mm and move delta = −1 mm, ending at 2 mm compression. The spring-energy change is one-half × 10 × (2² − 3²) = −25 N·mm.
The local expression agrees: 30 × (−1) + one-half × 10 × (−1)² = −25 N·mm. The negative sign means the spring releases energy in this reversible model.
Using only the squared travel would instead give positive 5 N·mm, losing both the preload contribution and the sign of the actual energy change. Squaring an incremental displacement is not a substitute for defining the two endpoint states.
Holding position supplies no additional travel work, even though stored energy and force remain. It does not follow that an actual holding actuator consumes no electricity; electrical losses are outside this mechanical model.
Interpret a preloaded fixture through its boundaries
These calculations describe ideal spring work, not strength, fatigue, contact force approval, or robot behavior. A real force-displacement curve can include hysteresis, nonlinear geometry, or loss of contact that invalidates the assumed linear branch.
The useful record retains unstressed compression, the preload force, added travel, and the energy boundary. Those definitions distinguish the spring's added energy from an incremental-force triangle and from energy supplied by each surrounding force source.
Sources checked October 23, 2026: OpenStax, University Physics Volume 1, Section 7.1 Work, Hooke's law and variable-force work, publisher web edition as accessed: https://openstax.org/books/university-physics-volume-1/pages/7-1-work
OpenStax, same volume, Section 8.1 Potential Energy of a System, elastic energy difference: https://openstax.org/books/university-physics-volume-1/pages/8-1-potential-energy-of-a-system
Illustration note: A generic end-effector or fixture image is a concept illustration. It does not depict the assumed spring, a measured preload, or validated loading capacity.