×

注意!页面内容来自https://www.geeksforgeeks.org/maths/equal-sign/,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

<> #nprogress { pointer-events: none; } #nprogress .bar { background: #29D; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 3px; } #nprogress .peg { display: block; position: absolute; right: 0px; width: 100px; height: 100%; box-shadow: 0 0 10px #29D0 0 5px #29D; opacity: 1; -webkit-transform: rotate(3deg) translate(0px-4px); -ms-transform: rotate(3deg) translate(0px-4px); transform: rotate(3deg) translate(0px-4px); } #nprogress .spinner { display: block; position: fixed; z-index: 1031; top: 15px; right: 15px; } #nprogress .spinner-icon { width: 18px; height: 18px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #29D; border-left-color: #29D; border-radius: 50%; -webkit-animation: nprogresss-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; } .nprogress-custom-parent { overflow: hidden; position: relative; } .nprogress-custom-parent #nprogress .spinner, .nprogress-custom-parent #nprogress .bar { position: absolute; } @-webkit-keyframes nprogress-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes nprogress-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  • Interview Prep
  • Tutorials
  • Tracks

Equal Sign

Last Updated : 23 Jul2025

The equal sign (=) is universally recognized as a symbol of equality. It's a symbol that shows when two things are the same. When we want to say two amounts are equalwe use the equal sign to connect them. Equal Signs are crucial in making equations in maths.

The equal sign is commonly used in both basic math and algebra. Here are some examples to illustrate:

  • 3+2 = 5 (This shows that the sum of 3 and 2 is equal to 5)
  • 8−3 = 5 (Hereit signifies that 8 minus 3 equals 5)
  • 2×4 = 8 (This indicates that 2 multiplied by 4 is equal to 8)
  • 10÷2 = 5 (It states that 10 divided by 2 results in 5)

In each examplethe equal sign helps express the equality between the quantities on both sides.

Equal Sign in Maths

The equal sign is written as two horizontal linesi.e. =. This symbol is used in mathematics to represent two equal values. We know that 2 + 7 is equal to 9 so this is represented as,

2 + 7 = 9

Equal Sign is also calledequal to signequals sign and other. Equal to sign is located between algebraic expressions and tells us that variables are equal to the what constant and other variables. Every equation in maths has an equal sign and thus the name equation. In keyboardsthis symbol is present near the backspace button.

Equal To Symbol

The symbol representing the equal sign is '=' with two parallel horizontal lines. It is used specifically when two quantities being compared are precisely the same. Different symbols are employed for various types of comparisons.

Not Equal Symbol

The unequal signdenoted as ≠; is a mathematical symbol representing inequality. It signifies that the values on either side of the symbol are not equal. This notation is widely used in mathematics to express comparisons where one quantity is not the same as the other. For exampleif you have 5 ≠ 7it means that 5 is not equal to 7. The symbol helps express the idea that the two numbers are different from each other.

Equal Sign in Programming Languages

Beyond mathematicsthe equal sign plays a pivotal role in programming languageswhere it functions in several critical capacities that are fundamental to software development. In programmingthe equal sign is primarily used in two contexts: variable assignment and equality comparisonboth of which are integral to almost all programming tasks.

Variable Assignment

In various programming languages like PythonJavaand JavaScriptthe equal sign (=) is employed to assign values to variables. This operation is foundational because it allows programmers to storemanipulateand retrieve data within their applications. For instancesetting x = 5 in Python assigns the value 5 to the variable xenabling the program to use this value in subsequent operations.

Equality Comparison

In contrast to assignmentthe equal sign is doubled up (==) to perform equality comparisons in many languages. This operator evaluates whether the values on either side are equivalentreturning True if they match and False otherwise. For examplethe statement if (x == 5) in JavaScript checks whether x equals 5allowing for conditional execution of code based on the comparison's outcome.

These uses of the equal sign demonstrate its versatility and critical role in programmingunderpinning everything from simple data handling to complex decision-making processes within a program

