Work by a Variable Force & F–x Graphs

Draw a bow. The first centimetre comes easy; by full draw your fingers hold something like 150 newtons, and every centimetre along the way demanded a different force. Now the exam question: how much energy is stored, waiting in the limbs for the arrow? The formula from last module, W=Fdcos⁡θW = Fd\cos\theta, stalls immediately — there is no single FF to plug in. The force changed along the path, and constant-force work was built for forces that hold still. The fix is one of the loveliest moves in physics, and it needs no calculus to use: draw the graph of force against position, and the work is the area under the curve. A constant force draws a rectangle — area F×dF \times d, the old formula recovered as a special case. The bow and the spring draw a rising straight line — a triangle, whose area 12×x×kx\tfrac12 \times x \times kx hands you the spring energy 12kx2\tfrac12 kx^2 without integrating anything. Forces that dip below the axis contribute negative area, draining energy exactly as the sign dial promised. Every graph question in this module — and boards from CBSE to AP love graph questions — is area-counting with a sign. This module builds the area rule honestly from strips, drills the spring results that power half the energy chapter (including the classic trap: work between two stretches is not 12k(x2−x1)2\tfrac12 k(x_2 - x_1)^2), and shows the calculus idea behind the rule — as an idea, never as a requirement.

Key takeaways
  • When force varies with position, work is the area under the F–x graph between start and finish — signed: area below the axis counts negative.
  • Constant force: rectangle, W=FdW = Fd — last module recovered as a special case.
  • Stretching a spring from natural length by xx: the graph F=kxF = kx makes a triangle, so W=12kx2W = \tfrac12 kx^2 (done on the spring; the spring itself does −12kx2-\tfrac12 kx^2).
  • Between two stretches: W=12k(x22−x12)W = \tfrac12 k(x_2^2 - x_1^2) — the difference of squares, never 12k(x2−x1)2\tfrac12 k(x_2 - x_1)^2.
  • The second centimetre of stretch costs more than the first: spring work grows quadratically, so equal steps of xx cost ever more energy.
  • The area rule is the shadow of calculus — W=∫F dxW = \int F\,dx — used here as a picture, never as a required tool.
  • Key idea: chop the path into slices where the force is nearly constant, add the slivers of work, and the sum is the area under the force–position graph — with its sign.
The core insight

For a force that changes along the path, work is computed by slicing: each thin slice of path contributes (local force) × (slice length), and the slices sum to the signed area under the force–position graph — a rule that reduces to FdFd for constant forces and yields 12kx2\tfrac12 kx^2 for springs from a triangle's area alone.

Where this lives today

Engineers still read work straight off areas. An engine's indicator diagram — pressure against piston position — encloses an area that is literally the work delivered per cycle; a century of steam and diesel tuning was done by measuring that loop with a planimeter, and modern engine-management software computes the same area digitally every few cycles. Archery and bow design live on measured force–draw curves: the energy delivered to the arrow is the area under the curve, and compound bows are engineered to reshape the curve (heavy early draw, light hold at full extension) so the same peak force encloses more area than any simple bow. Vehicle crashworthiness is the rule run in reverse — crumple zones are designed force–distance profiles whose area must absorb the crash's energy at survivable force levels. And atomic force microscopes measure genuine nano-scale FF–xx curves of single molecules being unfolded — the area under one pull is the work to unfold one protein, a spring diagram four decades of physics after Hooke would still recognize.

The physical picture

Why should an area equal an energy? Because of what a graph's little rectangles mean. Take the force–position graph of any journey and slice the distance axis into thin strips of width Δx\Delta x. Within one strip, the force barely changes — call it F1F_1 there. The work done crossing that strip is (nearly) F1 ΔxF_1\,\Delta x: a number that is also the area of the thin rectangle of height F1F_1 and width Δx\Delta x sitting under the curve. Work-per-strip equals area-per-strip; total work equals total area. Make the strips thinner and "nearly" becomes "exactly".

