
Logic Nhị Nguyên và Vị Từ Cơ Bản
Welcome to this comprehensive course on fundamental logic concepts. Whether you are preparing for a mathematics exam, brushing up on reasoning skills, or simply curious about logical…

Cho p→q và ¬q đều đúng, ta có thể suy ra gì?
Biểu thức (p∧q)→r là sai, khẳng định nào chắc chắn đúng?
Trong De Morgan, phủ định của (p∧q) tương đương với?
Nếu (∀x)P(x) là đúng, thì P(x) phải đúng với:
Phủ định của (∃x)P(x) tương đương với:
Cho p∨q và ¬p, kết luận nào chắc chắn đúng?
Nếu p∧q đúng, thì p∨r luôn:
Biểu thức ¬(p∨(q∧r)) tương đương với:
Trong câu “Nếu lạm phát tăng và ngân hàng trung ương không tăng lãi suất thì tổng cầu không giảm”, công thức logic đúng là:
Understanding Basic Propositional Logic and Quantifiers
Welcome to this comprehensive course on fundamental logic concepts. Whether you are preparing for a mathematics exam, brushing up on reasoning skills, or simply curious about logical notation, this guide will walk you through the essential ideas tested in the quiz "Logic Nhị Nguyên và Vị Từ Cơ Bản". We will explore implication, negation, De Morgan’s laws, and the universal and existential quantifiers, providing clear explanations, examples, and memory aids to help you master each topic.
1. Implication (p → q) and Direct Reasoning
The statement p → q reads “if p then q”. It is true in all cases except when the premise p is true and the conclusion q is false. This truth‑table property leads to two very useful inference rules:
- Modus Ponens: From p → q and p, we can conclude q.
- Modus Tollens: From p → q and ¬q, we can conclude ¬p.
These rules appear directly in the first two quiz questions.
Example 1: If it rains (p) then the ground gets wet (q). Knowing that it is raining, we can safely assert that the ground is wet (q).
Example 2: If a student passes the exam (p) then they receive a certificate (q). If we see that the student did not receive a certificate (¬q), we can deduce that the student did not pass the exam (¬p).
Memory tip: “When the arrow points right, the destination follows the start.”
2. Analyzing Complex Implications
Consider the compound implication (p ∧ q) → r. This statement is false only when the premise p ∧ q is true while the conclusion r is false. In all other cases—whether the premise is false or the conclusion is true—the whole implication holds.
Therefore, if you encounter a false evaluation of (p ∧ q) → r, you can be certain that:
- p is true,
- q is true, and
- r is false.
This logical pattern is useful for debugging logical circuits, constructing truth tables, and solving puzzles that involve conditional statements.
3. Negation and De Morgan’s Laws
Negating conjunctions and disjunctions is a cornerstone of logical manipulation. De Morgan’s laws provide the exact transformations:
- ¬(p ∧ q) ≡ (¬p) ∨ (¬q)
- ¬(p ∨ q) ≡ (¬p) ∧ (¬q)
In the quiz, the fourth question asks for the negation of (p ∧ q). Applying the first law, we obtain ¬p ∨ ¬q. This conversion is often remembered with the phrase “not both becomes either not”.
Mnemonic: “No ‘and’ turns into ‘or’ with a ‘not’ on each side.”
4. Quantifiers: Universal (∀) and Existential (∃)
Quantifiers extend propositional logic to statements about collections of objects.
- Universal quantifier (∀x): Asserts that a property holds for every element in the domain. The statement ∀x P(x) means “for all x, P(x) is true”.
- Existential quantifier (∃x): Claims that there exists at least one element for which the property holds. The statement ∃x P(x) means “there is some x such that P(x) is true”.
Understanding the scope of these quantifiers is essential for interpreting mathematical theorems, computer‑science specifications, and natural‑language arguments.
4.1. Negating Quantifiers
Negation flips the quantifier and negates the predicate:
- ¬(∀x P(x)) ≡ ∃x ¬P(x)
- ¬(∃x P(x)) ≡ ∀x ¬P(x)
The quiz’s sixth question asks for the negation of (∃x)P(x). Using the rule above, the correct answer is (∀x)¬P(x), which reads “for every x, P(x) is false”.
Visualization: Imagine a crowd. “Someone is smiling” (∃) becomes “Nobody is smiling” (∀ ¬) when you negate it.
5. Combining Propositional Connectives
Logical connectives can be combined to create more intricate statements. Two useful patterns appear in the quiz:
- If p ∨ q is true and ¬p is also true, then q must be true. This is an instance of disjunctive syllogism.
- If p ∧ q is true, then any statement that includes p as a disjunct (e.g., p ∨ r) is automatically true, because a conjunction guarantees the truth of each conjunct.
These principles help simplify logical expressions and are frequently used in proof strategies.
6. Practical Applications and Study Strategies
Mastering these logical tools opens doors to many fields:
- Mathematics: Constructing rigorous proofs, understanding definitions, and working with set theory.
- Computer Science: Designing algorithms, writing conditional statements, and verifying program correctness.
- Philosophy: Analyzing arguments, detecting fallacies, and clarifying concepts.
To retain the concepts, try the following study habits:
- Create truth tables for each new implication you encounter. Visualizing all possible truth values reinforces the underlying patterns.
- Rewrite sentences in plain language. Translating formal notation into everyday statements (and back) builds intuition.
- Practice negation by swapping quantifiers and applying De Morgan’s laws. Write both the original and its negation side by side.
- Use flashcards for the key inference rules: Modus Ponens, Modus Tollens, Disjunctive Syllogism, and De Morgan transformations.
7. Summary of Key Points
- From p → q and p, infer q (Modus Ponens).
- From p → q and ¬q, infer ¬p (Modus Tollens).
- The implication (p ∧ q) → r is false only when p and q are true while r is false.
- Negating a conjunction yields a disjunction of negations: ¬(p ∧ q) ≡ ¬p ∨ ¬q.
- Universal quantifier (∀) means “every”, existential quantifier (∃) means “some”.
- Negating quantifiers swaps them and negates the predicate: ¬∃x P(x) ≡ ∀x ¬P(x).
- From p ∨ q and ¬p, conclude q (Disjunctive Syllogism).
- If p ∧ q is true, then any statement containing p as a disjunct (e.g., p ∨ r) is automatically true.
8. Frequently Asked Questions (FAQ)
What does it mean when an implication is “true” even if the premise is false?
In classical logic, an implication p → q is considered true whenever the premise p is false, regardless of the truth value of q. This reflects the idea that a false statement cannot be used to prove anything false.
How can I remember the difference between ∧ (and) and ∨ (or) when negating?
Use the mnemonic “Not both becomes either not”. In other words, the negation of a conjunction turns into a disjunction of negations, and vice‑versa.
Why does ¬(∃x P(x)) become ∀x ¬P(x) and not just ¬P(x)?
Because the original statement asserts the existence of at least one element satisfying P(x). Negating it means that no element satisfies P(x), which is precisely the universal claim that every element fails to satisfy P(x).
9. Practice Exercises
Apply what you have learned with these additional problems. Write down the reasoning steps for each answer.
- Given p → q and ¬p, can we determine the truth value of q? (Answer: No, q can be either true or false.)
- Negate the statement ∀x (P(x) ∨ Q(x)). (Answer: ∃x (¬P(x) ∧ ¬Q(x)))
- If (p ∨ r) → q is true and p is false, what can we say about r → q? (Answer: It must be true, because the original implication reduces to r → q when p is false.)
Working through these scenarios will reinforce the inference patterns discussed throughout the course.
10. Closing Thoughts
Logical reasoning is a skill that improves with deliberate practice. By internalizing the core rules—implication, negation, De Morgan’s laws, and quantifier manipulation—you gain a powerful toolkit for mathematics, computer science, and everyday problem solving. Review the concepts regularly, test yourself with varied examples, and soon you will find that logical statements become intuitive rather than intimidating.
