Английская Википедия:Equals sign
Шаблон:Short description Шаблон:Redirect-several Шаблон:Infobox symbol
The equals sign (British English) or equal sign (American English), also known as the equality sign, is the mathematical symbol Шаблон:Char, which is used to indicate equality in some well-defined sense.[1] 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.[2] It was invented in 1557 by Robert Recorde.
History
The etymology of the word equal is from the Latin word Шаблон:Lang,[3] as meaning 'uniform', 'identical', or 'equal', from Шаблон:Lang ('level', 'even', or 'just').
The Шаблон:Char symbol, now universally accepted in mathematics for equality, was first recorded by Welsh mathematician Robert Recorde in The Whetstone of Witte (1557).[4] 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 Шаблон:Wikt-lang)[5] Шаблон:Blockquote "The symbol Шаблон:Char was not immediately popular. The symbol Шаблон:Char was used by some and Шаблон:Char (or Шаблон:Char), from the Latin word Шаблон:Lang meaning equal, was widely used into the 1700s" (History of Mathematics, University of St Andrews).[6]
Usage in mathematics and computer programming
In mathematics, the equal sign can be used as a simple statement of fact in a specific case ("Шаблон:Nowrap"), or to create definitions ("Шаблон:Nowrap"), conditional statements ("Шаблон:Nowrap"), or to express a universal equivalence ("Шаблон:Nowrap").
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, Шаблон:Char serves as an assignment operator: Шаблон:Nowrap sets the value of Шаблон:Code to 2. This somewhat resembles the use of Шаблон:Char in a mathematical definition, but with different semantics: the expression following Шаблон:Char is evaluated first, and may refer to a previous value of Шаблон:Code. For example, the assignment Шаблон:Nowrap increases the value of Шаблон:Code 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 Шаблон:Nowrap with essentially the same meaning of Шаблон:Char 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, Шаблон:Char is used for assignment in such languages as C, Perl, Python, awk, and their descendants. But Шаблон:Char is used for equality and not assignment in the Pascal family, Ada, Eiffel, APL, and other languages.
A few languages, such as BASIC and PL/I, have used the equal sign to mean both assignment and equality, distinguished by context. However, in most languages where Шаблон:Char has one of these meanings, a different character or, more often, a sequence of characters is used for the other meaning. Following ALGOL, most languages that use Шаблон:Char for equality use Шаблон:Char for assignment, although APL, with its special character set, uses a left-pointing arrow.
Fortran did not have an equality operator (it was only possible to compare an expression to zero, using the arithmetic IF statement) until FORTRANШаблон:NbspIV was released in 1962, since when it has used the four characters Шаблон:Code to test for equality. The language B introduced the use of Шаблон:Char with this meaning, which has been copied by its descendant C and most later languages where Шаблон:Char means assignment.
Some languages additionally feature the "spaceship operator", or three-way comparison operator, Шаблон:Char, to determine whether one value is less than, equal to, or greater than another.
The equal sign is also used in defining attribute–value pairs, in which an attribute is assigned a value.Шаблон:Ctn
Several equal signs
In some programming languages, ==
and ===
are used to check equality, so 1844 == 1844
will return true.
In PHP, the triple equal sign, Шаблон:Code, denotes value and type equality,[7] meaning that not only do the two expressions evaluate to equal values, but they are also of the same data type. For instance, the expression Шаблон:Nowrap is true, but Шаблон:Nowrap is not, because the number 0 is an integer value whereas false is a Boolean value.
JavaScript has the same semantics for Шаблон:Code, referred to as "equality without type coercion". However, in JavaScript the behavior of Шаблон:Code cannot be described by any simple consistent rules. The expression Шаблон:Nowrap is true, but Шаблон:Nowrap is false, even though both sides of the Шаблон:Code act the same in Boolean context. For this reason it is sometimes recommended to avoid the Шаблон:Code operator in JavaScript in favor of Шаблон:Code.[8]
In Ruby, equality under Шаблон:Code requires both operands to be of identical type, e.g. Шаблон:Nowrap is false. The Шаблон:Code operator is flexible and may be defined arbitrarily for any given type. For example, a value of type Шаблон:Code is a range of integers, such as Шаблон:Code. Шаблон:Nowrap is false, since the types are different (Range vs. Integer); however Шаблон:Nowrap is true, since Шаблон:Code on Шаблон:Code values means "inclusion in the range".[9] Under these semantics, ===
is non-symmetric; e.g. 1844 === (1800..1899)
is false, since it is interpreted to mean Integer#===
rather than Range#===
.[10]
Other uses
Spelling
Tone letter
The equal sign is also used as a grammatical tone letter in the orthographies of Budu in the Congo-Kinshasa, in Krumen, Mwan and Dan in the Ivory Coast.[11][12] The Unicode character used for the tone letter (U+A78A)[13] is different from the mathematical symbol (U+003D).
Personal names
Шаблон:Contains special characters
A possibly unique case of the equal sign of European usage in a person's name, specifically in a double-barreled name, was by pioneer aviator Alberto Santos-Dumont, as he is also known not only to have often used a double hyphen Шаблон:Char resembling an equal sign Шаблон:Char between his two surnames in place of a hyphen, but also seems to have personally preferred that practice, to display equal respect for his father's French ethnicity and the Brazilian ethnicity of his mother.[14]
Instead of a double hyphen, the equal sign is sometimes used in Japanese as a separator between names. In Ojibwe, the readily available equal sign on a keyboard is used as a substitute for a double hyphen.
Linguistics
In linguistic interlinear glosses, an equal sign is conventionally used to mark clitic boundaries: the equal sign is placed between the clitic and the word that the clitic is attached to.[15]
Chemistry
In chemical formulas, the two parallel lines denoting a double bond are commonly rendered using an equal sign.
LGBT symbol
Шаблон:Expand section In recent years, the equal sign has been used to symbolize LGBT rights. The symbol has been used since 1995 by the Human Rights Campaign, which lobbies for marriage equality, and subsequently by the United Nations Free & Equal, which promotes LGBT rights at the United Nations.[16]
Hate speech
The not equal (≠) symbol has been adopted by some white supremacist and other racist groups.[17]
Telegrams and Telex
In Morse code, the equal sign is encoded by the letters B (-...) and T (-) run together (-...-).Шаблон:Citation needed The letters BT stand for Break Text, and are put between paragraphs, or groups of paragraphs in messages sent via Telex,Шаблон:Citation needed a standardised tele-typewriter. The sign, used to mean Break Text, is given at the end of a telegram to separate the text of the message from the signature.Шаблон:Citation needed
Related symbols
Approximately equal
Symbols used to denote items that are approximately equal include the following:[18]
- ≈ (Шаблон:Unichar, LaTeX \approx)
- ≃ (Шаблон:Unichar, LaTeX \simeq), a combination of Шаблон:Char and Шаблон:Char, also used to indicate asymptotic equality
- ≅ (Шаблон:Unichar, LaTeX \cong), another combination of ≈ and =, which is also sometimes used to indicate isomorphism or congruence
- Шаблон:Not a typo (Шаблон:Unichar, LaTeX \sim), which is also sometimes used to indicate proportionality or similarity, being related by an equivalence relation, or to indicate that a random variable is distributed according to a specific probability distribution (see also tilde), or alternatively between two quantities to indicate they are of the same order of magnitude.
- ∽ (Шаблон:Unichar, LaTex \backsim), which is also used to indicate proportionality
- ≐ (Шаблон:Unichar, LaTeX \doteq), which can also be used to represent the approach of a variable to a limit
- ≒ (Шаблон:Unichar, LaTeX \fallingdotseq), commonly used in Japan, Taiwan, and Korea.
- ≓ (Шаблон:Unichar, LaTex \risingdotseq)
In some areas of East Asia such as Japan, "≒" is used to mean "the two terms are almost equal", but in other areas and specialized literature such as mathematics, "≃" is often used. In addition to its mathematical meaning, it is sometimes used in Japanese sentences with the intention of "almost the same".
Not equal
The symbol used to denote inequation (when items are not equal) is a slashed equal sign Шаблон:Char (U+2260). In LaTeX, this is done with the "\neq" command.
Most programming languages, limiting themselves to the 7-bit ASCII character set and typeable characters, use Шаблон:Code, Шаблон:Code, Шаблон:Code, or Шаблон:Code to represent their Boolean inequality operator.
Identity
The triple bar symbol Шаблон:Char (U+2261, LaTeX \equiv) is often used to indicate an identity, a definition (which can also be represented by Шаблон:Unichar or Шаблон:Unichar), or a congruence relation in modular arithmetic.
Isomorphism
The symbol Шаблон:Char is often used to indicate isomorphic algebraic structures or congruent geometric figures.
In logic
Equality of truth values (through bi-implication or logical equivalence), may be denoted by various symbols including Шаблон:Char, Шаблон:Char, and Шаблон:Char.
Additional precomposed symbols with code points in Unicode for notations related to the equal sign include the following:[18]
- ≌ (Шаблон:Unichar)
- ≔ (Шаблон:Unichar) (used to define a symbol or assign a variable)
- ≕ (Шаблон:Unichar)
- ≖ (Шаблон:Unichar)
- ≗ (Шаблон:Unichar)
- ≘ (Шаблон:Unichar)
- ≙ (Шаблон:Unichar)
- ≚ (Шаблон:Unichar) (a congruent angle, see also Equiangular polygon)
- ≛ (Шаблон:Unichar)
- ≜ (Шаблон:Unichar) (used to define a symbol)
- ≞ (Шаблон:Unichar)
- ≟ (Шаблон:Unichar)
- ⩴ (Шаблон:Unichar) (see also Backus–Naur form for Шаблон:Code)
- ⩵ (Шаблон:Unichar)
- ⩶ (Шаблон:Unichar)
Incorrect usage
The equal sign is sometimes used incorrectly within a mathematical argument to connect math steps in a non-standard way, rather than to show equality (especially by early mathematics students).
For example, if one were finding the sum, step by step, of the numbers 1, 2, 3, 4, and 5, one might incorrectly write
- 1 + 2 = 3 + 3 = 6 + 4 = 10 + 5 = 15.
Structurally, this is shorthand for
- ([(1 + 2 = 3) + 3 = 6] + 4 = 10) + 5 = 15,
but the notation is incorrect, because each part of the equality has a different value. If interpreted strictly as it says, it would imply that
- 3 = 6 = 10 = 15 = 15.
A correct version of the argument would be
- 1 + 2 = 3, 3 + 3 = 6, 6 + 4 = 10, 10 + 5 = 15.
This difficulty results from subtly different uses of the sign in education. In early, arithmetic-focused grades, the equal sign may be operational; like the equal button on an electronic calculator, it demands the result of a calculation. Starting in algebra courses, the sign takes on a relational meaning of equality between two calculations. Confusion between the two uses of the sign sometimes persists at the university level.[19]
Encodings
Related:
See also
Notes
References
- Шаблон:Cite book
- Boyer, C. B.: A History of Mathematics, 2nd ed. rev. by Uta C. Merzbach. New York: Wiley, 1989 Шаблон:ISBN (1991 pbk ed. Шаблон:ISBN)
External links
- Earliest Uses of Symbols of Relation
- Image of the page of The Whetstone of Witte on which the equal sign is introduced
- Scientific Symbols, Icons, Mathematical Symbols
- Robert Recorde invents the equal sign
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ See also geminus and Gemini.
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite book
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite book
- ↑ Шаблон:Cite book
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite web
- ↑ "HRC Story: Our Logo." Шаблон:Webarchive The Human Rights Campaign. HRC.org, Retrieved 4 December 2018.
- ↑ Шаблон:Cite web
- ↑ 18,0 18,1 Шаблон:Cite web
- ↑ Шаблон:Cite journal
- Английская Википедия
- Страницы с неработающими файловыми ссылками
- Mathematical symbols
- Welsh inventions
- 1557 introductions
- Definition
- Assignment operations
- Equivalence (mathematics)
- Страницы, где используется шаблон "Навигационная таблица/Телепорт"
- Страницы с телепортом
- Википедия
- Статья из Википедии
- Статья из Английской Википедии