📘 CodingMarble Learn

Logical Reasoning

Logical reasoning means getting from facts (premises) to a conclusion in a way we can check. A statement is either true or false. Statements are joined with NOT, AND, OR, IF…THEN and IF AND ONLY IF, and truth tables show when the result is true. In deduction, if the premises are true and the form is valid, the conclusion must be true (modus ponens, modus tollens, syllogisms). Venn diagrams test syllogisms with 'all', 'no' and 'some'. Induction and analogy go from examples to a general idea: the conclusion is only probable. A direct proof goes step by step from what is known; an indirect proof assumes the opposite and reaches a contradiction. Fallacies are tempting but faulty arguments.

🎬 Step-by-step story

  1. A statement is either true or false. P = 'It is raining', Q = 'The ground is wet'. A lit switch means true.
  2. AND is true only when both parts are true. OR is true when at least one part is true. Compare the two lamps.
  3. 'If P then Q' is false in just one case: P is true but Q is false. Every other row is true.
  4. A syllogism: all dogs are mammals; all mammals are animals; so all dogs are animals. The small circle sits inside the bigger circles.
  5. Induction: 9 white marbles so far, so 'all marbles are white'? One black marble breaks it. Induction gives a likely conclusion, not a certain one.
  6. Try it: set P, Q and a connective. Predict first, then check if the lamp lights.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is 'If P then Q' true when P is false?

The promise was not tested, so it was not broken. Only 'P true, Q false' breaks it. Step 3 shows the single red box.

Is OR in logic the same as 'either…or' in daily talk?

Logical OR is inclusive: it is true when both are true too. Step 2 shows the OR lamp lit.

How can a syllogism be checked quickly?

Draw circles. If the conclusion is already shown by the premises' circles, it is valid. Step 4 shows nested circles.

If induction is not certain, why use it?

Science and daily life depend on patterns; induction gives strong, testable guesses. Step 5 shows how one case can break it.

What is the difference between AND and IF-THEN?

Test both in the free-play step: with P false and Q false, AND is false but IF-THEN is true.

Statements and connectives

A statement (proposition) is a sentence that is either true (T) or false (F), not both. 'Delhi is in Asia' is a statement. 'Close the door!' and 'x + 2 = 5' (without knowing x) are not.

We join statements with connectives:

A truth table lists every combination. With 2 statements there are 2² = 4 rows; with 3, there are 8.

Negating: NOT (P AND Q) = (NOT P) OR (NOT Q); NOT (P OR Q) = (NOT P) AND (NOT Q). The negation of 'all students passed' is 'at least one student did not pass', not 'no student passed'.

If-then: converse, inverse, contrapositive

For 'If P then Q':

Only the contrapositive always has the same truth value as the original. Example: 'If a number ends in 0, it is divisible by 5' is true. Contrapositive: 'If it is not divisible by 5, it does not end in 0' (true). Converse: 'If divisible by 5, it ends in 0' (false: 15).

'P is sufficient for Q' and 'Q is necessary for P' both mean P → Q.

Deductive reasoning: valid argument forms and syllogisms

In deduction, the conclusion follows necessarily. An argument is valid if true premises cannot give a false conclusion; it is sound if it is valid and its premises really are true.

Rules of inference

Invalid look-alikes: affirming the consequent (P → Q; Q; so P) and denying the antecedent (P → Q; not P; so not Q).

Categorical propositions

Four forms: A 'All S are P', E 'No S are P', I 'Some S are P', O 'Some S are not P'. A categorical syllogism has two premises and a conclusion with three terms. Test it with a Venn diagram: draw three overlapping circles, shade empty regions for 'all/no', put an × for 'some', then check whether the conclusion is already shown.

Induction, analogy, proofs and fallacies

Non-deductive reasoning

Direct and indirect justification

Direct proof: start from known facts and go step by step to the result. Example: the sum of two even numbers 2a + 2b = 2(a + b) is even.

Indirect proof (by contradiction): assume the statement is false and show this leads to something impossible. Example: assume there is a largest whole number N; but N + 1 is bigger, a contradiction, so no largest whole number exists. A counterexample disproves an 'all' claim.

