In physics, elasticity is a physical property of materials which return to their original shape after they are deformed.
When an elastic material is deformed due to an external force, it experiences internal forces that oppose the deformation and restore it to its original state if the external force is no longer applied. There are various elastic moduli, such as Young's modulus, the shear modulus, and the bulk modulus, all of which are measures of the inherent stiffness of a material as a resistance to deformation under an applied load. The various moduli apply to different kinds of deformation. For instance, Young's modulus applies to uniform extension, whereas the shear modulus applies to shearing.
The elasticity of materials is described by a stress-strain curve, which shows the relation between stress (the average restorative internal force per unit area) and strain (the relative deformation). For most metals or crystaline materials, the curve is linear for small deformations, and so the stress-strain relationship can adequately be described by Hooke's law and higher-order terms can be ignored. However, for larger stresses beyond the elastic limit, the relation is no longer linear. For even higher stresses, materials exhibit plastic behavior, that is, they deform irreversibly and do not return to their original shape after stress is no longer applied. For rubber-like materials such as elastomers, the gradient of the stress-strain curve increases with stress, meaning that rubbers progressively become more difficult to stretch, while for most metals, the gradient decreases at very high stresses, meaning that they progressively become easier to stretch. Elasticity is not exh bited only by only solids; non-Newtonian fluids, such as viscoelastic fluids, will also exhibit elasticity in certain conditions. In response to a small, rapidly applied and removed strain, these fluids may deform and then return to their original shape. Under larger strains, or strains applied for longer periods of time, these fluids may start to flow like a viscous liquid.
Factors affecting elasticity
For isotropic materials, the presence of fractures affects the Young and the shear modulus perpendicular to the planes of the cracks, which decrease (Young's modulus faster than the shear modulus) as the fracture density increases, indicating that the presence of cracks makes bodies brittler. Microscopically, the stress-strain relationship of materials is in general governed by the Helmholtz free energy, a thermodynamic quantity. Molecules settle in the configuration which minimizes the free energy, subject to constraints derived from their structure, and, depending on whether the energy or the entropy term dominates the free energy, materials can broadly be classified as energy-elastic and entropy-elastic. As such, microscopic factors affecting the free energy, such as the equilibriumdistance between molecules, can affect the elasticity of materials: for instance, in inorganic materials, as the equilibrium distance between molecules at 0 K increases, the bulk modulus decreases.  The effect of temperature on elasticity is difficult to isolate, because there are numerous factors affecting it. For instance, the bulk modulus of a material is dependent on the form of its lattice, its behavior under expansion, as well as the vibrations of the molecules, all of which are dependent on temperature.