Propositions and Logic
9 Questions
0 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 is NOT a proposition?

  • The sum of angles in a triangle is 180 degrees.
  • Is it raining outside? (correct)
  • 2 + 2 = 4
  • The Earth revolves around the Sun.

Under what conditions is the conditional statement $p \rightarrow q$ false?

  • When p is false and q is true.
  • When p is true and q is false. (correct)
  • When both p and q are false.
  • When both p and q are true.

What is a compound statement that is always false, regardless of the truth values of its propositional variables, called?

  • Tautology
  • Contingency
  • Contradiction (correct)
  • Proposition

If p is 'The sky is blue' and q is 'Grass is green', what is the truth value of $p \land q$?

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

Given p is true and q is false, what is the truth value of $p \oplus q$ (exclusive OR)?

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

Which logical operator results in a true outcome only when both input propositions have the same truth value?

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

If p represents 'It is raining' and q represents 'The ground is wet', which logical expression best represents the statement 'It is not raining, but the ground is wet'?

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

Which of the following is an example of a tautology?

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

Signup and view all the answers

Flashcards

Logic

The study of evaluating arguments and reasoning.

Proposition

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

Compound Proposition

Connectives (AND, OR, NOT, etc.) joining simple propositions.

Atomic Proposition

A proposition that is not compound.

Signup and view all the flashcards

Conjunction (AND)

True only if both propositions are true.

Signup and view all the flashcards

Disjunction (OR)

Only false when both propositions are false.

Signup and view all the flashcards

Conditional (if-then)

Only false when the antecedent is true and the consequent is false.

Signup and view all the flashcards

Tautology

Always true, regardless of propositional variable values.

Signup and view all the flashcards

Study Notes

  • Logic is the science of evaluating arguments and reasoning.
  • Mathematical logic (or symbolic logic) links mathematics and computer science.

Proposition (Statement)

  • A proposition is a declarative sentence that is either true or false, but not both.
  • "Manila is the capital of the Philippines" is a proposition.
  • Questions like "What day is it?" are not propositions.
  • Statements like "Mathematics is fun" are propositions, but are ambiguous.

Propositional Variable

  • A propositional variable is a variable used to represent a proposition, often using letters like p, q, or r.

Compound Proposition

  • A compound proposition combines two or more simple propositions using logical connectives.
  • Logical connectives include AND, OR, IF AND ONLY IF, EXCLUSIVE-OR, NOT, and IF THEN.

Atomic Proposition

  • An atomic proposition is a simple proposition that is not compound.

Logical Operators

Conjunction (AND, "^")

  • p ^ q is true only if both p and q are true; otherwise, it is false.

Disjunction (OR, "V")

  • p V q is only false when both p and q are false.

Negation (NOT, "¬")

  • If p is true, then ¬p is false, and vice versa.

Conditional (if-then, "→")

  • In p → q, p is the antecedent, hypothesis, or premise, and q is the conclusion, consequent, or consequence.
  • p → q is only false when p is true and q is false; otherwise, it is true.

Biconditional (if and only if, "↔")

  • p ↔ q is true if p and q are both true or both false.

Exclusive-OR (⊕)

  • p ⊕ q is false if p and q are both true or both false; otherwise, it is true.

Common Words Associated with Connectives

  • Conjunction: and, but, also, moreover
  • Disjunction: or
  • Negation: not, it is false that, it is not the case that
  • Conditional: If p, then q. p implies q. p only if q. p is sufficient condition for q. q is necessary condition for p.
  • Biconditional: if and only if, is equivalent to, is necessary and sufficient for
  • Exclusive-or: exclusive-or

Tautology

  • A tautology is always true for all possible truth values.

Contradiction

  • A contradiction is always false for all possible truth values.

Contingency

  • A contingency can be either true or false.

Logically Equivalent

  • Two compound statements are logically equivalent if their truth values are equal.

Inference

  • An inference is a conclusion or opinion formed from known facts and evidence.

Rules of Inference

Modus Ponens (Law of Detachment)

  • If p → q is true and p is true, then q is true.

Modus Tollens (Law of Contrapositive)

  • If p → q is true and q is false, then p is false.

Hypothetical Syllogism

  • If p → q and q → r are true, then p → r is true.

Disjunctive Syllogism

  • If p V q is true and p is false, then q is true.

Conjunction

  • If p and q are true, then p ^ q is true.

Simplification

  • If p ^ q is true, then p is true and q is true.

Addition

  • If p is true, then p V q is true.

Studying That Suits You

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

Quiz Team

Related Documents

Description

This article explains the basics of logic, including propositions, propositional variables, and compound propositions. It covers atomic propositions and logical operators such as AND, OR, IF AND ONLY IF, EXCLUSIVE-OR, NOT, and IF THEN. Conjunction (AND) is true only if both propositions are true.

More Like This

Use Quizgecko on...
Browser
Browser