Home »

# Equals sign

## The meaning of «equals sign»

The equals sign (British English, Unicode Consortium[1]) or equal sign (American English), formerly known as the equality sign, is the mathematical symbol =, which is used to indicate equality in some well-defined sense.[2][3] In an equation, it is placed between two expressions that have the same value, or for which one studies the conditions under which they have the same value.

In Unicode and ASCII, it has the code point U+003D. It was invented in 1557 by Robert Recorde.

The etymology of the word "equal" is from the Latin word "æqualis",[4] as meaning "uniform", "identical", or "equal", from aequus ("level", "even", or "just").

The = symbol, now universally accepted in mathematics for equality, was first recorded by Welsh mathematician Robert Recorde in The Whetstone of Witte (1557).[5] The original form of the symbol was much wider than the present form. In his book Recorde explains his design of the "Gemowe lines" (meaning twin lines, from the Latin gemellus)[6]

And to auoide the tediouſe repetition of theſe woordes : is equalle to : I will ſette as I doe often in woorke vſe, a paire of paralleles, or Gemowe lines of one lengthe, thus: =, bicauſe noe .2. thynges, can be moare equalle.[7]

"The symbol = was not immediately popular. The symbol || was used by some and æ (or œ), from the Latin word aequalis meaning equal, was widely used into the 1700s" (History of Mathematics, University of St Andrews).[8]

In mathematics, the equal sign can be used as a simple statement of fact in a specific case (x = 2), or to create definitions (let x = 2), conditional statements (if x = 2, then ...), or to express a universal equivalence ((x + 1)² = x² + 2x + 1).

The first important computer programming language to use the equal sign was the original version of Fortran, FORTRAN I, designed in 1954 and implemented in 1957. In Fortran, = serves as an assignment operator: X = 2 sets the value of X to 2. This somewhat resembles the use of = in a mathematical definition, but with different semantics: the expression following = is evaluated first, and may refer to a previous value of X. For example, the assignment X = X + 2 increases the value of X by 2.

A rival programming-language usage was pioneered by the original version of ALGOL, which was designed in 1958 and implemented in 1960. ALGOL included a relational operator that tested for equality, allowing constructions like if x = 2 with essentially the same meaning of = as the conditional usage in mathematics. The equal sign was reserved for this usage.

Both usages have remained common in different programming languages into the early 21st century. As well as Fortran, = is used for assignment in such languages as C, Perl, Python, awk, and their descendants. But = is used for equality and not assignment in the Pascal family, Ada, Eiffel, APL, and other languages.