Ripetizioni di Analisi
EN

Theory

Elementary logic

What a proposition is, how propositions are combined with connectives, how sentences with quantifiers are negated and how proofs are built.

On this page
  1. Propositions
  2. Logical connectives

Propositions

Proposition

A proposition is a statement for which it makes sense to ask whether it is true or false, and which has exactly one of the two truth values. Propositions are denoted by letters such as , , . An equality between numbers and a theorem are examples of propositions.

  • ” is a prime number”: true proposition.
  • "": false proposition.
  • "": statement with a variable, which becomes a proposition when a value is assigned to . A statement of this kind is called a predicate and is denoted by ; predicates also become propositions through quantifiers.

Warning

A predicate in which the variable has no assigned value is not a proposition. The statement "" is true for , because , and false for , because ; therefore it has a truth value only after has been chosen or after the variable has been quantified. ” is a large number” is not a proposition either, because the adjective large has no precise mathematical meaning.

Logical connectives

Connectives build new propositions from given propositions; the truth value of the result depends only on the truth values of the parts, according to the truth tables.

1. Negation

The negation of , denoted by (“not ”), is the proposition that is true when is false and false when is true.

The negation of ” is prime” is ” is not prime”. Double negation gives back the original proposition: has the same truth table as . Negation appears in counterexamples and in proofs by contradiction.

2. Conjunction and disjunction

The conjunction (” and ”) is true when and are both true. The disjunction (” or ”) is true when at least one of and is true, including the cases in which both are.

For : the proposition "" is false, because the second part is false; the proposition "" is true, because the first part is true.

The truth set of a predicate is the set of the values of for which is true. For example the truth set of "" consists of the numbers greater than . In the figures and are the truth sets of and .

UPQ
and are the truth sets of and : is true in the intersection
UPQ
is true in the union , including the part common to the two sets

Remark

In mathematics “or” is inclusive: is true also when and are true together. The statement ” is even or is divisible by ” is true, and both parts are true.

Truth table of a compound proposition

The truth table of is built column by column: first and are computed, then their conjunction.

The proposition is true only in the third row, that is, when is false and is true, therefore it has the same truth table as . Reasoning by elimination is based on this equivalence: if ” or ” is true and is false, then is true. For example, from ” or ” and from it follows that .

3. De Morgan's laws

The symbol indicates that the two propositions have the same truth table. Negation swaps “and” with “or” and negates the individual parts. These laws are used whenever a compound condition is negated, for example a pair of inequalities; they are verified by comparing the truth tables row by row.

UPQ
is true in the complement of , that is, outside or outside : it is the truth set of
UPQ
is true in the complement of , that is, outside and outside : it is the truth set of
Proof

The truth tables are compared row by row. For the first law:

The column of and that of coincide in all four rows, therefore the two propositions are equivalent.

The second law follows from the first applied to the propositions and . One obtains , and since double negation gives back the original proposition, . Negating both sides gives .

Negating a conjunction

The negation of ” and ” is ” or ”. By De Morgan’s laws the negation of a conjunction is the disjunction of the two negations; since negating means asserting and negating means asserting , we obtain .

Negating a disjunction

The negation of ” or ” is ” and ”, that is, . By the second De Morgan’s law the negation of a disjunction is the conjunction of the two negations. The disjunction describes the solutions of the inequality , hence its negation describes the solutions of .

x y -3-2-1123-1123456 O
y=x2y = x^2y=1y = 1
For the graph of lies below the line or touches it, and these values form the truth set of the negation of

Warning

The negation of ” and ” is not ” and ”. A proposition and its negation always have opposite truth values, that is, when one is false the other is true. For this does not happen.

  • ” and ” is false, because is false.
  • ” and ” is false, because is false.

The two propositions are both false, so the second is not the negation of the first. The correct negation is ” or ”, which for is true, because is true.

End of the free preview

The theory of this topic continues with 5 more sections

  1. Implication
  2. Necessary and sufficient condition
  3. Quantifiers
  4. Proof techniques
  5. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Precalculus · €29

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents