• Skip to primary navigation
  • Skip to content
  • Skip to footer
Paul Wintz
  • CV
  • Publications
    • Tools
    • Dictionary of Fine Distinctions
    • Writing Tips
    • LaTeX Macros
    • UAW 4811 Resources
    • Photography
    • Art
    1. Home
    2. /
    3. Definitions
    4. /
    5. Set difference

    Set difference

    Definition · applies to sets · also called $A \setminus B$, relative complement

    High school

    Consider1 two sets $A$ and $B$. The set difference $A \setminus B$ is the set of elements of $A$ that are not in $B$.

    Examples

    Worked examples

    • $A = \lbrace 1, 2 \rbrace$ and $B = \lbrace 3, 4 \rbrace$ : $A \setminus B = \lbrace 1, 2 \rbrace$ Elementary

    All definitions · All distinctions · All examples

    Collection: Definitions

    Updated: November 4, 2026

    Previous Next
    • Follow:
    • GitHub
    • Google Scholar
    • ORCID
    • LinkedIn
    • Feed
    © 2026 Paul Wintz. Powered by Jekyll & Minimal Mistakes. [Site map]