[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Logic Symbols in Math: Connectives, Quantifiers, and Examples

[Math glossary](https://learningfolio.de5.net/math/glossary/)

# Logic Symbols in Math: Connectives, Quantifiers, and Examples

Read AND, OR, NOT, implication, and quantifier symbols. Use their truth tables and six examples to translate statements accurately.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/logic-symbols/#tldr)
* [Key Points](https://learningfolio.de5.net/math/logic-symbols/#key-points)
* [What do the main logic symbols mean?](https://learningfolio.de5.net/math/logic-symbols/#what-do-the-main-logic-symbols-mean)
* [How do the connectives work in a truth table?](https://learningfolio.de5.net/math/logic-symbols/#how-do-the-connectives-work-in-a-truth-table)
* [How do quantifiers depend on the domain?](https://learningfolio.de5.net/math/logic-symbols/#how-do-quantifiers-depend-on-the-domain)
* [Which set symbols often appear alongside logic?](https://learningfolio.de5.net/math/logic-symbols/#which-set-symbols-often-appear-alongside-logic)
* [Worked Logic Symbol Examples](https://learningfolio.de5.net/math/logic-symbols/#worked-logic-symbol-examples)
* [Mistakes That Change a Logical Statement](https://learningfolio.de5.net/math/logic-symbols/#mistakes-that-change-a-logical-statement)
* [Try It Yourself](https://learningfolio.de5.net/math/logic-symbols/#try-it-yourself)
* [Questions About Logic Symbols](https://learningfolio.de5.net/math/logic-symbols/#questions-about-logic-symbols)
* [Conclusion](https://learningfolio.de5.net/math/logic-symbols/#conclusion)
* [Read More](https://learningfolio.de5.net/math/logic-symbols/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/logic-symbols/#research-behind-this-article)

## TL;DR

**Logic symbols show how statements are joined or quantified.** Read $\neg$ as NOT, $\land$ as AND, $\lor$ as inclusive OR, $\to$ as implies, $\forall$ as for all, and $\exists$ as there exists.

## Key Points

* A proposition has a truth value. A predicate may need a value or quantifier before it becomes a proposition.
* Inclusive OR allows both statements to be true.
* An implication is false when its condition is true and its consequence is false.
* Quantifiers depend on the domain of values under discussion.
* Use parentheses to show which expression a negation or connective applies to.

## What do the main logic symbols mean?

| Symbol | Read as | Meaning |
| --- | --- | --- |
| $\neg P$ | Not $P$ | Reverses the truth value of $P$ |
| $P\land Q$ | $P$ and $Q$ | Both statements must be true |
| $P\lor Q$ | $P$ or $Q$ | At least one must be true |
| $P\oplus Q$ | $P$ exclusive-or $Q$ | Exactly one must be true when this notation is used for XOR |
| $P\to Q$ | If $P$, then $Q$ | False only if $P$ is true and $Q$ false |
| $P\leftrightarrow Q$ | $P$ if and only if $Q$ | The two truth values must agree |
| $\forall x$ | For every $x$ | Every allowed value must satisfy the predicate |
| $\exists x$ | There exists an $x$ | At least one allowed value must satisfy it |
| $\exists!x$ | There exists exactly one $x$ | One value satisfies the predicate and no other does |

Texts also use $\Rightarrow$ or $\Leftrightarrow$ for implication and equivalence in mathematical reasoning. Follow the notation used in your course. For instance, $\equiv$ can mark logical equivalence in one context and a different relation in another. OpenStax and TU Delft discuss the truth-value conventions.

![Six cards pair logic symbols with not, and, or, implies, for all, and there exists](https://learningfolio.de5.net/assets/versioned/logic-symbols-connectives-and-quantifiers.f5e850e4e6cc.webp)


Connectives combine statements. Quantifiers indicate which values must satisfy a predicate.

## How do the connectives work in a truth table?

Test every pair of truth values when you use two propositions. The conditional and the biconditional follow different columns.

| $P$ | $Q$ | $P\land Q$ | $P\lor Q$ | $P\oplus Q$ | $P\to Q$ | $P\leftrightarrow Q$ |
| --- | --- | --- | --- | --- | --- | --- |
| True | True | True | True | False | True | True |
| True | False | False | True | True | False | False |
| False | True | False | True | True | True | False |
| False | False | False | False | False | True | True |

The OR and XOR columns differ when both inputs are true. The conditional fails in exactly one row. The [tautology guide](https://learningfolio.de5.net/math/tautology-in-math/) uses the final column to classify whole expressions.

## How do quantifiers depend on the domain?

A predicate such as $x>0$ has a truth value once you specify a number $x$. In $\forall x$ or $\exists x$, specify the set from which $x$ can be chosen. “Every $x$ is positive” is true over the positive integers but false over all integers. The symbol $\in$ means “is a member of.” Thus $\exists x\in\mathbb Z$ reads “there is an integer $x$.”

The order of quantifiers matters. “For every integer $x$ there is an integer $y$ with $y>x$” is true because you can choose $y=x+1$. “There is an integer $y$ greater than every integer $x$” is false because $x=y+1$ would exceed it. Oscar Levin's discrete mathematics text treats this difference in its statements chapter.

## Which set symbols often appear alongside logic?

| Symbol | Meaning | Example |
| --- | --- | --- |
| $\in$ | Member of a set | $2\in\{1,2,3\}$ |
| $\notin$ | Not a member | $4\notin\{1,2,3\}$ |
| $\subseteq$ | Is a subset of, allowing equality | $\{1\}\subseteq\{1,2\}$ |
| $\cap$ | Intersection, membership in both | $\{1,2\}\cap\{2,3\}=\{2\}$ |
| $\cup$ | Union, membership in either or both | $\{1,2\}\cup\{2,3\}=\{1,2,3\}$ |
| $\varnothing$ | Set with no elements | $\{1\}\cap\{2\}=\varnothing$ |

Membership and subset relations take different kinds of inputs. Use $\in$ for an element and a set. Use $\subseteq$ to compare two sets. The [De Morgan's laws lesson](https://learningfolio.de5.net/math/de-morgans-law/) connects union and intersection with OR and AND.

Relation symbols such as $=$, $\ne$, and $<$ compare values to make statements. For example, $x+2\ge5$ first adds 2 to $x$, then makes a comparison. The logical connective in $(x+2\ge5)\land(x<10)$ joins two resulting statements. The [basic formula sheet](https://learningfolio.de5.net/math/basic-math-formulas/) lists the arithmetic rules used inside them.

## Worked Logic Symbol Examples

### Example 1

Write “The room is warm and the lights are on.”

1. Let $P$ mean the room is warm, and let $Q$ mean the lights are on.
2. Both conditions appear as required statements.
3. Write $P\land Q$.

### Example 2

A form allows a person to select email or text, including both. Which connective represents the accepted choice?

1. Let $E$ and $T$ represent the two selections.
2. A person selecting both still satisfies the rule.
3. Use $E\lor T$, the inclusive OR.

### Example 3

Translate “If a number is divisible by 6, then it is divisible by 3.”

1. Let $P$ be divisibility by 6 and $Q$ divisibility by 3.
2. Use $P\to Q$.
3. The reverse is false in general. The number 9 is divisible by 3 but not by 6.

### Example 4

Negate “Every score is at least 10.”

1. The original claims $s\ge10$ for every score $s$.
2. A single counterexample makes the claim false.
3. The negation is “There exists a score $s$ with $s<10$.” The [inclusive inequalities guide](https://learningfolio.de5.net/math/greater-than-or-equal-to-sign/) explains the boundary.

### Example 5

Read $\exists!x\in\mathbb R\,(x+4=7)$.

1. The symbols require a unique real number.
2. Solving the equation gives $x=3$.
3. The statement is true because that is the only solution.

### Example 6

Compare $\neg(P\land Q)$ and $(\neg P)\land Q$ when both $P$ and $Q$ are false.

1. In the first expression, $P\land Q$ is false. Negating it gives true.
2. In the second, $\neg P$ is true but $Q$ is false. Their AND is false.
3. Parentheses change the scope of negation and can change the result.

## Mistakes That Change a Logical Statement

### Mistake 1: Reversing an implication automatically

$P\to Q$ and $Q\to P$ are different conditions. Prove both directions to establish an if-and-only-if statement.

### Mistake 2: Using OR when exactly one choice is required

Inclusive OR permits both. For one choice only, use exclusive OR or write that exactly one statement is true.

### Mistake 3: Leaving the quantified domain unstated

A statement about integers may change when the allowed values are all real numbers. State the set before checking truth.

## Try It Yourself

1. Evaluate $P\lor Q$ and $P\oplus Q$ when both are true.
2. Negate “Some scores are below 10.”
3. What does $P\leftrightarrow Q$ say about $P$ and $Q$?

### Answers and Reasoning

1. Inclusive OR is true. Exclusive OR is false because two statements are true.
2. Every score is at least 10. The universal claim includes scores equal to the threshold.
3. The two statements have the same truth value. They can both be true or both be false.

## Questions About Logic Symbols

### Is the implication arrow the same as an equals sign?

No. An implication states a relation between truth values. An equals sign states that two expressions have the same value under the conditions given.

### What does the symbol $\therefore$ mean?

It means “therefore” and usually precedes a conclusion in written reasoning. Its presence does not establish validity. Check the steps that lead to the conclusion.

## Conclusion

* Read each connective using its truth rule.
* State the allowed domain for every quantified variable.
* Check direction and scope before translating a statement or its negation.

## Read More

* [Find the possible outputs and allowed inputs of a function](https://learningfolio.de5.net/math/functions-domain-range-and-input-output/)
* [How set union illustrates the commutative property](https://learningfolio.de5.net/math/commutative-property/)

## Research Behind This Article

1. OpenStax, *Contemporary Mathematics — Logic Key Concepts*. [OpenStax](https://openstax.org/books/contemporary-mathematics/pages/2-key-concepts)
2. TU Delft, *Delftse Foundations of Computation — Propositional Logic*. [TU Delft](https://interactivetextbooks.tudelft.nl/delftse-foundations-of-computation/content/logic/propositional-logic.html)
3. Oscar Levin, *Discrete Mathematics: An Open Introduction — Mathematical Statements*. [Open Math Books](https://discrete.openmathbooks.org/dmoi4/sec_logic-statements.html)
4. University of California, Irvine, *Logic Terms and Concepts*. [UC Irvine](https://ics.uci.edu/~alspaugh/cls/shr/logicConcepts.html)
