Equality Relation
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, equality is a relationship between two
quantities Quantity or amount is a property that can exist as a multitude or magnitude, which illustrate discontinuity and continuity. Quantities can be compared in terms of "more", "less", or "equal", or by assigning a numerical value multiple of a u ...
or expressions, stating that they have the same value, or represent the same
mathematical object A mathematical object is an abstract concept arising in mathematics. Typically, a mathematical object can be a value that can be assigned to a Glossary of mathematical symbols, symbol, and therefore can be involved in formulas. Commonly encounter ...
. Equality between and is written , and read " equals ". In this equality, and 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. Equality is often considered a primitive notion, meaning it is not formally defined, but rather informally said to be "a relation each thing bears to itself and nothing else". This characterization is notably circular ("nothing else"), reflecting a general conceptual difficulty in fully characterizing the concept. Basic properties about equality like reflexivity,
symmetry Symmetry () in everyday life refers to a sense of harmonious and beautiful proportion and balance. In mathematics, the term has a more precise definition and is usually used to refer to an object that is Invariant (mathematics), invariant und ...
, and transitivity have been understood intuitively since at least the ancient Greeks, but were not symbolically stated as general properties of relations until the late 19th century by
Giuseppe Peano Giuseppe Peano (; ; 27 August 1858 – 20 April 1932) was an Italian mathematician and glottologist. The author of over 200 books and papers, he was a founder of mathematical logic and set theory, to which he contributed much Mathematical notati ...
. Other properties like substitution and
function application In mathematics, function application is the act of applying a function to an argument from its domain so as to obtain the corresponding value from its range. In this sense, function application can be thought of as the opposite of function abs ...
were not formally stated until the development of
symbolic logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
. There are generally two ways that equality is formalized in mathematics: through
logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
or through
set theory Set theory is the branch of mathematical logic that studies Set (mathematics), 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 mathema ...
. In logic, equality is a primitive predicate (a statement that may have free variables) with the reflexive property (called the law of identity), and the substitution property. From those, one can derive the rest of the properties usually needed for equality. After the
foundational crisis in mathematics Foundations of mathematics are the logical and mathematical framework that allows the development of mathematics without generating self-contradictory theories, and to have reliable concepts of theorems, proofs, algorithms, etc. in particula ...
at the turn of the 20th century, set theory (specifically
Zermelo–Fraenkel set theory In set theory, Zermelo–Fraenkel set theory, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is an axiomatic system that was proposed in the early twentieth century in order to formulate a theory of sets free of paradoxes suc ...
) became the most common
foundation of mathematics Foundations of mathematics are the logical and mathematical framework that allows the development of mathematics without generating self-contradictory theories, and to have reliable concepts of theorems, proofs, algorithms, etc. in particul ...
. In set theory, any two sets are defined to be equal if they have all the same
members Member may refer to: * Military jury, referred to as "Members" in military jargon * Element (mathematics), an object that belongs to a mathematical set * In object-oriented programming, a member of a class ** Field (computer science), entries in ...
. This is called the
axiom of extensionality The axiom of extensionality, also called the axiom of extent, is an axiom used in many forms of axiomatic set theory, such as Zermelo–Fraenkel set theory. The axiom defines what a Set (mathematics), set is. Informally, the axiom means that the ...
.


Etymology

