what does this symbol mean?
A capital A and a capital B with a backslash-like stroke between them

Set difference (A ∖ B)

A ∖ B, read “A minus B”, is the set difference: the elements of A that are not in B. It is also written A − B.

Easily confused with

How to read it

Oscar Levin’s Discrete Mathematics defines A ∖ B as the set of all elements of A which are not elements of B: start with A and remove everything that is also in B. It is the same as A ∩ B̄, the part of A outside B. The order matters. OpenStax’s Contemporary Mathematics, using the minus-sign form, works an example: with A = {a, b, c, d} and B = {b, d, f, h}, A − B = {a, c} but B − A = {f, h}. NIST’s Digital Library of Mathematical Functions calls ∖ “set subtraction”, and Unicode names it SET MINUS (U+2216).

Also searched as: A ∖ B, A - B sets, A minus B, backslash in sets, relative complement, set minus.

∖ or −

Both are in use. Levin and NIST write the slanted ∖; the Sets Challenge app that OpenStax mentions uses the minus sign. Taken from the universal set, U ∖ A is the Complement of a set (A′) A′.

Look-alikes

The set minus leans the same way as the keyboard backslash \, and Unicode cross-refers the two, but they are separate characters; Unicode also lists the reverse solidus operator ⧵ (U+29F5) and the mathematical falling diagonal ⟍ (U+27CD) as look-alikes.

More set theory symbols

The same shape elsewhere

Sources

Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research

Added .

Report a problem

Please don’t include personal details.