Propositional Logic Fundamentals
46 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following statements accurately describes a proposition in propositional logic?

  • A proposition is an opinion that may be arguable depending on the context.
  • A proposition is a command that instructs someone to perform an action.
  • A proposition is a declarative sentence that can be definitively classified as either true or false, but not both simultaneously. (correct)
  • A proposition is a question that requires an answer demonstrating an understanding of a concept.

Which of the following mathematical statements can be classified as a proposition?

  • $a > b$, where $a$ and $b$ are variables.
  • What is the value of $x$ in the equation $2x = 4$?
  • $520 < 111$ (correct)
  • $x + y = 10$, where $x$ and $y$ are undefined variables.

Which of the following best illustrates the Law of Excluded Middle?

  • A statement is either true or false; there is no middle ground. (correct)
  • If a statement is true, then it is true.
  • Every statement has a corresponding contradiction.
  • A statement cannot be both true and false.

Identify which of the following is NOT a basis for propositional logic?

<p>Law of Deduction (D)</p> Signup and view all the answers

Which of the following examples violates the Law of Non-Contradiction?

<p>Saying, 'The car is both red and blue at the same time and in the same location'. (A)</p> Signup and view all the answers

Which of the following statements is a tautology?

<p>$p \lor \neg p$ (B)</p> Signup and view all the answers

Given the statement $(p \rightarrow q) \land p$, under what condition is this statement true?

<p>When both p and q are true. (D)</p> Signup and view all the answers

Which of the following is a contradiction?

<p>$p \land \neg p$ (C)</p> Signup and view all the answers

Determine which statement is a contingency.

<p>$p \rightarrow \neg p$ (A)</p> Signup and view all the answers

Which of the following logical statements is equivalent to $p \rightarrow q$?

<p>Both B and C (C)</p> Signup and view all the answers

Assuming p is TRUE and q is FALSE, what is the truth value of $(p \land q) \lor (\neg p \rightarrow q)$?

<p>FALSE (A)</p> Signup and view all the answers

If the statement $p \rightarrow q$ is FALSE, which of the following must be true?

<p>p is true and q is false. (C)</p> Signup and view all the answers

Which of the following statements is logically equivalent to $\neg (p \lor q)$?

<p>$\neg p \land \neg q$ (A)</p> Signup and view all the answers

Which logical equivalence law states that a proposition conjoined with TRUE is equivalent to the proposition itself?

<p>Identity (D)</p> Signup and view all the answers

According to De Morgan's Laws, what is the equivalent of $\neg (p \lor q)$?

<p>$\neg p \land \neg q$ (C)</p> Signup and view all the answers

Using replacement rules, which logical equivalence is correctly demonstrated?

<p>$p \rightarrow q \equiv \neg p \lor q$ (A)</p> Signup and view all the answers

If $p$ is 'It is raining' and $q$ is 'The ground is wet', which logical equivalence best represents the statement 'If it is raining then the ground is wet'?

<p>$\neg p \lor q$ (C)</p> Signup and view all the answers

Which law demonstrates the logical equivalence used to simplify the expression $p \land (p \lor q)$ to $p$?

<p>Absorption (B)</p> Signup and view all the answers

Which of the following statements about logical equivalence is most accurate?

<p>Two compound propositions are logically equivalent if they have the same truth values for all possible cases. (A)</p> Signup and view all the answers

Given the proposition $p \rightarrow q$, which of the following represents its contrapositive?

<p>$\neg q \rightarrow \neg p$ (A)</p> Signup and view all the answers

What is the result of applying the double negation (involution) law to the statement 'It is not untrue that the sky is blue'?

<p>The sky is blue (D)</p> Signup and view all the answers

Which logical connective results in a 'True' outcome only when both input propositions have the same truth value?

<p>Bi-conditional (Û or «) (C)</p> Signup and view all the answers

Which of the following is logically equivalent to $\neg (p \land q)$?

<p>$\neg p \lor \neg q$ (B)</p> Signup and view all the answers

Which of the following is logically equivalent to $p \rightarrow (q \rightarrow r)$ according to the Exportation Law?

<p>$(p \land q) \rightarrow r$ (D)</p> Signup and view all the answers

