gl/ripetizioni

Sets and logic in Year 1 of high school: worked exercises

Sets, subsets, operations and logic in Year 1 of high school: representations, De Morgan, quantifiers and three exercises worked step by step.

by Gaetano Livornese

Read the original in Italian

End of September 2026: in Year 1 of the liceo classico (the Italian high school focused on Latin and Ancient Greek), sets and logic come into the syllabus now, right after the September-October block on numbers, GCD and LCM, powers, fractions and proportions. With 3 hours of maths a week the topic passes quickly — a week or two, no more — and the test that contains it arrives between mid-October and mid-November, so four to seven weeks from today. The same block also appears in September-October at the liceo scientifico (science-oriented) and, moved to November-December, at the liceo linguistico (languages): if you are at one of these two schools, the part on sets and logic below still applies, only the timing of the test changes.

It is the part of the syllabus that looks like a gift — no sums, no fractions with a sign to check twice — and precisely for that reason it gets studied less than the others. The result is predictable: in the test you lose one or two marks on definitions that, read calmly, take twenty minutes. Here we look at them with the space they deserve: not a box inside a broader post, but the whole topic, with three fully worked exercises.

Sets: the representations

A set is a collection of objects — its elements — identified without ambiguity: given an object, it must always be possible to say whether it belongs to the set or not. The same set can be written in three ways, and they are equivalent: if an exercise asks for a specific form, that is the one you must use.

By listing (tabular form): all the elements are listed between curly brackets.

By defining property: you state the rule an object must satisfy to belong to the set.

With the Euler-Venn diagram: a closed line containing the element points. It is the most intuitive representation, but on its own it is not enough in a written test: it must always be accompanied by one of the other two.

A point that is often confused: membership and inclusion are not the same relation. An element belongs to a set, ; a set is contained in another, that is, it is a subset of it, . Writing or when is a set of elements of is a symbol error, not a reasoning error — but in a test it counts as a full error.

Subsets and the power set

is a subset of (written ) if every element of is also an element of . If in addition , it is called a proper subset and written . Two cases to remember always, because they often come back as a theory question:

  • the empty set is a subset of every set, including itself;
  • every set is a subset of itself, .

The power set of , written , is the set of all subsets of , including and itself. If has elements, has exactly

For example, if (three elements), has elements:

The most common mistake here is to forget or itself in the list: both are subsets in every respect, even if they do not “look like” real subsets.

Operations between sets

Given two sets and , inside an ambient set (the universal set):

  • Union : the elements that are in or in (or in both).
  • Intersection : the elements that are in both and .
  • Difference : the elements of that are not in .
  • Complement (or ): the elements of that are not in , that is .

If , the two sets are called disjoint. When a set is divided into non-empty subsets, pairwise disjoint, whose union rebuilds in full, we speak of a partition of : it is the typical situation of a class divided into bands, or of a questionnaire with mutually exclusive answers.

The Cartesian product is the set of all ordered pairs with and . “Ordered” is the key word: and are different pairs, unless . If has elements and has , has .

Logic: propositions and connectives

A logical proposition is a statement to which one can assign with certainty a truth value, true (T) or false (F), and only one. “Rome is the capital of Italy” is a proposition (T); “what time is it?” is not, because it is neither true nor false.

Connectives combine propositions into other propositions:

ConnectiveSymbolRead asTrue when
Negationnot is false
Conjunction and both true
Inclusive disjunction or at least one true
Implicationif then false only if true and false
Biconditional if and only if same truth value

The point on which almost everyone slips: the “or” of everyday language is often exclusive (“coffee or tea” means one of the two, not both), whereas the “or” of logic, , is inclusive by default: is true even when both are true. If an exercise wants the exclusive “or” it says so explicitly; otherwise always admits the “both true” case.

Truth tables and De Morgan’s laws

The truth table lists all the possible combinations of the values of and and the resulting value of the compound proposition. For and :

TTTT
TFFT
FTFT
FFFF

