Discrete Math Symbols Alt Codes

Copy a discrete math symbol, or read off its Alt code, HTML name and LaTeX macro, topic by topic.

¬Not signU+00ACReady to copy

84 symbols and notations. Tap any value to copy it.

84 symbols and notations. A character and its name both copy the character. A code copies the code.
CharacterNameCode pointAlt codeOption keysHTMLLaTeX
U+00AC. Negation, read not: ¬p is true when p is false. Alt+170 or Alt+0172 on a number pad, Option+L, ¬ in HTML and \neg in LaTeX.
U+2227. Conjunction, read and: p ∧ q is true when p and q are both true. Unicode also calls it wedge. ∧ in HTML, \wedge or \land in LaTeX.
U+2228. Disjunction, read or: p ∨ q is true when p, q or both are true. Unicode also calls it vee. ∨ in HTML, \vee or \lor in LaTeX.
U+2192. The conditional, read if p then q, or p implies q. The same arrow joins the domain of a function to its codomain. Alt+26, → in HTML, \to or \rightarrow in LaTeX.
U+2194. The biconditional, read if and only if: p ↔ q is true when p and q are both true or both false. Alt+29, ↔ in HTML and \leftrightarrow in LaTeX.
U+2200. The universal quantifier, read for all: ∀x P(x) says that every x has the property P. ∀ in HTML and \forall in LaTeX.
U+2203. The existential quantifier: ∃x P(x) says that at least one x has the property P. ∃ in HTML and \exists in LaTeX.

How it works

Eleven of these discrete math symbols have Alt codes: ¬ is Alt+170, → Alt+26, ↔ Alt+29, ≡ Alt+240, ∩ Alt+239, × Alt+0215, · Alt+250, ↑ Alt+24, ↓ Alt+25, Θ Alt+233 and Ω Alt+234. Copy the rest.

Read the full guide

A chart in nine topics

The chart keeps the symbols used in discrete math in topics: logic, proofs, set theory, functions and relations, counting, number theory, Boolean algebra, graphs and big O. Notation of more than one character, such as n!, ⌊x⌋, ₙCᵣ, Kₙ and O(n), is a row that pastes whole.

Function and relation symbols

A→B is a function with domain A and codomain B, ↦ reads maps to, ∘ composes two functions, and ⌊x⌋ and ⌈x⌉ are floor and ceiling. Among relations, ∼ is the standard sign of an equivalence relation and ≡ is congruence modulo m.

  • ∣ for divides is U+2223, a character apart from the vertical line of a keyboard, U+007C.
  • On paper the table is a black and white symbols sheet with every code column on it.

Questions and answers

What is symbolic notation in discrete math?

Statements written in signs in place of words: ¬ for not, ∧ for and, ∨ for or, → for if then, ↔ for if and only if, ∀ for for all and ∃ for there exists. ∀x P(x) says every x has the property P.

Which proof symbols does discrete math use?

∴ is short for therefore and ⇒ reads implies. ∎ marks the end of a proof, in place of Q.E.D. A contradiction has no agreed sign: ↯, ※, ⊥ and ⇒⇐ are all in use.

What do the set theory symbols mean?

∈ is membership, ⊆ subset, ∪ union, ∩ intersection, ∖ difference, × the Cartesian product and ∅ the empty set. |A| is the number of elements in A, and 𝒫(A) is its power set, the set of all its subsets.

Is it discrete, discreet or descrete math?

Discrete: the math of discrete structures, such as integers, graphs and statements in logic, rather than continuous ones. Discreet sounds the same and means respectful of privacy. Descrete is a misspelling.

All 84 symbols and notations

Start here 7

  • For all U+2200. The universal quantifier, read for all: ∀x P(x) says that every x has the property P. ∀ in HTML and \forall in LaTeX.
  • Left right arrow U+2194. The biconditional, read if and only if: p ↔ q is true when p and q are both true or both false. Alt+29, ↔ in HTML and \leftrightarrow in LaTeX.
  • Logical and U+2227. Conjunction, read and: p ∧ q is true when p and q are both true. Unicode also calls it wedge. ∧ in HTML, \wedge or \land in LaTeX.
  • Logical or U+2228. Disjunction, read or: p ∨ q is true when p, q or both are true. Unicode also calls it vee. ∨ in HTML, \vee or \lor in LaTeX.
  • Not sign U+00AC. Negation, read not: ¬p is true when p is false. Alt+170 or Alt+0172 on a number pad, Option+L, ¬ in HTML and \neg in LaTeX.
  • Rightwards arrow U+2192. The conditional, read if p then q, or p implies q. The same arrow joins the domain of a function to its codomain. Alt+26, → in HTML, \to or \rightarrow in LaTeX.
  • There exists U+2203. The existential quantifier: ∃x P(x) says that at least one x has the property P. ∃ in HTML and \exists in LaTeX.