Given the proposition 'If it is raining (p), then I am indoors (q),' which of the following represents the inverse?

<p>If it is not raining, then I am not indoors (Øp®Øq). (A)</p> Signup and view all the answers

According to Complement/Negation Laws, what is the result of $p \lor \neg p$?

<p>True (C)</p> Signup and view all the answers

According to the defined precedence of logical operators, which operation is performed first in the following expression: Øp Ù q Ú r?

<p>Negation (Ø) (B)</p> Signup and view all the answers

Which of the following rules can be used to simplify the expression $(p \land q) \lor (p \land \neg q)$?

<p>Distributive Law (C)</p> Signup and view all the answers

If 'p' is 'True' and 'q' is 'False', what is the truth value of the compound proposition p Ú Øq?

<p>True (C)</p> Signup and view all the answers

Which logical equivalence is demonstrated by the statement: 'Saying (p and q) or r is the same as saying p and (q or r)'?

<p>Distributive Law (D)</p> Signup and view all the answers

If $p$ is 'The sun is shining' and $q$ is 'It is raining', how would you represent 'The sun is not shining and it is raining'?

<p>$\neg p \land q$ (C)</p> Signup and view all the answers

Which of the following expressions is a tautology?

<p>All of the above (D)</p> Signup and view all the answers

What law is applied when simplifying $(p \land q) \land r$ to $p \land (q \land r)$?

<p>Associative (B)</p> Signup and view all the answers

Which logical connective is best suited to represent the statement: 'You can have cake or ice cream, but not both'?

<p>XOR or exclusive OR (Å) (C)</p> Signup and view all the answers

According to logical equivalences, simplifying $p \lor T$ (where T represents TRUE) results in which of the following?

<p>True (C)</p> Signup and view all the answers

What is the simplified form of $(p \rightarrow q) \land (p \land \neg q)$?

<p>Contradiction (F) (D)</p> Signup and view all the answers

Given the implication 'If x is divisible by 4 (p), then x is divisible by 2 (q)', which of the following is the contrapositive?

<p>If x is not divisible by 2, then x is not divisible by 4 (Øq®Øp) (A)</p> Signup and view all the answers

Under what condition is the implication p®q considered false?

<p>When p is true and q is false (C)</p> Signup and view all the answers

Which logical connective is analogous to the intersection of sets in Venn diagrams?

<p>Logical Conjunction (Ù) (A)</p> Signup and view all the answers

What is a compound proposition?

<p>A new proposition formed by combining one or more existing propositions. (C)</p> Signup and view all the answers

Which logical connective represents the 'and' relationship between two propositions?

<p>Logical Conjunction (Ù) (D)</p> Signup and view all the answers

What is the result of True Û False?

<p>False (D)</p> Signup and view all the answers

Which of the following is the correct truth table row for p ® q when p is False and q is True?

<p>True (A)</p> Signup and view all the answers

Which logical operator has the highest precedence?

<p>Negation (Ø or !) (D)</p> Signup and view all the answers

In propositional logic, what is the purpose of a truth table?

<p>To evaluate the truth value of a compound proposition for all possible truth values of its variables. (B)</p> Signup and view all the answers

Which connective is most closely associated with the idea of logical necessity or sufficient condition?

<p>Implication (Þ or ®) (B)</p> Signup and view all the answers

Flashcards

Proposition

A declarative sentence that is either true or false, but not both.

Law of Identity

A fundamental principle stating that something is identical to itself (A is A).

Law of Excluded Middle

Every proposition is either true or false; there is no middle ground.

Law of Non-Contradiction

A proposition and its negation cannot both be true at the same time.

Signup and view all the flashcards

Proposition Examples

Elephants are bigger than mice. 520 < 111

Signup and view all the flashcards

Tautology

A statement that is always TRUE, regardless of its components' truth values.

Signup and view all the flashcards

Contradiction

A statement that is always FALSE, regardless of its components.

Signup and view all the flashcards

Contingency

A statement that can be either TRUE or FALSE depending on its components.

Signup and view all the flashcards

p Ú Øp Tautology Example

Show that p Ú Øp is a tautology using a truth table.

Signup and view all the flashcards

p Ù Øp Contradiction Example

Show that p Ù Øp is a contradiction using a truth table.