De Morgan’s laws link negation to the two connectives, and it is the same pattern you see in the complement operation between sets:

In words: negating ” and ” does not give “not and not ”, it gives “not or not ” — the connective changes when you negate. It is exactly the same reason why, between sets, : the two laws are the same idea written in two different languages, and connecting them is what distinguishes someone who has understood from someone who has learned a formula by heart.

Quantifiers and their negation

The universal quantifier is read “for all”; the existential quantifier is read “there exists at least one”. Negating them swaps one for the other:

Translated without symbols: the negation of “all the students in the class have the book” is not “no student has the book” — it is “there is at least one student who does not have the book”. Confusing the negation of “all” with “none” is the most frequent mistake on this topic, and it happens because in spoken language the two are often used as if they were equivalent: in logic they are not.

Three worked exercises

1. Sets with a Venn diagram and counting

In a class of 25 students, 15 take the Greek course and 12 take the Latin course as an optional afternoon subject; 6 students take both courses. How many students take neither course?

Let be the set of those who take Greek and the set of those who take Latin. We know:

To count how many students take at least one of the two courses, you do not simply add 15 and 12: those who take both would be counted twice. You use the union formula:

The students who take neither course are those of the class minus those in the union:

4 students take neither Greek nor Latin. The step never to skip is the subtraction of : that is where you go wrong when you try to “add by eye” without going through the formula, and it is exactly the same pattern as, when drawing the Venn diagram, writing first the 6 of the intersection, then in alone, then in alone, and finally inside the two circles.

2. Truth table of a compound proposition

Build the truth table of .

You proceed column by column, from the innermost. First , then , finally the end result as the conjunction of the two intermediate columns:

TTTFF
TFTTT
FTTFF
FFFTF

The proposition turns out to be true in only one case, when is true and is false. It is worth noting: is logically equivalent to — the final column coincides with the one you would get by calculating directly. Verifying it by building that table too is a good checking exercise, because two logically equivalent propositions always have the same column of values.

3. Negation of a proposition with quantifiers

Negate the proposition: “All the students in the class handed in the assignment and nobody arrived late.”

The proposition, in symbols, is a conjunction of two universal statements:

To negate it you first apply De Morgan to the conjunction — negating "" gives "" — then you negate each universal quantifier, turning it into an existential one:

Translated: “there is at least one student who did not hand in the assignment, or there is at least one student who arrived late.” Not “nobody handed it in” and not “everyone arrived late” — the negation of “all” always remains “there exists at least one who does not”, on each of the two pieces separately.

What to do about a practice test

We do not yet have a dedicated practice test on sets and logic: it is a topic that lends itself more to applied theory questions than to a closed multiple-choice test, and we prefer to build it properly rather than publish it incomplete. What there is, and covers the rest of the same test, is the simulated test on numbers, fractions and powers: 15 questions in 50 minutes on the September-October block — GCD, LCM, powers, fractions, proportions — that is, everything in your test that is not sets or logic. The correct answer to every question is free; the guided step-by-step solution is unlocked with the first lesson.

If you want the part on the rest of the first test — the typical mistakes with signs, powers and order of operations — I have written it in full in the first maths test in Year 1 of high school, where sets and logic are only a box; here, instead, they are the whole topic. If you are at the liceo artistico (art high school), the October syllabus is similar but with different timetables: numbers, fractions and powers in Year 1 of the art high school. And if you want a review of the whole year in a single document, there is the Year 1 maths formula sheet. The full syllabus for maths tutoring is here, year by year. Where the “if… then” structure becomes the hypothesis and conclusion of a geometry proof is in triangle congruence criteria: the proofs.

If after reading this guide sets are still confusing, or it is propositional logic that does not click, the free introductory call is for exactly this: you tell me what you have done in class and I tell you honestly where to concentrate the first lessons before the test arrives.

Keep reading

Want to put what you read into practice?

Let's talk for 30 minutes, free: we look together at where you are stuck and I tell you honestly how I can help.

Or message me on WhatsApp.