Logic, Sets and Infinity

Logical Fallacies Seen Through Formal Logic

See common reasoning errors as broken argument forms, each with a counterexample, and learn which fallacies logic alone cannot catch.

Key takeaways

  • A formal fallacy is an invalid form, and one counterexample with that form is enough to expose it.
  • Affirming the consequent and denying the antecedent both mistake a conditional for its converse.
  • Swapping the order of "for all" and "there exists" produces a subtle and common invalid step.
  • Informal fallacies depend on meaning and context, and a fallacious argument can still have a true conclusion.

A formal fallacy is an argument whose shape does not guarantee its conclusion, even though it may look as if it does. Formal logic exposes each one the same way: find a case in which the premises are true and the conclusion is false.

Many fallacies with famous names are of another kind. Their trouble lies in the content, such as shifting word meanings or irrelevant premises, and symbols alone will not reveal it.

How to test a form

An argument is valid when no possible case makes its premises true and conclusion false, a distinction developed in validity and soundness. To test a form, replace the content with letters. Then either build a truth table or invent new content that makes the premises plainly true and the conclusion plainly false.

Below, ¬ means not, ∧ means and, ∨ means inclusive or, → means if-then, ∀ means "for all" and ∃ means "there exists".

Confusing a conditional with its converse

Affirming the consequent has the form P → Q, Q, therefore P.

"If it rained, the street is wet. The street is wet. So it rained." A street-cleaning truck makes both premises true and the conclusion false.

Denying the antecedent has the form P → Q, ¬P, therefore ¬Q.

"If a number is divisible by 10, it is even. 14 is not divisible by 10. So 14 is not even." The conclusion is plainly false.

Each error would be fine if you also knew Q → P. The converse is a separate claim needing its own support, as the guide to converse and contrapositive explains. The valid cousins are modus ponens and modus tollens, found among the rules of inference.

Misreading "or"

Affirming a disjunct has the form P ∨ Q, P, therefore ¬Q.

"The winner studied math or physics. She studied math. So she did not study physics." Since "or" in logic allows both, nothing follows about physics. The step would be valid only if the first premise were an exclusive "or".

The valid pattern goes the other way: from P ∨ Q and ¬P, conclude Q.

Errors with "all" and "some"

The undistributed middle takes this shape: all A are B; all C are B; therefore all C are A.

"All squares are polygons. All triangles are polygons. So all triangles are squares." The shared term B only says that A and C both sit inside a larger class, which does not make them overlap.

The existential fallacy, in modern logic, draws a "some" conclusion from "all" premises: "All unicorns are horned. All unicorns are animals. So some animal is horned." If there are no unicorns, both premises are vacuously true and the conclusion does not follow from them. Older Aristotelian logic assumed that the classes mentioned were not empty, so the verdict depends on that assumption.

The quantifier shift goes from ∀x ∃y R(x, y) to ∃y ∀x R(x, y). "Every person has a birthday, so there is a day that is everyone's birthday." Each x may need a different y. The reverse direction is valid.

Fallacy Invalid form Quick counterexample
Affirming the consequent P → Q, Q ⊢ P wet street, but no rain
Denying the antecedent P → Q, ¬P ⊢ ¬Q 14 is even but not a multiple of 10
Affirming a disjunct P ∨ Q, P ⊢ ¬Q someone studied both
Undistributed middle all A are B, all C are B ⊢ all C are A triangles and squares
Quantifier shift ∀x ∃y ⊢ ∃y ∀x birthdays

Here the symbol ⊢ stands for "therefore".

A truth table that catches one

Here is the full test for denying the antecedent: premises P → Q and ¬P, conclusion ¬Q. T means true and F means false.

P Q P → Q ¬P ¬Q
T T T F F
T F F F T
F T T T F
F F T T T

Only rows 3 and 4 make both premises true. Row 4 also makes the conclusion true, which is why the pattern often seems to work. Row 3 makes the conclusion false, and a single such row settles the matter.

This also explains why fallacies survive. An invalid form is not one that always leads to a false conclusion. It is one that sometimes can, even with true premises. If the cases you meet in daily life happen to be mostly like row 4, the habit will go unpunished for a long time.