Figure
Hero — slicing a varying force: each strip's work is its area, so the total work is the area under the curve
position x force F slice Δx F here work in one slice ≈ F · Δx = area of that strip total work = total area Thinner slices → the staircase hugs the curve exactly. This limiting idea is what calculus calls an integral.

Two features of the rule do all the exam work:

The sign rides along. If the force points against the motion over some stretch — the graph dips below the xx-axis — each strip's contribution F ΔxF\,\Delta x is negative, and that region's area counts negative. A graph that encloses +30+30 J of area, then −10-10 J, has done +20+20 J of net work. Boards draw these mixed graphs deliberately: the skill being tested is signed area-counting, not geometry.

Simple shapes are the whole syllabus. At this level every graph decomposes into rectangles, triangles and trapeziums — because the physics of interest (constant forces, springs, linearly fading pushes) draws exactly those shapes. The one shape you must own completely is the spring's triangle, built next.

The math: the rule and the spring

The area rule, stated with its slicing pedigree:

W=signed area under the F–x graph  =  lim⁡Δx→0∑F Δx(1)W = \text{signed area under the } F\text{–}x \text{ graph} \;=\; \lim_{\Delta x \to 0}\sum F\,\Delta x \qquad (1)

where: the limit-of-a-sum is the idea of the integral ∫F dx\int F\,dx — CBSE and JEE expect you to recognize the notation and the idea; no exam at this level asks you to integrate anything the geometry cannot do. For a constant force the graph is a horizontal line: the area is a rectangle, W=FdW = Fd, and last module is a corollary of this one. The spring, stretched slowly from natural length by xx: Hooke's law says the force you must apply grows as F=kxF = kx — a straight line through the origin. The area under it is a triangle of base xx and height kxkx:

Won spring=12 x⋅kx=12kx2(2)W_{\rm on\ spring} = \tfrac12\,x \cdot kx = \tfrac12 k x^2 \qquad (2)

where: the half is the triangle's half — the average force during the stretch was 12kx\tfrac12 kx (average of 00 and kxkx, legitimate because the growth is linear), times distance xx. This energy sits stored in the spring, and the spring's own force (equal and opposite to yours) did −12kx2-\tfrac12 kx^2 on your hand. Compression by the same ∣x∣|x| costs the same: the formula sees x2x^2 and cannot tell stretch from squash. Between two extensions x1→x2x_1 \to x_2, the area is a trapezium — triangle minus triangle:

W=12kx22−12kx12=12k (x22−x12)(3)W = \tfrac12 k x_2^2 - \tfrac12 k x_1^2 = \tfrac12 k\,(x_2^2 - x_1^2) \qquad (3)

where: the difference of squares, not the square of the difference — the single most-harvested trap in this module. Stretching a k=200k = 200 N/m spring from 0.10.1 to 0.20.2 m costs 12(200)(0.04−0.01)=3\tfrac12(200)(0.04 - 0.01) = 3 J, while the first 0.10.1 m cost only 11 J: the same centimetres get more expensive the farther out you buy them, because the opposing force out there is stiffer.

graph shapeforce storywork
horizontal lineconstant forcerectangle: FdFd
line through origin, slope kkspring from natural lengthtriangle: 12kx2\tfrac12 kx^2
line between x1,x2x_1, x_2spring between stretchestrapezium: 12k(x22−x12)\tfrac12 k(x_2^2 - x_1^2)
line hitting zero and going belowfading push, then oppositionpositive area, then negative — subtract
any curvegeneral variable forcecount signed area (slices/squares)
Derivation AThe area rule from strips — and why the sign takes care of itself

We derive rule (1) honestly: work done by a position-dependent force F(x)F(x) over a straight path equals the signed area under its graph. The tools are only the constant-force definition from last module and patience with slices; the calculus arrives at the end as a name for what we did, not as a method we needed.

