# Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# Equal

returns True if lhs and rhs are identical.

## DetailsDetails

• is used to represent a symbolic equation, to be manipulated using functions like Solve.
• returns True if lhs and rhs are ordinary identical expressions.
• returns False if lhs and rhs are determined to be unequal by comparisons between numbers or other raw data, such as strings.
• Approximate numbers with machine precision or higher are considered equal if they differ in at most their last seven binary digits (roughly their last two decimal digits).
• For numbers below machine precision the required tolerance is reduced in proportion to the precision of the numbers.
• gives True.
• gives True if all the are equal.
• Equal[e] gives True.
• For exact numeric quantities, Equal internally uses numerical approximations to establish inequality. This process can be affected by the setting of the global variable \$MaxExtraPrecision.
• Equal remains unevaluated when lhs or rhs contains objects such as Indeterminate and Overflow.
• In StandardForm and InputForm, can be input as lhs\[Equal]rhs or .
• It can also be input as \[LongEqual] or .
• In TraditionalForm, is output as .

## ExamplesExamplesopen allclose all

### Basic Examples  (2)Basic Examples  (2)

Test equality:

 In[1]:=
 Out[1]=

Represent an equation:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=