Colon Equals — Definition, Formula & Examples
Colon equals (:=) is a symbol meaning "is defined as" or "is assigned the value of." It signals that the left-hand side is being introduced as a new name or notation for the expression on the right.
The symbol denotes a definitional equality, where the quantity or expression on the left side of is defined to be equal to the expression on the right. Unlike the standard equality sign , which asserts that two independently meaningful expressions have the same value, establishes the meaning of one side in terms of the other.
Key Formula
Where:
- = The new symbol or variable being defined
- = The known expression that gives x its meaning
How It Works
When you see , read it as " is defined to be ." The colon sits on the side of the symbol being defined. Some authors reverse the convention and write to define , placing the colon next to the new term. In programming languages like Pascal and Go, serves as the assignment operator, which inspired its mathematical usage. You will encounter most often in proofs, formal definitions, and algorithm descriptions where distinguishing a definition from a derived equation matters.
Worked Example
Problem: Define a function f(x) that gives the square of a number plus one, then evaluate it at x = 3.
Define: Use the colon-equals symbol to introduce the definition of f.
Evaluate: Substitute x = 3 into the defined expression.
Answer: After defining , we find . The told us this was a definition, not an equation to solve.
Why It Matters
In proof-based courses like real analysis and abstract algebra, distinguishing definitions from derived equalities prevents logical confusion. The symbol makes it immediately clear that a line is establishing new notation rather than claiming a result that needs justification.
Common Mistakes
Mistake: Treating := and = as interchangeable.
Correction: The symbol asserts that two expressions are equal (which may need proof), while declares a definition. Writing in a proof context may be ambiguous — the reader cannot tell if this is given, derived, or a definition. Use when you are defining .