Signup and view all the flashcards

(pÚq) Ú [(Øp) Ù ( Øq)] Tautology Exercise

Show that (pÚq) Ú [(Øp) Ù ( Øq)] is a tautology using a truth table

Signup and view all the flashcards

(pÚq) Ù [( Øp)Ù( Øq)] Contradiction Exercise

Show that (pÚq) Ù [( Øp)Ù( Øq)] is a contradiction using a truth table

Signup and view all the flashcards

p ® Ø p Contingency Example

Show that p ® Ø p is a contingency using a truth table.

Signup and view all the flashcards

Compound Proposition

A new proposition formed by combining one or more existing propositions.

Signup and view all the flashcards

Logical Negation

Reverses the truth value of a proposition.

Signup and view all the flashcards

Logical Conjunction (AND)

A connective that is true only if both propositions are true.

Signup and view all the flashcards

Logical Disjunction (OR)

A connective that is true if at least one proposition is true.

Signup and view all the flashcards

Logical Implication

A connective that is only false when the first proposition is true and the second is false.

Signup and view all the flashcards

Converse

Switching the hypothesis and conclusion.

Signup and view all the flashcards

Contrapositive

Negating both hypothesis and conclusion and switching them.

Signup and view all the flashcards

Inverse

Negating both hypothesis and conclusion.

Signup and view all the flashcards

Logical Biconditional

A connective that is true only if both propositions have the same truth value.

Signup and view all the flashcards

XOR (Exclusive OR)

A connective that is true when propositions have different truth values.

Signup and view all the flashcards

Negation of p

Øp

Signup and view all the flashcards

Conjunction of p and q

p Ù q

Signup and view all the flashcards

Disjunction of p and q

p Ú q

Signup and view all the flashcards

Implication of p and q

p ® q

Signup and view all the flashcards

Precedence of Logical Operators

Order in which logical operations are performed.

Signup and view all the flashcards

Replacement Rule

A rule that can be used to replace one logical expression with another equivalent one.

Signup and view all the flashcards

Logical Equivalence

Two compound propositions are logically equivalent if they have the same truth values under all possible circumstances.

Signup and view all the flashcards

Contrapositive Equivalence

p implies q ≡ not q implies not p

Signup and view all the flashcards

Logical Connective

A symbol or word used to connect two or more propositions.

Signup and view all the flashcards

F (False)

Represented by 'F', it's a proposition that is always false.

Signup and view all the flashcards

Identity Law (Conjunction)

A logical rule where a proposition conjoined with 'True' is equivalent to the original proposition.

Signup and view all the flashcards

Identity Law (Disjunction)

A logical rule where a proposition disjoined with 'False' is equivalent to the original proposition.

Signup and view all the flashcards

Commutative Law

The order of operands does not affect the result.

Signup and view all the flashcards

Associative Law

The grouping of operands does not affect the result.

Signup and view all the flashcards

Distributive Law

Combines conjunction and disjunction. p∧(q∨r) ≡ (p∧q)∨(p∧r) OR p∨(q∧r) ≡ (p∨q)∧(p∨r)

Signup and view all the flashcards

Complement Law

A proposition conjoined with its negation is always false; disjoined, it's always true.

Signup and view all the flashcards

Idempotency Law

A proposition conjoined/disjoined with itself is equivalent to itself.

Signup and view all the flashcards

Domination Law

A proposition conjoined with 'False' is always false; disjoined with 'True', it's always true.

Signup and view all the flashcards

Involution / Double Negation

Negating a negation returns the original proposition.

Signup and view all the flashcards

Study Notes

  • A proposition is a declarative sentence that is either true or false, but not both.

Bases for Propositional Logic

  • Propositional logic is based on three laws: the Law of Identity (or "Logical Identity"), the Law of Excluded Middle, and the Law of Non-Contradiction.

Propositional Game Examples

  • Some examples of propositions include: "Elephants are bigger than mice," "520 < 111," "y > 5,"
  • "Today is January 1 and 99 < 5," "Please do not fall asleep,"
  • "If elephants were red, they could hide in cherry trees," and "x < y if and only if y > x."

Compound Proposition

  • A new proposition is constructed by combining one or more existing propositions.

