Triangle Equal in LaTeX (\triangleq)

≜\triangleq
LaTeX command
\triangleq
Package
Add to your preamble:\usepackage{amssymb}
Mode
Math mode only
Copy the Unicode character
≜U+225C

Where it is used

Equals sign topped with a small triangle, read is defined as.

Signal processing, control theory and information theory papers often prefer \triangleq for definitions, as in H(X) \triangleq -\sum p(x) \log p(x). It plays the same role as := but is symmetric, so it does not indicate which side is new. Some readers find it unfamiliar, so mention the convention once in the notation section. Alternatives include \stackrel{\text{def}}{=} or \overset{\mathrm{def}}{=}, and \equiv in physics. It is a relation, so spacing is automatic. Spell out the convention for any reader outside your field.

Also listed under: Computer Science

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

H(X)≜−∑xp(x)log⁡p(x)H(X) \triangleq -\sum_{x} p(x) \log p(x)
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Triangle Equal: $\triangleq$

\[ H(X) \triangleq -\sum_{x} p(x) \log p(x) \]
\end{document}

Related symbols

All Relations & Comparisons →

Frequently asked questions

How do I write Triangle Equal in LaTeX?
Type \triangleq in math mode, for example $H(X) \triangleq -\sum_{x} p(x) \log p(x)$. Load amssymb first with \usepackage{amssymb}.
Which package do I need for \triangleq?
\triangleq needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
Can I use \triangleq in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\triangleq$ in running text. If you only need the glyph in text, paste the Unicode character ≜ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredWrite LaTeX using AI

Best AI LaTeX Editor, Overleaf Alternative

Octree helps researchers from 15+ universities write research papers faster using AI

  • Generate beautiful TikZ diagrams using AI
  • Upload image and convert it to LaTeX seamlessly
  • Get instant assistance with writing and formatting research papers