Step 1. Chop the journey from x=ax = a to x=bx = b into NN slices of width Δx=(b−a)/N\Delta x = (b-a)/N. Within slice ii, the force is as good as constant — pick its value FiF_i anywhere in the slice; for thin slices the choice cannot matter.

Step 2. Constant-force work applies inside one slice (that is the only place we use last module): Wi≈Fi ΔxW_i \approx F_i\,\Delta x. Geometrically, WiW_i is the area of the rectangle of height FiF_i standing on slice ii — including its sign: where the force opposes the motion, Fi<0F_i < 0, the "rectangle" hangs below the axis, and its contribution is negative with no extra bookkeeping.

Step 3. Add the slices:

W≈∑i=1NFi ΔxW \approx \sum_{i=1}^{N} F_i\,\Delta x

— the area of the staircase of rectangles hugging the curve.

Step 4. Refine. Doubling NN halves each error (the sliver between staircase and curve shrinks with Δx\Delta x), and in the limit of ever-thinner slices the staircase area becomes the area under the curve:

W=lim⁡Δx→0∑F Δx  ≡  ∫abF dxW = \lim_{\Delta x \to 0}\sum F\,\Delta x \;\equiv\; \int_a^b F\,dx

Why the last symbol is only a name here: the elongated S is literally "sum" — Leibniz's stretched-out summa — and everything an HS exam asks of it is answered by the geometry of rectangles, triangles and trapeziums. When the curve is genuinely curvy (an F∝x2F \propto x^2 graph), boards either give you the area, give you countable grid squares, or are writing a calculus question for a later course. *Verified: constant force F0F_0: every slice contributes F0ΔxF_0\Delta x, total F0(b−a)=FdF_0(b-a) = Fd ✓ — the rectangle. Linear force: the staircase over a triangle converges to 12(base)(height)\tfrac12(\text{base})(\text{height}), matching derivation B's result ✓. Mixed-sign graph: a +30+30 J lobe followed by a −10-10 J lobe nets +20+20 J, matching slice-by-slice addition ✓. Treatment as in NCERT Ch. 6, Halliday Ch. 7.*

Go deeper · Derivation B · 2 minThe spring's triangle — half k x squared, and the between-stretches law
Derivation BThe spring's triangle — half k x squared, and the between-stretches law

We derive the spring results (2) and (3) purely from the area rule, then stress-test them against the trap that catches half of every cohort. Setup: a spring of constant kk, stretched slowly (so the applied force always just balances kxkx — no leftover force, no kinetic energy sneaking in).

Step 1. The applied-force graph is F=kxF = kx: a straight line from the origin with slope kk. From natural length to extension xx, the region under the graph is a right triangle — base xx, height kxkx:

Won spring=12×x×kx=12kx2W_{\rm on\ spring} = \tfrac12 \times x \times kx = \tfrac12 kx^2

Why an average-force shortcut also works here — and only here: the force grew linearly from 00 to kxkx, so its honest average is 12kx\tfrac12 kx, and (average force) × (distance) reproduces the triangle. For any nonlinear force, the naive average of endpoints lies, and only the area tells the truth.

Step 2. The spring's own work. By Newton's third law the spring pulls back with −kx-kx while your hand moves forward: its graph is the mirror line below the axis, its area is negative:

Wby spring=−12kx2W_{\rm by\ spring} = -\tfrac12 kx^2

Energy stored in the spring = work done on it = +12kx2+\tfrac12 kx^2, recoverable on release — the elastic potential energy of the next modules.

Step 3. Between extensions x1x_1 and x2x_2: the region is the big triangle minus the small one,

W=12kx22−12kx12W = \tfrac12 kx_2^2 - \tfrac12 kx_1^2

Geometrically it is a trapezium of width (x2−x1)(x_2 - x_1) and parallel sides kx1kx_1, kx2kx_2 — its area, 12(kx1+kx2)(x2−x1)\tfrac12(kx_1 + kx_2)(x_2 - x_1), multiplies out to the same difference of squares.

