Equality (mathematics)
In mathematics, equality is a relationship between two quantities or expressions, stating that they have the same value, or represent the same mathematical object.[1] Equality between A and B is written A = B, and pronounced "A equals B". In this equality, A and B are distinguished by calling them left-hand side (LHS), and right-hand side (RHS). Two objects that are not equal are said to be distinct.
A formula such as where x and y are any expressions, means that x and y denote or represent the same object.[2] For example,
are two notations for the same number. Similarly, using set builder notation,
since the two sets have the same elements. (This equality results from the axiom of extensionality that is often expressed as "two sets that have the same elements are equal".[3])
The truth of an equality depends on an interpretation of its members. In the above examples, the equalities are true if the members are interpreted as numbers or sets, but are false if the members are interpreted as expressions or sequences of symbols.
An identity, such as means that if x is replaced with any number, then the two expressions take the same value. This may also be interpreted as saying that the two expressions represent the same function (equality of functions).
Etymology
[edit]The word equal is derived from the Latin aequālis ('like', 'comparable', 'similar'), which itself stems from aequus ('level', 'just').[5] The word entered Middle English around the 14th century, borrowed from Old French equalité (modern égalité).[6]
The equals sign ⟨=⟩, now universally accepted in mathematics for equality, was first recorded by Welsh mathematician Robert Recorde in The Whetstone of Witte (1557). The original form of the symbol was much wider than the present form. In his book, Recorde explains his design of the "Gemowe lines", from the Latin gemellus ('twin'), using two parallel lines to represent equality because he believed that "no two things could be more equal."[7] Later, a vertical version ⟨||⟩ was also used by some but never overtook Recorde's version.[8]
It was common into the 18th century to use an abbreviation of the word equals as the symbol for equality; examples included ⟨æ⟩ and ⟨œ⟩, from the Latin aequālis.[8] Diophantus's use of ⟨ἴσ⟩, short for ἴσος (ísos 'equals'), in Arithmetica (c. 250 AD) is considered one of the first uses of an equals sign.[9]
Basic properties
[edit]- Reflexivity: for every a, one has a = a.
- Symmetry: for every a and b, if a = b, then b = a.
- 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 expression or formula without changing its meaning. (For a formal explanation, see § In logic)
For example:- Given real numbers a and b, if a = b, then implies
- Operation application: for every a and b, with some operation , if a = b, then .[12][a]
For example:- Given real numbers a and b, if a = b, then . (Here, . A unary operation)
- Given positive reals a and b, if , then . (Here, at . A binary operation)
- Given 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).[13][14] 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.[15] The substitution property is genreally attributed to Gottfried Leibniz.
Equations
[edit]An equation is a symbolic equality of two mathematical expressions connected with an equals sign (=). Equation solving is 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.[16]
In mathematical logic and computer science, an equation may described as a binary formula or Boolean-valued expression, which may be true for some values of the variables (if any) and false for other values. More specifically, an equation represents a binary relation (i.e., a two-argument predicate) which may produce a truth value (true or false) from its arguments. In computer programming, the computation from the two expressions is known as comparison.
An equation can be used to define a set. For example, the set of all solution pairs of the equation forms the unit circle in analytic geometry; therefore, this equation is called the equation of the unit circle.
Identities
[edit]An identity is an equality that is true for all values of its variables in a given domain.[17] 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.[18] Sometimes, but not always, an identity is written with a triple bar: [19]
Definitions
[edit]Equality and equations are often used to introduce new terms or symbols, establish equivalences, and introduce shorthand for complex expressions. When defining a new symbol, it is usually denoted with (). It is similar to the concept of assignment of a variable in computer science. For example, defines Euler's number, and is the defining property of the imaginary number .
In mathematical logic, this is called an extension by definition (by equality) which is a conservative extension to a formal system. 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 ().[20][21]
In logic
[edit]Equality (or identity) is often considered a primitive notion, informally said to be "a relation each thing bears to itself and to no other thing".[22] This characterization is notably circular (“no other thing”) and paradoxical too, unless the notion of "each thing" is qualified.[23] Around the 17th century, with the growth of modern logic, it became necessary to have a more concrete notion of equality. In foundations of mathematics, especially mathematical logic[24] and analytic philosophy,[25] equality is often axiomatized through the following properties: [26]
Axioms
[edit]
- 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.
- Substitution property: Sometimes referred to as Leibniz's law, generally states that if two things are equal, then any property of one must be a property of the other. It can be stated formally as: for every a and b, and any formula (with a free variable x), if , then implies .
For example:- For all real numbers a and b, if a = b, then a ≥ 0 implies b ≥ 0 (here, is x ≥ 0).
Function application is also sometimes included in the axioms of equality, but isn't necessary as it can be deduced from the other two axioms. (See § Derivations of basic properties)
The Law of identity is distinct from reflexivity in two main ways: first, the Law of Identity applies only to cases of equality, and second, it is not restricted to elements of a set. However, in mathematics and logic, both are often referred to as "Reflexivity",[27] which is generally harmless.[d]
This says "Equality implies these two properties" not that "These properties define equality". This makes it an incomplete axiomatization of equality. That is, it does not say what equality is, only what an "equality relation" must satify. However, the two axioms as stated are still generally useful, even as an incomplete axiomatization of equality, as they are usually sufficient for deducing most properties of equality that mathematicians care about. (See § Derivations of basic properties)
In first-order logic, these are axiom schemas, each of which specifies an infinite set of axioms. If a theory has a binary formula which satisfies Law of Identity and Substitution, it is common to say that has an equality, or is a theory with equality. It is possible to define equality within the theorem in terms of the relations, by letting range through the possible formulas, this is called extensionality. In this way, the equality relation may now be interpreted by an arbitrary equivalence relation on the domain. These axioms are useful in first-order logic, especially in automated theorem proving.[28]
Objections
[edit]As mentioned above, these axioms don't explicitly define equality, in the sense that we still don't know if two objects are equal, only that if they're equal, then they have the same properties. If these axioms were to define a complete axiomatization of equality, meaning, if they were to define equality, then the converse of the second statement must be true. This is because any reflexive relation satisfying the substitution property within a given theory would be considered an "equality" for that theory. The converse of the Substitution property is the identity of indiscernibles, which states that two distinct things cannot have all their properties in common. Stated symbolically as:[29]
In mathematics, the identity of indiscernibles is usually rejected since indiscernibles in mathematical logic are not necessarily forbidden. Set equality in ZFC is capable of declairing these indiscernibles as not equal, but an equality solely defined by these properties is not. Thus these properties form a strictly weaker notion of equality than set equality in ZFC. Outside of pure math, the identity of indiscernibles has attracted much controversy and criticism, especially from corpuscular philosophy and quantum mechanics.[30][e] This is why the properties are said to not form a complete axiomatization.
Extensionality
[edit]Extensionality is an axiom that defines objects of a certain kind to be equal by their external properties or relationships, rather than their intrinsic nature or internal construction. For example, in set theory an axiom of extensionality defined two sets to be equal if and only if they have the same elements. Similarly, two functions may be defined to be equal if they return the same outputs for all inputs, regardless of how they are defined or computed, often called an identity. Each of these may be stated symbolically as:
Derivations of basic properties
[edit]- Reflexivity of Equality: Given some set S with a relation R induced by equality (), assume . Then by the Law of identity, thus .
- Symmetry of Equality: Given some set S with a relation R induced by equality (), assume there are elements such that . Then, take the formula . So we have . Since by assumption, and by Reflexivity, we have that .
- Transitivity of Equality: Given some set S with a relation R induced by equality (), assume there are elements such that and . Then take the formula . So we have . Since by symmetry, and by assumption, we have that .
- Function application: Given some function , assume there are elements a and b from its domain such that a = b, then take the formula . So we have
Since by assumption, and by reflexivity, we have that .
In set theory
[edit]Set theory is the branch of mathematics that studies sets, which can be informally described as "collections of objects." 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 elements; this means that two sets that have precisely the same elements are equal (they are the same set).[31] In a formalized set theory, this is usually defined by an axiom called the Axiom of extensionality
For example, using set builder notation,
Which states that "The set of all integers greater than 0 but not more than 3 is equal to the set containing only 1, 2, and 3", dispite the differences in notation.
Background
[edit]Around the turn of the 20th century, mathematics faced several paradoxes and counter-intuitive results. For example, Russell's paradox showed a contradiction of naive set theory, it was shown that the parallel postulate cannot be proved, the existence of mathematical objects that cannot be computed or explicitly described, and the existence of theorems of arithmetic that cannot be proved with Peano arithmetic. The result was a foundational crisis of mathematics.
The resolution of this crisis involved the rise of a new mathematical discipline called mathematical logic, which studied formal logic within mathematics. Subsequent discoveries in the 20th century then stabilized the foundations of mathematics into a coherent framework valid for all mathematics. This framework is based on a systematic use of axiomatic method and on set theory, specifically Zermelo–Fraenkel set theory, developed by Ernst Zermelo and Abraham Fraenkel. This set theory is now considered the most common foundation of mathematics.
Set equality based on first-order logic with equality
[edit]In first-order logic with equality (See § In logic), the axiom of extensionality states that two sets which contain the same elements are the same set.[33]
- 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."[34]
Set equality based on first-order logic without equality
[edit]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.[35]
- Set theory definition:
- Set theory axiom:
Proof of basic properties
[edit]- Reflexivity: Given a set , assume , it follows trivially that , and the same follows in reverse, therefore , thus .
- Symmetry: Given sets , such that , then , which implies , thus .
- Transitivity: Given sets , such that (1) and (2) , assume , then by (1), which implies by (2), and similarly for the reverse, therefore , thus .
Similar relations
[edit]Approximate equality
[edit]Numerical approximation is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis.
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.[36]
If viewed as a binary relation, (denoted by the symbol ) between real numbers or other things, if precisely defined, is not an equivalence relation since it's not transitive, even if modeled as a fuzzy relation.[37]
In computer science, equality is given by some relational operator. Real numbers are often approximated by floating-point numbers (A sequence of some fixed number of digits of a given base, scaled by an integer exponent of that base), thus it is common to store an expression that denotes the real number as to not lose precision. However, the equality of two real numbers given by an expression is known to be undecidable (specifically, real numbers defined by expressions involving the integers, the basic arithmetic operations, the logarithm and the exponential function). In other words, there cannot exist any algorithm for deciding such an equality (see Richardson's theorem).
A questionable equality under test may be denoted using the symbol.[38]
Equivalence relation
[edit]An equivalence relation is a mathematical relation that generalizes the idea of similarity or sameness. It is defined on a set as a binary relation that satisfies the three properties: reflexivity, symmetry, and transitivity. Reflexivity means that every element in is equivalent to itself ( for all ). Symmetry requires that if one element is equivalent to another, the reverse also holds (). Transitivity ensures that if one element is equivalent to a second, and the second to a third, then the first is equivalent to the third ( and ). These properties are enough to partition a set into disjoint equivilence classes. Conversley, every partition defines an equivalence class.
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 singleton sets. Other equivalence relations, while less restrictive, often generalize equality by identifying elements based on shared properties or transformations, such as congruence in modular arithmetic or similarity in geometry.
Congrunce relation
[edit]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.
Isomorphism
[edit]In some contexts, equality is sharply distinguished from equivalence or isomorphism.[39] For example, one may distinguish fractions from rational numbers, the latter being equivalence classes of fractions: the fractions and are distinct as fractions (as different strings of symbols) but they "represent" the same rational number (the same point on a number line). This distinction gives rise to the notion of a quotient set.
Similarly, the sets
- and
are not equal sets – the first consists of letters, while the second consists of numbers – but they are both sets of three elements and thus isomorphic, meaning that there is a bijection between them. For example
However, there are other choices of isomorphism, such as
and these sets cannot be identified without making such a choice – any statement that identifies them "depends on choice of identification". This distinction, between equality and isomorphism, is of fundamental importance in category theory and is one motivation for the development of category theory.
In some cases, one may consider as equal two mathematical objects that are only equivalent for the properties and structure being considered. The word congruence (and the associated symbol ) is frequently used for this kind of equality, and is defined as the quotient set of the isomorphism classes between the objects.
In geometry for instance, two geometric shapes are said to be equal or congruent when one may be moved to coincide with the other, and the equality/congruence relation is the isomorphism classes of isometries between shapes. Similarly to isomorphisms of sets, the difference between isomorphisms and equality/congruence between such mathematical objects with properties and structure was one motivation for the development of category theory, as well as for homotopy type theory and univalent foundations.[40][41][42]
See also
[edit]- Equipollence (geometry)
- Extensionality
- Glossary of mathematical symbols § Equality, equivalence and similarity
- Homotopy type theory
- Inequality
- Logical equality
- Logical equivalence
- Proportionality (mathematics)
- Relational operator § Equality
Notes
[edit]- ^ "Equality (n.), sense 3". Oxford English Dictionary. 2023. doi:10.1093/OED/1127700997.
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.
- ^ Lévy 2002, pp. 13, 358. Mac Lane & Birkhoff 1999, p. 2. Mendelson 1964, p. 5.
- ^ Recorde, Robert (1557). The Whetstone of Witte. London: Jhon Kyngstone. p. 3 of "The rule of equation, commonly called Algebers Rule". OL 17888956W.
- ^ "Equal". Merriam-Webster. Archived from the original on 15 September 2020. Retrieved 9 August 2020.
- ^ "Equality". Etymonline. Retrieved 16 December 2024.
- ^ "The History of Equality Symbols in Math". Sciencing. 24 April 2017. Archived from the original on 14 September 2020. Retrieved 9 August 2020.
- ^ a b O'Connor, J. J.; Robertson, E. F. (2002). "Robert Recorde". MacTutor History of Mathematics Archive. Archived from the original on 29 November 2013. Retrieved 19 October 2013.
- ^ Derbyshire, John (2006). Unknown Quantity: A Real And Imaginary History of Algebra. Joseph Henry Press. p. 35. ISBN 0-309-09657-X.
- ^ Stoll, Robert R. (1963). Set Theory and Logic. San Francisco, CA: Dover Publications. ISBN 978-0-486-63829-4.
- ^ Lilly Görke (1974). Mengen – Relationen – Funktionen (4th ed.). Zürich: Harri Deutsch. ISBN 3-87144-118-X. Here: sect.3.5, p.103.
- ^ Equality axioms. Springer Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Equality_axioms&oldid=46837
- ^ Peano, Giuseppe (1889). Arithmetices principia: nova methodo (in Latin). Fratres Bocca. pp. XIII. Archived from the original on 15 July 2009.
- ^ L.s. Stebbing (1930). A Modern Introduction To Logic. pp. 168–169.
- ^ Heath, Thomas L. (1956). The Thirteen Books of Euclid's Elements. Vol. 1 (Books I and II) (2nd ed.). New York: Dover Publications. p. 222. ISBN 0-486-60088-2.
- ^ Sobolev, S.K. (originator). "Equation". Encyclopedia of Mathematics. Springer. ISBN 1402006098.
- ^ Equation. Springer Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Equation&oldid=32613
- ^ Marcus, Solomon; Watt, Stephen M. "What is an Equation?". Retrieved 27 February 2019.
- ^ "Identity – math word definition – Math Open Reference". www.mathopenref.com. Retrieved 1 December 2019.
- ^ 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.
- ^ Seehorn, Ashley (24 April 2017). "The History Of Equality Symbols In Math". Sciencing. Retrieved 20 December 2024.
- ^ Zalabardo, Jose L. (2000). Introduction To The Theory Of Logic. Routledge. ISBN 9780429499678.
- ^ Deutsch, Harry and Pawel Garbacz, "Relative Identity", The Stanford Encyclopedia of Philosophy (Fall 2024 Edition), Edward N. Zalta & Uri Nodelman (eds.), forthcoming URL: https://plato.stanford.edu/entries/identity-relative/#StanAccoIden
- ^ Stoll, Robert R. (1979). Set Theory and Logic. New York: Dover Publications. p. 390. ISBN 9780486638294. Archived from the original on 6 August 2014.
- ^ Noonan, Harold; Curtis, Ben (2022). Zalta, Edward N.; Nodelman, Uri (eds.). "Identity". The Stanford Encyclopedia of Philosophy (Fall 2022 ed.). Metaphysics Research Lab, Stanford University. Retrieved 11 January 2025.
- ^ Equality axioms. Springer Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Equality_axioms&oldid=46837
- ^ "Equality axioms - Encyclopedia of Mathematics". encyclopediaofmath.org. Retrieved 20 December 2024.
- ^ Fitting, M., First-Order Logic and Automated Theorem Proving (Berlin/Heidelberg: Springer, 1990), pp. 198–200.
- ^ Forrest, Peter, "The Identity of Indiscernibles", The Stanford Encyclopedia of Philosophy (Winter 2020 Edition), Edward N. Zalta (ed.), URL: https://plato.stanford.edu/entries/identity-indiscernible/#Form
- ^ French, Steven (2019). "Identity and Individuality in Quantum Theory". Stanford Encyclopedia of Philosophy. ISSN 1095-5054.
- ^ Stoll, Robert (1974). Sets, Logic and Axiomatic Theories. W. H. Freeman and Company. pp. 5. ISBN 9780716704577.
- ^ Zermelo, Ernst (1908). "Untersuchungen über die Grundlagen der Mengenlehre I". Mathematische Annalen. 65 (2): 261–281. doi:10.1007/bf01449999. S2CID 120085563.
- ^ Kleene 2002, 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
- ^ "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).
- ^ "Find all Unicode Characters from Hieroglyphs to Dingbats – Unicode Compart".
- ^ (Mazur 2007)
- ^ Eilenberg, S.; Mac Lane, S. (1942). "Group Extensions and Homology". Annals of Mathematics. 43 (4): 757–831. doi:10.2307/1968966. ISSN 0003-486X. JSTOR 1968966.
- ^ Marquis, Jean-Pierre (2019). "Category Theory". Stanford Encyclopedia of Philosophy. Department of Philosophy, Stanford University. Retrieved 26 September 2022.
- ^ Hofmann, Martin; Streicher, Thomas (1998). "The groupoid interpretation of type theory". In Sambin, Giovanni; Smith, Jan M. (eds.). Twenty Five Years of Constructive Type Theory. Oxford Logic Guides. Vol. 36. Clarendon Press. pp. 83–111. ISBN 978-0-19-158903-4. MR 1686862.
- ^ 𝒇 can have any (countable) arity, but is written as unary to avoid cumbersome notation.
- ^ Assuming g and h are differentiable, and the equality is function-equality, i.e. an identity.
- ^ Here 𝜙 can have any (finite) arity, however, it is written as a unary formula to avoid cumbersome notation.
Similarly, there should be quantifiers '∀' for a, b, and 𝜙, so more formally, this formula would be written as:
∀a∀b((a=b) ⇒͏ ∀𝜙[𝜙(...,a,...) ⇒͏ 𝜙(...,b,...)]) - ^ More generally, equality itself can be formally said to be a "reflexive relation". Just not as relation within ZFC, but as a "meta-relation", within some of metatheory in mathematics, which may be ZFC itself. For the more general notion of "relation", see Relation (philosophy)
- ^ For example, electrons are commonly thought to be indistinguishable apart from their position (cf: One-electron universe). But, due to the uncertainty principle, it may be possible for two electrons to be close enough such that it is impossible to tell them apart. Thus they would share all properties but are nonetheless different particles (the point they occupy would have the mass of two electrons).
References
[edit]- Kleene, Stephen Cole (2002) [1967]. Mathematical Logic. Mineola, New York: Dover Publications. ISBN 978-0-486-42533-7.
- Lévy, Azriel (2002) [1979]. Basic set theory. Mineola, New York: Dover Publications. 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.
- Mendelson, Elliott (1964). Introduction to Mathematical Logic. New York: Van Nostrand Reinhold.
- Rosser, John Barkley (2008) [1953]. Logic for mathematicians. Mineola, New York: Dover Publication. ISBN 978-0-486-46898-3.
- Shoenfield, Joseph Robert (2001) [1967]. Mathematical Logic (2nd ed.). A K Peters. ISBN 978-1-56881-135-2.