01 / 20
{}
\(\in\)

Correct Notation
& Definitions

Master the precise language of discrete math: sets, logic, functions, and quantifiers written the right way.

Discrete Math

Why Notation Matters

In discrete math, a single misplaced symbol can change the entire meaning of a statement. Writing \( x \in S \) versus \( x \subseteq S \) are completely different claims. Precise notation is the shared language that lets mathematicians communicate without ambiguity.

The Core Objects of Discrete Math

Sets
Collections of distinct objects: \( \{1, 2, 3\} \)
Propositions
Statements that are true or false: \( P \land Q \)
Functions
Mappings from domain to codomain: \( f\colon A \to B \)
Quantifiers
Scope of statements: \( \forall x,\; \exists y \)

Set Notation Essentials

U (Universal Set) A B
\(A \cap B\)
1, 3 5, 7 2, 4

Roster vs Set-Builder Notation

Roster Set-Builder
Format List elements explicitly Describe with a rule
Example \( \{2, 4, 6, 8\} \) \( \{x \in \mathbb{Z} \mid x \text{ is even}, 1 < x < 9\} \)
Best For Small, finite sets Large or infinite sets
Caution Order does not matter Must specify the domain

Logical Connectives and Their Symbols

\( \neg P \)
Negation: "not \( P \)"
\( P \land Q \)
Conjunction: "P and Q"
\( P \lor Q \)
Disjunction: "P or Q"
\( P \to Q \)
Implication: "if P then Q"
\( P \leftrightarrow Q \)
Biconditional: "P if and only if Q"
\( P \oplus Q \)
Exclusive or: "P or Q, not both"

Universal & Existential Quantifiers

\(\forall\)
Universal
"For all \(x\) in \(D\), \(P(x)\)"
Every element must satisfy P
\(\forall x \in D, P(x)\)
Negation: \(\exists x \in D, \neg P(x)\)
\(\exists\)
Existential
"There exists an \(x\) in \(D\)"
At least one element satisfies P
\(\exists x \in D, P(x)\)
Negation: \(\forall x \in D, \neg P(x)\)

Function Notation Done Right

A (Domain) a b c B (Codomain) 1 2 3
\(f\colon A \to B\)

\( \in \) vs \( \subseteq \): The Critical Distinction

\( \in \) Element Of
An object belongs to a set.
\( 3 \in \{1, 2, 3\} \)
Left side: element. Right side: set.
\( \subseteq \) Subset Of
A set is contained in another set.
\( \{1, 2\} \subseteq \{1, 2, 3\} \)
Both sides: sets.

\( \to \) vs \( \leftrightarrow \): Implication vs Biconditional

\( P \to Q \) \( P \leftrightarrow Q \)
Read as "if P then Q" "P if and only if Q"
False when \( P \) true, \( Q \) false \( P \) and \( Q \) differ in truth value
Equivalent to \( \neg P \lor Q \) \( (P \to Q) \land (Q \to P) \)
Converse \( Q \to P \) (different!) Same as original

How to Write Correctly

1
Identify the object type. Is it an element, a set, a proposition, or a function?
2
Choose the correct symbol. Use \( \in \) for elements, \( \subseteq \) for sets, \( \to \) for implication, etc.
3
Specify the domain. Always state where variables live: \( \forall x \in \mathbb{Z} \), not just \( \forall x \).
4
Check parentheses and scope. \( \neg(P \land Q) \) is not the same as \( \neg P \land Q \).
5
Read it back aloud. Translate symbols into English to verify the meaning matches your intent.

Example 1: Translating to Symbols

1
Identify the quantifier: "every" → \( \forall \)
2
Specify the domain: integers greater than 1 → \( n \in \mathbb{Z},\; n > 1 \)
3
"has a prime factor" → there exists a prime \( p \) that divides \( n \) → \( \exists p \in \mathbb{P},\; p \mid n \)

Example 2: Negating a Quantified Statement

1
Flip the quantifier: \( \forall \) becomes \( \exists \)
2
Negate the predicate: \( x^2 \geq 0 \) becomes \( x^2 < 0 \)
3
Keep the domain unchanged: \( x \in \mathbb{R} \)

Example 3: Set Membership vs Subset

Let \( S = \{1, \{2, 3\}, 4\} \). Determine which of the following are true.

\( 1 \in S \)
✓ True. The number 1 is an element of \( S \).
\( \{2, 3\} \in S \)
✓ True. The set \( \{2, 3\} \) is itself an element of \( S \).
\( 2 \in S \)
✕ False. The number 2 is not directly in \( S \); it is inside a nested set.

Common Mistakes

✕ Confusing \( \in \) and \( \subseteq \)
Writing \( \{3\} \in \{1,2,3\} \) when you mean \( \{3\} \subseteq \{1,2,3\} \).
✕ Missing Domain
Writing \( \forall x, x > 0 \) without specifying where \( x \) lives. Always state the domain.
✕ Wrong Negation
Negating \( \forall x, P(x) \) as \( \forall x, \neg P(x) \) instead of \( \exists x, \neg P(x) \).
✕ Misplaced Parentheses
Writing \( \neg P \land Q \) when you mean \( \neg(P \land Q) \). Scope matters enormously.

Notation Reference Table

Symbol Name Meaning
\( \in \) Element of Object belongs to a set
\( \subseteq \) Subset All elements of one set are in another
\( \forall \) Universal quantifier For all elements in the domain
\( \exists \) Existential quantifier There exists at least one element
\( \to \) Implication If ... then ...
\( \leftrightarrow \) Biconditional If and only if
\( \neg \) Negation Not
\( f\colon A \to B \) Function declaration Maps domain A to codomain B

Question 1 of 5

Which statement correctly says "3 is an element of the set {1, 2, 3}"?

Question 2 of 5

What is the correct negation of \( \forall x \in \mathbb{R}, x + 1 > x \)?

Question 3 of 5

Let \( S = \{a, \{b\}, c\} \). Which of the following is true?

Question 4 of 5

The implication \( P \to Q \) is false in exactly which case?

Question 5 of 5

Which notation correctly declares a function \( f \) mapping integers to real numbers?