Step 4. Execute the trap formula. Candidate: W12k(x2−x1)2W \overset{?}{=} \tfrac12 k(x_2 - x_1)^2. Limit check (the technique module's habit): let x1=x2x_1 = x_2 — both give zero ✓, the engineered tie. Now x1=0x_1 = 0: truth gives 12kx22\tfrac12 kx_2^2; candidate gives 12kx22\tfrac12 kx_2^2 ✓ — survives again! Third dial, numbers: k=200k = 200, x1=0.1→x2=0.2x_1 = 0.1 \to x_2 = 0.2: truth =3= 3 J; candidate =12(200)(0.01)=1= \tfrac12(200)(0.01) = 1 J ✗ — dead. The candidate treats the second stretch as if it started from a relaxed spring, forgetting that the force out at x1x_1 is already kx1kx_1, not zero. Verified: k=200k = 200 N/m: first 0.1 m costs 1 J; 0.1→0.2 m costs 3 J; total 0→0.2 m = 4 J =12(200)(0.04)= \tfrac12(200)(0.04) ✓ — the pieces add. Compression symmetry: (−x)2=x2(-x)^2 = x^2 ✓. Limits: k→0k \to 0 (no spring) → no work ✓; doubling xx quadruples the store ✓.

Figure
The spring's ledger — a triangle for the first stretch, a trapezium between stretches
extension x F = kx x1 x2 triangle: ½ k x1² trapezium: ½ k (x2² − x1²) NOT ½ k (x2 − x1)² the line climbs, so the same Δx bought farther out costs more energy - equal steps, rising price: the quadratic ledger of springs All spring-work questions are areas of these two shapes with signs attached

Limiting cases

caseresultmeaning
FF constantarea = rectangle = FdFdlast module recovered as a special case
x→2xx \to 2x (spring, from natural length)W→4WW \to 4Wquadratic ledger: double stretch, quadruple energy
x1=x2x_1 = x_2W=0W = 0no net stretch, no net work — trapezium collapses
x1=0x_1 = 0(3) → (2)the between-law contains the from-scratch law
stretch →\to equal compressionsame WWx2x^2 is blind to direction
force dips below the axisthat lobe counts negativesigned area = the sign dial, automated
slices Δx→0\Delta x \to 0staircase → curvethe definition of the integral, as a picture

Worked examples

1 · Board level — counting a mixed graph (CBSE/AP pattern, 3 marks)

A force acting along a straight track varies with position as follows: F=+10F = +10 N from x=0x = 0 to 33 m; then FF falls linearly to zero at x=5x = 5 m; then F=−5F = -5 N from x=5x = 5 to 77 m. Find the work done over the full 7 m.

Step 1. Decompose into shapes. Region A (00–33 m): rectangle, WA=10×3=+30W_A = 10 \times 3 = +30 J.

Step 2. Region B (33–55 m): triangle from 1010 N down to 00, base 22 m: WB=12×2×10=+10W_B = \tfrac12 \times 2 \times 10 = +10 J.

Step 3. Region C (55–77 m): rectangle below the axis: WC=(−5)×2=−10W_C = (-5) \times 2 = -10 J — signed, no exceptions.

Step 4. Total: W=30+10−10=+30 JW = 30 + 10 - 10 = \boxed{+30\ \mathrm{J}}. State the reading for the last mark: the force fed in 40 J over the first five metres, then drained 10 J over the last two.

2 · Board level — the spring's quadratic ledger (CBSE/ISC pattern)

A spring of constant k=200k = 200 N/m is stretched slowly. Find the work needed (a) from natural length to 0.100.10 m, (b) from 0.100.10 m to 0.200.20 m. (c) Why is (b) larger?

Step 1. (a) Triangle: W=12kx2=12(200)(0.01)=1.0 JW = \tfrac12 kx^2 = \tfrac12 (200)(0.01) = \boxed{1.0\ \mathrm{J}}.

Step 2. (b) Difference of squares: W=12(200)(0.202−0.102)=100×0.03=3.0 JW = \tfrac12 (200)(0.20^2 - 0.10^2) = 100 \times 0.03 = \boxed{3.0\ \mathrm{J}}.

Step 3. Check the sum: 0→0.200 \to 0.20 m directly costs 12(200)(0.04)=4.0\tfrac12(200)(0.04) = 4.0 J =1+3= 1 + 3 ✓ — areas add, as areas must.

Step 4. (c) Because the opposing force is larger throughout the second interval (it starts at 2020 N and ends at 4040 N, versus 00 to 2020 N in the first): same distance, stiffer resistance, triple the price. On the graph: trapezium beats triangle.

3 · Competitive level — a force that turns against you (JEE-Main pattern, ~2.5 minutes)

A body moves along the x-axis under a single force F=(10−2x)F = (10 - 2x) N (x in metres). Find (a) the work done from x=0x = 0 to x=5x = 5 m, (b) the work from x=5x = 5 to x=7x = 7 m, (c) the net work over the 7 m.

Step 1. The graph is a straight line: +10+10 N at x=0x=0, zero at x=5x = 5, negative beyond. Decompose by sign, not by habit.

Step 2. (a) Positive triangle, base 5, height 10: W=12(5)(10)=+25 JW = \tfrac12(5)(10) = \boxed{+25\ \mathrm{J}}.

Step 3. (b) Below-axis triangle from x=5x=5 to 77: the force reaches 10−14=−410 - 14 = -4 N at x=7x = 7; area =12(2)(−4)=−4 J= \tfrac12(2)(-4) = \boxed{-4\ \mathrm{J}}.

Step 4. (c) Net: 25−4=+21 J25 - 4 = \boxed{+21\ \mathrm{J}}. Structural read: x=5x = 5 m is where the force — and therefore the object's gain — turns; JEE's favourite follow-up, "where is the kinetic energy maximum?", is answered by exactly that turning point (the work–energy theorem, next module, cashes this in). Timing note: ~2.5 min. Linear-force problems are always two triangles; find the zero-crossing first (F=0F = 0 at x=5x = 5) and the geometry does the rest. Integrating 10−2x10 - 2x term by term gets the same numbers and is fine if you know calculus — but the picture is faster and immune to sign slips.

4 · Competitive level — same force versus same stretch (JEE-Main/NEET conceptual, ~3 minutes)

Two springs have constants k1=100k_1 = 100 N/m (soft) and k2=400k_2 = 400 N/m (stiff). Compare the work stored when each is (a) stretched by the same x=0.2x = 0.2 m, (b) stretched by the same force F=40F = 40 N. State which spring stores more in each case.

Step 1. (a) Same stretch: W=12kx2W = \tfrac12 kx^2 with xx fixed — work scales with kk. Soft: 12(100)(0.04)=2\tfrac12(100)(0.04) = 2 J; stiff: 12(400)(0.04)=8\tfrac12(400)(0.04) = 8 J. The stiff spring stores more (it fought harder over the same distance).

Step 2. (b) Same force: each spring stretches to its own x=F/kx = F/k. Substitute into 12kx2\tfrac12 kx^2: W=12k(Fk)2=F22kW = \tfrac12 k\left(\dfrac{F}{k}\right)^2 = \dfrac{F^2}{2k} — work scales as 1/k1/k.

Step 3. Soft: 402200=8\dfrac{40^2}{200} = 8 J; stiff: 1600800=2\dfrac{1600}{800} = 2 J. The soft spring stores more (the same 40 N dragged its hook four times farther: 0.4 m versus 0.1 m).

Step 4. The memorable inversion: same stretch → stiff wins; same force → soft wins — both from one formula read through the right variable. The two forms 12kx2\tfrac12 kx^2 and F2/2kF^2/2k are the same energy wearing different clothes (F=kxF = kx converts them). Timing note: ~3 min, and thereafter ~30 s for life: this comparison pair is recycled across JEE-Main, NEET and board assertion–reason questions in identical form. Deriving F2/2kF^2/2k once is the whole battle.

Exam traps

The difference-of-squares trap. Wx1→x2=12k(x22−x12)W_{x_1 \to x_2} = \tfrac12 k(x_2^2 - x_1^2), never 12k(x2−x1)2\tfrac12 k(x_2 - x_1)^2. Big triangle minus small triangle. This single line is worth more marks than any other in the module.

Unsigned areas. Area below the axis is negative work — always. A graph question with a dip is testing your sign, not your geometry.

Plugging the final force. W≠Ffinal×dW \ne F_{\rm final} \times d for a varying force: that rectangle overshoots the triangle by a factor of 2 on a spring. The endpoint-average shortcut (12(Fi+Ff)d\tfrac12(F_i + F_f)d) is legal for linear forces only — for anything curved, the area alone is honest.

Whose work? Work done on the spring (+12kx2+\tfrac12 kx^2) versus by the spring (−12kx2-\tfrac12 kx^2): opposite signs, one third-law pair. Read the question's preposition before writing the sign.

Stretch versus position. The xx in 12kx2\tfrac12 kx^2 is extension from natural length, not coordinate position and not total spring length. A spring already stretched at "equilibrium under load" measures its energy from natural length still.

Compression is not negative. xx enters squared: compressing by 0.1 m stores the same ++ energy as stretching by 0.1 m. "Negative extension" never gives negative stored energy.

Axis literacy. Check units and scales before counting squares — a grid square of (2 N) × (0.5 m) is 1 J, not 1 unit. AP and CBSE both set graphs where the grid is the whole question.

Slow stretching assumed. 12kx2\tfrac12 kx^2 counts the work stored when the pull just balances kxkx throughout. Yank the spring fast and your extra work goes into kinetic energy of the moving parts — exam phrasing "slowly" or "gradually" is the licence for the triangle.

Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
GW
Gottfried Wilhelm Leibniz
1646–1716 · Leipzig, Paris & Hanover

Leibniz built the notation this module quietly runs on. His integral sign — the elongated S of summa, first written in a 1675 manuscript — was chosen to say exactly what our strips say: an integral is a sum of vanishingly thin contributions, area accumulated slice by slice. He fought Europe's philosophers (and Newton's partisans) on two fronts at once: over the calculus, and over vis viva — his claim that the true measure of motion is mv2mv^2, the quantity a raised weight or a compressed spring can bank and repay. Both campaigns meet in this module: the spring's stored 12kx2\tfrac12 kx^2 is vis viva's ledger entry, and the area under FF–xx is his integral doing the accounting. The notation won so completely that we teach his symbols even before teaching the calculus they encode — as this module just did.

