Logic and sets in 3D

Two overlapping discs labelled A and B on a white board, with the overlap marked as the intersection A∩B.Drag to turn

Formal logic is the study of valid inference by the form of arguments, not their subject matter. Set theory is the mathematical study of sets, which are collections of distinct objects, and it supplies a precise language for classes, relations and logical structure.

Validity, form and the language of propositions

A proposition is a sentence that is either true or false. Formal logic replaces the content of propositions with symbols such as P and Q, then studies how they combine using connectives: not, and, or, and if-then. An argument is valid when it is impossible for all its premises to be true and its conclusion false.

Validity is different from truth. A valid argument can have false premises, and an argument with true premises and a true conclusion can still be invalid. Soundness is the stronger property: a sound argument is valid and has true premises.

Sets, membership and the basic operations

A set is a collection of distinct objects, called its elements. We write x ∈ A to say x is an element of A. A is a subset of B when every element of A is also in B. The empty set has no elements and is a subset of every set.

Three operations are standard. The union of A and B contains elements in A, in B, or in both. The intersection contains elements in both. The complement of A contains the elements of a chosen universal set that are not in A.

A worked example with a syllogism and a Venn diagram

Take the argument: all philosophers are thinkers, and Hypatia is a philosopher, so Hypatia is a thinker. As sets, let P be the philosophers and T the thinkers. The first premise says P is a subset of T. The second says Hypatia is in P.

A Venn diagram draws P and T as overlapping circles and shades the part of P outside T to show it is empty. Any point inside P must then lie inside T, so Hypatia is in T. Drawing P wholly inside T, without the other regions, is usually called an Euler diagram.

Now count with small sets. Let A = {1, 2, 3, 4} and B = {3, 4, 5}. The union is {1, 2, 3, 4, 5}, which has 5 elements. The intersection is {3, 4}, which has 2. Check the rule for sizes: 4 + 3 − 2 = 5, which matches the union.

Common misconceptions

Many people think a valid argument must have a true conclusion. It need not. Validity only guarantees that true premises would give a true conclusion. Another error is confusing element and subset: in standard notation, 3 ∈ {3, 4} is true, but {3} ⊆ {3, 4} is the subset claim.

The English word or is often read as exclusive. In classical logic, P or Q is usually defined as inclusive, so it is true when both are true. Order also matters in conditionals: if P then Q is not equivalent to if Q then P.

Where logic and sets appear

Philosophers use formal logic to test arguments, to define concepts such as consistency, and to study the structure of theories. Aristotle's syllogisms are an early system, and modern predicate logic extends them with quantifiers such as for all and there exists.

Set theory underlies most of mathematics and is used to define relations and functions. It also shaped philosophical debates about infinity, paradox and the foundations of mathematics. Russell's paradox, which concerns the set of all sets that are not members of themselves, showed that unrestricted set formation leads to contradiction.

Key terms

Proposition
A declarative sentence that is either true or false.
Valid argument
An argument whose premises cannot all be true while its conclusion is false.
Sound argument
A valid argument whose premises are all true.
Set
A collection of distinct objects, called its elements.
Subset
A set whose elements all belong to another given set.
Union and intersection
The set of elements in either of two sets, and the set of elements in both.
Venn diagram
A picture that shows sets as overlapping circles, with regions for each combination, to display their relations.

Common questions

Can an argument be valid and still have a false conclusion?

Yes. If at least one premise is false, a valid argument can reach a false conclusion. Validity only rules out true premises with a false conclusion.

Why is the empty set a subset of every set?

A subset claim fails only if some element of the first set is missing from the second. The empty set has no elements, so no such failure can occur.

What did Russell's paradox show?

It showed that allowing any condition to define a set leads to contradiction. Later axiom systems for set theory restrict how sets can be formed.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.