Show all 84 symbols and notations (77 more)

Logic 5

  • Circled plus U+2295. Exclusive or, XOR: p ⊕ q is true when p or q is true and not both. ⊕ in HTML and \oplus in LaTeX.
  • Identical to U+2261. Between two statements, is logically equivalent to. Between two integers, congruence: a ≡ b (mod m). Alt+240, ≡ in HTML and \equiv in LaTeX.
  • Rightwards double arrow U+21D2. Read implies. In written reasoning it has largely taken the place of →, which logic keeps for the conditional. ⇒ in HTML and \Rightarrow in LaTeX.
  • There exists exactly one Made of U+2203 and an exclamation mark, U+0021. Uniqueness: ∃!x P(x) says that exactly one x has the property P. \exists followed by ! in LaTeX.
  • Up tack U+22A5. A statement that is always false, also written F. It is one of the signs set where a proof reaches a contradiction, too. ⊥ in HTML and \bot in LaTeX.

Proofs 5

  • Contradiction arrows Made of U+21D2 and U+21D0: two double arrows that collide, a third way to mark a contradiction. \Rightarrow and \Leftarrow in LaTeX.
  • Downwards zigzag arrow U+21AF. One of the signs that mark a contradiction reached in a proof. No one sign is agreed on.
  • End of proof U+220E. Marks the end of a proof; the letters Q.E.D. are often used for the same purpose. Unicode's other name for it is q.e.d.
  • Reference mark U+203B. Another sign in use for a contradiction in a proof.
  • Therefore U+2234. Short for therefore: it stands before a conclusion. ∴ in HTML; \therefore in LaTeX needs amssymb.

Sets 14

  • Cardinality of A Made of the set's name between two vertical lines, U+007C. The number of elements in A.
  • Complement of A Made of A and U+1D9C, a raised small c. The set of the elements that are not in A. An overline over the A is another way to write it.
  • Double-struck capital n U+2115. The natural numbers: 1, 2, 3 and so on, or in some books 0, 1, 2 and so on. ℕ in HTML.
  • Double-struck capital z U+2124. The integers: the whole numbers, negative, zero and positive. ℤ in HTML.
  • Element of U+2208. Set membership: x ∈ S says the set S has x as an element, read is in or belongs to. ∈ in HTML and \in in LaTeX.
  • Empty set U+2205. The set with no elements, also written {}. ∅ in HTML and \emptyset in LaTeX.
  • Intersection U+2229. A ∩ B is the set of the elements found in both A and B. Alt+239, ∩ in HTML and \cap in LaTeX.
  • Mathematical script capital p U+1D4AB. Unicode's note: power set. 𝒫(S) collects every subset of S, also written P(S). 𝒫 in HTML.
  • Multiplication sign U+00D7. Between two sets, the Cartesian product: A × B is the set of every pair made of one element of A and one of B. Alt+0215, × in HTML and \times in LaTeX.
  • Not an element of U+2209. Read is not in: x ∉ S. ∉ in HTML and \notin in LaTeX.
  • Set minus U+2216. A ∖ B is the set of the elements of A that are not in B. ∖ in HTML and \setminus in LaTeX.
  • Subset of U+2282. Set inclusion. Some books mean any subset by it and others only a proper subset. ⊂ in HTML and \subset in LaTeX.
  • Subset of or equal to U+2286. A ⊆ B says that A is a subset of B, and that the two may be equal. ⊆ in HTML and \subseteq in LaTeX.
  • Union U+222A. A ∪ B is the set that holds every element of A and of B. ∪ in HTML and \cup in LaTeX.

Functions and relations 12

  • Ceiling of x Made of U+2308, x and U+2309. The lowest integer that is not less than x. ⌈ and ⌉ in HTML, \lceil and \rceil in LaTeX.
  • Equivalence class of a Made of a in square brackets. Under an equivalence relation, the class of everything equivalent to a.
  • Floor of x Made of U+230A, x and U+230B. The largest integer no greater than x. ⌊ and ⌋ in HTML, \lfloor and \rfloor in LaTeX.
  • Function from A to B Made of A, U+2192 and B. A function with domain A and codomain B; f : A → B names it f.
  • Precedes or equal to U+227C. Named precedes or equal to: ≤ drawn with curved strokes. ≼ in HTML; \preccurlyeq in LaTeX needs amssymb.
  • Preimage under f Made of f, U+207B and U+00B9, a raised minus one. f⁻¹(Y) is the preimage of the set Y under f.
  • Rightwards arrow from bar U+21A6. Read maps to: x ↦ x² defines the squaring function without naming it. ↦ in HTML and \mapsto in LaTeX.
  • Rightwards arrow with tail U+21A3. Unicode's note: z notation total injection. An injection is a one-to-one function. ↣ in HTML; \rightarrowtail in LaTeX needs amssymb.
  • Rightwards two headed arrow U+21A0. Unicode's note: z notation total surjection. A surjection is an onto function. ↠ in HTML; \twoheadrightarrow in LaTeX needs amssymb.
  • Rightwards two-headed arrow with tail U+2916. Unicode's note: bijective mapping. A bijection is one-to-one and onto. ⤖ in HTML.
  • Ring operator U+2218. Function composition: (g ∘ f)(x) = g(f(x)). Unicode's other name for it is composite function. ∘ in HTML and \circ in LaTeX.
  • Tilde operator U+223C. A tilde between two things is the standard notation for an equivalence relation: a ∼ b. ∼ in HTML and \sim in LaTeX.