History
1660
— Hooke states his spring law (published 1678 from the anagram ceiiinosssttuv): force proportional to extension — the straight-line graph.
1675
— Leibniz introduces the integral sign ∫, a stretched "summa": areas as sums of strips.
1686
— Leibniz's vis viva controversy begins: is motion's currency mv or mv²? Springs and raised weights say the square.
1829
— Coriolis defines work as force through distance, making the F–x area an energy by definition.
1855
— Watt-style engine indicator diagrams become standard practice: the enclosed area of a pressure–volume trace IS the work per cycle, read by planimeter.

Going further

Texts. NCERT Physics Class 11, Ch. 6 (the variable-force section and spring energy) · HC Verma, Concepts of Physics Vol. 1, Ch. 8 · Halliday–Resnick–Walker Ch. 7 (the spring-work and integral treatment this module downshifts).

Provenance. All results are standard. A verifier should recompute: example 1's areas (+30+10−10=+30+30 + 10 - 10 = +30 J); the spring ledger (11 J, 33 J, sum 44 J at k=200k = 200); example 3's triangles (+25+25, −4-4, net +21+21 J with zero-crossing at x=5x = 5); example 4's inversion (22 vs 88 J same-stretch; 88 vs 22 J same-force via F2/2kF^2/2k); the trap execution in derivation B (candidate passes two dials, dies on the 1-vs-3 J number).