Fallacies inside algebra

Mathematical work has its own versions of these errors.

Squaring both sides is a one-way step: if a = b, then a² = b², but the converse fails, since (−3)² = 3². Solve √(x + 2) = x by squaring and you get x² − x − 2 = 0, with roots 2 and −1. Checking shows that 2 works, while −1 does not, because √1 is 1, not −1. Treating the squared equation as equivalent to the original is affirming the consequent in disguise.

Another is assuming that an operation distributes over everything. The square root of 9 + 16 is 5, whereas √9 + √16 is 7. A rule valid for multiplication has been carried over to addition without a reason.

Composition and generalization

The fallacy of composition assumes the whole has a property because each part has it: every term of a sum is small, so the sum is small. Add 0.001 to itself a million times and you get 1,000. The fallacy of division runs the other way: a set of numbers can have an average of 5 although no member equals 5, as with 4 and 6.

Composition is not always wrong. If every term of a finite sum is positive, the sum is positive. The property has to be checked case by case, which shows that the bare form is invalid even when particular instances can be rescued by an extra premise.

Hasty generalization concludes ∀x P(x) from a few instances. The expression n² + n + 41 gives primes for every whole number n from 0 to 39, yet at n = 40 it equals 1,681, which is 41². The valid route requires an arbitrary x or an induction. A flawed induction is dissected in the horses of one color.

Circularity is a special case

An argument that assumes its conclusion, called begging the question, is formally valid: P, therefore P. No truth table will flag it. What is wrong is that it gives no independent reason to accept P. Disguised versions, where the conclusion hides inside a reworded premise, appear in student proofs more often than you might expect.

Fallacies that symbols miss

Informal fallacies are faults of content, relevance or language.

  • Equivocation uses one word in two senses. "A feather is light. What is light cannot be dark. So a feather cannot be dark." Written as logic, the two senses need two different predicates, and the argument falls apart.
  • Ad hominem attacks the speaker when the question is the claim.
  • Straw man refutes a weaker position than the one actually held.
  • False dilemma offers P ∨ Q as if no other option existed. The form that follows is valid; the premise is the problem.
  • Appeal to ignorance treats the lack of a disproof as proof. An unproved conjecture is not thereby false, or true.
Two families of reasoning errors
Formal fallacies The shape itself is invalid Exposed by a counterexample Example: affirming the consequent Informal fallacies Trouble lies in content or context Need a close reading Example: equivocation VS Formal fallacies The shape itself is invalid Exposed by a counterexample Example: affirming the consequent Informal fallacies Trouble lies in content or context Need a close reading Example: equivocation

Probability traps that resemble converses

In uncertain settings, affirming the consequent has a probabilistic relative: treating the chance of the evidence given a hypothesis as the chance of the hypothesis given the evidence. Most professional basketball players are tall, but most tall people are not professional players.

Evidence Q can reasonably raise your confidence in P when P predicts Q. It just does not prove P. How much it should raise it is a matter for probability, as in the prosecutor's fallacy.

When an apparent fallacy is fine

Context can supply a premise that rescues a step. If a definition says that a triangle is called equilateral if its sides are equal, mathematicians read that "if" as "if and only if". Concluding equal sides from the word "equilateral" is then perfectly sound, though it looks like using a converse.

Similarly, in a puzzle that states exactly one of two suspects is guilty, learning that one is guilty does clear the other. The exclusive "or" was part of the premises.

Using this without becoming tiresome

  1. Restate the argument fairly, including premises left unsaid. A step that looks invalid may rely on an obvious missing premise.
  2. Find the form, then look for a counterexample with the same form.
  3. Explain the gap in plain words; naming the fallacy in Latin settles nothing.
  4. Do not conclude that the claim is false. Rejecting a bad argument leaves the question open. Doing otherwise is sometimes called the fallacy fallacy.

Finally, turn the tools on your own work. In a proof, the places to inspect are every "so" and "hence". Ask what rule connects that line to the earlier ones, and whether you have quietly used a converse.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Logic, Sets and Infinity →

Latest news on this topic