Counting 5

  • Combinations of n taken r Made of U+2099, C and U+1D63. The number of selections of r things out of n when the order of selection does not matter.
  • n factorial Made of n and an exclamation mark, U+0021. The first n positive integers, multiplied. As a rate of growth, O(n!) is the factorial order.
  • N-ary product U+220F. Unicode's product sign: the product of the terms that its subscript and superscript mark out. Option+Shift+P, ∏ in HTML and \prod in LaTeX.
  • N-ary summation U+2211. Unicode's summation sign: the sum of the terms that its subscript and superscript mark out. Option+W, ∑ in HTML and \sum in LaTeX.
  • Permutations of n taken r Made of U+2099, P and U+1D63, a subscript n and r. The number of ordered arrangements of r things out of n.

Number theory 7

  • Divides U+2223. a ∣ b says that a divides b evenly. Unicode's other name for it is such that. ∣ in HTML and \mid in LaTeX.
  • Does not divide U+2224. a ∤ b says that a is not a divisor of b. ∤ in HTML; \nmid in LaTeX needs amssymb.
  • Euler's totient function Made of U+03C6, the Greek letter phi, and n in brackets. Counts the positive integers up to n that are coprime to n.
  • Greatest common divisor Made of the letters g, c and d. gcd(a,b) is the largest positive integer that divides both a and b: gcd(8,12) is 4.
  • Integers modulo n Made of U+2124 and U+2099, a subscript n. The integers modulo n, also written ℤ/nℤ.
  • Least common multiple Made of the letters l, c and m. lcm(a,b) is the least positive integer both a and b divide.
  • Modulo Made of the letters m, o and d. b mod m is the integer r from 0 up to m − 1 with r ≡ b (mod m): the remainder.

Boolean algebra 4

  • Complement of x Made of x and U+2032, the prime. One way to write NOT x. An overline over the x is another, used primarily in electronics.
  • Downwards arrow U+2193. NOR, the Peirce arrow: p ↓ q is true only when p and q are both false. Alt+25, ↓ in HTML and \downarrow in LaTeX.
  • Middle dot U+00B7. AND, written x·y. OR has a matching form with the plus sign, x + y. Alt+250 or Alt+0183, Option+Shift+9 and · in HTML.
  • Upwards arrow U+2191. The Sheffer stroke, NAND: p ↑ q is the negation of p ∧ q. Alt+24, ↑ in HTML and \uparrow in LaTeX.

Graphs 15

  • Chromatic index Made of U+03C7 and a prime, U+2032. χ′(G) is the minimum number of colours needed in a proper edge colouring of G.
  • Chromatic number of G Made of U+03C7, the Greek letter chi, and G in brackets. The minimum number of colours needed in a proper colouring of G.
  • Clique number of G Made of U+03C9, the small omega, and G in brackets. The largest clique's order in G.
  • Complete bipartite graph Made of K, U+2098, a comma and U+2099. m vertices on one side and n on the other, with every two vertices on opposite sides adjacent.
  • Complete graph on n vertices Made of K and U+2099, a subscript n. The graph in which every two of the n vertices are adjacent.
  • Cycle graph on n vertices Made of C and U+2099. The cycle graph with n vertices.
  • Degree of a vertex Made of the letters d, e and g. deg(v) counts the edges that meet the vertex v.
  • Hypercube graph Made of Q and U+2099. The graph made of the n-dimensional hypercube's vertices and edges.
  • Independence number of G Made of U+03B1, the small alpha, and G in brackets. The size of the largest set of vertices with no edge between any two.
  • Maximum degree of G Made of U+0394, the capital delta, and G in brackets. The largest degree of any vertex of G.
  • Minimum degree of G Made of U+03B4, the small delta, and G in brackets. The smallest degree of any vertex of G.
  • Order of a graph Made of V between two vertical lines, U+007C. The number of vertices.
  • Path graph on n vertices Made of P and U+2099. The path graph: n vertices in a row, each joined to the next.
  • Size of a graph Made of E between two vertical lines, U+007C. The number of edges.
  • Wheel graph Made of W and U+2099. A cycle plus one more vertex joined to every vertex of it. The numbering of wheels is not standard.