Prerequisites. Work Done by a Force · Spring Force & Hooke's Law · Velocity–Time Graphs (area-reading craft). Leads to. Kinetic Energy & the Work–Energy Theorem · Potential Energy: Gravitational & Elastic · Block Meets Spring · Work as a Line Integral (UG deep dive).

Why is the work "the area under the graph"? Areas are geometry, work is energy — the units don't even look right.

The graph's area is not centimetres of paper — it carries the axes' units. A strip of height FF (newtons) and width Δx\Delta x (metres) has "area" FΔxF\Delta x in newton-metres, which is joules. Area under a velocity–time graph is displacement (m/s × s) by the same logic; under acceleration–time, velocity change. The geometry is a calculating device; the units ride on the axes.

Do I need calculus for this module in an exam?

No — and that is a design fact about the exams, not a simplification. Every variable-force question at board/JEE-Main level draws shapes you can measure: rectangles, triangles, trapeziums, or grids to count. What you must recognize is the notation ∫F dx\int F\,dx and the idea (limit of a sum of strips), because question stems use the symbol. If you do know calculus, integrating is legal and sometimes faster — the answers are identical because the integral is defined as exactly the area you would have counted.

Where does the ½ in ½kx² physically come from?

From the fact that the spring starts easy. The first millimetre of stretch meets almost no opposition; the last meets the full kxkx. The honest price is the average — and for a force growing linearly from 00 to kxkx, the average is exactly half the final force. Multiply 12kx\tfrac12 kx by the distance xx: the half survives into 12kx2\tfrac12 kx^2. Geometrically it is nothing deeper than a triangle being half its bounding rectangle.

