Equality (mathematics)

In
Equality is often considered a
There are generally two ways that equality is formalized in mathematics: through
Etymology


In English, the word equal is derived from the Latin aequālis ('like', 'comparable', 'similar'), which itself stems from aequus ('level', 'just').[6] The word entered Middle English around the 14th century, borrowed from Old French equalité (modern égalité).[7] More generally, the interlingual synonyms of equal have been used more broadly throughout history (see § Geometry).
Before the 16th century, there was no common symbol for equality, and equality was usually expressed with a word, such as aequales, aequantur, esgale, faciunt, ghelijck, or gleich, and sometimes by the abbreviated form aeq, or simply ⟨æ⟩ and ⟨œ⟩.
The sign =, now universally accepted in mathematics for equality, was first recorded by Welsh mathematician
Recorde's symbol was not immediately popular. After its introduction, it was next used in print in 1618 (61 years later), in an anonymous Appendix in
Basic properties
- Reflexivity
- For every a, one has a = a.[10][11]
- Symmetry
- For every a and b, if a = b, then b = a.[10][11]
- Transitivity
- For every a, b, and c, if a = b and b = c, then a = c.[10][11]
- Substitution
- Informally, this just means that if a = b, then a can replace b in any mathematical real numbersa and b, if a = b, then implies
- Given integers a and b, if a = b, then (Here, a unary operation.)
- Given natural numbers a, b, c, and d, if and then (Here, a real functions and over some variable a, if for all a, then for all a. (Here, An operation over functions (i.e. an operator), called the derivative).[b]
The first three properties are generally attributed to Giuseppe Peano for being the first to explicitly state these as fundamental properties of equality in his Arithmetices principia (1889).[15][16] However, the basic notions have always existed; for example, in Euclid's Elements (c. 300 BC), he includes 'common notions': "Things that are equal to the same thing are also equal to one another" (transitivity), "Things that coincide with one another are equal to one another" (reflexivity), along with some operation-application properties for addition and subtraction.[17] The operation-application property was also stated in Peano's Arithmetices principia,[15] however, it had been common practice in algebra since at least Diophantus (c. 250 AD).[18] The substitution property is generally attributed to Gottfried Leibniz (c. 1686), and often called Leibniz's Law.[12][19]
Equations
An equation is a symbolic equality of two mathematical expressions connected with an equals sign (=).[20] Algebra is the branch of mathematics concerned with equation solving: the problem of finding values of some variable, called unknown, for which the specified equality is true. Each value of the unknown for which the equation holds is called a solution of the given equation; also stated as satisfying the equation. For example, the equation has the values and as its only solutions. The terminology is used similarly for equations with several unknowns.[21] The set of solutions to an equation or system of equations is called its solution set.[22]
In
Often, equations are considered to be a statement, or
Identities
An identity is an equality that is true for all values of its variables in a given domain.[27][28] An "equation" may sometimes mean an identity, but more often than not, it specifies a subset of the variable space to be the subset where the equation is true. An example is which is true for each real number There is no standard notation that distinguishes an equation from an identity, or other use of the equality relation: one has to guess an appropriate interpretation from the semantics of expressions and the context.[29] Sometimes, but not always, an identity is written with a triple bar: [30] This notation was introduced by Bernhard Riemann in his 1857 Elliptische Funktionen lectures (published in 1899).[31][32][33]
Alternatively, identities may be viewed as an equality of functions, where instead of writing one may simply write [34][35] This is called the extensionality of functions.[36][37] In this sense, the operation-application property refers to operators, operations on a function space (functions mapping between functions) like composition[38] or the derivative, commonly used in operational calculus.[39] An identity can contain an functions as "unknowns", which can be solved for similarly to a regular equation, called a functional equation.[40] A functional equation involving derivatives is called a differential equation.[41]
Definitions
Equations are often used to introduce new terms or symbols for constants, assert equalities, and introduce shorthand for complex expressions, which is called "equal by definition", and often denoted with ().[42] It is similar to the concept of assignment of a variable in computer science. For example, defines
In mathematical logic, this is called an extension by definition (by equality) which is a conservative extension to a formal system.[45] This is done by taking the equation defining the new constant symbol as a new axiom of the theory. The first recorded symbolic use of "Equal by definition" appeared in Logica Matematica (1894) by Cesare Burali-Forti, an Italian mathematician. Burali-Forti, in his book, used the notation ().[46][47]
In logic
History

Equality is often considered a primitive notion, informally said to be "a relation each thing bears to itself and to no other thing".[48] This tradition can be traced at least as far back as Aristotle, who in his Categories (c. 350 BC) defines the notion of quantity in terms of a more primitive equality (distinct from identity or similarity), stating:[49]
The most distinctive mark of quantity is that equality and inequality are predicated of it. Each of the aforesaid quantities is said to be equal or unequal. For instance, one solid is said to be equal or unequal to another; number, too, and time can have these terms applied to them, indeed can all those kinds of quantity that have been mentioned.
That which is not a quantity can by no means, it would seem, be termed equal or unequal to anything else. One particular disposition or one particular quality, such as whiteness, is by no means compared with another in terms of equality and inequality but rather in terms of similarity. Thus it is the distinctive mark of quantity that it can be called equal and unequal. ― (translated by
E. M. Edghill)
Aristotle had separate categories for
Around the 19th century, with the growth of modern logic, it became necessary to have a more concrete description of equality. With the rise of
The precursor to the substitution property of equality was first formulated by
Axioms
- Law of identity: Stating that each thing is identical with itself, without restriction. That is, for every It is the first of the traditional three laws of thought.[55]
The above can be stated symbolically as: - Substitution property: Generally stating that if two things are equal, then any property of one must be a property of the other. It is sometimes referred to as "Leibniz's law".[56]
It can be stated formally as: for every a and b, and any formula with afree variablex, if then implies
The above can be stated symbolically as:
Function application is also sometimes included in the axioms of equality,[14] but isn't necessary as it can be deduced from the other two axioms, and similarly for symmetry and transitivity (see § Derivations of basic properties). In first-order logic, these are axiom schemas (usually, see below), each of which specify an infinite set of axioms.[57] If a theory has a predicate that satisfies the law of identity and substitution property, it is common to say that it "has equality", or is "a theory with equality".[45]
The use of "equality" here somewhat of a misnomer in that any system with equality can be modeled by a theory without standard identity, and with indiscernibles.[58][57] Those two axioms are strong enough, however, to be isomorphic to a model with identity; that is, if a system has a predicate satisfying those axioms without standard equality, there is a model of that system with standard equality.[57] This can be done by defining a new domain whose objects are the equivalence classes of the original "equality".[59] If a model is interpreted to have equality then those properties are enough, since if has all the same properties as and has the property of being equal to then has the property of being equal to [54][60]
As axioms, one can deduce from the first using universal instantiation, and the from second, given and by using
Derivations of basic properties
- Reflexivity: Given any expression by the law of identity, [63]
- Symmetry: Given take the formula
Accordingly,
Since by assumption, and by reflexivity, it follows that [63] - Transitivity: Given and take the formula
Accordingly,
Since by symmetry, and by assumption, it follows that [63] - Function application: Given some function and expressions a and b, such that a = b, then take the formula [63]
Accordingly,
Since by assumption, and by reflexivity, it follows that
In set theory
Set theory is the branch of mathematics that studies sets, which can be informally described as "collections of objects".[64] Although objects of any kind can be collected into a set, set theory—as a branch of mathematics—is mostly concerned with those that are relevant to mathematics as a whole. Sets are uniquely characterized by their
For example, using
The term extensionality, as used in 'Axiom of Extensionality' has its roots in logic and grammar (cf.
José Ferreirós credits Richard Dedekind for being the first to explicitly state the principle, although he does not assert it as a definition:[69]
It very frequently happens that different things a, b, c... considered for any reason under a common point of view, are collected together in the mind, and one then says that they form a system S; one calls the things a, b, c... the elements of the system S, they are contained in S; conversely, S consists of these elements. Such a system S (or a collection, a manifold, a totality), as an object of our thought, is likewise a thing; it is completely determined when, for every thing, it is determined whether it is an element of S or not.
— Richard Dedekind, 1888 (translated by José Ferreirós)
Background

Around the turn of the 20th century, mathematics faced several
The resolution of this crisis involved the rise of a new mathematical discipline called
Set equality based on first-order logic with equality
In first-order logic with equality (see § Axioms), the axiom of extensionality states that two sets that contain the same elements are the same set.[73]
- Logic axiom:
- Logic axiom:
- Set theory axiom:
The first two are given by the substitution property of equality from first-order logic; the last is a new axiom of the theory. Incorporating half of the work into the first-order logic may be regarded as a mere matter of convenience, as noted by Azriel Lévy:
The reason why we take up first-order predicate calculus with equality is a matter of convenience; by this, we save the labor of defining equality and proving all its properties; this burden is now assumed by the logic.[74]
Set equality based on first-order logic without equality
In first-order logic without equality, two sets are defined to be equal if they contain the same elements. Then the axiom of extensionality states that two equal sets are contained in the same sets.[75]
- Set theory definition:
- Set theory axiom:
Or, equivalently, one may choose to define equality in a way that mimics, the substitution property explicitly, as the conjunction of all atomic formulas:[76]
- Set theory definition:
- Set theory axiom:
In either case, the axiom of extensionality based on first-order logic without equality states:
Proof of basic properties
- Reflexivity: Given a set assume it follows trivially that and the same follows in reverse, thus therefore [77]
- Symmetry: Given sets such that then which implies therefore [77]
- Transitivity: Given sets such that:
- and
- assume Then, by (1), which implies by (2), and similarly for the reverse. Thus therefore [77]
- Substitution: See Substitution (logic) § Proof of substitution in ZFC.
- Function application: Given and then Since and then This is the defining property of an ordered pair.[78] Since by the axiom of extensionality, they must belong to the same sets. Thus, since it follows that or Therefore,
Similar relations
Approximate equality
Calculations are likely to involve rounding errors and other approximation errors. Log tables, slide rules, and calculators produce approximate answers to all but the simplest calculations. The results of computer calculations are normally an approximation, expressed in a limited number of significant digits, although they can be programmed to produce more precise results.[80]
If approximate equality is viewed as a binary relation (denoted by the symbol ) between real numbers or other things, any rigorous definition of it will not be an equivalence relation, due to its not being transitive. This is the case even when it is modeled as a fuzzy relation.[81]
In
Equivalence relation

An
The equivalence relation of equality is a special case, as, if restricted to a given set it is the strictest possible equivalence relation on ; specifically, equality partitions a set into equivalence classes consisting of all
Congruence relation
In abstract algebra, a congruence relation extends the idea of an equivalence relation to include the operation-application property. That is, given a set and a set of operations on then a congruence relation has the property that for all operations (here, written as unary to avoid cumbersome notation, but may be of any arity). A congruence relation on an algebraic structure such as a group, ring, or module is an equivalence relation that respects the operations defined on that structure.[88]
Isomorphism
In mathematics, especially in abstract algebra and category theory, it is common to deal with objects that already have some internal structure. An isomorphism describes a kind of structure-preserving correspondence between two objects, establishing them as essentially identical in their structure or properties.[89][90]
More formally, an isomorphism is a bijective mapping (or morphism) between two sets or structures and such that and its inverse preserve the operations, relations, or functions defined on those structures.[89] This means that any operation or relation valid in corresponds precisely to the operation or relation in under the mapping. For example, in group theory, a group isomorphism satisfies for all elements where denotes the group operation.[91]
When two objects or systems are isomorphic, they are considered indistinguishable in terms of their internal structure, even though their elements or representations may differ. For instance, all
The concept of isomorphism extends to numerous branches of mathematics, including
Geometry

In geometry, formally, two figures are equal if they contain exactly the same points. However, historically, geometric-equality has always been taken to be much broader. Euclid and Archimedes used "equal" (ἴσος isos) often referring to figures with the same area or those that could be cut and rearranged to form one another. For example, Euclid stated the Pythagorean theorem as "the square on the hypotenuse is equal to the squares on the sides, taken together", and Archimedes said that "a circle is equal to the rectangle whose sides are the radius and half the circumference."[97] (See Area of a circle § Rearrangement proof.)
This notion persisted until
After the rise of set theory, around the 1960s, there was a push for a reform in mathematics education called "New Math", following Andrey Kolmogorov, who, in an effort to restructure Russian geometry courses, proposed presenting geometry through the lens of transformations and set theory. Since a figure was seen as a set of points, it could only be equal to itself, as a result of Kolmogorov, the term "congruent" became standard in schools for figures that were previously called "equal", which popularized the term.[101]
While Euclid addressed
See also
- Essentially unique
- Glossary of mathematical symbols § Equality, equivalence and similarity
- Identity type
- Identity (object-oriented programming)
- Inequality
- Logical equality
- Logical equivalence
- Relational operator § Equality
- Setoid
- Theory of pure equality
- Uniqueness quantification
Notes
References
Citations
- .
A relation between two quantities or other mathematical expressions stating that the two are the same; (also) an expression of such a relation by means of symbols, an equation.
- ^ Rosser 2008, p. 163.
- ISBN 978-1-317-93789-0.
- ISBN 978-0-19-923594-0. Retrieved 13 January 2025.
- ^ OL 17888956W.
- ^ "Equal". Merriam-Webster. Archived from the original on 15 September 2020. Retrieved 9 August 2020.
- ^ "Equality". Etymonline. Retrieved 16 December 2024.
- ^ a b c Cajori 1928, pp. 298–305.
- ISBN 0-309-09657-X.
- ^ ISBN 978-0-534-01007-2.
- ^ ISBN 978-0-486-65940-4.
- ^ LCCN 57-8153.
- ^ ISSN 2366-8717.
- ^ ISBN 1-4020-0609-8.
- ^ a b Peano, Giuseppe (1889). Arithmetices principia: nova methodo (in Latin). Fratres Bocca. p. XIII.
- ^ Stebbing 1930, pp. 168–169.
- OCLC 977674956.
- ^ Heath, Thomas Little (1910). Diophantus of Alexandria: A Study in the History of Greek algebra. London: Cambridge University Press.
- ^ Forrest, Peter (1996). "The Identity of Indiscernibles". In Zalta, Edward N.; Nodelman, Uri (eds.). The Stanford Encyclopedia of Philosophy (Winter 2024 ed.). Metaphysics Research Lab, Stanford University. Retrieved 4 March 2025.
- .
A formula affirming the equivalence of two quantitative expressions, which are for this purpose connected by the sign =.
- ISBN 1402006098.
- ^ "Solution set". Merriam-Webster. 24 February 2025. Retrieved 1 March 2025.
- ISBN 978-1-64113-847-5.
- ISBN 978-1-79290-169-0.
- ^ a b Mendelson 1964, p. 75
- ^ "Equality and inequality operators == !=". XL C/C++ for AIX Documentation. IBM. 25 February 2025. Retrieved 24 March 2025.
- ISBN 1-4020-0609-8.
- Macmillan & Co. p. 52.
- ^ Marcus, Solomon; Watt, Stephen M. "What is an Equation?". Section V. Types of Equations and Terminology in Various Languages. Retrieved 27 February 2019.
- ISBN 978-0-19-884535-5.
- ^ Cajori 1928, p. 417.
- ISBN 978-3-662-22798-5.
- ^ Riemann, Bernhard; Stahl, Hermann (1899). Elliptische functionen (in German). B. G. Teubner.
- ISSN 2366-8717.
- ^ Krabbe 1975, p. 7.
- ^ "function extensionality in nLab". ncatlab.org. Retrieved 1 March 2025.
- ^ Lévy 2002, p. 27.
- ISBN 0-07-040035-0.
- ^ Krabbe 1975, pp. 2–3.
- ISSN 0941-3502.
- ISSN 0172-6056.
- ^ Lankham, Isaiah; Nachtergaele, Bruno; Schilling, Anne (21 January 2007). "Some Common Mathematical Symbols and Abbreviations (with History)" (PDF). University of California, Davis.
- ^ "e". Encyclopædia Britannica. Retrieved 13 January 2025.
- ISBN 978-1-975076-49-8. Retrieved 4 March 2025.
- ^ a b Mendelson 1964, pp. 82–83.
- ^ Burali-Forti, Cesare (1894). Logica matematica [Mathematical logic] (in Italian). University of California. Ulrico Hoepli. p. 120. Archived from the original on 1 August 2009.
- ^ Lankham, Isaiah; Nachtergaele, Bruno; Schilling, Anne (7 November 2013). "13.3: Some Common Mathematical Symbols and Abbreviations". Linear Algebra. Mathematics LibreTexts, University of California, Davis. Retrieved 4 March 2025.
- ISBN 978-0-429-49967-8.
- Aristotle. "Categories". Translated by Edghill, E. M. The Internet Classics Archive, MIT. Retrieved 23 January 2025.
- JSTOR 301847.
- ISSN 0039-3681.
- ^ Noonan, Harold; Curtis, Ben (2022). "Identity". In Zalta, Edward N.; Nodelman, Uri (eds.). The Stanford Encyclopedia of Philosophy (Fall 2022 ed.). Metaphysics Research Lab, Stanford University. Retrieved 11 January 2025.
- ^ Forrest, Peter, "The Identity of Indiscernibles", The Stanford Encyclopedia of Philosophy (Winter 2020 Edition), Edward N. Zalta (ed.)
- ^ OCLC 729017529.
- ^ "Laws of thought". The Cambridge Dictionary of Philosophy. Robert Audi, Editor, Cambridge University Press. p. 489.
- ^ "Identity of indiscernibles". Encyclopædia Britannica. Retrieved 12 January 2025.
- ^ ISBN 978-94-009-7068-7.
- ^ Deutsch, Harry; Garbacz, Pawel (2024). "Relative Identity". In Zalta, Edward N.; Nodelman, Uri (eds.). The Stanford Encyclopedia of Philosophy (Fall 2024 ed.). Metaphysics Research Lab, Stanford University. Retrieved 20 January 2025.
- ^ Kleene 1967, pp. 158–161.
- LCCN 57-8153.
- ^ "Introduction to Logic – Equality". logic.stanford.edu. Retrieved 1 March 2025.
- ISBN 978-0-08-053279-0.
- ^ a b c d Mendelson 1964, pp. 93–95.
- ^ Breuer, Josef (1958). Introduction to the Theory of Sets. Englewood Cliffs, New Jersey: Prentice-Hall. p. 4 – via Internet Archive.
A set is a collection of definite distinct objects of our perception or of our thought, which are called elements of the set.
- ^ Stoll 1963, pp. 4–5.
- ^ Lévy 2002, pp. 13, 358. Mac Lane & Birkhoff 1999, p. 2. Mendelson 1964, p. 5.
- ISBN 978-0-7486-2559-8. Archived from the originalon 14 May 2021.
- ISBN 978-0-521-17271-4.
- ^ Ferreirós 2007, p. 226.
- S2CID 120085563.
- ^ Ferreirós 2007, p. 299.
- ^ Ferreirós 2007, p. 366, "[...] the most common axiom system was and is called the Zermelo-Fraenkel system.".
- ^ Kleene 1967, p. 189. Lévy 2002, p. 13. Shoenfield 2001, p. 239.
- ^ Lévy 2002, p. 4.
- ^ Mendelson 1964, pp. 159–161.Rosser 2008, pp. 211–213
- OCLC 731740381.
- ^ ISSN 0072-5285.
- ^ Stoll 1963, p. 24.
- ISSN 0072-5285.
- ^ "Numerical Computation Guide". Archived from the original on 6 April 2016. Retrieved 16 June 2013.
- ^ Kerre, Etienne E.; De Cock, Martine (2001). "Approximate Equality is no Fuzzy Equality" (PDF).
- ISBN 0-13-322495-3.
- Zbl 0175.27404.
- ^ Stoll 1963, p. 29.
- ^ a b Stoll 1963, p. 31.
- ISBN 978-0-262-69060-7.
- ^ "2.2.1: Similarity". Mathematics LibreTexts. 10 February 2020. Retrieved 24 March 2025.
- ISSN 0072-5285.
- ^ a b "Isomorphism". Encyclopædia Britannica. 25 November 2024. Retrieved 12 January 2025.
- arXiv:1612.09375.
- ^ Pinter 2010, p. 94.
- ^ Pinter 2010, p. 114.
- Springer. p. 86.
- JSTOR 1968966.
- ^ Marquis, Jean-Pierre (2019). "Category Theory". Stanford Encyclopedia of Philosophy. Department of Philosophy, Stanford University. Retrieved 26 September 2022.
- MR 1686862.
- ISSN 2191-0383.
- ^ Legendre, Adrien Marie (1867). Elements of geometry. Cornell University Library. Baltimore, Kelly & Piet. p. 68.
- ^ Clapham, C.; Nicholson, J. (2009). "Congruent Figures". Oxford Concise Dictionary of Mathematics (PDF). Addison-Wesley. p. 167. Archived from the original (PDF) on 29 October 2013. Retrieved 2 June 2017.
- ^ Hilbert, David (1899). Grundlagen der Geometrie (in German). Wellesley College Library. B. G. Teubner. p. 40.
- ^ Alexander Karp & Bruce R. Vogeli – Russian Mathematics Education: Programs and Practices, Volume 5, pp. 100–102
- ^ "2.2.1: Similarity". PreAlgebra. Mathematics LibreTexts. 10 February 2020. Retrieved 4 March 2025.
- ^ "Giusto Bellavitis – Biography". Maths History. Retrieved 4 March 2025.
Bibliography
- Cajori, Florian (1928). A History Of Mathematical Notations Vol I. London: The Open Court Company, Publishers.
- Ferreirós, José (2007). Labyrinth of Thought. Basel: ISBN 978-3-7643-8349-7.
- LCCN 66-26747.
- Krabbe, Gregers (1975). Operational Calculus. New York: ISBN 978-1-4613-4394-3.
- ISBN 978-0-486-42079-0.
- Mac Lane, Saunders; Birkhoff, Garrett (1999) [1967]. Algebra (Third ed.). Providence, Rhode Island: American Mathematical Society.
- Mazur, Barry (12 June 2007). When is one thing equal to some other thing? (PDF). Archived from the original (PDF) on 24 October 2019. Retrieved 13 December 2009.
- OCLC 1150016253.
- Pinter, Charles C. (2010). A Book of Abstract Algebra. Dover. p. 94. ISBN 978-0-486-47417-5– via Internet Archive.
- OCLC 227923880.
- ISBN 978-1-56881-135-2.
- Stebbing, L. S. (1930). A Modern Introduction To Logic (3rd ed.). London: Methuen & Co. OCLC 1244466095.
- Stoll, Robert Roth (1963). Set Theory and Logic. San Francisco: W. H. Freeman. LCCN 63-8995.