Ripetizioni di Analisi
EN

Theory

Logical reasoning and problems

Statements, conditions, quantifiers, sets, constraints and procedures with examples, diagrams and checks of conclusions.

On this page
  1. Statements and truth values
  2. Connectives and negations

Statements and truth values

Statements and premises

A statement, also called a proposition, is a sentence that can be said to be true or false. “The code contains four digits” is a statement, because looking at the code settles whether it is true. “Enter the code” is an instruction, and asking whether an instruction is true makes no sense, so it is not a statement. True and false are called truth values.

Each statement is denoted by a capital letter, for example = “the code contains four digits”. Within one argument the same letter always denotes the same statement.

The premises are the information that the question gives as true. A conclusion follows from the premises when it is true in every situation where the premises are true. Only the premises written in the question count. If the text states that all the electric vehicles in the depot are red, in that question they are, even though electric vehicles of other colors exist elsewhere.

A possible conclusion and a necessary one

The premises are “all numbered samples are catalogued” and “sample is catalogued”. The question is whether is numbered.

The first premise says that every sample with a number is in the catalogue, and says nothing about samples without a number. There are therefore two situations where both premises are true.

  • Sample is catalogued and numbered.
  • Sample is catalogued and has no number.

The premises do not allow a choice, so whether is numbered is undetermined. If instead the second premise were “ is numbered”, the first would apply to , and “ is catalogued” would be a necessary conclusion, that is, one that follows from the premises.

A counterexample is a situation where the premises are true and the proposed conclusion is false. The second situation in the list is a counterexample to the conclusion “ is numbered”. One counterexample is enough to reject a conclusion.

Remark

Questions ask three different things about the same premises.

  • “Can be true” asks for at least one situation, among those where the premises are true, where the sentence is true.
  • “Must be true” asks for the sentence to be true in all those situations.
  • “Is impossible” asks for the sentence to be false in all those situations.

In the samples example, “ is numbered” can be true, because it is true in the first situation, and it need not be true, because it is false in the second.

Connectives and negations

1. Conjunction and disjunction

A connective is a word, such as “not”, “and”, “or”, that forms a new statement from one or two statements. Let = “Luca has the ticket” and = “Luca has the document”.

  • The negation “Luca does not have the ticket” is written and read “not ”. It is true when is false and false when is true.
  • The conjunction “Luca has the ticket and the document” is written and read “ and ”. It is true when both statements are true.
  • The disjunction “Luca has the ticket or the document” is written and read “ or ”. It is true when at least one of the two statements is true, including when both are, which is why it is called inclusive.

A truth table lists, one per row, all the combinations of true (T) and false (F) for the starting statements, with the value of the compound statement.

TTTT
TFFT
FTFT
FFFF

In the second row Luca has the ticket and does not have the document, so the conjunction is false and the disjunction is true.

“Luca has exactly one of the two things” requires at least one statement to be true and not both. It is written and is true in the second and third rows. In this chapter’s questions, an unqualified “or” has the inclusive meaning.

2. De Morgan's laws

De Morgan’s laws say how to negate a sentence built with “and” or with “or”.

  • “It is not true that Luca has the ticket and the document” means that at least one is missing, that is, Luca does not have the ticket or does not have the document.
  • “It is not true that Luca has the ticket or the document” means that both are missing, that is, Luca does not have the ticket and does not have the document.

In symbols, for any statements and ,

The symbol is read “is equivalent to” and indicates that the two expressions have the same truth value in every row of the table.

Proof

The conjunction is false in the second, third and fourth rows of the table, that is, in the rows where at least one of and is false. These are the same rows where or is true, so the first equivalence holds. The disjunction is false only in the fourth row, which is the only one where and are both true, so the second holds.

Requirements for a request

A request is complete exactly when it has a signature and at least one contact detail, phone or email. With = “there is a signature”, = “there is a phone number” and = “there is an email”, the request is complete when is true. It is incomplete when the negation is true, which is found with De Morgan’s two laws, applied first to and then to .

The request is therefore incomplete when the signature is missing, or when both phone and email are missing. A request with a signature and no contact details is thus incomplete.

End of the free preview

The theory of this topic continues with 7 more sections

  1. Implications and conditions
  2. Quantifiers and sets
  3. Counting with sets
  4. Orders, assignments and networks
  5. Sequences, procedures and guarantees
  6. Arguments and checking conclusions
  7. Keep studying

Full access also includes the other 1 worked example of this topic and the solutions of the 10 practice exercises.

Unlock TOLC-S · €39

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