Why does stretching the second centimetre cost more than the first? The spring is the same spring.

The spring is the same; the starting force is not. At extension x1x_1 the spring already pulls back with kx1kx_1, so the next centimetre is fought against forces between kx1kx_1 and kx1+kδkx_1 + k\delta — all larger than anything the first centimetre faced. Equal distances, rising prices: that is precisely what a rising FF–xx line means, and why spring energy is quadratic rather than proportional in the stretch.

What's the difference between the work done on the spring and by the spring?

Sign, and only sign. Your hand's force and the spring's force are a third-law pair acting through the same displacement, so their works are opposite: you do +12kx2+\tfrac12 kx^2 on the spring; it does −12kx2-\tfrac12 kx^2 on you. The positive entry becomes stored (potential) energy in the spring; on release, the spring's force and the motion align, its work turns positive, and the store is repaid. Exams flip the preposition mid-problem — reread "on/by" before every sign.

Does the area rule work if the object speeds up or slows down along the way?

Yes — nothing in the slicing argument mentioned speed. Work depends on force and position, not on the schedule of the trip. What speed does control is where the energy shows up: the next module's work–energy theorem says the net area equals the change in kinetic energy, so a graph's turning points (force crossing zero) mark the speed extremes. In example 3, the body is fastest exactly at x=5x = 5 m.

What if the force depends on speed or time instead of position?

Then the FF–xx area rule needs care: drag forces (speed-dependent) still do work equal to the area under their force–position trace for the actual trip taken, but that trace is no longer known in advance — it depends on the motion. Time-dependent forces are handled through impulse (force–time area gives momentum change, a different ledger). At this level, variable-force work means position-dependent forces — springs, fading pushes, gravity over large distances (the gravitation chapter's 1/r21/r^2 area) — where the graph is fixed before the journey starts.

Before this

Where this leads