Difference Between Equal and Not Equal Symbol

The key differences between equal and not equal symbols are listed in the following table:

AspectEqual (=)Not Equal ()
MeaningRepresents equality between two values.Represents inequality between two values.
Usage in ProgrammingUsed to assign a value to a variable.Used to compare two values for inequality.
Mathematical NotationIndicates equality between two expressions.Indicates inequality between two expressions.
Example (Programming)x = 5y != 10
Example (Mathematics)a =bc ≠ d

Equal Sign has various other symbols which have different meanings and can be used in place of equal sign in mathematics as per the requirement of the statement. Some important symbols related to equality are listed below.

Name of Symbol

Symbol

Meaning

Example

Not Equal To

This symbol is used to state that the values are not equal to each other

5 ≠ 0

Equivalence

Signifies Absolute Equality

  • A = {123}
  • B = Set of Natural Number less than 4

A ≡ B

Greater than Equal To

Indicates a value equal to or greater than

10 ≥ 8

Less than Equal To

Denotes a value equal to or less than

3 ≤ 5

Approximately Equal To

Represents an approximation

π ≈ 3.14

Importance of Equal Symbol

The equal sign'='is crucial in mathematics for several reasons:

  1. Expressing Equality: The primary role of the equal sign is to show equality between two quantities. It indicates that the values on either side are the same.
  2. Building Equations: The equal sign is fundamental in creating equations and allows us to formulate mathematical relationships and solve problems by representing the balance between different quantities.
  3. Algebraic Manipulation: In algebrathe equal sign is instrumental in manipulating expressions and solving equations. enables the transformation of mathematical statements while maintaining equality.
  4. Logical Foundation: The equal sign establishes a logical foundation for mathematical operations. It clarifies the relationships between numbers and variablesfacilitating a systematic approach to problem-solving.
  5. Communication in Mathematics: The equal sign serves as a universal symbol in mathematicsaiding clear and concise communication. It allows mathematicians to convey complex ideas and relationships in a standardized and easily understandable manner.
  6. Problem Solving: Whether in basic arithmetic or advanced algebrathe equal sign is essential for solving mathematical problems. It helps in setting up and solving equations to find unknown values.

Historical Background of Equal To Sign

The symbol =representing the equal signhas its historical origins in the 16th century. Equal Sign was introduced by the mathematician Robert Recorde in 1557in his work The Whetstone of Witte. Before the equal signmathematicians used lengthy phrases to explain equality. Recorde's innovation offered a concise and clear way to express equality in mathematical notation.

The equal sign's design is credited to Recordewho aimed for a balanced and harmonious symbol. With timeit gained broad acceptance and became a standard notation in mathematics.

The equal sign became important in developing algebra and mathematical notationmaking it easier to represent equations and improving mathematical communication. Todayit continues to be a key symbol in mathematicsused to show equality and balance in mathematical

Equal Sign Solved Examples

Example 1: Find algaberic expression of twice the number plus 12 is equal to 20.

Solution:

Let the number be "x"

According to condition,

2x + 12 = 20

Example 2: 2x + 11 = 5.

Solution:

2x + 11 = 5

⇒ 2x = 5 - 11

⇒ 2x = -6

⇒ x = -3

AlsoCheck

Practice Problems on Equal Sign

Problem 1: Alex has 15 marblesand his friend has some marbles. If the number of marbles his friend has is exactly half of Alex'show can you express this relationship using the equal sign?

Problem 2: Sarah has 3 times as many apples as Jake. If Jake has A appleshow can you represent the number of apples Sarah has using the equal sign?

Problem 3: The sum of a number p and 12 is equal to 20. How can you write this as a mathematical equation?

Problem 4: Lisa has twice the number of books as Mike. If Mike has B bookshow can you use the equal sign to express the number of books Lisa has?

Problem 5: The product of a number q and 5 is 35. How can you represent this relationship using the equal sign?


Equal-to-Sign
Comment

Explore