Potential Energy of a Spring, Khan Academy

While watching this video, I had a question. I understand the calculus part and why he gets kx^2/2, but I don’t understand one other thing.

If work=force times distance, than distance would be x and force would be kx, so my answer would be kx^2, not kx^2/2. I am pretty new to physics so I could be making a silly error, but why is my method wrong?

I want to say it’s because the force of the spring changes over the distance it moves. So you need to develop an integral to represent the total work done. In this case, the integral of kx from zero to x with respect to x. That integral will give you 1/2 kx^2. That’s my guess, anyway.

@Tabco more or less got it.

Work is formally defined as a line integral of Force with respect to displacement along the curve. For a spring this works out to the integral of F*v dt, where v is the velocity and this ends up being (1/2)kx^2.

In the video, it is explained that the force ends up being ~ kx/2 (the area under the curve) and not directly k*x by itself, which is more or less equivalent to working out the integral.

The area under the curve is a triangle, which has area base*height/2. The base is x (the distance over which we travel) and the height is kx (the force at maximum extension). So the area is just x*kx/2, or kx^2/2. Same result as the integral, of course.

Ohhhhh! Thank you all!

To put it in a different way and connect it with another piece of elementary physics. If x is the current extension of the spring the current force on the spring is kx, but at half the extension the force was kx/2 and at no extension the force was zero. And since the force is linear with respect to the distance, the average over the distance x is kx/2 and you can multiply that average force by the distance and get the work.

You have something similar when looking at situations with constant acceleration. If you start at zero speed and accelerate at a constant rate to a speed v, your speed was v/2 halfway (with regards to time), your average speed is v/2 and your distance is vt/2.

Which is, of course, mathematically the same integral.

Indeed, but helpful to build a better understanding for someone new to both manipulating physics formulae in general and particularly to doing so using integrals.

Oh, sure, I wasn’t criticizing your description (which is in fact the way I usually present it to non-calculus students, too). I meant to reinforce it, by pointing out that the two situations look similar because they are similar.

It was the very basic intergration process known as “averaging”.
Area of a triangle ? use the average height…

I’m not sure what you’re trying to say. But here’s is something I chose to leave out previously. As I wrote in the first reply, in the OPs question,and in a situation with constant acceleration the force or speed to use is the average. But if you don’t understand why and how that average is found, it’s easy to misapply averages. An understanding of seeing distance as the area under the speed/time graph can be useful here, even if you don’t know that that is a a form of integration.

Without that understanding you can get trapped by questions such as “You drive 1 lap at 12 mph and 1 lap at 60 mph. What was your average speed?” or the infamous “You drive one lap at 50 mph. How fast do you have to drive a second lap to make the average speed 100 mph?”

Great explanations here. The assumptions being made about the triangle or integral for the work of the spring is that the spring is linear, meaning the curve makes an actual triangle.