According to Hooke's law, the force required to extend or compress a spring is directly proportional to the displacement of the spring from its equilibrium position. In other words, the more you stretch or compress a spring, the greater the force required. This law only applies to springs, not other objects or materials.