LaTeX Reference
[!links] Parent: COMP 256 MOCCOMP 256 MOC\[!links\] \_Home MOC References LaTeX Reference Class Notes cn256_IntegersAndDivision_2026-03-24 Midterm COMP 256 Midterm Studyguide
Set Symbols
| Category | Symbol | Source |
|---|---|---|
| Set Membership | $x \in A$ | x \in A |
| Subset | $B \subset C$ | B \subset C |
| Subset Equal To | $B \subseteq C$ | B \subseteq C |
| Proper Subset | $B \subsetneq C$ | B \subsetneq C |
| $B \subsetneqq C$ | B \subsetneqq C |
|
| Union | $A \cup B$ | A \cup B |
| Intersection | $A \cap B$ | A \cap B |
| Complement | $A^c$ | A^c |
| $\complement(A)$ | \complement(A) |
|
| Empty Set | $\emptyset$ | \emptyset |
| Cardinality | $\mid A \mid$ | \mid A \mid; |
| Logical AND | $p \land q$ | p \land q |
| Logical OR | $p \lor q$ | p \lor q |
| Logical NOT | $\neg p$ | \neg p |
| Implication | $p \rightarrow q$ | p \rightarrow q |
| Biconditional (If and Only If) | $p \leftrightarrow q$ | p \leftrightarrow q |
| Quantifiers | $\forall x \in A, P(x)$ | \forall x \in A, P(x) |
| $\exists x \in A, P(x)$ | \exists x \in A, P(x) |
|
| Equality | $a = b$ | a = b |
| Inequality (Not Equal) | $a \neq b$ | a \neq b |