Fallacies and paradoxes

A fallacy is a mistake in reasoning: attacking the person (ad hominem), appeal to the crowd (ad populum), appeal to false authority, false dilemma (only two options), circular reasoning, equivocation (one word, two meanings), hasty generalisation. A paradox seems to prove something impossible, like 'This sentence is false'.

Puzzles with conditions

Seating and order puzzles use the same skills: write each clue as a statement, place the sure facts first, then test cases and drop those that lead to a contradiction.

Try it yourself: catch the faulty argument

  1. Read ads or posts for one day. Write down two claims of the form 'If you use X, you will Y'.
  2. For each, write the converse and the contrapositive. Which one does the ad want you to believe?
  3. Look for a fallacy (crowd, famous person, only-two-choices).
  4. Marble test: put 9 white and 1 coloured button in a bag. Take out 5. Does 'all are white' feel true? Keep going until it breaks.

In the 3D, use the last step to test every connective with P and Q.

Key formulas and definitions

Worked examples

1. P: 'It is Sunday' (true). Q: 'The school is open' (false). Find P ∧ Q, P ∨ Q, P → Q and ¬Q.

P ∧ Q = T and F = F. P ∨ Q = T or F = T. P → Q = T → F = F (the only false case). ¬Q = not F = T.

2. Is this valid? 'If a shape is a square, it has 4 sides. This shape has 4 sides. So it is a square.'

Not valid. It affirms the consequent (P → Q; Q; so P). A rectangle or a kite also has 4 sides. Valid would be modus ponens: 'it is a square, so it has 4 sides'.

3. Test with a Venn diagram: 'All cats are animals. Some animals are pets. So some cats are pets.'

Draw circles C (cats), A (animals), P (pets). 'All cats are animals': shade the part of C outside A. 'Some animals are pets': put × in A ∩ P, but it could be in the part outside C. The diagram does not force an × in C ∩ P, so the syllogism is invalid (even though the conclusion happens to be true).

4. Prove by contradiction: if n² is even, then n is even (n a whole number).

Assume n² is even but n is odd. Then n = 2k + 1, so n² = 4k² + 4k + 1 = 2(2k² + 2k) + 1, which is odd. This contradicts 'n² is even'. So n must be even.

5. Write the converse, inverse and contrapositive of 'If it rains, the match is cancelled.' Which is equivalent to the original?

Converse: if the match is cancelled, it rained. Inverse: if it does not rain, the match is not cancelled. Contrapositive: if the match is not cancelled, it did not rain. Only the contrapositive is equivalent.

6. Five friends A, B, C, D, E sit in a row. C is in the middle. A is at the left end. B is next to C on the right. E is not next to A. Find the order.

Positions 1–5: A is 1, C is 3, B is 4. Left: 2 and 5 for D and E. E is not next to A, so E is not 2; E = 5, D = 2. Order: A, D, C, B, E.

Common mistakes

Practice quiz

1. P → Q is false when:
2. Which is always equivalent to 'If P then Q'?
3. 'P → Q; not Q; therefore not P' is called:
4. Reasoning from many examples to a general rule is:
5. The negation of 'All birds can fly' is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the difference between deductive and inductive reasoning?

Deduction goes from general rules to a certain conclusion if the premises are true. Induction goes from examples to a general rule that is only likely.

What is a truth table?

A table that lists every true/false combination of statements and shows the truth value of a compound statement for each.

What is proof by contradiction?

An indirect proof: assume the statement is false, reason until you reach something impossible, and conclude the statement must be true.

Where this is taught

NetherlandsVWO 5Logical reasoning
PolandLiceum ogólnokształcące, klasa IILogical culture
RomaniaClasa a IX-aAdvanced formal logic: predicate logic and its applications
RomaniaClasa a IX-aInductive logic: non-deductive reasoning
CBSE (India)Class 11Numbers, Quantification and Numerical Applications

Learn first

Learn next

Related lessons

All Maths lessons