In English, the word ''equal'' is derived from the
Latin Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
('like', 'comparable', 'similar'), which itself stems from ('level', 'just'). The word entered
Middle English Middle English (abbreviated to ME) is a form of the English language that was spoken after the Norman Conquest of 1066, until the late 15th century. The English language underwent distinct variations and developments following the Old English pe ...
around the 14th century, borrowed from
Old French Old French (, , ; ) was the language spoken in most of the northern half of France approximately between the late 8th [2-4; we might wonder whether there's a point at which it's appropriate to talk of the beginnings of French, that is, when it wa ...
(modern ). More generally, the interlingual synonyms of ''equal'' have been used more broadly throughout history (see ). 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 . Diophantus's use of , short for ( 'equals'), in ''Arithmetica'' () is considered one of the first uses of an
equals sign The equals sign (British English) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality. In an equation it is placed between two expressions that have the same valu ...
. The 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 symbol as "Gemowe lines", from the Latin ('twin'), using two parallel lines to represent equality because he believed that "no two things could be more equal." Recorde's symbol was not immediately popular. After its introduction, it wasn't used again in print until 1618 (61 years later), in an anonymous Appendix in Edward Wright's English translation of '' Descriptio'', by
John Napier John Napier of Merchiston ( ; Latinisation of names, Latinized as Ioannes Neper; 1 February 1550 – 4 April 1617), nicknamed Marvellous Merchiston, was a Scottish landowner known as a mathematician, physicist, and astronomer. He was the 8 ...
. It wasn't until 1631 that it received more than general recognition in England, being adopted as the symbol for equality in a few influential works. Later used by several influential mathematicians, most notably, both
Isaac Newton Sir Isaac Newton () was an English polymath active as a mathematician, physicist, astronomer, alchemist, theologian, and author. Newton was a key figure in the Scientific Revolution and the Age of Enlightenment, Enlightenment that followed ...
and
Gottfried Leibniz Gottfried Wilhelm Leibniz (or Leibnitz; – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat who is credited, alongside Isaac Newton, Sir Isaac Newton, with the creation of calculus in ad ...
, and due to the prevalence of calculus at the time, it quickly spread throughout the rest of Europe.


Basic properties

; Reflexivity : For every , one has . ;
Symmetry Symmetry () in everyday life refers to a sense of harmonious and beautiful proportion and balance. In mathematics, the term has a more precise definition and is usually used to refer to an object that is Invariant (mathematics), invariant und ...
: For every and , if , then . ; Transitivity : For every , , and , if and , then . ; Substitution : Informally, this just means that if , then can replace in any mathematical expression or
formula In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
without changing its meaning. (For a formal explanation, see ) For example: ; Operation application : For every and , with some operation f(x), if , then f(a) = f(b). For example: The first three properties are generally attributed to
Giuseppe Peano Giuseppe Peano (; ; 27 August 1858 – 20 April 1932) was an Italian mathematician and glottologist. The author of over 200 books and papers, he was a founder of mathematical logic and set theory, to which he contributed much Mathematical notati ...
for being the first to explicitly state these as fundamental properties of equality in his ' (1889). However, the basic notions have always existed; for example, in Euclid's ''Elements'' (), 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. The operation-application property was also stated in Peano's ', however, it had been common practice in
algebra Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
since at least Diophantus (). The substitution property is generally attributed to
Gottfried Leibniz Gottfried Wilhelm Leibniz (or Leibnitz; – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat who is credited, alongside Isaac Newton, Sir Isaac Newton, with the creation of calculus in ad ...
(), and often called ''Leibniz's Law''.


Equations

An
equation In mathematics, an equation is a mathematical formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for ...
is a symbolic equality of two mathematical expressions connected with an
equals sign The equals sign (British English) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality. In an equation it is placed between two expressions that have the same valu ...
(=).
Algebra Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
is the branch of mathematics concerned with equation solving: the problem of finding values of some variable, called , for which the specified equality is true. Each value of the unknown for which the equation holds is called a of the given equation; also stated as the equation. For example, the equation x^2 - 6x + 5=0 has the values x=1 and x=5 as its only solutions. The terminology is used similarly for equations with several unknowns. The set of solutions to an equation or system of equations is called its solution set. In
mathematics education In contemporary education, mathematics education—known in Europe as the didactics or pedagogy of mathematics—is the practice of teaching, learning, and carrying out Scholarly method, scholarly research into the transfer of mathematical know ...
, students are taught to rely on concrete models and visualizations of equations, including geometric analogies, manipulatives including sticks or cups, and "function machines" representing equations as flow diagrams. One method uses balance scales as a pictorial approach to help students grasp basic problems of algebra. The mass of some objects on the scale is unknown and represents variables. Solving an equation corresponds to adding and removing objects on both sides in such a way that the sides stay in balance until the only object remaining on one side is the object of unknown mass. Often, equations are considered to be a statement, or relation, which can be true or false. For example, 1+1=2 is true, and 1+1=3 is false. Equations with unknowns are considered conditionally true; for example, x^2 - 6x + 5=0 is true when x=1 or x=5, and false otherwise. There are several different terminologies for this. In
mathematical logic Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, an equation is a binary predicate (i.e. a logical statement, that can have free variables) which satisfies certain properties. In
computer science Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, an equation is defined as a boolean-valued expression, or relational operator, which returns 1 and 0 for true and false respectively.


Identities

An identity is an equality that is true for all values of its variables in a given domain. An "equation" may sometimes mean an identity, but more often than not, it a subset of the variable space to be the subset where the equation is true. An example is \left(x + 1\right)\left(x + 1\right) = x^2 + 2 x + 1, which is true for each
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
x. 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. Sometimes, but not always, an identity is written with a triple bar: \left(x + 1\right)\left(x + 1\right) \equiv x^2 + 2 x + 1. This notation was introduced by
Bernhard Riemann Georg Friedrich Bernhard Riemann (; ; 17September 182620July 1866) was a German mathematician who made profound contributions to analysis, number theory, and differential geometry. In the field of real analysis, he is mostly known for the f ...
in his 1857 ' lectures (published in 1899). Alternatively, identities may be viewed as an equality of functions, where instead of writing f(a) = g(a) \text a, one may simply write f = g. This is called the
extensionality In logic, extensionality, or extensional equality, refers to principles that judge objects to be equality (mathematics), equal if they have the same external properties. It stands in contrast to the concept of intensionality, which is concerned wi ...
of functions. In this sense, the operation-application property refers to operators, operations on a
function space In mathematics, a function space is a set of functions between two fixed sets. Often, the domain and/or codomain will have additional structure which is inherited by the function space. For example, the set of functions from any set into a ve ...
(functions mapping between functions) like composition or the
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
, commonly used in
operational calculus Operational calculus, also known as operational analysis, is a technique by which problems in Mathematical Analysis, analysis, in particular differential equations, are transformed into algebraic problems, usually the problem of solving a polynomia ...
. An identity can contain an functions as "unknowns", which can be solved for similarly to a regular equation, called a functional equation. A functional equation involving derivatives is called a differential equation.


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 (:=). It is similar to the concept of assignment of a variable in computer science. For example, \mathbb := \sum_^\infty \frac defines Euler's number, and i^2 = -1 is the defining property of the
imaginary number An imaginary number is the product of a real number and the imaginary unit , is usually used in engineering contexts where has other meanings (such as electrical current) which is defined by its property . The square (algebra), square of an im ...
i. In
mathematical logic Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, this is called an
extension by definition In mathematical logic, more specifically in the proof theory of first-order theories, extensions by definitions formalize the introduction of new symbols by means of a definition. For example, it is common in naive set theory to introduce a symbo ...
(by equality) which is a conservative extension to a
formal system A formal system is an abstract structure and formalization of an axiomatic system used for deducing, using rules of inference, theorems from axioms. In 1921, David Hilbert proposed to use formal systems as the foundation of knowledge in ma ...
. This is done by taking the equation defining the new constant symbol as a new
axiom An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
of the
theory A theory is a systematic and rational form of abstract thinking about a phenomenon, or the conclusions derived from such thinking. It involves contemplative and logical reasoning, often supported by processes such as observation, experimentation, ...
. 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 (=_\text ).


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". This tradition can be traced at least as far back as
Aristotle Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
, 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:
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
quantities Quantity or amount is a property that can exist as a multitude or magnitude, which illustrate discontinuity and continuity. Quantities can be compared in terms of "more", "less", or "equal", or by assigning a numerical value multiple of a u ...
(number, length, volume) and qualities (temperature, density, pressure), now called
intensive and extensive properties Physical or chemical properties of materials and systems can often be categorized as being either intensive or extensive, according to how the property changes when the size (or extent) of the system changes. The terms "intensive and extensiv ...
. The Scholastics, particularly Richard Swineshead and other Oxford Calculators in the 14th century, began seriously thinking about
kinematics In physics, kinematics studies the geometrical aspects of motion of physical objects independent of forces that set them in motion. Constrained motion such as linked machine parts are also described as kinematics. Kinematics is concerned with s ...
and quantitative treatment of qualities. For example, two flames have the same heat-intensity if they produce the same effect on water (e.g, warming vs
boiling Boiling or ebullition is the rapid phase transition from liquid to gas or vapor, vapour; the reverse of boiling is condensation. Boiling occurs when a liquid is heated to its boiling point, so that the vapour pressure of the liquid is equal to ...
). Since two intensities could be shown to be equal, and equality was considered the defining feature of quantities, it meant those intensities were quantifiable. 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
predicate logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables ove ...
due to the work of
Gottlob Frege Friedrich Ludwig Gottlob Frege (; ; 8 November 1848 – 26 July 1925) was a German philosopher, logician, and mathematician. He was a mathematics professor at the University of Jena, and is understood by many to be the father of analytic philos ...
, logic shifted from being focused on classes of objects to being property-based. This was followed by a movement for describing mathematics in logical foundations, called
logicism In the philosophy of mathematics, logicism is a programme comprising one or more of the theses that – for some coherent meaning of 'logic' – mathematics is an extension of logic, some or all of mathematics is reducible to logic, or some or al ...
. This trend lead to the axiomatization of equality through the law of identity and the substitution property especially in
mathematical logic Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
and
analytic philosophy Analytic philosophy is a broad movement within Western philosophy, especially English-speaking world, anglophone philosophy, focused on analysis as a philosophical method; clarity of prose; rigor in arguments; and making use of formal logic, mat ...
. The precursor to the substitution property of equality was first formulated by
Gottfried Leibniz Gottfried Wilhelm Leibniz (or Leibnitz; – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat who is credited, alongside Isaac Newton, Sir Isaac Newton, with the creation of calculus in ad ...
in his '' Discourse on Metaphysics'' (1686), stating, roughly, that "No two distinct things can have all properties in common." This has since broken into two principles, the substitution property (if x=y, then any property of x is a property of y), and its converse, the identity of indiscernibles (if x and y have all properties in common, then x=y). Its introduction to logic, and first symbolic formulation is due to
Bertrand Russell Bertrand Arthur William Russell, 3rd Earl Russell, (18 May 1872 – 2 February 1970) was a British philosopher, logician, mathematician, and public intellectual. He had influence on mathematics, logic, set theory, and various areas of analytic ...
and Alfred Whitehead in their ' (1910), who claim it follows from their
axiom of reducibility The axiom of reducibility was introduced by Bertrand Russell in the early 20th century as part of his ramified theory of types. Russell devised and introduced the axiom in an attempt to manage the contradictions he had discovered in his analysis ...
, but credit Leibniz for the idea.


Axioms

* Law of identity: Stating that each thing is identical with itself, without restriction. That is, for every a, a = a. It is the first of the traditional three laws of thought.
The above can be stated symbolically as: \forall a(a = a). * 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".
It can be stated formally as: for every and , and any
formula In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
\phi(x), with a free variable , if a=b, then \phi(a) implies \phi(b).
The above can be stated symbolically as: (a=b) \implies \bigl \phi(a) \Rightarrow \phi(b) \bigr 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, and similarly for symmetry and transitivity (see ). In first-order logic, these are axiom schemas (usually, see below), each of which specify an infinite set of axioms. 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". The use of "equality" here somewhat of a
misnomer A misnomer is a name that is incorrectly or unsuitably applied. Misnomers often arise because something was named long before its correct nature was known, or because an earlier form of something has been replaced by a later form to which the nam ...
in that any system with equality can be modeled by a theory without standard identity, and with indiscernibles. 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 standard equality, there is a model of that system standard equality. This can be done by defining a new domain whose objects are the equivalence classes of the original "equality". If a model is interpreted to have equality then those properties are enough, since if x has all the same properties as y, and x has the property of being equal to x, then y has the property of being equal to x. As axioms, one can deduce from the first using universal instantiation, and the from second, given a = b and \phi (a), by using modus ponens twice. Alternatively, each of these may be included in logic as rules of inference. The first called "equality introduction", and the second "equality elimination" (also called paramodulation), used by some
theoretical computer scientists A theory is a systematic and rational form of abstract thinking about a phenomenon, or the conclusions derived from such thinking. It involves contemplative and logical reasoning, often supported by processes such as observation, experimentation, ...
like John Alan Robinson in their work on resolution and
automated theorem proving Automated theorem proving (also known as ATP or automated deduction) is a subfield of automated reasoning and mathematical logic dealing with proving mathematical theorems by computer programs. Automated reasoning over mathematical proof was a majo ...
.


Derivations of basic properties

* Reflexivity: Given any expression a, by the law of identity, a = a. * Symmetry: Given a = b, take the formula \phi(x) : x = a.
Accordingly, (a=b) \implies ((a=a) \Rightarrow (b=a)).
Since a=b by assumption, and a=a by reflexivity, it follows that b=a. * Transitivity: Given a = b and b = c, take the formula \phi(x): x=c.
Accordingly, (b=a) \implies ((b=c) \Rightarrow (a=c)).
Since b=a by symmetry, and b=c by assumption, it follows that a=c. * Function application: Given some function f(x) and expressions and , such that , then take the formula \phi(x): f(a) = f(x).
Accordingly, (a=b) \implies f(a) = f(a)) \Rightarrow (f(a) = f(b))
Since a=b by assumption, and f(a) = f(a) by reflexivity, it follows that f(a) = f(b).


In set theory

Set theory Set theory is the branch of mathematical logic that studies Set (mathematics), 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 mathema ...
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). In a formalized set theory, this is usually defined by an
axiom An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
called the
Axiom of extensionality The axiom of extensionality, also called the axiom of extent, is an axiom used in many forms of axiomatic set theory, such as Zermelo–Fraenkel set theory. The axiom defines what a Set (mathematics), set is. Informally, the axiom means that the ...
. For example, using set builder notation, the following states that "The set of all
integers An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
(\Z) greater than 0 but not more than 3 is equal to the set containing only 1, 2, and 3", despite the differences in formulation. \ = \, The term ''extensionality'', as used in '''Axiom of Extensionality has its roots in logic and grammar (''cf.
Extension (semantics) In any of several fields of study that treat the use of signs — for example, in linguistics, logic, mathematics, semantics, semiotics, and philosophy of language — the extension of a concept, idea, or sign consists of the things to which it ap ...
''). In grammar, an intensional definition describes the necessary and sufficient conditions for a term to apply to an object. For example: "A
Platonic solid In geometry, a Platonic solid is a Convex polytope, convex, regular polyhedron in three-dimensional space, three-dimensional Euclidean space. Being a regular polyhedron means that the face (geometry), faces are congruence (geometry), congruent (id ...
is a convex, regular polyhedron in three-dimensional Euclidean space." An extensional definition instead lists all objects where the term applies. For example: "A Platonic solid is one of the following:
Tetrahedron In geometry, a tetrahedron (: tetrahedra or tetrahedrons), also known as a triangular pyramid, is a polyhedron composed of four triangular Face (geometry), faces, six straight Edge (geometry), edges, and four vertex (geometry), vertices. The tet ...
,
Cube A cube or regular hexahedron is a three-dimensional space, three-dimensional solid object in geometry, which is bounded by six congruent square (geometry), square faces, a type of polyhedron. It has twelve congruent edges and eight vertices. It i ...
,
Octahedron In geometry, an octahedron (: octahedra or octahedrons) is any polyhedron with eight faces. One special case is the regular octahedron, a Platonic solid composed of eight equilateral triangles, four of which meet at each vertex. Many types of i ...
, Dodecahedron, or Icosahedron." In logic, the extension of a predicate is the set of all objects for which the predicate is true. Further, the logical principle of
extensionality In logic, extensionality, or extensional equality, refers to principles that judge objects to be equality (mathematics), equal if they have the same external properties. It stands in contrast to the concept of intensionality, which is concerned wi ...
judges two objects to be equal if they satisfy the same external properties. Since, by the axiom, two sets are defined to be equal if they satisfy membership, sets are extentional. José Ferreirós credits Richard Dedekind for being the first to explicitly state the principle, although he does not assert it as a definition:


Background

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 In geometry, the parallel postulate is the fifth postulate in Euclid's ''Elements'' and a distinctive axiom in Euclidean geometry. It states that, in two-dimensional geometry: If a line segment intersects two straight lines forming two interior ...
cannot be proved, the existence of
mathematical object A mathematical object is an abstract concept arising in mathematics. Typically, a mathematical object can be a value that can be assigned to a Glossary of mathematical symbols, symbol, and therefore can be involved in formulas. Commonly encounter ...
s 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 Foundations of mathematics are the logical and mathematical framework that allows the development of mathematics without generating self-contradictory theories, and to have reliable concepts of theorems, proofs, algorithms, etc. in particul ...
. The resolution of this crisis involved the rise of a new mathematical discipline called
mathematical logic Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, which studies
formal logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
within mathematics. Discoveries made during the 20th century stabilized the foundations of mathematics, and produced a coherent framework valid for all branches of the discipline. This framework is based on a systematic use of
axiomatic method In mathematics and logic, an axiomatic system is a set of formal statements (i.e. axioms) used to logically derive other statements such as lemmas or theorems. A proof within an axiom system is a sequence of deductive steps that establis ...
and on set theory, specifically
Zermelo–Fraenkel set theory In set theory, Zermelo–Fraenkel set theory, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is an axiomatic system that was proposed in the early twentieth century in order to formulate a theory of sets free of paradoxes suc ...
, developed by Ernst Zermelo and Abraham Fraenkel. This set theory (and set theory in general) is now considered the most common
foundation of mathematics Foundations of mathematics are the logical and mathematical framework that allows the development of mathematics without generating self-contradictory theories, and to have reliable concepts of theorems, proofs, algorithms, etc. in particul ...
.


Set equality based on first-order logic with equality

In first-order logic with equality (see ), the axiom of extensionality states that two sets that contain the same elements are the same set. * Logic axiom: x = y \implies \forall z, (z \in x \iff z \in y) * Logic axiom: x = y \implies \forall z, (x \in z \iff y \in z) * Set theory axiom: (\forall z, (z \in x \iff z \in y)) \implies x = y 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:


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. * Set theory definition: (x = y) \ := \ \forall z, (z \in x \iff z \in y) * Set theory axiom: x = y \implies \forall z, (x \in z \iff y \in z) Or, equivalently, one may choose to define equality in a way that mimics, the substitution property explicitly, as the conjunction of all atomic formulas: * Set theory definition: (x = y) := \; \forall z ( z \in x \implies z \in y) \, \and \, \forall w (x \in w \implies y \in w) * Set theory axiom: (\forall z, (z \in x \iff z \in y)) \implies x = y In either case, the axiom of extensionality based on first-order logic without equality states: \forall z ( z \in x \Rightarrow z \in y) \implies \forall w (x \in w \Rightarrow y \in w).


Proof of basic properties

* Reflexivity: Given a set X, assume z \in X, it follows trivially that z \in X, and the same follows in reverse, thus \forall z, (z \in X \iff z \in X), therefore X = X. * Symmetry: Given sets X, Y, such that X=Y, then \forall z, (z \in X \iff z \in Y), which implies \forall z, (z \in Y \iff z \in X), therefore Y=X. * Transitivity: Given sets X, Y, Z, such that: *# X = Y, and *# Y = Z, : assume z \in X. Then, z \in Y by (1), which implies z \in Z by (2), and similarly for the reverse. Thus \forall z, (z \in X \iff z \in Z), therefore X=Z. * Substitution: See . * Function application: Given a = b and f(a) = c, then (a,c) \in f. Since a = b and c = c, then (a,c) = (b,c). This is the defining property of an ordered pair. Since (a,c) = (b,c), by the axiom of extensionality, they must belong to the same sets. Thus, since (a,c) \in f, it follows that (b,c) \in f, or f(b) = c. Therefore, f(a) = f(b).


Similar relations


Approximate equality

Numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
is the study of constructive methods and
algorithms In mathematics and computer science, an algorithm () is a finite sequence of mathematically rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for per ...
to find numerical approximations (as opposed to symbolic manipulations) of solutions to problems in
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series ( ...
. Especially those which cannot be solved analytically. Calculations are likely to involve
rounding errors In computing, a roundoff error, also called rounding error, is the difference between the result produced by a given algorithm using exact arithmetic and the result produced by the same algorithm using finite-precision, rounded arithmetic. Ro ...
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. If approximate equality is viewed as a
binary relation In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
(denoted by the symbol \approx) between
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s 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. In
computer science Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, equality is expressed using relational operators. On computers, physical constraints fundamentally limit the level of precision with which numbers can be represented. Thus, the real numbers are often approximated by floating-point numbers. Each floating-point number is represented as a significand—comprising some fixed-length sequence of digits in a given base—which is scaled by some integer exponent of said base, in effect enabling the radix point to "float" between each possible location in the significand. This allows numbers spanning many orders of magnitude to be represented, but only as fuzzy ranges of values that become less precise as they increase in magnitude. In order to avoid losing precision, it is common to represent real numbers on computers in the form of an expression that denotes the real number. However, the equality of two real numbers given by an expression is known to be undecidable (specifically, real numbers defined by expressions involving the
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s, the basic arithmetic operations, the
logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
and the exponential function). In other words, there cannot exist any
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
for deciding such an equality (see Richardson's theorem).


Equivalence relation

An equivalence relation is a mathematical relation that generalizes the idea of similarity or sameness. It is defined on a set X as a
binary relation In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
\sim that satisfies the three properties: reflexivity,
symmetry Symmetry () in everyday life refers to a sense of harmonious and beautiful proportion and balance. In mathematics, the term has a more precise definition and is usually used to refer to an object that is Invariant (mathematics), invariant und ...
, and transitivity. Reflexivity means that every element in X is equivalent to itself (a \sim a for all a \in X). Symmetry requires that if one element is equivalent to another, the reverse also holds (a \sim b \implies b \sim a). 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 (a \sim b and b \sim c \implies a \sim c). These properties are enough to partition a set into disjoint equivalence classes. Conversely, every partition defines an equivalence class. The equivalence relation of equality is a special case, as, if restricted to a given set S, it is the strictest possible equivalence relation on S; specifically, equality partitions a set into equivalence classes consisting of all singleton sets. Other equivalence relations, since they're less restrictive, generalize equality by identifying elements based on shared properties or transformations, such as congruence in modular arithmetic or similarity in geometry.


Congruence relation

In
abstract algebra In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures, which are set (mathematics), sets with specific operation (mathematics), operations acting on their elements. Algebraic structur ...
, a
congruence relation In abstract algebra, a congruence relation (or simply congruence) is an equivalence relation on an algebraic structure (such as a group (mathematics), group, ring (mathematics), ring, or vector space) that is compatible with the structure in the ...
extends the idea of an equivalence relation to include the operation-application property. That is, given a set X, and a set of operations on X, then a congruence relation \sim has the property that a \sim b \implies f(a) \sim f(b) for all operations f (here, written as unary to avoid cumbersome notation, but f may be of any
arity In logic, mathematics, and computer science, arity () is the number of arguments or operands taken by a function, operation or relation. In mathematics, arity may also be called rank, but this word can have many other meanings. In logic and ...
). A congruence relation on an
algebraic structure In mathematics, an algebraic structure or algebraic system consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplicatio ...
such as a group, ring, or module is an equivalence relation that respects the operations defined on that structure.


Isomorphism

In mathematics, especially in
abstract algebra In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures, which are set (mathematics), sets with specific operation (mathematics), operations acting on their elements. Algebraic structur ...
and
category theory Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
, it is common to deal with objects that already have some internal
structure A structure is an arrangement and organization of interrelated elements in a material object or system, or the object or system so organized. Material structures include man-made objects such as buildings and machines and natural objects such as ...
. An
isomorphism In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
describes a kind of structure-preserving correspondence between two objects, establishing them as essentially identical in their structure or properties. More formally, an isomorphism is a bijective mapping (or morphism) f between two sets or structures A and B such that f and its inverse f^ preserve the operations, relations, or functions defined on those structures. This means that any operation or relation valid in A corresponds precisely to the operation or relation in B under the mapping. For example, in
group theory In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
, a
group isomorphism In abstract algebra, a group isomorphism is a function between two groups that sets up a bijection between the elements of the groups in a way that respects the given group operations. If there exists an isomorphism between two groups, then the ...
f: G \mapsto H satisfies f(a * b) = f(a) * f(b) for all elements a, b, where * denotes the group operation. 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 cyclic groups of order \infty are isomorphic to the integers, \Z, with addition. Similarly, in
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
, two vector spaces are isomorphic if they have the same
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
, as there exists a linear bijection between their elements. The concept of isomorphism extends to numerous branches of mathematics, including
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
( graph isomorphism),
topology Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
(
homeomorphism In mathematics and more specifically in topology, a homeomorphism ( from Greek roots meaning "similar shape", named by Henri Poincaré), also called topological isomorphism, or bicontinuous function, is a bijective and continuous function ...
), and algebra (group and ring isomorpisms), among others. Isomorphisms facilitate the classification of mathematical entities and enable the transfer of results and techniques between similar systems. Bridging the gap between isomorphism and equality was one motivation for the development of
category theory Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
, as well as for homotopy type theory and univalent foundations.


Geometry

In
geometry Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, 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 Euclid (; ; BC) was an ancient Greek mathematician active as a geometer and logician. Considered the "father of geometry", he is chiefly known for the '' Elements'' treatise, which established the foundations of geometry that largely domina ...
and
Archimedes Archimedes of Syracuse ( ; ) was an Ancient Greece, Ancient Greek Greek mathematics, mathematician, physicist, engineer, astronomer, and Invention, inventor from the ancient city of Syracuse, Sicily, Syracuse in History of Greek and Hellenis ...
used "equal" ( ) 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." (See .) This notion persisted until Adrien-Marie Legendre introduced the term "equivalent" in 1867 to describe figures of equal area, and reserved "equal" to mean " congruent"the same
shape A shape is a graphics, graphical representation of an object's form or its external boundary, outline, or external Surface (mathematics), surface. It is distinct from other object properties, such as color, Surface texture, texture, or material ...
and
size Size in general is the Magnitude (mathematics), magnitude or dimensions of a thing. More specifically, ''geometrical size'' (or ''spatial size'') can refer to three geometrical measures: length, area, or volume. Length can be generalized ...
, or if one has the same shape and size as the
mirror image A mirror image (in a plane mirror) is a reflection (physics), reflected duplication of an object that appears almost identical, but is reversed in the direction perpendicular to the mirror surface. As an optical phenomenon, optical effect, it r ...
of the other. Euclid's terminology continued in the work of David Hilbert in his ', who further refined Euclid's ideas by introducing the notions of polygons being "divisibly equal" () if they can be cut into finitely many triangles which are congruent, and "equal in content" () if one can add finitely many divisibly equal polygons to each such that the resulting polygons are divisibly equal. After the rise of set theory, around the 1960s, there was a push for a reform in
mathematics education In contemporary education, mathematics education—known in Europe as the didactics or pedagogy of mathematics—is the practice of teaching, learning, and carrying out Scholarly method, scholarly research into the transfer of mathematical know ...
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. While Euclid addressed proportionality and figures of the same shape, it was not until the 17th century that the concept of similarity was formalized in the modern sense. Similar figures are those that have the same shape but can differ in size; they can be transformed into one another by scaling and congruence. Later a concept of equality of directed line segments, equipollence, was advanced by Giusto Bellavitis in 1835.


See also

*
Essentially unique In mathematics, the term essentially unique is used to describe a weaker form of uniqueness, where an object satisfying a property is "unique" only in the sense that all objects satisfying the property are equivalent to each other. The notion of ess ...
* * Identity type * Identity (object-oriented programming) * Inequality * Logical equality *
Logical equivalence In logic and mathematics, statements p and q are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of p and q is sometimes expressed as p \equiv q, p :: q, \textsfpq, or p \iff q, depending ...
* * Setoid * Theory of pure equality * Uniqueness quantification


Notes


References


Citations


Bibliography

* * * * * * * * * * * * * {{Mathematical logic Mathematical logic Binary relations Elementary arithmetic Equivalence (mathematics)