Welcome to the Language of Logic!

Welcome to H3 Mathematics! You might be used to solving complex equations or sketching intricate curves, but this chapter is a bit different. Think of Logical Connectives as the "grammar" of mathematics. Before we can write complex mathematical "sentences" or proofs, we need to understand the basic building blocks and how to glue them together. Don't worry if it feels abstract at first—once you see the patterns, it’s like learning a new, very precise language!


1. The Building Blocks: Propositions, Definitions, and Theorems

Before we look at connectives, we need to know what we are connecting. In math, we don't just use any sentences; we use specific types of statements.

Propositions

A proposition is a statement that is either True or False, but not both. It’s a "fact claim."
Example: "7 is a prime number" (True).
Example: "All even numbers are divisible by 3" (False).
Not a proposition: "Is math fun?" (This is a question, not a claim of truth).

Definitions

A definition is an agreement on what a term means. In math, definitions are the "rules of the game." They aren't something we prove; they are what we use to start our journey.
Example: We define an even number as an integer \(n\) such that \(n = 2k\) for some integer \(k\).

Theorems

A theorem is a mathematical statement that has been proven to be true using logic and definitions. It’s like a "Gold Standard" truth.
Example: Pythagoras' Theorem.

Quick Review: Think of a Definition as the identity card, a Proposition as a claim someone makes, and a Theorem as a claim that has been officially verified.


2. Basic Logical Connectives: 'And', 'Or', 'Not'

Connectives are the "glue" that allows us to combine simple propositions into more complex ones.

'Not' (Negation)

The negation of a statement \(P\) is "not \(P\)", often written as \(\neg P\). It simply flips the truth value.
Example: If \(P\) is "It is raining," then \(\neg P\) is "It is not raining."

'And' (Conjunction)

The conjunction of \(P\) and \(Q\) is only true if both statements are true. If even one is false, the whole thing is false.
Analogy: If a waiter says, "This combo comes with a burger AND fries," you’d be upset if you only got one of them!

'Or' (Disjunction)

In math, 'or' is inclusive. The statement "\(P\) or \(Q\)" is true if \(P\) is true, or \(Q\) is true, or both are true.
Analogy: If a job requirement says "Applicants must have a Degree OR 5 years of experience," you can apply if you have a degree, or the experience, or both!

Key Takeaway: 'And' is strict (both must work); 'Or' is generous (at least one must work).


3. Conditionals: The "If... Then..." Statement

This is the heart of mathematical reasoning. We write "If \(P\), then \(Q\)" as \(P \implies Q\) (read as "\(P\) implies \(Q\)").

In the statement \(P \implies Q\):
- \(P\) is the Hypothesis (the "if" part).
- \(Q\) is the Conclusion (the "then" part).

Necessary vs. Sufficient Conditions

These two terms often confuse students, but here is a simple way to remember them:

1. Sufficient Condition: If \(P\) is true, that's enough to guarantee \(Q\) is true. So, \(P\) is sufficient for \(Q\).
2. Necessary Condition: \(Q\) must be true for \(P\) to even have a chance of being true. So, \(Q\) is necessary for \(P\).

Real-World Analogy:
"If you are at Marina Bay Sands, then you are in Singapore."
- Being at Marina Bay Sands is sufficient to know you are in Singapore (it’s enough proof).
- Being in Singapore is necessary to be at Marina Bay Sands (you can't be at MBS if you aren't in Singapore!).

'If and only if' (Bi-conditional)

We write this as \(P \iff Q\). This means the implication works both ways: \(P \implies Q\) AND \(Q \implies P\). This is used when two statements are logically identical.


4. Variants of the Conditional: Converse, Inverse, and Contrapositive

Once we have an "If \(P\), then \(Q\)" statement, we can shuffle it around. Let's use the statement: "If it is a square, then it is a rectangle."

1. The Converse: Switch the order (\(Q \implies P\)).
"If it is a rectangle, then it is a square." (Warning: This is NOT always true just because the original is true!)

2. The Inverse: Negate both sides (\(\neg P \implies \neg Q\)).
"If it is not a square, then it is not a rectangle." (Also not necessarily true!)

3. The Contrapositive: Switch and Negate (\(\neg Q \implies \neg P\)).
"If it is not a rectangle, then it is not a square."

Did you know? The Contrapositive is the "Secret Twin" of the original statement. They are logically equivalent. If the original statement is true, the contrapositive is always true. This is a powerful tool for proofs!

Memory Trick: To get the Contrapositive, just "Flip and Switch"—flip the order and switch the truth (negate).


5. Quantifiers: 'For all' and 'There exists'

Quantifiers tell us how many elements a statement applies to.

The Universal Quantifier (\(\forall\))

Symbol: \(\forall\) (looks like an upside-down 'A' for 'All').
It means "for every single one in the set."
Example: \(\forall x \in \mathbb{R}, x^2 \ge 0\). (For all real numbers \(x\), \(x^2\) is greater than or equal to zero).

The Existential Quantifier (\(\exists\))

Symbol: \(\exists\) (looks like a backward 'E' for 'Exists').
It means "there is at least one."
Example: \(\exists x \in \mathbb{Z}\) such that \(x + 5 = 10\). (There exists an integer \(x\) that makes this true—in this case, \(x=5\)).

Unique Existence (\(\exists!\))

If you see an exclamation mark \(\exists!\), it means "there exists exactly one" unique element.

Common Mistake: Don't mix up the order! "For every person, there exists a hat that fits" is very different from "There exists a hat that fits every person." The order of quantifiers matters!


6. Negating Complex Statements

Negating statements with quantifiers and connectives is a common exam task. Here is the "Golden Rule":

1. Negating Quantifiers: \(\forall\) becomes \(\exists\), and \(\exists\) becomes \(\forall\).
2. Negating the Statement: Negate the property at the end.
Example: The negation of "All swans are white" (\(\forall s, s\) is white) is "There exists at least one swan that is not white" (\(\exists s, s\) is not white).

Negating 'And'/'Or':
- Negation of (\(P\) and \(Q\)) is (\(\neg P\) or \(\neg Q\)).
- Negation of (\(P\) or \(Q\)) is (\(\neg P\) and \(\neg Q\)).
(This is like distributing a minus sign in algebra, but the sign in the middle flips!)

Key Takeaway: To negate a statement, change "All" to "Some," "Some" to "All," and "is" to "is not."


Final Summary Checklist

Before you move on to proofs, make sure you are comfortable with these:

  • Can you identify a Proposition vs. a Definition?
  • Do you know that \(P \implies Q\) is the same as its Contrapositive?
  • Can you explain why "being 18 years old" is necessary but not sufficient to be the Prime Minister?
  • Can you flip a \(\forall\) to a \(\exists\) when negating a statement?

Logic is the foundation of everything else you will do in H3 Math. Take your time to get these basics right, and the proofs in the next chapter will feel much more natural!