1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Work Done by a Variable Force

Work Done by a Variable Force

Stretch a spring and the pull you need keeps growing, so work is no longer just force times distance. Cut the stretch into thin strips on the force–extension graph and add them up. The total is the area under the graph, ½kx² for a spring.

Interactive 3DPhysicsAdvanced11 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • Watch the pull grow as the spring stretches. What is it at 0.2 m and at 0.4 m?
    • Compare the totals for 4, 8 and 20 strips. Which number do they approach?
    • How much work would stretching the spring to 0.8 m take? (Hint ½kx².)

    Work by a constant force

    When a constant force FF moves a body through a displacement dd along its own direction, the work done is

    W=FdW = Fd

    (more generally W=Fdcos⁡θW = Fd\cos\theta, the dot product F⃗⋅d⃗\vec F \cdot \vec d). Its unit is the joule: 1 J=1 N×1 m1\ \text{J} = 1\ \text{N} \times 1\ \text{m}. On a force–displacement graph a constant force is a flat line, and FdFd is the area of the rectangle under it.

    When the force changes

    Many forces change as the body moves. In the 3D model a hand slowly stretches a spring with k=50 N/mk = 50\ \text{N/m}. The pull needed is F=kxF = kx: 5 N at 0.1 m, 10 N at 0.2 m, 20 N at 0.4 m. Which F should go into W=FdW = Fd? None of them on its own.

    Thin strips

    Cut the stretch into many small steps Δx\Delta x. Over one tiny step the force hardly changes, so its work is about F ΔxF\,\Delta x: the area of a thin strip on the F–x graph. Add them all:

    W≈∑F ΔxW \approx \sum F\,\Delta x

    Press the button and watch 4, 8, then 20 strips. Their total settles on 4 J. In the limit of infinitely thin strips the sum becomes an integral:

    W=∫x1x2F dx=area under the F–x graphW = \int_{x_{1}}^{x_{2}} F\,dx = \text{area under the } F\text{–}x \text{ graph}

    Stretching a spring

    For a spring the graph is a straight line through the origin, so the area is a triangle:

    W=12×x×kx=12kx2W = \dfrac{1}{2} \times x \times kx = \dfrac{1}{2}kx^{2}

    For the model: W=12×50×0.42=4 JW = \tfrac{1}{2} \times 50 \times 0.4^{2} = 4\ \text{J}. The average force over the stretch is half the final force, which is why simply multiplying the final force by the stretch would give twice the right answer.

    Worked example

    The force on a body changes with position as F = 3x² N (x in metres). Find the work done from x = 1 m to x = 2 m.

    W=∫123x2 dx=[x3]12=8−1=W = \int_{1}^{2} 3x^{2}\,dx = \Big[x^{3}\Big]_{1}^{2} = 8 - 1 = 7 J7\ \text{J}.

    Remember: a constant force does W=FdW = Fd; a variable force does W=∫F dxW = \int F\,dx, the area under the F–x graph. For a spring, W=12kx2W = \tfrac{1}{2}kx^{2}.

    Formulas and where to use them

    Work by a constant force

    W=Fdcos⁡θW = Fd\cos\theta
    where
    WW
    work done (J)
    FF
    size of the force (N)
    dd
    displacement (m)
    θ\theta
    angle between the force and the displacement

    Use it when: Only when the force stays the same in size and direction during the motion.

    Work by a variable force

    W=∫x1x2F(x) dx=area under the F–x graphW = \int_{x_{1}}^{x_{2}} F(x)\,dx = \text{area under the } F\text{–}x \text{ graph}
    where
    F(x)F(x)
    force along the motion, which changes with position (N)
    x1, x2x_{1},\ x_{2}
    start and end positions (m)

    Use it when: Springs, rubber bands, gravity over large distances, forces read from a graph.

    Work to stretch a spring

    W=12kx2W = \dfrac{1}{2}kx^{2}
    where
    kk
    spring constant: force per metre of stretch (N/m)
    xx
    stretch or compression from the natural length (m)

    Use it when: Stretching or compressing a spring from its natural length (F = kx).

    Common mistakes

    • Using W = Fd with the final force. For a spring that gives kx × x, twice the true answer; the average force is only ½kx.
    • Forgetting units. On an F–x graph, area is N × m = J; read the scales carefully.
    • Counting area below the axis as positive. Where F is negative (opposing the motion), that area counts as negative work.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. The work done by a variable force is equal to…

    2. A spring with k = 200 N/m is stretched by 0.1 m from its natural length. The work done is…

    3. Doubling the stretch of a spring makes the work needed…

    4. A force rises steadily from 0 to 10 N over 2 m. The work done is…

    5. Why can W = Fd not be used directly when stretching a spring?

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Work Done by a Variable Force. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.