Course contentsShow
← Mathematics
Lesson 1694 of 3,12137. Applications of IntegrationFree lesson

Hooke's Law and Spring Problems

Apply the spring force formula F = kx to calculate work done compressing or stretching springs.

Hooke's Law and Spring Problems

What you'll learn: How to calculate the work done when compressing or stretching a spring using the spring force formula.

Understanding Hooke's Law

When you stretch or compress a spring, it pushes back with a force proportional to how far you've displaced it from its natural length. This relationship is captured by Hooke's Law:

F(x) = kx

where:

  • F(x) is the force required to hold the spring at displacement x
  • k is the spring constant (measures the spring's stiffness)
  • x is the displacement from the natural length (in meters, feet, etc.)

Think of it like this: stretching a spring 2 inches requires twice as much force as stretching it 1 inch.

Calculating Work with Springs

Since the force varies with position, we use integration to find the total work done. If you compress or stretch a spring from position x = a to x = b:

Work = ∫[a to b] kx dx = (k/2)x² |[a to b] = (k/2)(b² - a²)

Common Setup

If a spring starts at its natural length (x = 0) and you stretch/compress it to position x = d:

Work = ∫[0 to d] kx dx = (k/2)d²

Example in Plain Terms

If it takes 10 N of force to stretch a spring 2 m (so k = 5 N/m), the work to stretch it from natural length to 2 m is:

W = (5/2)(2²) = 10 joules

Key Takeaway: Work done on a spring equals the integral of the variable force F = kx over the displacement distance, typically giving W = (k/2)(b² - a²) between positions a and b.