Logical Connectives

  • Logical connectives are used to create compound propositions.
  • Negation (¬ or !) reverses the truth value of a proposition.
    • If p is false (0), ¬p is true (1), and if p is true (1), ¬p is false (0).
  • Logical conjunction (^) is true only if both propositions are true.
    • The truth table shows p ^ q is true (1) only when both p and q are true (1).
  • Logical disjunction (v) is true if either or both propositions are true.
    • p v q is false (0) only when both p and q are false (0).
  • Implication (⇒ or →) is true in all cases except when p is true and q is false.
    • p → q is false (0) only when p is true (1) and q is false (0).
  • Converse: p→q becomes q→p
  • Contrapositive: p→q becomes ¬q→¬p
  • Inverse: p→q becomes ¬p→¬q
  • Bi-conditional (⇔ or ↔) is true only if both propositions have the same truth value.
    • p ↔ q is true (1) when both p and q are true (1) or both are false (0).
  • XOR or exclusive OR (+) is true when exactly one of the propositions is true.
  • p ⊕ q is true (1) when either p is true (1) and q is false (0), or when p is false (0) and q is true (1).

Practice Exercise

  • Express propositions in English sentences using negation, conjunction, disjunction, implication, and bi-conditional connectives
  • p: It is raining, q: I am indoors

Precedence of Logical Operators

  • The order of operations for logical operators from highest to lowest is:
    • Negation (¬ or !)
    • Logical Conjunction (^)
    • Logical Disjunction (v)
    • Implication (⇒ or →)
    • Bi-conditional (⇔ or ↔)

Precedence of Logical Operators examples

  • ¬¬p
  • p ^ q
  • p v q ^ r
  • p ^ q ^ r ^ s
  • p ^ q v r v s
  • p ^ q → p v q
  • p ⇔ q ⇔ r ⇔ s

Tautology

  • A tautology is a statement that is always true, regardless of the truth values of its components.
  • The statement p ∨ ¬p is a tautology

Contradiction

  • A contradiction is a statement that is always false, regardless of the truth values of its components.
  • The statement p ^ ¬p is a contradiction

Contingency

  • A contingency is a statement that is neither a tautology nor a contradiction, meaning its truth value depends on the truth values of its components.
  • The statement p → p is a contingency.

Logical Equivalence

  • Logical equivalence means that two compound propositions have the exact same truth value in every model.

Laws of logical equivalence

  • Identity: p ^ T = p, p v F = p
  • Commutative: p ^ q = q ^ p, p v q = q v p
  • Associative: p ^ (q ^ r) = (p ^ q) ^ r, p v (q v r) = (p v q) v r
  • Distributive: p ^ (q v r) = (p ^ q) v (p ^ r), p v (q ^ r) = (p v q) ^ (p v r)
  • Complement/Negation: p ^ ¬p = F, p v ¬p = T
  • Idempotency: p ^ p = p, p v p = p
  • Zero (0) and one (1)/Domination: p ^ F = F, p v T = T
  • Involution/Double Negation: ¬¬p = p
  • De Morgan's: ¬(p ^ q) = ¬p v ¬q, ¬(p v q) = ¬p ^ ¬q
  • Absorption or Redundancy: p ^ (p v q) = p, p v (p ^ q) = p
  • Implication: p → q = ¬p v q
  • Exportation (aka Currying): (p ^ q) → r = p → (q → r)

Practice Exercise examples

  • Two compound propositions p = ¬ ¬p are logically equivalent
  • Two compound propositions ¬ (p V (¬«p > q) = ¬ p > ¬q are logically equivalent

Practice Exercise

  • Show by the use of replacement rules that the two compound propositions below are logically equivalent
  • p→q=¬q→¬p
  • (p^q) ^ (q→ p) = F

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Propositional Logic Handout PDF

Description

Test your knowledge of propositional logic. Questions cover propositions, laws of excluded middle, non-contradiction, tautology, contingency, and logical equivalences. Evaluate truth values of logical statements.

More Like This

Proposiciones Lógicas y su Clasificación
39 questions
Propositional Logic and Boolean Algebra
31 questions
Introduction to Propositional Logic
16 questions
Use Quizgecko on...
Browser
Browser