In the history of mathematics, the generality of algebra was a phrase used by AugustinLouis Cauchy to describe a method of argument that was used in the 18th century by mathematicians such as Leonhard Euler and JosephLouis Lagrange,^{[1]} particularly in manipulating infinite series. According to Koetsier,^{[2]} the generality of algebra principle assumed, roughly, that the algebraic rules that hold for a certain class of expressions can be extended to hold more generally on a larger class of objects, even if the rules are no longer obviously valid. As a consequence, 18th century mathematicians believed that they could derive meaningful results by applying the usual rules of algebra and calculus that hold for finite expansions even when manipulating infinite expansions.
In works such as Cours d'Analyse, Cauchy rejected the use of "generality of algebra" methods and sought a more rigorous foundation for mathematical analysis.
An example^{[2]} is Euler's derivation of the series

(1) 
for . He first evaluated the identity

(2) 
at to obtain

(3) 
The infinite series on the right hand side of (3) diverges for all real . But nevertheless integrating this termbyterm gives (1), an identity which is known to be true by Fourier analysis.^{[example needed]}