Big O 10

  • Big O of n Made of a capital O and n in brackets. f = O(g) says that f is bounded above by g, up to a constant factor. O(n) is linear growth.
  • Big omega of n Made of U+03A9 and n in brackets. f = Ω(g) says that g, times some constant, is a lower bound on f.
  • Big theta of n Made of U+0398 and n in brackets. f = Θ(g) says that g bounds f both above and below, up to constant factors.
  • Constant order Made of a capital O and 1 in brackets. The constant order: any bounded function is O(1).
  • Exponential growth Made of 2 and U+207F, superscript n. O(2ⁿ) is an exponential order.
  • Greek capital letter omega U+03A9. The letter of big omega. Alt+234, Option+Z, Ω in HTML and \Omega in LaTeX.
  • Greek capital letter theta U+0398. The letter of big theta. Alt+233, Θ in HTML and \Theta in LaTeX.
  • Little o of n Made of a small o and n in brackets. f = o(g) says that g asymptotically dominates f.
  • Little omega of n Made of U+03C9 and n in brackets. f = ω(g) says that f dominates g asymptotically.
  • Quadratic growth Made of n and U+00B2, superscript two. O(n²) is the quadratic order.

How this list was compiled: Names, and the code points they belong to, are checked against UnicodeData.txt, version 18.0.0 (https://www.unicode.org/Public/18.0.0/ucd/UnicodeData.txt), and printed in sentence case. Notes that begin Unicode's note, and the other names Unicode gives a character, quote NamesList.txt of the same version (https://www.unicode.org/Public/18.0.0/ucd/NamesList.txt). Alt codes are from the code page 437 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT), the PC graphics table for 1 to 31 (https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/IBMGRAPH.TXT) and the code page 1252 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT); a character that none of the three holds has no Alt code here. That some apps, rich text editors in particular, read an Alt code from 256 to 65,535 as a Unicode code point: https://en.wikipedia.org/wiki/Alt_code. Option keys are those of the U.S. keyboard layout as CLDR records it (https://github.com/unicode-org/cldr/blob/release-42/keyboards/osx/en-t-k0-osx.xml). HTML entity names are from https://html.spec.whatwg.org/entities.json. LaTeX macros are listed only when LaTeX's own fontdef.dtx (https://github.com/latex3/latex2e/tree/develop/base) or the amssymb source (https://ctan.org/pkg/amsfonts) defines them, matched to a code point through unicode-math-table.tex (https://github.com/latex3/unicode-math); a note says so when a macro needs amssymb. What each sign is read as and what it denotes: https://en.wikipedia.org/wiki/List_of_logic_symbols and https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols. The signs for a contradiction: https://en.wikipedia.org/wiki/Contradiction. Sets: https://en.wikipedia.org/wiki/Power_set and https://en.wikipedia.org/wiki/Complement_(set_theory). One-to-one and onto: https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection. Counting: https://en.wikipedia.org/wiki/Permutation and https://en.wikipedia.org/wiki/Combination. Number theory: https://en.wikipedia.org/wiki/Modular_arithmetic, https://en.wikipedia.org/wiki/Greatest_common_divisor, https://en.wikipedia.org/wiki/Least_common_multiple and https://en.wikipedia.org/wiki/Euler%27s_totient_function. NAND and NOR: https://en.wikipedia.org/wiki/Sheffer_stroke and https://en.wikipedia.org/wiki/Logical_NOR. Graphs: https://en.wikipedia.org/wiki/Glossary_of_graph_theory, https://en.wikipedia.org/wiki/Complete_bipartite_graph, https://en.wikipedia.org/wiki/Path_graph, https://en.wikipedia.org/wiki/Hypercube_graph and https://en.wikipedia.org/wiki/Degree_(graph_theory). Growth of functions: https://en.wikipedia.org/wiki/Big_O_notation. What discrete mathematics studies: https://en.wikipedia.org/wiki/Discrete_mathematics. The meaning of discreet: https://en.wiktionary.org/wiki/discreet. What is listed: the signs and the notation of a first course in discrete mathematics, one form of each. Left out: signs with a page of their own for their other forms, and notation that takes more than one line. The Start here group, the made rows, the grouping and the order are this site's own choice. All sources were read on 2026-10-09. Licence: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; aliases and notes marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., https://www.unicode.org/license.txt)